@arbidocs/client 0.3.133 → 0.3.135
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/index.d.cts +225 -13
- package/dist/index.d.ts +225 -13
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4024,7 +4024,7 @@ interface components {
|
|
|
4024
4024
|
* "IMAGE": "arbi-sandbox:bookworm-slim",
|
|
4025
4025
|
* "TIMEOUT_SECONDS": 60,
|
|
4026
4026
|
* "MEMORY_LIMIT": "512m",
|
|
4027
|
-
* "NETWORK": "
|
|
4027
|
+
* "NETWORK": "bridge"
|
|
4028
4028
|
* }
|
|
4029
4029
|
*/
|
|
4030
4030
|
RunCode: components['schemas']['RunCodeConfig'];
|
|
@@ -4186,6 +4186,80 @@ interface components {
|
|
|
4186
4186
|
*/
|
|
4187
4187
|
project_ext_id?: string | null;
|
|
4188
4188
|
};
|
|
4189
|
+
/**
|
|
4190
|
+
* ArbiItemMeta
|
|
4191
|
+
* @description ARBI's agent-trace extension carried on a Responses output_item.
|
|
4192
|
+
*
|
|
4193
|
+
* Standard Responses items are `message` / `function_call` / `reasoning`; none
|
|
4194
|
+
* of them model the trace UI's needs — a human label ("Searching documents"),
|
|
4195
|
+
* the agent's focus narration, a result summary ("15 passages retrieved"),
|
|
4196
|
+
* per-item token cost, sub-agent lane grouping. Those ride here, under a single
|
|
4197
|
+
* namespaced `arbi` field, so a standard Responses client ignores it (unknown
|
|
4198
|
+
* field) while ours reads it. The item itself stays byte-for-byte standard.
|
|
4199
|
+
*/
|
|
4200
|
+
ArbiItemMeta: {
|
|
4201
|
+
/**
|
|
4202
|
+
* Label
|
|
4203
|
+
* @description Human display label. Backend-owned.
|
|
4204
|
+
*/
|
|
4205
|
+
label?: string | null;
|
|
4206
|
+
/**
|
|
4207
|
+
* Focus
|
|
4208
|
+
* @description The agent's own words for what this item is doing.
|
|
4209
|
+
*/
|
|
4210
|
+
focus?: string | null;
|
|
4211
|
+
/**
|
|
4212
|
+
* Detail
|
|
4213
|
+
* @description Enriched tool-call display shape (resolved summary, page ranges, digest flags) — richer than the raw `arguments` JSON, for the trace UI. One entry per call on a function_call item.
|
|
4214
|
+
*/
|
|
4215
|
+
detail?: {
|
|
4216
|
+
[key: string]: unknown;
|
|
4217
|
+
}[] | null;
|
|
4218
|
+
/**
|
|
4219
|
+
* Outcome
|
|
4220
|
+
* @description Result summary, e.g. '15 passages retrieved'.
|
|
4221
|
+
*/
|
|
4222
|
+
outcome?: string | null;
|
|
4223
|
+
/** @description Token usage for the LLM call behind this item. */
|
|
4224
|
+
usage?: components['schemas']['StepUsage'] | null;
|
|
4225
|
+
/**
|
|
4226
|
+
* Step Tokens
|
|
4227
|
+
* @description Per-item token cost.
|
|
4228
|
+
*/
|
|
4229
|
+
step_tokens?: number | null;
|
|
4230
|
+
/**
|
|
4231
|
+
* Total Tokens
|
|
4232
|
+
* @description Cumulative tokens across the response so far.
|
|
4233
|
+
*/
|
|
4234
|
+
total_tokens?: number | null;
|
|
4235
|
+
/** @description Token budget snapshot. */
|
|
4236
|
+
context?: components['schemas']['TokenBudgetContext'] | null;
|
|
4237
|
+
/**
|
|
4238
|
+
* Parent Id
|
|
4239
|
+
* @description Output-item id this nests under (sub-agent steps).
|
|
4240
|
+
*/
|
|
4241
|
+
parent_id?: string | null;
|
|
4242
|
+
/**
|
|
4243
|
+
* Subagent
|
|
4244
|
+
* @description Sub-agent handle for live-lane grouping.
|
|
4245
|
+
*/
|
|
4246
|
+
subagent?: string | null;
|
|
4247
|
+
/**
|
|
4248
|
+
* Subagent Status
|
|
4249
|
+
* @description Sub-agent lane lifecycle marker.
|
|
4250
|
+
*/
|
|
4251
|
+
subagent_status?: ('running' | 'done' | 'failed') | null;
|
|
4252
|
+
/**
|
|
4253
|
+
* Model Recommendation
|
|
4254
|
+
* @description FilterPlan model tier (goal item, auto mode).
|
|
4255
|
+
*/
|
|
4256
|
+
model_recommendation?: string | null;
|
|
4257
|
+
/**
|
|
4258
|
+
* Selected Model
|
|
4259
|
+
* @description Resolved model (goal item, auto mode).
|
|
4260
|
+
*/
|
|
4261
|
+
selected_model?: string | null;
|
|
4262
|
+
};
|
|
4189
4263
|
/**
|
|
4190
4264
|
* ArtifactEvent
|
|
4191
4265
|
* @description A generated artifact (document/draft) for the artifact panel.
|
|
@@ -6305,6 +6379,51 @@ interface components {
|
|
|
6305
6379
|
/** Count */
|
|
6306
6380
|
count?: number | null;
|
|
6307
6381
|
};
|
|
6382
|
+
/**
|
|
6383
|
+
* FunctionCallItem
|
|
6384
|
+
* @description A `function_call` output_item — one tool invocation (Responses-standard).
|
|
6385
|
+
*
|
|
6386
|
+
* Replaces the v1 tool-call agent_step. Arguments may stream incrementally via
|
|
6387
|
+
* response.function_call_arguments.delta before the item completes.
|
|
6388
|
+
*/
|
|
6389
|
+
FunctionCallItem: {
|
|
6390
|
+
/**
|
|
6391
|
+
* Type
|
|
6392
|
+
* @default function_call
|
|
6393
|
+
* @constant
|
|
6394
|
+
*/
|
|
6395
|
+
type: 'function_call';
|
|
6396
|
+
/**
|
|
6397
|
+
* Id
|
|
6398
|
+
* @description Output-item id
|
|
6399
|
+
*/
|
|
6400
|
+
id: string;
|
|
6401
|
+
/**
|
|
6402
|
+
* Call Id
|
|
6403
|
+
* @description Tool call id, correlates the call with its result.
|
|
6404
|
+
*/
|
|
6405
|
+
call_id: string;
|
|
6406
|
+
/**
|
|
6407
|
+
* Name
|
|
6408
|
+
* @description Tool name, e.g. 'search_inside_documents'.
|
|
6409
|
+
*/
|
|
6410
|
+
name: string;
|
|
6411
|
+
/**
|
|
6412
|
+
* Arguments
|
|
6413
|
+
* @description JSON-encoded arguments (may arrive via arguments.delta).
|
|
6414
|
+
* @default
|
|
6415
|
+
*/
|
|
6416
|
+
arguments: string;
|
|
6417
|
+
/**
|
|
6418
|
+
* Status
|
|
6419
|
+
* @description Call status.
|
|
6420
|
+
* @default in_progress
|
|
6421
|
+
* @enum {string}
|
|
6422
|
+
*/
|
|
6423
|
+
status: 'in_progress' | 'completed';
|
|
6424
|
+
/** @description ARBI agent-trace extension (non-standard). */
|
|
6425
|
+
arbi?: components['schemas']['ArbiItemMeta'] | null;
|
|
6426
|
+
};
|
|
6308
6427
|
/**
|
|
6309
6428
|
* GenerateAgentAvatarRequest
|
|
6310
6429
|
* @description Prompt for generating an agent avatar (usually composed from the persona).
|
|
@@ -7387,7 +7506,11 @@ interface components {
|
|
|
7387
7506
|
};
|
|
7388
7507
|
/**
|
|
7389
7508
|
* OutputMessage
|
|
7390
|
-
* @description A
|
|
7509
|
+
* @description A `message` output_item — assistant text (Responses-standard).
|
|
7510
|
+
*
|
|
7511
|
+
* The terminal message of a response is the answer; an earlier message (one
|
|
7512
|
+
* followed by a function_call) is narration the model emitted alongside a tool
|
|
7513
|
+
* call. Which is which is an ordering fact the client reads, not a backend gate.
|
|
7391
7514
|
*/
|
|
7392
7515
|
OutputMessage: {
|
|
7393
7516
|
/**
|
|
@@ -7398,7 +7521,7 @@ interface components {
|
|
|
7398
7521
|
type: 'message';
|
|
7399
7522
|
/**
|
|
7400
7523
|
* Id
|
|
7401
|
-
* @description
|
|
7524
|
+
* @description Output-item id
|
|
7402
7525
|
*/
|
|
7403
7526
|
id: string;
|
|
7404
7527
|
/**
|
|
@@ -7418,6 +7541,8 @@ interface components {
|
|
|
7418
7541
|
* @description Message content blocks
|
|
7419
7542
|
*/
|
|
7420
7543
|
content?: components['schemas']['OutputTextContent'][];
|
|
7544
|
+
/** @description ARBI agent-trace extension (non-standard). */
|
|
7545
|
+
arbi?: components['schemas']['ArbiItemMeta'] | null;
|
|
7421
7546
|
};
|
|
7422
7547
|
/**
|
|
7423
7548
|
* OutputTextContent
|
|
@@ -8094,6 +8219,40 @@ interface components {
|
|
|
8094
8219
|
*/
|
|
8095
8220
|
url: string;
|
|
8096
8221
|
};
|
|
8222
|
+
/**
|
|
8223
|
+
* ReasoningItem
|
|
8224
|
+
* @description A `reasoning` output_item — the agent's non-answer thinking (Responses-standard).
|
|
8225
|
+
*
|
|
8226
|
+
* Carries ARBI lifecycle steps that are neither a message nor a tool call: the
|
|
8227
|
+
* goal/plan step, evaluation, goal-progress. `arbi.label` names it for the UI.
|
|
8228
|
+
*/
|
|
8229
|
+
ReasoningItem: {
|
|
8230
|
+
/**
|
|
8231
|
+
* Type
|
|
8232
|
+
* @default reasoning
|
|
8233
|
+
* @constant
|
|
8234
|
+
*/
|
|
8235
|
+
type: 'reasoning';
|
|
8236
|
+
/**
|
|
8237
|
+
* Id
|
|
8238
|
+
* @description Output-item id
|
|
8239
|
+
*/
|
|
8240
|
+
id: string;
|
|
8241
|
+
/**
|
|
8242
|
+
* Status
|
|
8243
|
+
* @description Reasoning status.
|
|
8244
|
+
* @default in_progress
|
|
8245
|
+
* @enum {string}
|
|
8246
|
+
*/
|
|
8247
|
+
status: 'in_progress' | 'completed';
|
|
8248
|
+
/**
|
|
8249
|
+
* Summary
|
|
8250
|
+
* @description Reasoning text blocks.
|
|
8251
|
+
*/
|
|
8252
|
+
summary?: components['schemas']['OutputTextContent'][];
|
|
8253
|
+
/** @description ARBI agent-trace extension (non-standard). */
|
|
8254
|
+
arbi?: components['schemas']['ArbiItemMeta'] | null;
|
|
8255
|
+
};
|
|
8097
8256
|
/**
|
|
8098
8257
|
* RegisterRequest
|
|
8099
8258
|
* @description Unified user registration request (local and SSO).
|
|
@@ -8331,9 +8490,9 @@ interface components {
|
|
|
8331
8490
|
model: string;
|
|
8332
8491
|
/**
|
|
8333
8492
|
* Output
|
|
8334
|
-
* @description Final output messages
|
|
8493
|
+
* @description Final output items (messages, function_calls, reasoning)
|
|
8335
8494
|
*/
|
|
8336
|
-
output: components['schemas']['OutputMessage'][];
|
|
8495
|
+
output: (components['schemas']['OutputMessage'] | components['schemas']['FunctionCallItem'] | components['schemas']['ReasoningItem'])[];
|
|
8337
8496
|
/** @description Token usage summary */
|
|
8338
8497
|
usage: components['schemas']['ResponseUsage'];
|
|
8339
8498
|
/** @description Full MessageResponse plus context_usage, suggested_query */
|
|
@@ -8490,9 +8649,48 @@ interface components {
|
|
|
8490
8649
|
/** @description Error details */
|
|
8491
8650
|
error: components['schemas']['ResponseError'];
|
|
8492
8651
|
};
|
|
8652
|
+
/**
|
|
8653
|
+
* ResponseFunctionCallArgumentsDeltaEvent
|
|
8654
|
+
* @description OpenAI response.function_call_arguments.delta: streams a tool call's args.
|
|
8655
|
+
*
|
|
8656
|
+
* Emitted between a function_call item's added and done events as the model
|
|
8657
|
+
* assembles the JSON arguments, so the client can show a call forming live.
|
|
8658
|
+
*/
|
|
8659
|
+
ResponseFunctionCallArgumentsDeltaEvent: {
|
|
8660
|
+
/**
|
|
8661
|
+
* Type
|
|
8662
|
+
* @default response.function_call_arguments.delta
|
|
8663
|
+
* @constant
|
|
8664
|
+
*/
|
|
8665
|
+
type: 'response.function_call_arguments.delta';
|
|
8666
|
+
/**
|
|
8667
|
+
* Sequence Number
|
|
8668
|
+
* @description Monotonic sequence number for event ordering
|
|
8669
|
+
*/
|
|
8670
|
+
sequence_number: number;
|
|
8671
|
+
/**
|
|
8672
|
+
* Item Id
|
|
8673
|
+
* @description ID of the function_call output item
|
|
8674
|
+
*/
|
|
8675
|
+
item_id: string;
|
|
8676
|
+
/**
|
|
8677
|
+
* Output Index
|
|
8678
|
+
* @default 0
|
|
8679
|
+
*/
|
|
8680
|
+
output_index: number;
|
|
8681
|
+
/**
|
|
8682
|
+
* Delta
|
|
8683
|
+
* @description Incremental JSON-argument text to append.
|
|
8684
|
+
*/
|
|
8685
|
+
delta: string;
|
|
8686
|
+
};
|
|
8493
8687
|
/**
|
|
8494
8688
|
* ResponseOutputItemAddedEvent
|
|
8495
|
-
* @description OpenAI response.output_item.added: announces a new output
|
|
8689
|
+
* @description OpenAI response.output_item.added: announces a new output item.
|
|
8690
|
+
*
|
|
8691
|
+
* In v3 (#2075) the item is any of message / function_call / reasoning — one is
|
|
8692
|
+
* emitted for every assistant message, tool call, and lifecycle step, replacing
|
|
8693
|
+
* the index-keyed arbi.agent_step.
|
|
8496
8694
|
*/
|
|
8497
8695
|
ResponseOutputItemAddedEvent: {
|
|
8498
8696
|
/**
|
|
@@ -8511,12 +8709,18 @@ interface components {
|
|
|
8511
8709
|
* @default 0
|
|
8512
8710
|
*/
|
|
8513
8711
|
output_index: number;
|
|
8514
|
-
/**
|
|
8515
|
-
|
|
8712
|
+
/**
|
|
8713
|
+
* Item
|
|
8714
|
+
* @description The output item skeleton (message / function_call / reasoning)
|
|
8715
|
+
*/
|
|
8716
|
+
item: components['schemas']['OutputMessage'] | components['schemas']['FunctionCallItem'] | components['schemas']['ReasoningItem'];
|
|
8516
8717
|
};
|
|
8517
8718
|
/**
|
|
8518
8719
|
* ResponseOutputItemDoneEvent
|
|
8519
|
-
* @description OpenAI response.output_item.done: completed output
|
|
8720
|
+
* @description OpenAI response.output_item.done: a completed output item.
|
|
8721
|
+
*
|
|
8722
|
+
* The completed item carries its settled arbi extension (outcome, usage) for
|
|
8723
|
+
* function_call / reasoning items, and the full text for a message.
|
|
8520
8724
|
*/
|
|
8521
8725
|
ResponseOutputItemDoneEvent: {
|
|
8522
8726
|
/**
|
|
@@ -8535,8 +8739,11 @@ interface components {
|
|
|
8535
8739
|
* @default 0
|
|
8536
8740
|
*/
|
|
8537
8741
|
output_index: number;
|
|
8538
|
-
/**
|
|
8539
|
-
|
|
8742
|
+
/**
|
|
8743
|
+
* Item
|
|
8744
|
+
* @description The completed output item
|
|
8745
|
+
*/
|
|
8746
|
+
item: components['schemas']['OutputMessage'] | components['schemas']['FunctionCallItem'] | components['schemas']['ReasoningItem'];
|
|
8540
8747
|
};
|
|
8541
8748
|
/**
|
|
8542
8749
|
* ResponseOutputTextDeltaEvent
|
|
@@ -9019,8 +9226,8 @@ interface components {
|
|
|
9019
9226
|
MEMORY_LIMIT: string;
|
|
9020
9227
|
/**
|
|
9021
9228
|
* Network
|
|
9022
|
-
* @description Container network mode. '
|
|
9023
|
-
* @default
|
|
9229
|
+
* @description Container network mode. 'bridge' allows internet (pip/npm install). 'none' for full isolation.
|
|
9230
|
+
* @default bridge
|
|
9024
9231
|
*/
|
|
9025
9232
|
NETWORK: string;
|
|
9026
9233
|
};
|
|
@@ -9070,6 +9277,7 @@ interface components {
|
|
|
9070
9277
|
response_output_text_delta?: components['schemas']['ResponseOutputTextDeltaEvent'] | null;
|
|
9071
9278
|
response_output_text_done?: components['schemas']['ResponseOutputTextDoneEvent'] | null;
|
|
9072
9279
|
response_output_item_done?: components['schemas']['ResponseOutputItemDoneEvent'] | null;
|
|
9280
|
+
response_function_call_arguments_delta?: components['schemas']['ResponseFunctionCallArgumentsDeltaEvent'] | null;
|
|
9073
9281
|
response_completed?: components['schemas']['ResponseCompletedEvent'] | null;
|
|
9074
9282
|
response_failed?: components['schemas']['ResponseFailedEvent'] | null;
|
|
9075
9283
|
artifact?: components['schemas']['ArtifactEvent'] | null;
|
|
@@ -9079,6 +9287,10 @@ interface components {
|
|
|
9079
9287
|
output_tokens_details?: components['schemas']['OutputTokensDetails'] | null;
|
|
9080
9288
|
context_usage?: components['schemas']['ContextUsage'] | null;
|
|
9081
9289
|
message_metadata?: components['schemas']['MessageMetadataPayload'] | null;
|
|
9290
|
+
output_message?: components['schemas']['OutputMessage'] | null;
|
|
9291
|
+
function_call_item?: components['schemas']['FunctionCallItem'] | null;
|
|
9292
|
+
reasoning_item?: components['schemas']['ReasoningItem'] | null;
|
|
9293
|
+
arbi_item_meta?: components['schemas']['ArbiItemMeta'] | null;
|
|
9082
9294
|
detail_search_inside_documents?: components['schemas']['SearchInsideDocumentsDetail'] | null;
|
|
9083
9295
|
detail_read_document?: components['schemas']['ReadDocumentDetail'] | null;
|
|
9084
9296
|
detail_get_table_of_contents?: components['schemas']['GetTableOfContentsDetail'] | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -4024,7 +4024,7 @@ interface components {
|
|
|
4024
4024
|
* "IMAGE": "arbi-sandbox:bookworm-slim",
|
|
4025
4025
|
* "TIMEOUT_SECONDS": 60,
|
|
4026
4026
|
* "MEMORY_LIMIT": "512m",
|
|
4027
|
-
* "NETWORK": "
|
|
4027
|
+
* "NETWORK": "bridge"
|
|
4028
4028
|
* }
|
|
4029
4029
|
*/
|
|
4030
4030
|
RunCode: components['schemas']['RunCodeConfig'];
|
|
@@ -4186,6 +4186,80 @@ interface components {
|
|
|
4186
4186
|
*/
|
|
4187
4187
|
project_ext_id?: string | null;
|
|
4188
4188
|
};
|
|
4189
|
+
/**
|
|
4190
|
+
* ArbiItemMeta
|
|
4191
|
+
* @description ARBI's agent-trace extension carried on a Responses output_item.
|
|
4192
|
+
*
|
|
4193
|
+
* Standard Responses items are `message` / `function_call` / `reasoning`; none
|
|
4194
|
+
* of them model the trace UI's needs — a human label ("Searching documents"),
|
|
4195
|
+
* the agent's focus narration, a result summary ("15 passages retrieved"),
|
|
4196
|
+
* per-item token cost, sub-agent lane grouping. Those ride here, under a single
|
|
4197
|
+
* namespaced `arbi` field, so a standard Responses client ignores it (unknown
|
|
4198
|
+
* field) while ours reads it. The item itself stays byte-for-byte standard.
|
|
4199
|
+
*/
|
|
4200
|
+
ArbiItemMeta: {
|
|
4201
|
+
/**
|
|
4202
|
+
* Label
|
|
4203
|
+
* @description Human display label. Backend-owned.
|
|
4204
|
+
*/
|
|
4205
|
+
label?: string | null;
|
|
4206
|
+
/**
|
|
4207
|
+
* Focus
|
|
4208
|
+
* @description The agent's own words for what this item is doing.
|
|
4209
|
+
*/
|
|
4210
|
+
focus?: string | null;
|
|
4211
|
+
/**
|
|
4212
|
+
* Detail
|
|
4213
|
+
* @description Enriched tool-call display shape (resolved summary, page ranges, digest flags) — richer than the raw `arguments` JSON, for the trace UI. One entry per call on a function_call item.
|
|
4214
|
+
*/
|
|
4215
|
+
detail?: {
|
|
4216
|
+
[key: string]: unknown;
|
|
4217
|
+
}[] | null;
|
|
4218
|
+
/**
|
|
4219
|
+
* Outcome
|
|
4220
|
+
* @description Result summary, e.g. '15 passages retrieved'.
|
|
4221
|
+
*/
|
|
4222
|
+
outcome?: string | null;
|
|
4223
|
+
/** @description Token usage for the LLM call behind this item. */
|
|
4224
|
+
usage?: components['schemas']['StepUsage'] | null;
|
|
4225
|
+
/**
|
|
4226
|
+
* Step Tokens
|
|
4227
|
+
* @description Per-item token cost.
|
|
4228
|
+
*/
|
|
4229
|
+
step_tokens?: number | null;
|
|
4230
|
+
/**
|
|
4231
|
+
* Total Tokens
|
|
4232
|
+
* @description Cumulative tokens across the response so far.
|
|
4233
|
+
*/
|
|
4234
|
+
total_tokens?: number | null;
|
|
4235
|
+
/** @description Token budget snapshot. */
|
|
4236
|
+
context?: components['schemas']['TokenBudgetContext'] | null;
|
|
4237
|
+
/**
|
|
4238
|
+
* Parent Id
|
|
4239
|
+
* @description Output-item id this nests under (sub-agent steps).
|
|
4240
|
+
*/
|
|
4241
|
+
parent_id?: string | null;
|
|
4242
|
+
/**
|
|
4243
|
+
* Subagent
|
|
4244
|
+
* @description Sub-agent handle for live-lane grouping.
|
|
4245
|
+
*/
|
|
4246
|
+
subagent?: string | null;
|
|
4247
|
+
/**
|
|
4248
|
+
* Subagent Status
|
|
4249
|
+
* @description Sub-agent lane lifecycle marker.
|
|
4250
|
+
*/
|
|
4251
|
+
subagent_status?: ('running' | 'done' | 'failed') | null;
|
|
4252
|
+
/**
|
|
4253
|
+
* Model Recommendation
|
|
4254
|
+
* @description FilterPlan model tier (goal item, auto mode).
|
|
4255
|
+
*/
|
|
4256
|
+
model_recommendation?: string | null;
|
|
4257
|
+
/**
|
|
4258
|
+
* Selected Model
|
|
4259
|
+
* @description Resolved model (goal item, auto mode).
|
|
4260
|
+
*/
|
|
4261
|
+
selected_model?: string | null;
|
|
4262
|
+
};
|
|
4189
4263
|
/**
|
|
4190
4264
|
* ArtifactEvent
|
|
4191
4265
|
* @description A generated artifact (document/draft) for the artifact panel.
|
|
@@ -6305,6 +6379,51 @@ interface components {
|
|
|
6305
6379
|
/** Count */
|
|
6306
6380
|
count?: number | null;
|
|
6307
6381
|
};
|
|
6382
|
+
/**
|
|
6383
|
+
* FunctionCallItem
|
|
6384
|
+
* @description A `function_call` output_item — one tool invocation (Responses-standard).
|
|
6385
|
+
*
|
|
6386
|
+
* Replaces the v1 tool-call agent_step. Arguments may stream incrementally via
|
|
6387
|
+
* response.function_call_arguments.delta before the item completes.
|
|
6388
|
+
*/
|
|
6389
|
+
FunctionCallItem: {
|
|
6390
|
+
/**
|
|
6391
|
+
* Type
|
|
6392
|
+
* @default function_call
|
|
6393
|
+
* @constant
|
|
6394
|
+
*/
|
|
6395
|
+
type: 'function_call';
|
|
6396
|
+
/**
|
|
6397
|
+
* Id
|
|
6398
|
+
* @description Output-item id
|
|
6399
|
+
*/
|
|
6400
|
+
id: string;
|
|
6401
|
+
/**
|
|
6402
|
+
* Call Id
|
|
6403
|
+
* @description Tool call id, correlates the call with its result.
|
|
6404
|
+
*/
|
|
6405
|
+
call_id: string;
|
|
6406
|
+
/**
|
|
6407
|
+
* Name
|
|
6408
|
+
* @description Tool name, e.g. 'search_inside_documents'.
|
|
6409
|
+
*/
|
|
6410
|
+
name: string;
|
|
6411
|
+
/**
|
|
6412
|
+
* Arguments
|
|
6413
|
+
* @description JSON-encoded arguments (may arrive via arguments.delta).
|
|
6414
|
+
* @default
|
|
6415
|
+
*/
|
|
6416
|
+
arguments: string;
|
|
6417
|
+
/**
|
|
6418
|
+
* Status
|
|
6419
|
+
* @description Call status.
|
|
6420
|
+
* @default in_progress
|
|
6421
|
+
* @enum {string}
|
|
6422
|
+
*/
|
|
6423
|
+
status: 'in_progress' | 'completed';
|
|
6424
|
+
/** @description ARBI agent-trace extension (non-standard). */
|
|
6425
|
+
arbi?: components['schemas']['ArbiItemMeta'] | null;
|
|
6426
|
+
};
|
|
6308
6427
|
/**
|
|
6309
6428
|
* GenerateAgentAvatarRequest
|
|
6310
6429
|
* @description Prompt for generating an agent avatar (usually composed from the persona).
|
|
@@ -7387,7 +7506,11 @@ interface components {
|
|
|
7387
7506
|
};
|
|
7388
7507
|
/**
|
|
7389
7508
|
* OutputMessage
|
|
7390
|
-
* @description A
|
|
7509
|
+
* @description A `message` output_item — assistant text (Responses-standard).
|
|
7510
|
+
*
|
|
7511
|
+
* The terminal message of a response is the answer; an earlier message (one
|
|
7512
|
+
* followed by a function_call) is narration the model emitted alongside a tool
|
|
7513
|
+
* call. Which is which is an ordering fact the client reads, not a backend gate.
|
|
7391
7514
|
*/
|
|
7392
7515
|
OutputMessage: {
|
|
7393
7516
|
/**
|
|
@@ -7398,7 +7521,7 @@ interface components {
|
|
|
7398
7521
|
type: 'message';
|
|
7399
7522
|
/**
|
|
7400
7523
|
* Id
|
|
7401
|
-
* @description
|
|
7524
|
+
* @description Output-item id
|
|
7402
7525
|
*/
|
|
7403
7526
|
id: string;
|
|
7404
7527
|
/**
|
|
@@ -7418,6 +7541,8 @@ interface components {
|
|
|
7418
7541
|
* @description Message content blocks
|
|
7419
7542
|
*/
|
|
7420
7543
|
content?: components['schemas']['OutputTextContent'][];
|
|
7544
|
+
/** @description ARBI agent-trace extension (non-standard). */
|
|
7545
|
+
arbi?: components['schemas']['ArbiItemMeta'] | null;
|
|
7421
7546
|
};
|
|
7422
7547
|
/**
|
|
7423
7548
|
* OutputTextContent
|
|
@@ -8094,6 +8219,40 @@ interface components {
|
|
|
8094
8219
|
*/
|
|
8095
8220
|
url: string;
|
|
8096
8221
|
};
|
|
8222
|
+
/**
|
|
8223
|
+
* ReasoningItem
|
|
8224
|
+
* @description A `reasoning` output_item — the agent's non-answer thinking (Responses-standard).
|
|
8225
|
+
*
|
|
8226
|
+
* Carries ARBI lifecycle steps that are neither a message nor a tool call: the
|
|
8227
|
+
* goal/plan step, evaluation, goal-progress. `arbi.label` names it for the UI.
|
|
8228
|
+
*/
|
|
8229
|
+
ReasoningItem: {
|
|
8230
|
+
/**
|
|
8231
|
+
* Type
|
|
8232
|
+
* @default reasoning
|
|
8233
|
+
* @constant
|
|
8234
|
+
*/
|
|
8235
|
+
type: 'reasoning';
|
|
8236
|
+
/**
|
|
8237
|
+
* Id
|
|
8238
|
+
* @description Output-item id
|
|
8239
|
+
*/
|
|
8240
|
+
id: string;
|
|
8241
|
+
/**
|
|
8242
|
+
* Status
|
|
8243
|
+
* @description Reasoning status.
|
|
8244
|
+
* @default in_progress
|
|
8245
|
+
* @enum {string}
|
|
8246
|
+
*/
|
|
8247
|
+
status: 'in_progress' | 'completed';
|
|
8248
|
+
/**
|
|
8249
|
+
* Summary
|
|
8250
|
+
* @description Reasoning text blocks.
|
|
8251
|
+
*/
|
|
8252
|
+
summary?: components['schemas']['OutputTextContent'][];
|
|
8253
|
+
/** @description ARBI agent-trace extension (non-standard). */
|
|
8254
|
+
arbi?: components['schemas']['ArbiItemMeta'] | null;
|
|
8255
|
+
};
|
|
8097
8256
|
/**
|
|
8098
8257
|
* RegisterRequest
|
|
8099
8258
|
* @description Unified user registration request (local and SSO).
|
|
@@ -8331,9 +8490,9 @@ interface components {
|
|
|
8331
8490
|
model: string;
|
|
8332
8491
|
/**
|
|
8333
8492
|
* Output
|
|
8334
|
-
* @description Final output messages
|
|
8493
|
+
* @description Final output items (messages, function_calls, reasoning)
|
|
8335
8494
|
*/
|
|
8336
|
-
output: components['schemas']['OutputMessage'][];
|
|
8495
|
+
output: (components['schemas']['OutputMessage'] | components['schemas']['FunctionCallItem'] | components['schemas']['ReasoningItem'])[];
|
|
8337
8496
|
/** @description Token usage summary */
|
|
8338
8497
|
usage: components['schemas']['ResponseUsage'];
|
|
8339
8498
|
/** @description Full MessageResponse plus context_usage, suggested_query */
|
|
@@ -8490,9 +8649,48 @@ interface components {
|
|
|
8490
8649
|
/** @description Error details */
|
|
8491
8650
|
error: components['schemas']['ResponseError'];
|
|
8492
8651
|
};
|
|
8652
|
+
/**
|
|
8653
|
+
* ResponseFunctionCallArgumentsDeltaEvent
|
|
8654
|
+
* @description OpenAI response.function_call_arguments.delta: streams a tool call's args.
|
|
8655
|
+
*
|
|
8656
|
+
* Emitted between a function_call item's added and done events as the model
|
|
8657
|
+
* assembles the JSON arguments, so the client can show a call forming live.
|
|
8658
|
+
*/
|
|
8659
|
+
ResponseFunctionCallArgumentsDeltaEvent: {
|
|
8660
|
+
/**
|
|
8661
|
+
* Type
|
|
8662
|
+
* @default response.function_call_arguments.delta
|
|
8663
|
+
* @constant
|
|
8664
|
+
*/
|
|
8665
|
+
type: 'response.function_call_arguments.delta';
|
|
8666
|
+
/**
|
|
8667
|
+
* Sequence Number
|
|
8668
|
+
* @description Monotonic sequence number for event ordering
|
|
8669
|
+
*/
|
|
8670
|
+
sequence_number: number;
|
|
8671
|
+
/**
|
|
8672
|
+
* Item Id
|
|
8673
|
+
* @description ID of the function_call output item
|
|
8674
|
+
*/
|
|
8675
|
+
item_id: string;
|
|
8676
|
+
/**
|
|
8677
|
+
* Output Index
|
|
8678
|
+
* @default 0
|
|
8679
|
+
*/
|
|
8680
|
+
output_index: number;
|
|
8681
|
+
/**
|
|
8682
|
+
* Delta
|
|
8683
|
+
* @description Incremental JSON-argument text to append.
|
|
8684
|
+
*/
|
|
8685
|
+
delta: string;
|
|
8686
|
+
};
|
|
8493
8687
|
/**
|
|
8494
8688
|
* ResponseOutputItemAddedEvent
|
|
8495
|
-
* @description OpenAI response.output_item.added: announces a new output
|
|
8689
|
+
* @description OpenAI response.output_item.added: announces a new output item.
|
|
8690
|
+
*
|
|
8691
|
+
* In v3 (#2075) the item is any of message / function_call / reasoning — one is
|
|
8692
|
+
* emitted for every assistant message, tool call, and lifecycle step, replacing
|
|
8693
|
+
* the index-keyed arbi.agent_step.
|
|
8496
8694
|
*/
|
|
8497
8695
|
ResponseOutputItemAddedEvent: {
|
|
8498
8696
|
/**
|
|
@@ -8511,12 +8709,18 @@ interface components {
|
|
|
8511
8709
|
* @default 0
|
|
8512
8710
|
*/
|
|
8513
8711
|
output_index: number;
|
|
8514
|
-
/**
|
|
8515
|
-
|
|
8712
|
+
/**
|
|
8713
|
+
* Item
|
|
8714
|
+
* @description The output item skeleton (message / function_call / reasoning)
|
|
8715
|
+
*/
|
|
8716
|
+
item: components['schemas']['OutputMessage'] | components['schemas']['FunctionCallItem'] | components['schemas']['ReasoningItem'];
|
|
8516
8717
|
};
|
|
8517
8718
|
/**
|
|
8518
8719
|
* ResponseOutputItemDoneEvent
|
|
8519
|
-
* @description OpenAI response.output_item.done: completed output
|
|
8720
|
+
* @description OpenAI response.output_item.done: a completed output item.
|
|
8721
|
+
*
|
|
8722
|
+
* The completed item carries its settled arbi extension (outcome, usage) for
|
|
8723
|
+
* function_call / reasoning items, and the full text for a message.
|
|
8520
8724
|
*/
|
|
8521
8725
|
ResponseOutputItemDoneEvent: {
|
|
8522
8726
|
/**
|
|
@@ -8535,8 +8739,11 @@ interface components {
|
|
|
8535
8739
|
* @default 0
|
|
8536
8740
|
*/
|
|
8537
8741
|
output_index: number;
|
|
8538
|
-
/**
|
|
8539
|
-
|
|
8742
|
+
/**
|
|
8743
|
+
* Item
|
|
8744
|
+
* @description The completed output item
|
|
8745
|
+
*/
|
|
8746
|
+
item: components['schemas']['OutputMessage'] | components['schemas']['FunctionCallItem'] | components['schemas']['ReasoningItem'];
|
|
8540
8747
|
};
|
|
8541
8748
|
/**
|
|
8542
8749
|
* ResponseOutputTextDeltaEvent
|
|
@@ -9019,8 +9226,8 @@ interface components {
|
|
|
9019
9226
|
MEMORY_LIMIT: string;
|
|
9020
9227
|
/**
|
|
9021
9228
|
* Network
|
|
9022
|
-
* @description Container network mode. '
|
|
9023
|
-
* @default
|
|
9229
|
+
* @description Container network mode. 'bridge' allows internet (pip/npm install). 'none' for full isolation.
|
|
9230
|
+
* @default bridge
|
|
9024
9231
|
*/
|
|
9025
9232
|
NETWORK: string;
|
|
9026
9233
|
};
|
|
@@ -9070,6 +9277,7 @@ interface components {
|
|
|
9070
9277
|
response_output_text_delta?: components['schemas']['ResponseOutputTextDeltaEvent'] | null;
|
|
9071
9278
|
response_output_text_done?: components['schemas']['ResponseOutputTextDoneEvent'] | null;
|
|
9072
9279
|
response_output_item_done?: components['schemas']['ResponseOutputItemDoneEvent'] | null;
|
|
9280
|
+
response_function_call_arguments_delta?: components['schemas']['ResponseFunctionCallArgumentsDeltaEvent'] | null;
|
|
9073
9281
|
response_completed?: components['schemas']['ResponseCompletedEvent'] | null;
|
|
9074
9282
|
response_failed?: components['schemas']['ResponseFailedEvent'] | null;
|
|
9075
9283
|
artifact?: components['schemas']['ArtifactEvent'] | null;
|
|
@@ -9079,6 +9287,10 @@ interface components {
|
|
|
9079
9287
|
output_tokens_details?: components['schemas']['OutputTokensDetails'] | null;
|
|
9080
9288
|
context_usage?: components['schemas']['ContextUsage'] | null;
|
|
9081
9289
|
message_metadata?: components['schemas']['MessageMetadataPayload'] | null;
|
|
9290
|
+
output_message?: components['schemas']['OutputMessage'] | null;
|
|
9291
|
+
function_call_item?: components['schemas']['FunctionCallItem'] | null;
|
|
9292
|
+
reasoning_item?: components['schemas']['ReasoningItem'] | null;
|
|
9293
|
+
arbi_item_meta?: components['schemas']['ArbiItemMeta'] | null;
|
|
9082
9294
|
detail_search_inside_documents?: components['schemas']['SearchInsideDocumentsDetail'] | null;
|
|
9083
9295
|
detail_read_document?: components['schemas']['ReadDocumentDetail'] | null;
|
|
9084
9296
|
detail_get_table_of_contents?: components['schemas']['GetTableOfContentsDetail'] | null;
|
package/package.json
CHANGED