@arbidocs/sdk 0.3.121 → 0.3.122
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-Bq64bPkc.d.cts} +112 -35
- package/dist/{browser-BUspHdyk.d.ts → browser-Bq64bPkc.d.ts} +112 -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;
|
|
@@ -3310,6 +3344,7 @@ declare class Arbi {
|
|
|
3310
3344
|
MCP_TOOLS: string[];
|
|
3311
3345
|
PLANNING_ENABLED: boolean;
|
|
3312
3346
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
3347
|
+
SUBAGENTS_ENABLED: boolean;
|
|
3313
3348
|
SUGGESTED_QUERIES: boolean;
|
|
3314
3349
|
ARTIFACTS_ENABLED: boolean;
|
|
3315
3350
|
IMAGE_ENABLED: boolean;
|
|
@@ -3545,6 +3580,7 @@ declare class Arbi {
|
|
|
3545
3580
|
MCP_TOOLS: string[];
|
|
3546
3581
|
PLANNING_ENABLED: boolean;
|
|
3547
3582
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
3583
|
+
SUBAGENTS_ENABLED: boolean;
|
|
3548
3584
|
SUGGESTED_QUERIES: boolean;
|
|
3549
3585
|
ARTIFACTS_ENABLED: boolean;
|
|
3550
3586
|
IMAGE_ENABLED: boolean;
|
|
@@ -3739,6 +3775,7 @@ declare class Arbi {
|
|
|
3739
3775
|
MCP_TOOLS: string[];
|
|
3740
3776
|
PLANNING_ENABLED: boolean;
|
|
3741
3777
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
3778
|
+
SUBAGENTS_ENABLED: boolean;
|
|
3742
3779
|
SUGGESTED_QUERIES: boolean;
|
|
3743
3780
|
ARTIFACTS_ENABLED: boolean;
|
|
3744
3781
|
IMAGE_ENABLED: boolean;
|
|
@@ -3974,6 +4011,7 @@ declare class Arbi {
|
|
|
3974
4011
|
MCP_TOOLS: string[];
|
|
3975
4012
|
PLANNING_ENABLED: boolean;
|
|
3976
4013
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
4014
|
+
SUBAGENTS_ENABLED: boolean;
|
|
3977
4015
|
SUGGESTED_QUERIES: boolean;
|
|
3978
4016
|
ARTIFACTS_ENABLED: boolean;
|
|
3979
4017
|
IMAGE_ENABLED: boolean;
|
|
@@ -4041,6 +4079,11 @@ declare class Arbi {
|
|
|
4041
4079
|
created_by_kind: string;
|
|
4042
4080
|
workspace_ext_id?: string | null;
|
|
4043
4081
|
agent_ext_id?: string | null;
|
|
4082
|
+
task_plan?: components["schemas"]["TaskPlan"] | null;
|
|
4083
|
+
is_goal_task: boolean;
|
|
4084
|
+
goal_state?: {
|
|
4085
|
+
[key: string]: unknown;
|
|
4086
|
+
} | null;
|
|
4044
4087
|
created_at: string;
|
|
4045
4088
|
updated_at: string;
|
|
4046
4089
|
}[]>;
|
|
@@ -4067,6 +4110,11 @@ declare class Arbi {
|
|
|
4067
4110
|
created_by_kind: string;
|
|
4068
4111
|
workspace_ext_id?: string | null;
|
|
4069
4112
|
agent_ext_id?: string | null;
|
|
4113
|
+
task_plan?: components["schemas"]["TaskPlan"] | null;
|
|
4114
|
+
is_goal_task: boolean;
|
|
4115
|
+
goal_state?: {
|
|
4116
|
+
[key: string]: unknown;
|
|
4117
|
+
} | null;
|
|
4070
4118
|
created_at: string;
|
|
4071
4119
|
updated_at: string;
|
|
4072
4120
|
}>;
|
|
@@ -4093,6 +4141,11 @@ declare class Arbi {
|
|
|
4093
4141
|
created_by_kind: string;
|
|
4094
4142
|
workspace_ext_id?: string | null;
|
|
4095
4143
|
agent_ext_id?: string | null;
|
|
4144
|
+
task_plan?: components["schemas"]["TaskPlan"] | null;
|
|
4145
|
+
is_goal_task: boolean;
|
|
4146
|
+
goal_state?: {
|
|
4147
|
+
[key: string]: unknown;
|
|
4148
|
+
} | null;
|
|
4096
4149
|
created_at: string;
|
|
4097
4150
|
updated_at: string;
|
|
4098
4151
|
}>;
|
|
@@ -4119,6 +4172,11 @@ declare class Arbi {
|
|
|
4119
4172
|
created_by_kind: string;
|
|
4120
4173
|
workspace_ext_id?: string | null;
|
|
4121
4174
|
agent_ext_id?: string | null;
|
|
4175
|
+
task_plan?: components["schemas"]["TaskPlan"] | null;
|
|
4176
|
+
is_goal_task: boolean;
|
|
4177
|
+
goal_state?: {
|
|
4178
|
+
[key: string]: unknown;
|
|
4179
|
+
} | null;
|
|
4122
4180
|
created_at: string;
|
|
4123
4181
|
updated_at: string;
|
|
4124
4182
|
}>;
|
|
@@ -4146,21 +4204,26 @@ declare class Arbi {
|
|
|
4146
4204
|
created_by_kind: string;
|
|
4147
4205
|
workspace_ext_id?: string | null;
|
|
4148
4206
|
agent_ext_id?: string | null;
|
|
4207
|
+
task_plan?: components["schemas"]["TaskPlan"] | null;
|
|
4208
|
+
is_goal_task: boolean;
|
|
4209
|
+
goal_state?: {
|
|
4210
|
+
[key: string]: unknown;
|
|
4211
|
+
} | null;
|
|
4149
4212
|
created_at: string;
|
|
4150
4213
|
updated_at: string;
|
|
4151
4214
|
}>;
|
|
4152
4215
|
};
|
|
4153
4216
|
readonly memory: {
|
|
4154
4217
|
create: (body: CreateMemoryRequest) => Promise<{
|
|
4218
|
+
note?: string | null;
|
|
4219
|
+
citations?: {
|
|
4220
|
+
[key: string]: components["schemas"]["CitationData"];
|
|
4221
|
+
} | null;
|
|
4155
4222
|
external_id: string;
|
|
4156
4223
|
workspace_ext_id: string;
|
|
4157
|
-
content: string;
|
|
4158
4224
|
pinned: boolean;
|
|
4159
4225
|
shared: boolean;
|
|
4160
4226
|
source: string;
|
|
4161
|
-
citations?: {
|
|
4162
|
-
[key: string]: components["schemas"]["CitationData"];
|
|
4163
|
-
} | null;
|
|
4164
4227
|
created_by_ext_id: string;
|
|
4165
4228
|
created_at: string;
|
|
4166
4229
|
updated_at: string;
|
|
@@ -4168,15 +4231,15 @@ declare class Arbi {
|
|
|
4168
4231
|
list: (options?: {
|
|
4169
4232
|
pinnedOnly?: boolean;
|
|
4170
4233
|
}) => Promise<{
|
|
4234
|
+
note?: string | null;
|
|
4235
|
+
citations?: {
|
|
4236
|
+
[key: string]: components["schemas"]["CitationData"];
|
|
4237
|
+
} | null;
|
|
4171
4238
|
external_id: string;
|
|
4172
4239
|
workspace_ext_id: string;
|
|
4173
|
-
content: string;
|
|
4174
4240
|
pinned: boolean;
|
|
4175
4241
|
shared: boolean;
|
|
4176
4242
|
source: string;
|
|
4177
|
-
citations?: {
|
|
4178
|
-
[key: string]: components["schemas"]["CitationData"];
|
|
4179
|
-
} | null;
|
|
4180
4243
|
created_by_ext_id: string;
|
|
4181
4244
|
created_at: string;
|
|
4182
4245
|
updated_at: string;
|
|
@@ -4185,15 +4248,15 @@ declare class Arbi {
|
|
|
4185
4248
|
memories: components["schemas"]["MemorySearchHit"][];
|
|
4186
4249
|
}>;
|
|
4187
4250
|
update: (memoryId: string, body: UpdateMemoryRequest) => Promise<{
|
|
4251
|
+
note?: string | null;
|
|
4252
|
+
citations?: {
|
|
4253
|
+
[key: string]: components["schemas"]["CitationData"];
|
|
4254
|
+
} | null;
|
|
4188
4255
|
external_id: string;
|
|
4189
4256
|
workspace_ext_id: string;
|
|
4190
|
-
content: string;
|
|
4191
4257
|
pinned: boolean;
|
|
4192
4258
|
shared: boolean;
|
|
4193
4259
|
source: string;
|
|
4194
|
-
citations?: {
|
|
4195
|
-
[key: string]: components["schemas"]["CitationData"];
|
|
4196
|
-
} | null;
|
|
4197
4260
|
created_by_ext_id: string;
|
|
4198
4261
|
created_at: string;
|
|
4199
4262
|
updated_at: string;
|
|
@@ -4680,6 +4743,12 @@ declare function getConversationThreads(arbi: ArbiClient, conversationId: string
|
|
|
4680
4743
|
written: string[];
|
|
4681
4744
|
superseded: string[];
|
|
4682
4745
|
};
|
|
4746
|
+
} | {
|
|
4747
|
+
name: "goal";
|
|
4748
|
+
description: string;
|
|
4749
|
+
record: {
|
|
4750
|
+
[x: string]: unknown;
|
|
4751
|
+
};
|
|
4683
4752
|
};
|
|
4684
4753
|
} | undefined;
|
|
4685
4754
|
config_ext_id?: string | null | undefined;
|
|
@@ -4836,6 +4905,12 @@ declare function getMessage(arbi: ArbiClient, messageId: string): Promise<{
|
|
|
4836
4905
|
written: string[];
|
|
4837
4906
|
superseded: string[];
|
|
4838
4907
|
};
|
|
4908
|
+
} | {
|
|
4909
|
+
name: "goal";
|
|
4910
|
+
description: string;
|
|
4911
|
+
record: {
|
|
4912
|
+
[x: string]: unknown;
|
|
4913
|
+
};
|
|
4839
4914
|
};
|
|
4840
4915
|
} | undefined;
|
|
4841
4916
|
config_ext_id?: string | null | undefined;
|
|
@@ -4871,8 +4946,6 @@ declare namespace conversations {
|
|
|
4871
4946
|
|
|
4872
4947
|
type CitationData = components['schemas']['CitationData'];
|
|
4873
4948
|
declare function assignDocTags(arbi: ArbiClient, tagId: string, docIds: string[], note?: string | null): Promise<{
|
|
4874
|
-
doc_ext_id: string;
|
|
4875
|
-
tag_ext_id: string;
|
|
4876
4949
|
note?: string | null | undefined;
|
|
4877
4950
|
citations?: {
|
|
4878
4951
|
[x: string]: {
|
|
@@ -4883,6 +4956,8 @@ declare function assignDocTags(arbi: ArbiClient, tagId: string, docIds: string[]
|
|
|
4883
4956
|
offset_end: number;
|
|
4884
4957
|
};
|
|
4885
4958
|
} | null | undefined;
|
|
4959
|
+
doc_ext_id: string;
|
|
4960
|
+
tag_ext_id: string;
|
|
4886
4961
|
created_by_ext_id: string;
|
|
4887
4962
|
updated_by_ext_id?: string | null | undefined;
|
|
4888
4963
|
created_at: string;
|
|
@@ -4893,8 +4968,6 @@ declare function updateDocTag(arbi: ArbiClient, tagId: string, docId: string, up
|
|
|
4893
4968
|
note?: string | null;
|
|
4894
4969
|
citations?: Record<string, CitationData> | null;
|
|
4895
4970
|
}): Promise<{
|
|
4896
|
-
doc_ext_id: string;
|
|
4897
|
-
tag_ext_id: string;
|
|
4898
4971
|
note?: string | null | undefined;
|
|
4899
4972
|
citations?: {
|
|
4900
4973
|
[x: string]: {
|
|
@@ -4905,6 +4978,8 @@ declare function updateDocTag(arbi: ArbiClient, tagId: string, docId: string, up
|
|
|
4905
4978
|
offset_end: number;
|
|
4906
4979
|
};
|
|
4907
4980
|
} | null | undefined;
|
|
4981
|
+
doc_ext_id: string;
|
|
4982
|
+
tag_ext_id: string;
|
|
4908
4983
|
created_by_ext_id: string;
|
|
4909
4984
|
updated_by_ext_id?: string | null | undefined;
|
|
4910
4985
|
created_at: string;
|
|
@@ -5011,6 +5086,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
|
|
|
5011
5086
|
MCP_TOOLS: string[];
|
|
5012
5087
|
PLANNING_ENABLED: boolean;
|
|
5013
5088
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
5089
|
+
SUBAGENTS_ENABLED: boolean;
|
|
5014
5090
|
SUGGESTED_QUERIES: boolean;
|
|
5015
5091
|
ARTIFACTS_ENABLED: boolean;
|
|
5016
5092
|
IMAGE_ENABLED: boolean;
|
|
@@ -5246,6 +5322,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
|
|
|
5246
5322
|
MCP_TOOLS: string[];
|
|
5247
5323
|
PLANNING_ENABLED: boolean;
|
|
5248
5324
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
5325
|
+
SUBAGENTS_ENABLED: boolean;
|
|
5249
5326
|
SUGGESTED_QUERIES: boolean;
|
|
5250
5327
|
ARTIFACTS_ENABLED: boolean;
|
|
5251
5328
|
IMAGE_ENABLED: boolean;
|
|
@@ -5620,4 +5697,4 @@ declare namespace projects {
|
|
|
5620
5697
|
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
5698
|
}
|
|
5622
5699
|
|
|
5623
|
-
export { type
|
|
5700
|
+
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 };
|