@arbidocs/sdk 0.5.61 → 0.5.62
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/README.md +53 -28
- package/dist/{browser-2WIMhFQU.d.cts → browser-DHvxPDoF.d.cts} +157 -43
- package/dist/{browser-CKSVXWvq.d.ts → browser-DpDuiKeo.d.ts} +157 -43
- package/dist/browser.cjs +379 -142
- 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 +376 -144
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +364 -142
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +363 -144
- package/dist/index.js.map +1 -1
- package/examples/node-response.mjs +6 -36
- package/examples/response-handle.mjs +36 -0
- package/examples/stream-response.mjs +11 -0
- package/examples/structured-extraction.mjs +3 -3
- package/package.json +2 -2
|
@@ -43,6 +43,28 @@ declare class ArbiWorkspaceChangedError extends ArbiError {
|
|
|
43
43
|
readonly workspaceId: string;
|
|
44
44
|
constructor(workspaceId: string, doing?: string);
|
|
45
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* A workspace a request needs could not be made usable on this session: its key could not be
|
|
48
|
+
* deposited (`/prime-key`), e.g. access to it was removed or nobody is signed in yet. Nothing was
|
|
49
|
+
* sent, so nothing was written anywhere else.
|
|
50
|
+
*/
|
|
51
|
+
declare class ArbiWorkspaceUnavailableError extends ArbiError {
|
|
52
|
+
readonly workspaceId: string;
|
|
53
|
+
constructor(workspaceId: string, cause?: unknown, message?: string);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* A 409 that names the workspace a request needs:
|
|
57
|
+
* - `workspace_key_required`: that workspace's key is not on this session (deposit it with
|
|
58
|
+
* `/prime-key`, then send the request again: nothing was written);
|
|
59
|
+
* - `workspace_mismatch`: a chat follow-up named a workspace other than its thread's, which the
|
|
60
|
+
* 409 names (nothing was written).
|
|
61
|
+
*/
|
|
62
|
+
interface WorkspaceConflict {
|
|
63
|
+
code: 'workspace_key_required' | 'workspace_mismatch';
|
|
64
|
+
workspaceId: string;
|
|
65
|
+
}
|
|
66
|
+
/** The {@link WorkspaceConflict} an error (or an error response body) carries, else null. */
|
|
67
|
+
declare function workspaceConflictOf(error: unknown): WorkspaceConflict | null;
|
|
46
68
|
declare class ArbiApiError extends ArbiError {
|
|
47
69
|
readonly status?: number;
|
|
48
70
|
readonly apiError?: unknown;
|
|
@@ -832,20 +854,6 @@ interface CitationToolSources {
|
|
|
832
854
|
*/
|
|
833
855
|
declare function buildCitationChunkData(message: CitationToolSources): Record<string, Chunk$1[]>;
|
|
834
856
|
|
|
835
|
-
type JsonSchemaOutputFormat = components['schemas']['JsonSchemaFormat'];
|
|
836
|
-
type StructuredResponse = components['schemas']['ResponsesAPIResponse'];
|
|
837
|
-
interface ParsedStructuredResponse<T> {
|
|
838
|
-
data: T;
|
|
839
|
-
/** Original Responses envelope, including output, metadata, usage and extensions. */
|
|
840
|
-
response: StructuredResponse;
|
|
841
|
-
}
|
|
842
|
-
declare class ArbiStructuredOutputError extends ArbiError {
|
|
843
|
-
readonly response: unknown;
|
|
844
|
-
constructor(message: string, response: unknown, options: ArbiErrorOptions);
|
|
845
|
-
}
|
|
846
|
-
/** Validate the stored/final response of a background or streaming request against its schema. */
|
|
847
|
-
declare function parseStructuredResponse<T = unknown>(response: StructuredResponse, format: JsonSchemaOutputFormat): Promise<ParsedStructuredResponse<T>>;
|
|
848
|
-
|
|
849
857
|
interface ResponseStartOptions {
|
|
850
858
|
/** Stops the request/reader only. Use handle.cancel() to stop server execution. */
|
|
851
859
|
signal?: AbortSignal;
|
|
@@ -884,6 +892,72 @@ type ResponseStart = {
|
|
|
884
892
|
outcome: SSEStreamOutcome;
|
|
885
893
|
};
|
|
886
894
|
|
|
895
|
+
type JsonSchemaOutputFormat = components['schemas']['JsonSchemaFormat'];
|
|
896
|
+
type StructuredResponse = components['schemas']['ResponsesAPIResponse'];
|
|
897
|
+
interface ParsedStructuredResponse<T> {
|
|
898
|
+
data: T;
|
|
899
|
+
/** Original Responses envelope, including output, metadata, usage and extensions. */
|
|
900
|
+
response: StructuredResponse;
|
|
901
|
+
}
|
|
902
|
+
declare class ArbiStructuredOutputError extends ArbiError {
|
|
903
|
+
readonly response: unknown;
|
|
904
|
+
constructor(message: string, response: unknown, options: ArbiErrorOptions);
|
|
905
|
+
}
|
|
906
|
+
/** Validate the stored/final response of a background or streaming request against its schema. */
|
|
907
|
+
declare function parseStructuredResponse<T = unknown>(response: StructuredResponse, format: JsonSchemaOutputFormat): Promise<ParsedStructuredResponse<T>>;
|
|
908
|
+
|
|
909
|
+
/** Standard Responses conveniences over the existing message observer. */
|
|
910
|
+
|
|
911
|
+
type ResponseCreateRequest = Omit<components['schemas']['MessageInput'], 'workspace_ext_id' | 'stream' | 'background' | 'store'> & {
|
|
912
|
+
workspace_ext_id?: string;
|
|
913
|
+
stream?: boolean;
|
|
914
|
+
background?: boolean;
|
|
915
|
+
store?: boolean;
|
|
916
|
+
};
|
|
917
|
+
type Response$1 = StructuredResponse & {
|
|
918
|
+
output_text: string;
|
|
919
|
+
_request_id?: string;
|
|
920
|
+
};
|
|
921
|
+
type ParsedResponse<T> = Response$1 & {
|
|
922
|
+
output_parsed: T;
|
|
923
|
+
};
|
|
924
|
+
type ResponseCreateResult<Streaming extends boolean | undefined> = Streaming extends true ? ResponseStream : Response$1;
|
|
925
|
+
type Schema = components['schemas'];
|
|
926
|
+
type ResponseStreamEvent = ({
|
|
927
|
+
type: 'response.created';
|
|
928
|
+
} & Schema['ResponseCreatedEvent']) | ({
|
|
929
|
+
type: 'response.output_text.delta';
|
|
930
|
+
} & Schema['ResponseOutputTextDeltaEvent']) | ({
|
|
931
|
+
type: 'response.output_text.done';
|
|
932
|
+
} & Schema['ResponseOutputTextDoneEvent']) | ({
|
|
933
|
+
type: 'response.output_item.added';
|
|
934
|
+
} & Schema['ResponseOutputItemAddedEvent']) | ({
|
|
935
|
+
type: 'response.output_item.done';
|
|
936
|
+
} & Schema['ResponseOutputItemDoneEvent']) | ({
|
|
937
|
+
type: 'response.content_part.added';
|
|
938
|
+
} & Schema['ResponseContentPartAddedEvent']) | ({
|
|
939
|
+
type: 'response.completed';
|
|
940
|
+
} & Schema['ResponseCompletedEvent']) | ({
|
|
941
|
+
type: 'response.failed';
|
|
942
|
+
} & Schema['ResponseFailedEvent']) | {
|
|
943
|
+
type: 'response.in_progress' | 'response.queued' | 'response.cancelled' | 'response.incomplete';
|
|
944
|
+
response: StructuredResponse;
|
|
945
|
+
[key: string]: unknown;
|
|
946
|
+
} | {
|
|
947
|
+
type: 'response.function_call_arguments.delta';
|
|
948
|
+
delta: string;
|
|
949
|
+
[key: string]: unknown;
|
|
950
|
+
} | {
|
|
951
|
+
type: `arbi.${string}` | 'error';
|
|
952
|
+
[key: string]: unknown;
|
|
953
|
+
};
|
|
954
|
+
/** Async iteration is the default; handle is the opt-in ARBI lifecycle extension. */
|
|
955
|
+
declare class ResponseStream implements AsyncIterable<ResponseStreamEvent> {
|
|
956
|
+
readonly handle: ResponseHandle;
|
|
957
|
+
constructor(handle: ResponseHandle);
|
|
958
|
+
[Symbol.asyncIterator](): AsyncIterator<ResponseStreamEvent>;
|
|
959
|
+
}
|
|
960
|
+
|
|
887
961
|
/**
|
|
888
962
|
* Document operations — browser-safe functions.
|
|
889
963
|
*
|
|
@@ -1473,6 +1547,13 @@ interface UploadDirectOptions {
|
|
|
1473
1547
|
* - `loaded` / `total` are bytes of the *ciphertext* (= raw + 40).
|
|
1474
1548
|
*/
|
|
1475
1549
|
onBytesProgress?: (progress: DirectUploadProgress) => void;
|
|
1550
|
+
/**
|
|
1551
|
+
* Runs each of the two server requests (init, commit). `upload-init` and `upload-commit` name no
|
|
1552
|
+
* workspace yet (they act on the session's open one), so a caller that encrypts with a workspace's
|
|
1553
|
+
* key passes a guard that refuses to send, or to keep the answer, unless that workspace is the
|
|
1554
|
+
* one open (`Arbi.documents.uploadDirect` does: `readInWorkspace`).
|
|
1555
|
+
*/
|
|
1556
|
+
inWorkspace?: <T>(send: () => Promise<T>) => Promise<T>;
|
|
1476
1557
|
}
|
|
1477
1558
|
interface DirectUploadProgress {
|
|
1478
1559
|
fileIndex: number;
|
|
@@ -3490,6 +3571,12 @@ declare const SESSION_EXPIRED_MESSAGE = "Token has expired. Please log in again.
|
|
|
3490
3571
|
declare function quotaExceededFrom(detail: unknown): QuotaExceeded | null;
|
|
3491
3572
|
/** A stream error that is LiteLLM's ExceededBudget, read as {@link QuotaExceeded} (in £). */
|
|
3492
3573
|
declare function quotaFromStreamError(error: unknown): QuotaExceeded | null;
|
|
3574
|
+
/** Why the server refused a turn, retaining its structured reason and request ID. */
|
|
3575
|
+
/** What a turn refused for its workspace says (nothing was written either way). */
|
|
3576
|
+
declare const WORKSPACE_CONFLICT_MESSAGES: {
|
|
3577
|
+
readonly workspace_mismatch: "This conversation belongs to another workspace, so the reply was not sent. Open that workspace to continue it.";
|
|
3578
|
+
readonly workspace_key_required: "This chat's workspace isn't open in this session, so the message was not sent. Open the workspace and try again.";
|
|
3579
|
+
};
|
|
3493
3580
|
/**
|
|
3494
3581
|
* Open a turn's stream (`POST /v1/responses` with a built body). A 401 throws the
|
|
3495
3582
|
* `ArbiApiError` the session recovery renews the token on; any other refusal throws
|
|
@@ -3636,6 +3723,7 @@ type assistant_RetrieveResult = RetrieveResult;
|
|
|
3636
3723
|
declare const assistant_SESSION_EXPIRED_MESSAGE: typeof SESSION_EXPIRED_MESSAGE;
|
|
3637
3724
|
type assistant_SearchChunk = SearchChunk;
|
|
3638
3725
|
type assistant_SkillSummary = SkillSummary;
|
|
3726
|
+
declare const assistant_WORKSPACE_CONFLICT_MESSAGES: typeof WORKSPACE_CONFLICT_MESSAGES;
|
|
3639
3727
|
declare const assistant_cancelRun: typeof cancelRun;
|
|
3640
3728
|
declare const assistant_filterSkills: typeof filterSkills;
|
|
3641
3729
|
declare const assistant_interject: typeof interject;
|
|
@@ -3654,7 +3742,7 @@ declare const assistant_searchChunks: typeof searchChunks;
|
|
|
3654
3742
|
declare const assistant_transcribe: typeof transcribe;
|
|
3655
3743
|
declare const assistant_uploadSkill: typeof uploadSkill;
|
|
3656
3744
|
declare namespace assistant {
|
|
3657
|
-
export { type assistant_AssistantQueryOptions as AssistantQueryOptions, assistant_AssistantTurnRefused as AssistantTurnRefused, type assistant_Chunk as Chunk, type assistant_ChunkMetadata as ChunkMetadata, type assistant_CommandDescriptor as CommandDescriptor, assistant_MAX_RETRIEVE_DOC_IDS as MAX_RETRIEVE_DOC_IDS, type assistant_ParsedSlashCommand as ParsedSlashCommand, type assistant_QuotaExceeded as QuotaExceeded, type assistant_RetrieveOptions as RetrieveOptions, type assistant_RetrieveResult as RetrieveResult, assistant_SESSION_EXPIRED_MESSAGE as SESSION_EXPIRED_MESSAGE, type assistant_SearchChunk as SearchChunk, type assistant_SkillSummary as SkillSummary, assistant_cancelRun as cancelRun, assistant_filterSkills as filterSkills, assistant_interject as interject, assistant_isSharedSkill as isSharedSkill, assistant_listCommands as listCommands, assistant_listSkills as listSkills, assistant_openRunStream as openRunStream, assistant_openTurnStream as openTurnStream, assistant_parseSlashCommand as parseSlashCommand, assistant_parseSlashTokenInProgress as parseSlashTokenInProgress, assistant_queryAssistant as queryAssistant, assistant_quotaExceededFrom as quotaExceededFrom, assistant_quotaFromStreamError as quotaFromStreamError, assistant_retrieve as retrieve, assistant_searchChunks as searchChunks, assistant_transcribe as transcribe, assistant_uploadSkill as uploadSkill };
|
|
3745
|
+
export { type assistant_AssistantQueryOptions as AssistantQueryOptions, assistant_AssistantTurnRefused as AssistantTurnRefused, type assistant_Chunk as Chunk, type assistant_ChunkMetadata as ChunkMetadata, type assistant_CommandDescriptor as CommandDescriptor, assistant_MAX_RETRIEVE_DOC_IDS as MAX_RETRIEVE_DOC_IDS, type assistant_ParsedSlashCommand as ParsedSlashCommand, type assistant_QuotaExceeded as QuotaExceeded, type assistant_RetrieveOptions as RetrieveOptions, type assistant_RetrieveResult as RetrieveResult, assistant_SESSION_EXPIRED_MESSAGE as SESSION_EXPIRED_MESSAGE, type assistant_SearchChunk as SearchChunk, type assistant_SkillSummary as SkillSummary, assistant_WORKSPACE_CONFLICT_MESSAGES as WORKSPACE_CONFLICT_MESSAGES, assistant_cancelRun as cancelRun, assistant_filterSkills as filterSkills, assistant_interject as interject, assistant_isSharedSkill as isSharedSkill, assistant_listCommands as listCommands, assistant_listSkills as listSkills, assistant_openRunStream as openRunStream, assistant_openTurnStream as openTurnStream, assistant_parseSlashCommand as parseSlashCommand, assistant_parseSlashTokenInProgress as parseSlashTokenInProgress, assistant_queryAssistant as queryAssistant, assistant_quotaExceededFrom as quotaExceededFrom, assistant_quotaFromStreamError as quotaFromStreamError, assistant_retrieve as retrieve, assistant_searchChunks as searchChunks, assistant_transcribe as transcribe, assistant_uploadSkill as uploadSkill };
|
|
3658
3746
|
}
|
|
3659
3747
|
|
|
3660
3748
|
/**
|
|
@@ -8025,6 +8113,11 @@ interface AskHandlers extends Omit<SSEStreamCallbacks, 'onError' | 'onArbiError'
|
|
|
8025
8113
|
onError?: (error: string | Error) => void;
|
|
8026
8114
|
/** The project's AI usage is used up (refused with a 402, or cut off mid-stream). */
|
|
8027
8115
|
onQuotaExceeded?: (quota: QuotaExceeded) => void;
|
|
8116
|
+
/**
|
|
8117
|
+
* The workspace the turn was accepted in: the one it named, or, for a follow-up refused because
|
|
8118
|
+
* its thread is in another workspace, the thread's (the turn is sent once more there).
|
|
8119
|
+
*/
|
|
8120
|
+
onWorkspace?: (workspaceId: string) => void;
|
|
8028
8121
|
}
|
|
8029
8122
|
declare class Arbi {
|
|
8030
8123
|
private client;
|
|
@@ -8144,8 +8237,25 @@ declare class Arbi {
|
|
|
8144
8237
|
* Make a workspace usable for requests that name it, WITHOUT changing the current workspace (on
|
|
8145
8238
|
* the server or here): its key, sealed to this server session, is deposited with `/prime-key`
|
|
8146
8239
|
* (the client's `workspaceKeys.prime`: once per server session). The current workspace is open.
|
|
8240
|
+
* A workspace the user holds no key for (a public one, or a temporary grant whose key the server
|
|
8241
|
+
* session already holds) has nothing to deposit: the server answers for it as it is.
|
|
8147
8242
|
*/
|
|
8148
8243
|
private openWorkspace;
|
|
8244
|
+
/**
|
|
8245
|
+
* {@link openWorkspace} (or, with `force`, deposit the key again even for the current workspace:
|
|
8246
|
+
* the server said it lacks it), failing with {@link ArbiWorkspaceUnavailableError} when the key
|
|
8247
|
+
* cannot be deposited. Then nothing is sent, so nothing can land in another workspace.
|
|
8248
|
+
*/
|
|
8249
|
+
private primeOrFail;
|
|
8250
|
+
/**
|
|
8251
|
+
* Open a chat turn's stream in `workspaceId` (captured by the caller when the turn started): the
|
|
8252
|
+
* workspace is opened for this session first if it is not the current one, and the body names
|
|
8253
|
+
* it, so a switch meanwhile cannot move the turn. A follow-up refused with 409
|
|
8254
|
+
* `workspace_mismatch` (its thread is in another workspace: nothing was written) is sent once
|
|
8255
|
+
* more in the thread's workspace, which is where the server stores a follow-up anyway.
|
|
8256
|
+
* `onWorkspace` hears the workspace the turn was accepted in.
|
|
8257
|
+
*/
|
|
8258
|
+
private openTurn;
|
|
8149
8259
|
/**
|
|
8150
8260
|
* Create a tag in `workspaceId`, named on the request: a switch while it is sent cannot move it to the workspace
|
|
8151
8261
|
* opened next, and a workspace other than the current one is opened for this session first.
|
|
@@ -10755,6 +10865,16 @@ declare class Arbi {
|
|
|
10755
10865
|
* (`ArbiWorkspaceChangedError`) instead of sending it to the new one.
|
|
10756
10866
|
*/
|
|
10757
10867
|
uploadFile: (fileData: Blob, fileName: string, options?: UploadOptions) => Promise<UploadResult>;
|
|
10868
|
+
/**
|
|
10869
|
+
* Upload files straight to storage, encrypted here with `workspaceKey` (`uploadDocumentsDirect`),
|
|
10870
|
+
* into `workspaceId`, which must be the workspace open NOW. `upload-init` and `upload-commit`
|
|
10871
|
+
* name no workspace yet (they act on the session's open one), so each runs under
|
|
10872
|
+
* `readInWorkspace`: it is not sent, or its answer not kept, unless `workspaceId` is open when
|
|
10873
|
+
* it is sent and still when it returns. A switch refuses the upload
|
|
10874
|
+
* (`ArbiWorkspaceChangedError`) instead of storing files encrypted with one workspace's key in
|
|
10875
|
+
* another. For any other workspace use `upload` with `workspaceExtId`, which names it.
|
|
10876
|
+
*/
|
|
10877
|
+
uploadDirect: (workspaceId: string, workspaceKey: Uint8Array, files: DirectUploadFile[], options?: Omit<UploadDirectOptions, "inWorkspace">) => Promise<UploadDirectResult>;
|
|
10758
10878
|
/** Download a document's original file — its current version, or `version`. */
|
|
10759
10879
|
download: (docId: string, version?: number) => Promise<Response>;
|
|
10760
10880
|
getParsedContent: (docId: string, stage: string, version?: number) => Promise<Record<string, unknown>>;
|
|
@@ -12023,38 +12143,25 @@ declare class Arbi {
|
|
|
12023
12143
|
private openResponseHandle;
|
|
12024
12144
|
/** Canonical Responses-shaped requests; existing assistant convenience helpers remain supported. */
|
|
12025
12145
|
readonly responses: {
|
|
12026
|
-
create: (request: Omit<
|
|
12027
|
-
|
|
12146
|
+
create: <Streaming extends boolean | undefined = false>(request: Omit<ResponseCreateRequest, "stream"> & {
|
|
12147
|
+
stream?: Streaming;
|
|
12148
|
+
}, options?: {
|
|
12149
|
+
signal?: AbortSignal;
|
|
12150
|
+
}) => Promise<ResponseCreateResult<Streaming>>;
|
|
12151
|
+
parse: <T = unknown>(request: Omit<ResponseCreateRequest, "stream" | "background" | "text"> & {
|
|
12028
12152
|
stream?: false;
|
|
12029
|
-
background?:
|
|
12030
|
-
|
|
12153
|
+
background?: false;
|
|
12154
|
+
text: {
|
|
12155
|
+
format: JsonSchemaOutputFormat;
|
|
12156
|
+
};
|
|
12031
12157
|
}, options?: {
|
|
12032
12158
|
signal?: AbortSignal;
|
|
12033
|
-
}) => Promise<
|
|
12159
|
+
}) => Promise<ParsedResponse<T>>;
|
|
12034
12160
|
stream: (request: Omit<components["schemas"]["MessageInput"], "workspace_ext_id" | "stream" | "background" | "store"> & {
|
|
12035
12161
|
workspace_ext_id?: string;
|
|
12036
12162
|
store?: boolean;
|
|
12037
12163
|
}, options?: ResponseStartOptions) => Promise<ResponseStart>;
|
|
12038
|
-
retrieve: (id: string) => Promise<
|
|
12039
|
-
id: string;
|
|
12040
|
-
object: "response";
|
|
12041
|
-
status: "completed" | "in_progress" | "queued" | "cancelled" | "failed" | "incomplete";
|
|
12042
|
-
created_at?: number | null;
|
|
12043
|
-
model?: string | null;
|
|
12044
|
-
background: boolean;
|
|
12045
|
-
output: components["schemas"]["ResponsesAPIOutputMessage"][];
|
|
12046
|
-
usage?: components["schemas"]["ResponsesAPIUsage"] | null;
|
|
12047
|
-
error?: {
|
|
12048
|
-
[key: string]: unknown;
|
|
12049
|
-
} | null;
|
|
12050
|
-
incomplete_details?: {
|
|
12051
|
-
[key: string]: unknown;
|
|
12052
|
-
} | null;
|
|
12053
|
-
metadata?: {
|
|
12054
|
-
[key: string]: unknown;
|
|
12055
|
-
} | null;
|
|
12056
|
-
conversation_ext_id?: string | null;
|
|
12057
|
-
}>;
|
|
12164
|
+
retrieve: (id: string) => Promise<Response$1>;
|
|
12058
12165
|
cancel: (id: string) => Promise<void>;
|
|
12059
12166
|
attach: (id: string, options?: ResponseStartOptions) => Promise<ResponseHandle>;
|
|
12060
12167
|
};
|
|
@@ -12068,7 +12175,9 @@ declare class Arbi {
|
|
|
12068
12175
|
signal?: AbortSignal;
|
|
12069
12176
|
}) => Promise<ParsedStructuredResponse<T>>;
|
|
12070
12177
|
/** Start one response with a composable observer; existing ask callbacks remain unchanged. */
|
|
12071
|
-
startResponse: (request: AskRequest, options?: ResponseStartOptions
|
|
12178
|
+
startResponse: (request: AskRequest, options?: ResponseStartOptions & {
|
|
12179
|
+
onWorkspace?: (workspaceId: string) => void;
|
|
12180
|
+
}) => Promise<ResponseStart>;
|
|
12072
12181
|
/** Attach to retained replay/live events for an existing msg; never resubmits a turn. */
|
|
12073
12182
|
attachResponse: (id: string, options?: ResponseStartOptions) => Promise<ResponseHandle>;
|
|
12074
12183
|
/**
|
|
@@ -12106,7 +12215,10 @@ declare class Arbi {
|
|
|
12106
12215
|
/** Transcribe a voice recording to text (empty when no speech was found). */
|
|
12107
12216
|
transcribe: (audio: Blob) => Promise<string>;
|
|
12108
12217
|
/** Start a durable background turn; task options make its thread a work item. */
|
|
12109
|
-
submit: (question: string, options: Omit<SubmitBackgroundQueryOptions, keyof AuthHeaders | "workspaceId" | "question">
|
|
12218
|
+
submit: (question: string, options: Omit<SubmitBackgroundQueryOptions, keyof AuthHeaders | "workspaceId" | "question"> & {
|
|
12219
|
+
/** The workspace it runs in (default: the current one); opened for this session first. */
|
|
12220
|
+
workspaceId?: string;
|
|
12221
|
+
}) => Promise<{
|
|
12110
12222
|
id: string;
|
|
12111
12223
|
object: "response";
|
|
12112
12224
|
status: "completed" | "in_progress" | "queued" | "cancelled" | "failed" | "incomplete";
|
|
@@ -12182,6 +12294,8 @@ declare class Arbi {
|
|
|
12182
12294
|
model?: string;
|
|
12183
12295
|
/** Keep the response server-side (default true). */
|
|
12184
12296
|
store?: boolean;
|
|
12297
|
+
/** The workspace searched (default: the current one); opened for this session first. */
|
|
12298
|
+
workspaceId?: string;
|
|
12185
12299
|
}) => Promise<RetrieveResult>;
|
|
12186
12300
|
};
|
|
12187
12301
|
readonly tags: {
|
|
@@ -17321,4 +17435,4 @@ declare function documentTools(options: {
|
|
|
17321
17435
|
/** Add replaces matching tool names; replace discards all previous tools. No mutation of inputs. */
|
|
17322
17436
|
declare function composeTools(base: ResponseTools, next: ResponseTools, mode: 'add' | 'replace'): ResponseTools;
|
|
17323
17437
|
|
|
17324
|
-
export { type CitationToolSources as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalendarAccount as D, type CalendarAccountKind as E, type CalendarCreateBody as F, type CalendarEvent as G, type CalendarKeys as H, type CalendarRead as I, type CalendarSettings as J, type CalendarSettingsBody as K, type CalendarUpdate as L, type CalendarWindow as M, CallApiError as N, type Capabilities as O, type ChatAttachmentFile as P, type ChatAttachmentInput as Q, type ChatCryptoContext as R, type ChatKeyRing as S, type ChatKind as T, type ChatMemberKey as U, type ChatMemberResponse as V, type ChatMessage as W, type ChatMessageResponse as X, type ChatResponse as Y, type ChatSession as Z, type CitationSummary as _, type AccountSyncResult as a, type HouseTemplateCandidate as a$, type CliConfig as a0, type CliCredentials as a1, type CommandDescriptor as a2, type ConfigStore as a3, type Configuration as a4, type ConfigurationPatch as a5, type ConnectOptions as a6, type ConnectorCatalogEntry as a7, type ConnectorFolder as a8, type ConnectorSyncProgress as a9, type DocInfo as aA, type DocInfoMap as aB, type DocNameMap as aC, type DocumentAutomationAction as aD, type DocumentListFields as aE, type DocumentListOrder as aF, type DocumentSelector as aG, type DocumentWaiter as aH, type DocumentWaiterOptions as aI, type DriveSyncProgress as aJ, type DriveSyncSummary as aK, DuplicateContactError as aL, ENTITY_KINDS as aM, type EditScope as aN, type EntityKind as aO, type EventCreateBody as aP, type EventPatchBody as aQ, FLAT_TAG_KINDS as aR, type FactResponse as aS, type FactSearchRequest as aT, type FactSearchResponse as aU, type FindTimeParams as aV, type FormattedWsMessage as aW, type FreeBusyEntry as aX, type FullContextSelection as aY, GOOGLE_VENDORS as aZ, type HolidayCountry as a_, type ConnectorSyncStatus as aa, type ConnectorVendorKey as ab, type ConnectorVisibilitySettings as ac, type ContextUsage as ad, type ConversationResponse as ae, type ConversationUsageResponse as af, type CreateFactRequest as ag, type CreateFactsRequest as ah, type CreateWorkRequest as ai, type CreateWorkflowRequest as aj, DEFAULT_AI_USD_PER_GBP as ak, DOC_TERMINAL_STATUSES as al, DRIVE_SYNC_VENDORS as am, type Database as an, type DatabaseAggregateRequest as ao, type DatabaseAggregateResult as ap, type DatabaseColumn as aq, type DatabaseColumnWrite as ar, type DatabaseImportResult as as, type DatabaseRow as at, type DatabaseRowPage as au, type DatabaseRowsQuery as av, type DateTimeSpec as aw, type DecryptedChat as ax, type DecryptedChatMessage as ay, type DeploymentHouseTemplate as az, type ActivityKind as b, type RoomCreateBody as b$, IMANAGE_VENDORS as b0, type IdentityErrorCode as b1, type IdentityPurchase as b2, type IdentityState as b3, type IdentityStatus as b4, type ImportResult as b5, type InvitationRead as b6, type JsonSchemaOutputFormat as b7, type LinkedRun as b8, type ListAllOptions as b9, type ProjectCreateOptions as bA, type ProjectDetails as bB, type ProjectEventKind as bC, type ProjectEventResponse as bD, type ProjectInvoicesResponse as bE, type ProjectNextPeriodAddonsRequest as bF, type ProjectPlanChangeRequest as bG, type ProjectQuoteRequest as bH, type ProjectResponse as bI, type ProjectUpdateRequest as bJ, type ProjectUsageResponse as bK, PublicBookingError as bL, type PublicBookingPage as bM, type QuotaExceeded as bN, type RaisedSignal as bO, type RawResponseEvent as bP, type ReconnectOptions as bQ, type ReconnectableWsConnection as bR, type ResolvedCitation as bS, type ResolvedRecipient as bT, type RespondParams as bU, type RespondPartstat as bV, type ResponseHandle as bW, type ResponseSnapshot as bX, type ResponseStart as bY, type ResponseStartOptions as bZ, type ResponseTools as b_, type ListEventsParams as ba, type ListFactsOptions as bb, type ListPaginatedOptions as bc, MAILBOX_SYNC_VENDORS as bd, MAX_RETRIEVE_DOC_IDS as be, MICROSOFT_VENDORS as bf, type MailAttachment as bg, type MessageLevel as bh, type OAuthAccountKind as bi, type OutputItemDone as bj, type OverlayItem as bk, type OverlayLayerName as bl, PRESENCE_KINDS as bm, PROMPT_CONTEXT_CHARS as bn, type ParsedSlashCommand as bo, type ParsedStructuredResponse as bp, type PendingAuthResponse as bq, type PersonKey as br, PlanStepsError as bs, type PlanWorkRequest as bt, type ProductResponse as bu, type ProjectAddonKind as bv, type ProjectAddonSettingsRequest as bw, type ProjectBudget as bx, type ProjectCheckoutRequest as by, type ProjectConversationUsageResponse as bz, type ActivityResponse as c, type UpdateFactRequest as c$, type RoomQuery as c0, type RoomRead as c1, type RunProgress as c2, type RunStats as c3, type RunStep as c4, type RunWaitingOn as c5, SHAREPOINT_VENDORS as c6, type SSEEvent as c7, type SSEStreamCallbacks as c8, type SSEStreamOutcome as c9, type SubagentBranchRecord as cA, type SubagentLaneInfo as cB, type SubmitBackgroundQueryOptions as cC, type SubscribeParams as cD, type SyncTriggerResult as cE, TAG_KINDS as cF, TAG_NESTING_MAX_DEPTH as cG, type TagChange as cH, type TagFieldDefinition as cI, type TagGroup as cJ, type TagKind as cK, type TagKindField as cL, type TagKindSchema as cM, type TagLinks as cN, type TagListQuery as cO, type TagNode as cP, type TagResponse as cQ, type TagScope as cR, type TagTreeRow as cS, type TaskPlan as cT, type TaskPlanStep as cU, type TaxQuoteResponse as cV, type Thread as cW, type ThreadsResponse as cX, type TimeSuggestion as cY, type TurnRequest as cZ, type UpdateConversationRequest as c_, type SSEStreamResult as ca, STEP_FIELD_OPTION_TONES as cb, STOP_ID_WAIT_MS as cc, STOP_REPEAT_WINDOW_MS as cd, SUPPORTED_EXTENSIONS as ce, type ScopedTarget as cf, type SearchChunk as cg, type SendBack as ch, type ShareRead as ci, type ShareRole as cj, type SkillSummary as ck, type SkippedFile as cl, type SlackConnectionStatus as cm, type StepActionRequest as cn, type StepActivityEvent as co, type StepAssignee as cp, type StepDisplay as cq, type StepField as cr, type StepFieldOption as cs, type StepFieldOptionTone as ct, type StepKind as cu, type StepPhase as cv, type StepSignal as cw, type StepSignalWhen as cx, type StepState as cy, type StepStatus as cz, Arbi as d, documents as d$, type UpdateWorkflowRequest as d0, type UploadBatchResult as d1, type UploadDirectOptions as d2, type UploadDirectResult as d3, type UploadDocumentsOptions as d4, type UploadOptions as d5, type UploadProgressListener as d6, type UploadResult as d7, type UsageBreakdown as d8, type UserConnectorEntry as d9, buildRetrievalFullContextTool as dA, buildRetrievalTocTool as dB, buildTurnRequest as dC, calendar as dD, calls as dE, canTagHaveParent as dF, cancelPublicBooking as dG, capabilities as dH, chats as dI, composeConfiguration as dJ, composeTools as dK, computeRunStats as dL, connectErrorMessage as dM, connectWebSocket as dN, connectWithReconnect as dO, connectors as dP, contacts as dQ, continuityPrompt as dR, conversations as dS, countCitations as dT, createAuthenticatedClient as dU, createDocumentWaiter as dV, createIndexAssigner as dW, databases as dX, defaultKindForFormat as dY, doctags as dZ, documentTools as d_, type UserDailyUsageResponse as da, type UserInfo as db, WebSocketAuthError as dc, type WeeklyHoursSpec as dd, type WorkStatus as de, type WorkflowAuthMode as df, type WorkflowResponse as dg, type WorkflowRunHistoryResponse as dh, type WorkflowRunResponse as di, type WorkspaceContext as dj, type WorkspaceOpenResponse as dk, type WorkspaceResponse as dl, type WsConnection as dm, account as dn, agentconfig as dp, agents as dq, appendTranscriptionHints as dr, assistant as ds, authenticatedFetch as dt, bookPublicSlot as du, buildCitationChunkData as dv, buildDocNameMap as dw, buildDocumentTools as dx, buildFactsContextTool as dy, buildRetrievalChunkTool as dz, ArbiApiError as e, mergeAgentSteps as e$, estimateDraftTokens as e0, extractDocumentIdsFromMessages as e1, extractFactIdsFromMessages as e2, extractSubagentLanes as e3, facts as e4, files as e5, filterDocumentTags as e6, filterSkills as e7, findLeafForTaskMessage as e8, findMainSiblingLeaf as e9, getRawWorkspaceKey as eA, getRunToAttach as eB, getRunToCancel as eC, getStepDisplay as eD, getStepTool as eE, getSubagentBranchRecord as eF, getTagDescendantIds as eG, health as eH, houseTemplate as eI, hydrateAgentSteps as eJ, identity as eK, identityErrorCode as eL, instructions as eM, isAnnotationTag as eN, isConnectorVendorVisible as eO, isDriveSyncVendor as eP, isEntityTag as eQ, isFlatKind as eR, isLabelTag as eS, isMailboxSyncVendor as eT, isNearAiUsageBudget as eU, isPresenceTag as eV, isSharePointVendor as eW, isSharedSkill as eX, isTraceItem as eY, mail as eZ, mcpTools as e_, findReplyTarget as ea, findSubagentRunId as eb, flattenTagTree as ec, formatAgentStepLabel as ed, formatFileSize as ee, formatGbp as ef, formatGbpPerMillionTokens as eg, formatItemLabel as eh, formatStreamSummary as ei, formatTokens as ej, formatUserName as ek, formatWorkspaceChoices as el, formatWsMessage as em, generateEncryptedWorkspaceKey as en, generateNewWorkspaceKey as eo, getAgentStepLabel as ep, getAttachableRunId as eq, getChildTags as er, getContextRemainingPercent as es, getContextUsedPercent as et, getContextUsedTokens as eu, getCurrentStep as ev, getEligibleParentTags as ew, getErrorCode as ex, getErrorMessage as ey, getPublicBookingPage as ez, ArbiError as f, notifications as f0, parseSSEEvents as f1, parseSlashCommand as f2, parseSlashTokenInProgress as f3, parseStructuredResponse as f4, performPasswordLogin as f5, performSigningKeyLogin as f6, performSsoDeviceFlowLogin as f7, pickMainThread as f8, profile as f9, tags as fA, tagsForScope as fB, tagsOfGroup as fC, topLevelAgentSteps as fD, uploadSkill as fE, usdToGbp as fF, work as fG, workflowSteps as fH, workflows as fI, workspaces as fJ, wouldCreateTagCycle as fK, progressFetch as fa, projects as fb, quotaExceededFrom as fc, quotaFromStreamError as fd, reduceOutputItem as fe, refusalReason as ff, requireData as fg, requireOk as fh, resolveAuth as fi, resolveCitations as fj, resolveSummary as fk, resolveWorkspace as fl, responses as fm, searchChunks as fn, selectFullContextDocument as fo, selectWorkspace as fp, selectWorkspaceById as fq, sessions as fr, settings as fs, signatureRequests as ft, sliceToSubagentThread as fu, streamSSE as fv, stripCitationMarkdown as fw, subagentJobLabel as fx, summarizeCitations as fy, tagUseCount as fz, type ArbiErrorOptions as g, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiStructuredOutputError as k, ArbiTransportError as l, ArbiWorkspaceChangedError as m, ArbiWorkspaceSupersededError as n, type AskHandlers as o, type AskRequest as p, type AttendeeRead as q, type AuthContext as r, type AuthHeaders as s, type AuthMode as t, type AuthenticatedClient as u, type BookingPage as v, type BookingPageWriteBody as w, type BookingRequestBody as x, type BridgeTokensOptions as y, type CalDavProfile as z };
|
|
17438
|
+
export { type CitationSummary as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalDavProfile as D, type CalendarAccount as E, type CalendarAccountKind as F, type CalendarCreateBody as G, type CalendarEvent as H, type CalendarKeys as I, type CalendarRead as J, type CalendarSettings as K, type CalendarSettingsBody as L, type CalendarUpdate as M, type CalendarWindow as N, CallApiError as O, type Capabilities as P, type ChatAttachmentFile as Q, type ChatAttachmentInput as R, type ChatCryptoContext as S, type ChatKeyRing as T, type ChatKind as U, type ChatMemberKey as V, type ChatMemberResponse as W, type ChatMessage as X, type ChatMessageResponse as Y, type ChatResponse as Z, type ChatSession as _, type AccountSyncResult as a, type HolidayCountry as a$, type CitationToolSources as a0, type CliConfig as a1, type CliCredentials as a2, type CommandDescriptor as a3, type ConfigStore as a4, type Configuration as a5, type ConfigurationPatch as a6, type ConnectOptions as a7, type ConnectorCatalogEntry as a8, type ConnectorFolder as a9, type DeploymentHouseTemplate as aA, type DocInfo as aB, type DocInfoMap as aC, type DocNameMap as aD, type DocumentAutomationAction as aE, type DocumentListFields as aF, type DocumentListOrder as aG, type DocumentSelector as aH, type DocumentWaiter as aI, type DocumentWaiterOptions as aJ, type DriveSyncProgress as aK, type DriveSyncSummary as aL, DuplicateContactError as aM, ENTITY_KINDS as aN, type EditScope as aO, type EntityKind as aP, type EventCreateBody as aQ, type EventPatchBody as aR, FLAT_TAG_KINDS as aS, type FactResponse as aT, type FactSearchRequest as aU, type FactSearchResponse as aV, type FindTimeParams as aW, type FormattedWsMessage as aX, type FreeBusyEntry as aY, type FullContextSelection as aZ, GOOGLE_VENDORS as a_, type ConnectorSyncProgress as aa, type ConnectorSyncStatus as ab, type ConnectorVendorKey as ac, type ConnectorVisibilitySettings as ad, type ContextUsage as ae, type ConversationResponse as af, type ConversationUsageResponse as ag, type CreateFactRequest as ah, type CreateFactsRequest as ai, type CreateWorkRequest as aj, type CreateWorkflowRequest as ak, DEFAULT_AI_USD_PER_GBP as al, DOC_TERMINAL_STATUSES as am, DRIVE_SYNC_VENDORS as an, type Database as ao, type DatabaseAggregateRequest as ap, type DatabaseAggregateResult as aq, type DatabaseColumn as ar, type DatabaseColumnWrite as as, type DatabaseImportResult as at, type DatabaseRow as au, type DatabaseRowPage as av, type DatabaseRowsQuery as aw, type DateTimeSpec as ax, type DecryptedChat as ay, type DecryptedChatMessage as az, type ActivityKind as b, type ResponseHandle as b$, type HouseTemplateCandidate as b0, IMANAGE_VENDORS as b1, type IdentityErrorCode as b2, type IdentityPurchase as b3, type IdentityState as b4, type IdentityStatus as b5, type ImportResult as b6, type InvitationRead as b7, type JsonSchemaOutputFormat as b8, type LinkedRun as b9, type ProjectCheckoutRequest as bA, type ProjectConversationUsageResponse as bB, type ProjectCreateOptions as bC, type ProjectDetails as bD, type ProjectEventKind as bE, type ProjectEventResponse as bF, type ProjectInvoicesResponse as bG, type ProjectNextPeriodAddonsRequest as bH, type ProjectPlanChangeRequest as bI, type ProjectQuoteRequest as bJ, type ProjectResponse as bK, type ProjectUpdateRequest as bL, type ProjectUsageResponse as bM, PublicBookingError as bN, type PublicBookingPage as bO, type QuotaExceeded as bP, type RaisedSignal as bQ, type RawResponseEvent as bR, type ReconnectOptions as bS, type ReconnectableWsConnection as bT, type ResolvedCitation as bU, type ResolvedRecipient as bV, type RespondParams as bW, type RespondPartstat as bX, type Response$1 as bY, type ResponseCreateRequest as bZ, type ResponseCreateResult as b_, type ListAllOptions as ba, type ListEventsParams as bb, type ListFactsOptions as bc, type ListPaginatedOptions as bd, MAILBOX_SYNC_VENDORS as be, MAX_RETRIEVE_DOC_IDS as bf, MICROSOFT_VENDORS as bg, type MailAttachment as bh, type MessageLevel as bi, type OAuthAccountKind as bj, type OutputItemDone as bk, type OverlayItem as bl, type OverlayLayerName as bm, PRESENCE_KINDS as bn, PROMPT_CONTEXT_CHARS as bo, type ParsedResponse as bp, type ParsedSlashCommand as bq, type ParsedStructuredResponse as br, type PendingAuthResponse as bs, type PersonKey as bt, PlanStepsError as bu, type PlanWorkRequest as bv, type ProductResponse as bw, type ProjectAddonKind as bx, type ProjectAddonSettingsRequest as by, type ProjectBudget as bz, type ActivityResponse as c, type TaskPlanStep as c$, type ResponseSnapshot as c0, type ResponseStart as c1, type ResponseStartOptions as c2, ResponseStream as c3, type ResponseStreamEvent as c4, type ResponseTools as c5, type RoomCreateBody as c6, type RoomQuery as c7, type RoomRead as c8, type RunProgress as c9, type StepFieldOptionTone as cA, type StepKind as cB, type StepPhase as cC, type StepSignal as cD, type StepSignalWhen as cE, type StepState as cF, type StepStatus as cG, type SubagentBranchRecord as cH, type SubagentLaneInfo as cI, type SubmitBackgroundQueryOptions as cJ, type SubscribeParams as cK, type SyncTriggerResult as cL, TAG_KINDS as cM, TAG_NESTING_MAX_DEPTH as cN, type TagChange as cO, type TagFieldDefinition as cP, type TagGroup as cQ, type TagKind as cR, type TagKindField as cS, type TagKindSchema as cT, type TagLinks as cU, type TagListQuery as cV, type TagNode as cW, type TagResponse as cX, type TagScope as cY, type TagTreeRow as cZ, type TaskPlan as c_, type RunStats as ca, type RunStep as cb, type RunWaitingOn as cc, SHAREPOINT_VENDORS as cd, type SSEEvent as ce, type SSEStreamCallbacks as cf, type SSEStreamOutcome as cg, type SSEStreamResult as ch, STEP_FIELD_OPTION_TONES as ci, STOP_ID_WAIT_MS as cj, STOP_REPEAT_WINDOW_MS as ck, SUPPORTED_EXTENSIONS as cl, type ScopedTarget as cm, type SearchChunk as cn, type SendBack as co, type ShareRead as cp, type ShareRole as cq, type SkillSummary as cr, type SkippedFile as cs, type SlackConnectionStatus as ct, type StepActionRequest as cu, type StepActivityEvent as cv, type StepAssignee as cw, type StepDisplay as cx, type StepField as cy, type StepFieldOption as cz, Arbi as d, countCitations as d$, type TaxQuoteResponse as d0, type Thread as d1, type ThreadsResponse as d2, type TimeSuggestion as d3, type TurnRequest as d4, type UpdateConversationRequest as d5, type UpdateFactRequest as d6, type UpdateWorkflowRequest as d7, type UploadBatchResult as d8, type UploadDirectOptions as d9, assistant as dA, authenticatedFetch as dB, bookPublicSlot as dC, buildCitationChunkData as dD, buildDocNameMap as dE, buildDocumentTools as dF, buildFactsContextTool as dG, buildRetrievalChunkTool as dH, buildRetrievalFullContextTool as dI, buildRetrievalTocTool as dJ, buildTurnRequest as dK, calendar as dL, calls as dM, canTagHaveParent as dN, cancelPublicBooking as dO, capabilities as dP, chats as dQ, composeConfiguration as dR, composeTools as dS, computeRunStats as dT, connectErrorMessage as dU, connectWebSocket as dV, connectWithReconnect as dW, connectors as dX, contacts as dY, continuityPrompt as dZ, conversations as d_, type UploadDirectResult as da, type UploadDocumentsOptions as db, type UploadOptions as dc, type UploadProgressListener as dd, type UploadResult as de, type UsageBreakdown as df, type UserConnectorEntry as dg, type UserDailyUsageResponse as dh, type UserInfo as di, WebSocketAuthError as dj, type WeeklyHoursSpec as dk, type WorkStatus as dl, type WorkflowAuthMode as dm, type WorkflowResponse as dn, type WorkflowRunHistoryResponse as dp, type WorkflowRunResponse as dq, type WorkspaceConflict as dr, type WorkspaceContext as ds, type WorkspaceOpenResponse as dt, type WorkspaceResponse as du, type WsConnection as dv, account as dw, agentconfig as dx, agents as dy, appendTranscriptionHints as dz, ArbiApiError as e, isMailboxSyncVendor as e$, createAuthenticatedClient as e0, createDocumentWaiter as e1, createIndexAssigner as e2, databases as e3, defaultKindForFormat as e4, doctags as e5, documentTools as e6, documents as e7, estimateDraftTokens as e8, extractDocumentIdsFromMessages as e9, getContextRemainingPercent as eA, getContextUsedPercent as eB, getContextUsedTokens as eC, getCurrentStep as eD, getEligibleParentTags as eE, getErrorCode as eF, getErrorMessage as eG, getPublicBookingPage as eH, getRawWorkspaceKey as eI, getRunToAttach as eJ, getRunToCancel as eK, getStepDisplay as eL, getStepTool as eM, getSubagentBranchRecord as eN, getTagDescendantIds as eO, health as eP, houseTemplate as eQ, hydrateAgentSteps as eR, identity as eS, identityErrorCode as eT, instructions as eU, isAnnotationTag as eV, isConnectorVendorVisible as eW, isDriveSyncVendor as eX, isEntityTag as eY, isFlatKind as eZ, isLabelTag as e_, extractFactIdsFromMessages as ea, extractSubagentLanes as eb, facts as ec, files as ed, filterDocumentTags as ee, filterSkills as ef, findLeafForTaskMessage as eg, findMainSiblingLeaf as eh, findReplyTarget as ei, findSubagentRunId as ej, flattenTagTree as ek, formatAgentStepLabel as el, formatFileSize as em, formatGbp as en, formatGbpPerMillionTokens as eo, formatItemLabel as ep, formatStreamSummary as eq, formatTokens as er, formatUserName as es, formatWorkspaceChoices as et, formatWsMessage as eu, generateEncryptedWorkspaceKey as ev, generateNewWorkspaceKey as ew, getAgentStepLabel as ex, getAttachableRunId as ey, getChildTags as ez, ArbiError as f, isNearAiUsageBudget as f0, isPresenceTag as f1, isSharePointVendor as f2, isSharedSkill as f3, isTraceItem as f4, mail as f5, mcpTools as f6, mergeAgentSteps as f7, notifications as f8, parseSSEEvents as f9, settings as fA, signatureRequests as fB, sliceToSubagentThread as fC, streamSSE as fD, stripCitationMarkdown as fE, subagentJobLabel as fF, summarizeCitations as fG, tagUseCount as fH, tags as fI, tagsForScope as fJ, tagsOfGroup as fK, topLevelAgentSteps as fL, uploadSkill as fM, usdToGbp as fN, work as fO, workflowSteps as fP, workflows as fQ, workspaceConflictOf as fR, workspaces as fS, wouldCreateTagCycle as fT, parseSlashCommand as fa, parseSlashTokenInProgress as fb, parseStructuredResponse as fc, performPasswordLogin as fd, performSigningKeyLogin as fe, performSsoDeviceFlowLogin as ff, pickMainThread as fg, profile as fh, progressFetch as fi, projects as fj, quotaExceededFrom as fk, quotaFromStreamError as fl, reduceOutputItem as fm, refusalReason as fn, requireData as fo, requireOk as fp, resolveAuth as fq, resolveCitations as fr, resolveSummary as fs, resolveWorkspace as ft, responses as fu, searchChunks as fv, selectFullContextDocument as fw, selectWorkspace as fx, selectWorkspaceById as fy, sessions as fz, type ArbiErrorOptions as g, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiStructuredOutputError as k, ArbiTransportError as l, ArbiWorkspaceChangedError as m, ArbiWorkspaceSupersededError as n, ArbiWorkspaceUnavailableError as o, type AskHandlers as p, type AskRequest as q, type AttendeeRead as r, type AuthContext as s, type AuthHeaders as t, type AuthMode as u, type AuthenticatedClient as v, type BookingPage as w, type BookingPageWriteBody as x, type BookingRequestBody as y, type BridgeTokensOptions as z };
|