@arbidocs/client 0.3.181 → 0.3.182
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 +109 -33
- package/dist/index.d.ts +109 -33
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3563,6 +3563,11 @@ interface components {
|
|
|
3563
3563
|
* @description Lifecycle marker for a sub-agent lane: 'running' on the spawn step (carries the child's task in `content`), 'done'/'failed' on its completion. Absent on the child's own intermediate steps. Lets the frontend show each lane's status without inspecting its rows.
|
|
3564
3564
|
*/
|
|
3565
3565
|
subagent_status?: ('running' | 'done' | 'failed') | null;
|
|
3566
|
+
/**
|
|
3567
|
+
* Task Message Ext Id
|
|
3568
|
+
* @description The persisted branch this sub-agent's run lives in (a role='user' message in the SAME conversation, see subagent_conversation.py) — absent when the delegation type doesn't persist one (deep_research/run_skill/spawn_coding_agent stay ephemeral/inline-only). Lets the frontend jump into the thread via branch navigation instead of only reading the lane.
|
|
3569
|
+
*/
|
|
3570
|
+
task_message_ext_id?: string | null;
|
|
3566
3571
|
/**
|
|
3567
3572
|
* Step
|
|
3568
3573
|
* @description Lifecycle step. Absent (None) for tool-call steps, which carry `detail` instead.
|
|
@@ -3756,7 +3761,7 @@ interface components {
|
|
|
3756
3761
|
SKILL_CREATION: boolean;
|
|
3757
3762
|
/**
|
|
3758
3763
|
* Workspace Tools Enabled
|
|
3759
|
-
* @description Enable native user-action tools so the agent can act as an ARBI user within its active workspace: list_workspaces, upload_document, create_tag and tag_documents. In-process and RLS-native — bounded by the agent's workspace memberships. Off by default.
|
|
3764
|
+
* @description Enable native user-action tools so the agent can act as an ARBI user within its active workspace: list_workspaces, upload_document, list_tags, create_tag and tag_documents. In-process and RLS-native — bounded by the agent's workspace memberships. Off by default.
|
|
3760
3765
|
* @default false
|
|
3761
3766
|
*/
|
|
3762
3767
|
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
@@ -4017,7 +4022,7 @@ interface components {
|
|
|
4017
4022
|
SKILLS_ENABLED: boolean;
|
|
4018
4023
|
/**
|
|
4019
4024
|
* Workspace Tools Enabled
|
|
4020
|
-
* @description Enable native user-action tools so the agent can act as an ARBI user within its active workspace: list_workspaces, upload_document, create_tag and tag_documents. In-process and RLS-native — bounded by the agent's workspace memberships. Off by default.
|
|
4025
|
+
* @description Enable native user-action tools so the agent can act as an ARBI user within its active workspace: list_workspaces, upload_document, list_tags, create_tag and tag_documents. In-process and RLS-native — bounded by the agent's workspace memberships. Off by default.
|
|
4021
4026
|
* @default false
|
|
4022
4027
|
*/
|
|
4023
4028
|
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
@@ -4124,7 +4129,7 @@ interface components {
|
|
|
4124
4129
|
* @default {
|
|
4125
4130
|
* "API_TYPE": "remote",
|
|
4126
4131
|
* "ENABLE_THINKING": false,
|
|
4127
|
-
* "MODEL_NAME": "
|
|
4132
|
+
* "MODEL_NAME": "Fast",
|
|
4128
4133
|
* "SYSTEM_INSTRUCTION": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.Be concise. Use markdown where it helps readability. Cross-check information across sources before answering. Never fabricate facts. Not all assertions in the sources are factual — some are arguments by a party. Attribute claims to their source, especially where parties disagree.",
|
|
4129
4134
|
* "MAX_TOKEN_SIZE_TO_ANSWER": 200000,
|
|
4130
4135
|
* "TEMPERATURE": 0.1,
|
|
@@ -4136,7 +4141,7 @@ interface components {
|
|
|
4136
4141
|
* @default {
|
|
4137
4142
|
* "API_TYPE": "remote",
|
|
4138
4143
|
* "ENABLE_THINKING": false,
|
|
4139
|
-
* "MODEL_NAME": "
|
|
4144
|
+
* "MODEL_NAME": "Wise",
|
|
4140
4145
|
* "SYSTEM_INSTRUCTION": "You are reviewing a draft answer prepared by a research agent. The draft was written based on summaries, but you now have access to the full source material.\n\nYour task:\n1. Review the draft answer against the source material provided\n2. Verify claims are supported by the sources\n3. Correct any inaccuracies or unsupported statements\n4. Add any important details from the sources that were missed\n5. Maintain formal, objective tone appropriate for professional contexts\n\nIf information is not found in the sources but the draft answer is based on web search results or general knowledge, preserve it and ensure it is clearly labelled as such. Only flag missing source support for claims that purport to come from the documents.\nDo not add inline citation markers - the system handles citations automatically.",
|
|
4141
4146
|
* "TEMPERATURE": 0.1,
|
|
4142
4147
|
* "MAX_TOKENS": 0,
|
|
@@ -4148,7 +4153,7 @@ interface components {
|
|
|
4148
4153
|
* @default {
|
|
4149
4154
|
* "API_TYPE": "remote",
|
|
4150
4155
|
* "ENABLE_THINKING": false,
|
|
4151
|
-
* "MODEL_NAME": "
|
|
4156
|
+
* "MODEL_NAME": "Fast",
|
|
4152
4157
|
* "SYSTEM_INSTRUCTION": "You are a chunk evaluator. Analyze retrieved chunks to determine which are relevant to the user's query and extract key learnings from the RELEVANT chunks only. You must return your response as valid JSON matching the provided schema.",
|
|
4153
4158
|
* "TEMPERATURE": 0.1,
|
|
4154
4159
|
* "MAX_TOKENS": 0,
|
|
@@ -4163,7 +4168,7 @@ interface components {
|
|
|
4163
4168
|
* @default {
|
|
4164
4169
|
* "API_TYPE": "remote",
|
|
4165
4170
|
* "ENABLE_THINKING": false,
|
|
4166
|
-
* "MODEL_NAME": "
|
|
4171
|
+
* "MODEL_NAME": "Fast",
|
|
4167
4172
|
* "SYSTEM_INSTRUCTION": "You are a title generator that creates concise, descriptive titles.\n\nOutput the title as plain text only. Do not use Markdown or any other formatting. Specifically:\n- Do not bold, italicize, or otherwise emphasize any part of the title.\n- Do not include asterisks (*), underscores (_), backticks (`), or other Markdown markers.\n- Do not prefix the title with bullets, dashes (-), or numbered/lettered enumeration (e.g. \"1.\", \"a)\").\n- Do not wrap the title in quotes or brackets.",
|
|
4168
4173
|
* "MAX_TOKEN_SIZE_TO_ANSWER": 20,
|
|
4169
4174
|
* "TEMPERATURE": 0.3,
|
|
@@ -4175,7 +4180,7 @@ interface components {
|
|
|
4175
4180
|
* @default {
|
|
4176
4181
|
* "API_TYPE": "remote",
|
|
4177
4182
|
* "ENABLE_THINKING": false,
|
|
4178
|
-
* "MODEL_NAME": "
|
|
4183
|
+
* "MODEL_NAME": "Wise",
|
|
4179
4184
|
* "SYSTEM_INSTRUCTION": "You are a conversation summariser. Condense the conversation history into a concise summary that preserves:\n- Key decisions and conclusions reached\n- Specific names, dates, numbers, and document references\n- Open questions and unresolved items\n- The user's goals and constraints\n\nWrite in past tense, third person. Be specific, not vague. Do not omit important details in favour of brevity.",
|
|
4180
4185
|
* "TEMPERATURE": 0.1,
|
|
4181
4186
|
* "MAX_TOKENS": 0,
|
|
@@ -4189,7 +4194,7 @@ interface components {
|
|
|
4189
4194
|
* @default {
|
|
4190
4195
|
* "API_TYPE": "remote",
|
|
4191
4196
|
* "ENABLE_THINKING": false,
|
|
4192
|
-
* "MODEL_NAME": "
|
|
4197
|
+
* "MODEL_NAME": "Fast",
|
|
4193
4198
|
* "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on document content.\n\nYour answers are displayed directly as cell values in a table, so keep every answer as short as possible.\n\nGuidelines:\n- Answer with the value only — never a full sentence. Do not restate the question or add lead-ins such as \"This document is...\" or \"The document describes...\". Good: \"German\". Bad: \"This document is written in German.\"\n- When an answer has multiple values, put each value on its own line: separate values with a newline character. Do not separate them with commas, bullets, dashes, numbering, or by writing them as a sentence.\n- Only use information explicitly stated in the document; do not infer or assume information not present.\n- If the information is not found, respond with exactly \"Not found\".\n- Follow the format instructions exactly for each answer.\n- Output answers as plain text only. Do not use Markdown or any other formatting: no bold, italics, asterisks (*), underscores (_), backticks (`), bullets, or numbered/lettered enumeration.",
|
|
4194
4199
|
* "MAX_TOKEN_CONTEXT_TO_ANSWER": 200000,
|
|
4195
4200
|
* "TEMPERATURE": 0.1,
|
|
@@ -4250,7 +4255,7 @@ interface components {
|
|
|
4250
4255
|
* @default {
|
|
4251
4256
|
* "API_TYPE": "remote",
|
|
4252
4257
|
* "ENABLE_THINKING": false,
|
|
4253
|
-
* "MODEL_NAME": "
|
|
4258
|
+
* "MODEL_NAME": "Wise",
|
|
4254
4259
|
* "TEMPERATURE": 0.3,
|
|
4255
4260
|
* "MAX_TOKENS": 0,
|
|
4256
4261
|
* "MAX_TOKEN_CONTEXT": 200000,
|
|
@@ -4262,7 +4267,7 @@ interface components {
|
|
|
4262
4267
|
* @default {
|
|
4263
4268
|
* "API_TYPE": "remote",
|
|
4264
4269
|
* "ENABLE_THINKING": true,
|
|
4265
|
-
* "MODEL_NAME": "
|
|
4270
|
+
* "MODEL_NAME": "Wise",
|
|
4266
4271
|
* "SYSTEM_INSTRUCTION": "You are a research planning assistant. Your job is to analyze a user query and produce a concise, numbered research plan.\n\nYou have access to a workspace of documents. The available tools for executing the plan are:\n- search_inside_documents: Search workspace documents for relevant passages (semantic, keyword, or hybrid). Use digest=true to extract learnings.\n- read_document: Read page ranges or entire documents. Use digest=true to extract learnings with citations.\n- get_table_of_contents: Get document headings with page references\n\nConsider:\n- What information is needed to answer the query\n- Which documents are likely relevant based on the document index\n- What search queries and document passages to examine\n- What order of operations will be most efficient\n- Whether parallel searches can be used for different aspects\n\nRespond with ONLY the plan (numbered steps). Do not execute any steps.",
|
|
4267
4272
|
* "TEMPERATURE": 0.3,
|
|
4268
4273
|
* "MAX_TOKENS": 0,
|
|
@@ -4275,7 +4280,7 @@ interface components {
|
|
|
4275
4280
|
* @default {
|
|
4276
4281
|
* "API_TYPE": "remote",
|
|
4277
4282
|
* "ENABLE_THINKING": false,
|
|
4278
|
-
* "MODEL_NAME": "
|
|
4283
|
+
* "MODEL_NAME": "Fast",
|
|
4279
4284
|
* "SYSTEM_INSTRUCTION": "You are a context selector. Given a user's query, conversation history, and a table of available documents, determine the user's goal and select relevant context.\n\n## Instructions\n\n1. **goal**: 1-2 concise sentences describing the user's intent AND your filtering rationale. Explain what documents are needed and why. Examples:\n - \"The user is greeting the assistant. No documents are needed.\"\n - \"The user wants to find force majeure clauses. Only the three contracts are relevant, so I will keep only those.\"\n - \"The user wants a full timeline of the case. Most documents are relevant, so I will drop only the unrelated procedural orders.\"\n\n2. **doc_filter_mode** and **doc_ids**: Select which documents the agent needs.\n - `\"keep\"` mode: `doc_ids` lists the ONLY docs to keep. Everything else is dropped.\n - `\"drop\"` mode: `doc_ids` lists the ONLY docs to drop. Everything else is kept.\n - Pick whichever mode produces the **shorter `doc_ids` list**.\n - Doc IDs are in the **Id** column of the Available Documents table (e.g. `\"doc-abc12345\"`). Copy them **exactly** from the table — do not invent, guess, or modify IDs.\n\n | Scenario | doc_filter_mode | doc_ids |\n |----------|----------------|---------|\n | Need ALL docs | `\"drop\"` | `[]` |\n | Need NO docs | `\"keep\"` | `[]` |\n | Need 3 of 100 docs | `\"keep\"` | `[\"id1\",\"id2\",\"id3\"]` |\n | Drop 3 of 100 docs | `\"drop\"` | `[\"id1\",\"id2\",\"id3\"]` |\n\n3. **chat_range_start** and **chat_range_end**: 0-based inclusive range of earlier history messages that provide relevant context. The last 3 messages are always included automatically. Set both to -1 if no earlier history is needed.\n\n## Rules\n\n- **Never repeat a doc ID.** Each ID must appear at most once.\n- Before writing `doc_ids`, count how many you would keep vs drop, then pick the shorter list.\n- Greetings or meta-questions about the assistant (e.g. \"hello\", \"who are you?\", \"what can you do?\"): the agent does NOT need any documents → `\"keep\"` with `[]`.\n- Ambiguous references like \"the document\" or \"this contract\" without specifying which: keep all → `\"drop\"` with `[]`.\n- For follow-up questions, include history messages that establish the topic.\n- Always return valid JSON matching the schema.",
|
|
4280
4285
|
* "TEMPERATURE": 0,
|
|
4281
4286
|
* "MAX_TOKENS": 0
|
|
@@ -4286,7 +4291,7 @@ interface components {
|
|
|
4286
4291
|
* @default {
|
|
4287
4292
|
* "API_TYPE": "remote",
|
|
4288
4293
|
* "ENABLE_THINKING": false,
|
|
4289
|
-
* "MODEL_NAME": "
|
|
4294
|
+
* "MODEL_NAME": "Fast",
|
|
4290
4295
|
* "TEMPERATURE": 0.1,
|
|
4291
4296
|
* "MAX_TOKENS": 0,
|
|
4292
4297
|
* "MAX_PAGES_PER_CALL": 5,
|
|
@@ -4307,7 +4312,7 @@ interface components {
|
|
|
4307
4312
|
* @default {
|
|
4308
4313
|
* "API_TYPE": "remote",
|
|
4309
4314
|
* "ENABLE_THINKING": true,
|
|
4310
|
-
* "MODEL_NAME": "",
|
|
4315
|
+
* "MODEL_NAME": "Premium",
|
|
4311
4316
|
* "SYSTEM_INSTRUCTION": "You are a code execution agent. You write and run code to accomplish tasks.\n\nYou have access to an execute_code tool that runs code in a sandboxed Docker container.\n\nThe sandbox has:\n- Python 3.12 with numpy, pandas, matplotlib, requests, beautifulsoup4,\n httpx, pillow, sympy, pyyaml (plus uv for installing more)\n- Node.js 22 with TypeScript (ts-node) and npm\n- Bash with git, curl, wget, jq, sqlite3, build-essential\n- Network access (can pip/npm install additional packages)\n\nInstructions:\n1. Write clean, correct code to accomplish the user's task\n2. Always call execute_code to run your code — never guess the output\n3. If execution errors, analyze the traceback, fix the code, and retry\n4. Once you have the correct output, respond with ONLY the final result\n\nKeep code simple and direct. Prefer Python unless the task specifically requires another language.",
|
|
4312
4317
|
* "TEMPERATURE": 0.2,
|
|
4313
4318
|
* "MAX_TOKENS": 0
|
|
@@ -4377,7 +4382,7 @@ interface components {
|
|
|
4377
4382
|
* },
|
|
4378
4383
|
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
4379
4384
|
* "MODEL_NAME": "Qwen/Qwen3-Reranker-0.6B",
|
|
4380
|
-
* "API_TYPE": "
|
|
4385
|
+
* "API_TYPE": "remote",
|
|
4381
4386
|
* "RETRIEVAL_INSTRUCTION": "Judge whether the passage contains the specific facts, figures, names, or references mentioned in the query. Only answer yes if the passage directly contains these details"
|
|
4382
4387
|
* }
|
|
4383
4388
|
*/
|
|
@@ -4398,7 +4403,7 @@ interface components {
|
|
|
4398
4403
|
/**
|
|
4399
4404
|
* @default {
|
|
4400
4405
|
* "MODEL_NAME": "Qwen/Qwen3-Embedding-0.6B",
|
|
4401
|
-
* "API_TYPE": "
|
|
4406
|
+
* "API_TYPE": "remote",
|
|
4402
4407
|
* "BATCH_SIZE": 128,
|
|
4403
4408
|
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
4404
4409
|
* "DOCUMENT_PREFIX": "",
|
|
@@ -4574,6 +4579,11 @@ interface components {
|
|
|
4574
4579
|
* @description Lane lifecycle marker: 'running' opens the lane (the header — `content` carries the child's task), 'done'/'failed' closes it (`outcome` carries the run summary, `content` the child's synthesis). Absent on the child's own intermediate steps, so `!subagent_status` selects exactly the rows to render inside an expanded lane.
|
|
4575
4580
|
*/
|
|
4576
4581
|
subagent_status?: ('running' | 'done' | 'failed') | null;
|
|
4582
|
+
/**
|
|
4583
|
+
* Task Message Ext Id
|
|
4584
|
+
* @description The persisted branch this sub-agent's run lives in (a role='user' message in the SAME conversation, see subagent_conversation.py) — absent when the delegation type doesn't persist one (deep_research/run_skill/spawn_coding_agent stay ephemeral/inline-only). Lets the frontend jump into the thread via branch navigation instead of only reading the lane.
|
|
4585
|
+
*/
|
|
4586
|
+
task_message_ext_id?: string | null;
|
|
4577
4587
|
/**
|
|
4578
4588
|
* Model Recommendation
|
|
4579
4589
|
* @description FilterPlan model tier (goal item, auto mode).
|
|
@@ -4584,6 +4594,16 @@ interface components {
|
|
|
4584
4594
|
* @description Resolved model (goal item, auto mode).
|
|
4585
4595
|
*/
|
|
4586
4596
|
selected_model?: string | null;
|
|
4597
|
+
/**
|
|
4598
|
+
* Kept Doc Ext Ids
|
|
4599
|
+
* @description Goal step only: documents the planner kept for this turn.
|
|
4600
|
+
*/
|
|
4601
|
+
kept_doc_ext_ids?: string[] | null;
|
|
4602
|
+
/**
|
|
4603
|
+
* Dropped Doc Ext Ids
|
|
4604
|
+
* @description Goal step only: documents the planner dropped for this turn.
|
|
4605
|
+
*/
|
|
4606
|
+
dropped_doc_ext_ids?: string[] | null;
|
|
4587
4607
|
};
|
|
4588
4608
|
/**
|
|
4589
4609
|
* ArtifactEvent
|
|
@@ -5114,7 +5134,7 @@ interface components {
|
|
|
5114
5134
|
/**
|
|
5115
5135
|
* Model Name
|
|
5116
5136
|
* @description Model for code generation. Should be a strong coding model.
|
|
5117
|
-
* @default
|
|
5137
|
+
* @default Premium
|
|
5118
5138
|
*/
|
|
5119
5139
|
MODEL_NAME: string;
|
|
5120
5140
|
/**
|
|
@@ -5455,6 +5475,11 @@ interface components {
|
|
|
5455
5475
|
* @default false
|
|
5456
5476
|
*/
|
|
5457
5477
|
auto_rename: boolean;
|
|
5478
|
+
/**
|
|
5479
|
+
* Shared
|
|
5480
|
+
* @default false
|
|
5481
|
+
*/
|
|
5482
|
+
shared: boolean;
|
|
5458
5483
|
/**
|
|
5459
5484
|
* Auto Sync
|
|
5460
5485
|
* @default false
|
|
@@ -6298,7 +6323,7 @@ interface components {
|
|
|
6298
6323
|
/**
|
|
6299
6324
|
* Model Name
|
|
6300
6325
|
* @description The name of the non-reasoning model to be used.
|
|
6301
|
-
* @default
|
|
6326
|
+
* @default Fast
|
|
6302
6327
|
*/
|
|
6303
6328
|
MODEL_NAME: string;
|
|
6304
6329
|
/**
|
|
@@ -6557,7 +6582,7 @@ interface components {
|
|
|
6557
6582
|
/**
|
|
6558
6583
|
* Api Type
|
|
6559
6584
|
* @description The inference type (local or remote).
|
|
6560
|
-
* @default
|
|
6585
|
+
* @default remote
|
|
6561
6586
|
* @enum {string}
|
|
6562
6587
|
*/
|
|
6563
6588
|
API_TYPE: 'local' | 'remote';
|
|
@@ -6659,6 +6684,11 @@ interface components {
|
|
|
6659
6684
|
* @default false
|
|
6660
6685
|
*/
|
|
6661
6686
|
auto_rename: boolean;
|
|
6687
|
+
/**
|
|
6688
|
+
* Shared
|
|
6689
|
+
* @default false
|
|
6690
|
+
*/
|
|
6691
|
+
shared: boolean;
|
|
6662
6692
|
/**
|
|
6663
6693
|
* Auto Sync
|
|
6664
6694
|
* @default false
|
|
@@ -6697,7 +6727,7 @@ interface components {
|
|
|
6697
6727
|
/**
|
|
6698
6728
|
* Model Name
|
|
6699
6729
|
* @description The name of the non-reasoning model to be used.
|
|
6700
|
-
* @default
|
|
6730
|
+
* @default Fast
|
|
6701
6731
|
*/
|
|
6702
6732
|
MODEL_NAME: string;
|
|
6703
6733
|
/**
|
|
@@ -6952,7 +6982,7 @@ interface components {
|
|
|
6952
6982
|
/**
|
|
6953
6983
|
* Model Name
|
|
6954
6984
|
* @description The name of the non-reasoning model to be used.
|
|
6955
|
-
* @default
|
|
6985
|
+
* @default Fast
|
|
6956
6986
|
*/
|
|
6957
6987
|
MODEL_NAME: string;
|
|
6958
6988
|
/**
|
|
@@ -7508,6 +7538,11 @@ interface components {
|
|
|
7508
7538
|
* @default false
|
|
7509
7539
|
*/
|
|
7510
7540
|
auto_rename: boolean;
|
|
7541
|
+
/**
|
|
7542
|
+
* Shared
|
|
7543
|
+
* @default false
|
|
7544
|
+
*/
|
|
7545
|
+
shared: boolean;
|
|
7511
7546
|
/**
|
|
7512
7547
|
* Auto Sync
|
|
7513
7548
|
* @default false
|
|
@@ -7561,7 +7596,7 @@ interface components {
|
|
|
7561
7596
|
/**
|
|
7562
7597
|
* Model Name
|
|
7563
7598
|
* @description The model for note consolidation. Defaults to reasoning model.
|
|
7564
|
-
* @default
|
|
7599
|
+
* @default Wise
|
|
7565
7600
|
*/
|
|
7566
7601
|
MODEL_NAME: string;
|
|
7567
7602
|
/**
|
|
@@ -7640,7 +7675,7 @@ interface components {
|
|
|
7640
7675
|
input: string;
|
|
7641
7676
|
/** Tools */
|
|
7642
7677
|
tools?: {
|
|
7643
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'];
|
|
7678
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'];
|
|
7644
7679
|
};
|
|
7645
7680
|
/**
|
|
7646
7681
|
* Workspace Ext Id
|
|
@@ -7692,7 +7727,7 @@ interface components {
|
|
|
7692
7727
|
content: string;
|
|
7693
7728
|
/** Tools */
|
|
7694
7729
|
tools?: {
|
|
7695
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'];
|
|
7730
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'];
|
|
7696
7731
|
};
|
|
7697
7732
|
/** Config Ext Id */
|
|
7698
7733
|
config_ext_id?: string | null;
|
|
@@ -7803,7 +7838,7 @@ interface components {
|
|
|
7803
7838
|
content: string;
|
|
7804
7839
|
/** Tools */
|
|
7805
7840
|
tools?: {
|
|
7806
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'];
|
|
7841
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'];
|
|
7807
7842
|
};
|
|
7808
7843
|
/** Config Ext Id */
|
|
7809
7844
|
config_ext_id?: string | null;
|
|
@@ -8350,7 +8385,7 @@ interface components {
|
|
|
8350
8385
|
/**
|
|
8351
8386
|
* Model Name
|
|
8352
8387
|
* @description The model for plan generation. Defaults to reasoning model.
|
|
8353
|
-
* @default
|
|
8388
|
+
* @default Wise
|
|
8354
8389
|
*/
|
|
8355
8390
|
MODEL_NAME: string;
|
|
8356
8391
|
/**
|
|
@@ -8743,7 +8778,7 @@ interface components {
|
|
|
8743
8778
|
/**
|
|
8744
8779
|
* Model Name
|
|
8745
8780
|
* @description The model for query answering.
|
|
8746
|
-
* @default
|
|
8781
|
+
* @default Fast
|
|
8747
8782
|
*/
|
|
8748
8783
|
MODEL_NAME: string;
|
|
8749
8784
|
/**
|
|
@@ -9068,7 +9103,7 @@ interface components {
|
|
|
9068
9103
|
/**
|
|
9069
9104
|
* Api Type
|
|
9070
9105
|
* @description The inference type (local or remote).
|
|
9071
|
-
* @default
|
|
9106
|
+
* @default remote
|
|
9072
9107
|
* @enum {string}
|
|
9073
9108
|
*/
|
|
9074
9109
|
API_TYPE: 'local' | 'remote';
|
|
@@ -9851,7 +9886,7 @@ interface components {
|
|
|
9851
9886
|
/**
|
|
9852
9887
|
* Model Name
|
|
9853
9888
|
* @description The model for reviewing agent draft answers. Defaults to reasoning model.
|
|
9854
|
-
* @default
|
|
9889
|
+
* @default Wise
|
|
9855
9890
|
*/
|
|
9856
9891
|
MODEL_NAME: string;
|
|
9857
9892
|
/**
|
|
@@ -10389,6 +10424,42 @@ interface components {
|
|
|
10389
10424
|
[key: string]: unknown;
|
|
10390
10425
|
}[];
|
|
10391
10426
|
};
|
|
10427
|
+
/** SubagentTool */
|
|
10428
|
+
SubagentTool: {
|
|
10429
|
+
/**
|
|
10430
|
+
* @description discriminator enum property added by openapi-typescript
|
|
10431
|
+
* @enum {string}
|
|
10432
|
+
*/
|
|
10433
|
+
name: 'subagent';
|
|
10434
|
+
/**
|
|
10435
|
+
* Description
|
|
10436
|
+
* @default sub-agent delegation
|
|
10437
|
+
*/
|
|
10438
|
+
description: string;
|
|
10439
|
+
record: components['schemas']['SubagentToolRecord'];
|
|
10440
|
+
};
|
|
10441
|
+
/**
|
|
10442
|
+
* SubagentToolRecord
|
|
10443
|
+
* @description Marker stamped on the task message that branches a conversation into a
|
|
10444
|
+
* delegated sub-agent's own thread (see ``subagent_conversation.py``).
|
|
10445
|
+
*
|
|
10446
|
+
* Lives on the TASK (role="user") message, not the reply, since it must be
|
|
10447
|
+
* readable while the reply doesn't exist yet — a `previous_response_id`
|
|
10448
|
+
* continuation targeting this thread checks `status` to decide whether to
|
|
10449
|
+
* steer the live child (Redis ``run_id``) or start an ordinary new turn.
|
|
10450
|
+
*/
|
|
10451
|
+
SubagentToolRecord: {
|
|
10452
|
+
/** Handle */
|
|
10453
|
+
handle: string;
|
|
10454
|
+
/** Run Id */
|
|
10455
|
+
run_id: string;
|
|
10456
|
+
/**
|
|
10457
|
+
* Status
|
|
10458
|
+
* @default running
|
|
10459
|
+
* @enum {string}
|
|
10460
|
+
*/
|
|
10461
|
+
status: 'running' | 'done' | 'failed';
|
|
10462
|
+
};
|
|
10392
10463
|
/**
|
|
10393
10464
|
* SubscriptionInfo
|
|
10394
10465
|
* @description Subscription info exposed to frontend in user settings.
|
|
@@ -10425,7 +10496,7 @@ interface components {
|
|
|
10425
10496
|
/**
|
|
10426
10497
|
* Model Name
|
|
10427
10498
|
* @description The model for conversation summarisation. Defaults to reasoning model.
|
|
10428
|
-
* @default
|
|
10499
|
+
* @default Wise
|
|
10429
10500
|
*/
|
|
10430
10501
|
MODEL_NAME: string;
|
|
10431
10502
|
/**
|
|
@@ -10852,7 +10923,7 @@ interface components {
|
|
|
10852
10923
|
/**
|
|
10853
10924
|
* Model Name
|
|
10854
10925
|
* @description The name of the non-reasoning model to be used.
|
|
10855
|
-
* @default
|
|
10926
|
+
* @default Fast
|
|
10856
10927
|
*/
|
|
10857
10928
|
MODEL_NAME: string;
|
|
10858
10929
|
/**
|
|
@@ -11305,6 +11376,8 @@ interface components {
|
|
|
11305
11376
|
skip_duplicates?: boolean | null;
|
|
11306
11377
|
/** Auto Rename */
|
|
11307
11378
|
auto_rename?: boolean | null;
|
|
11379
|
+
/** Shared */
|
|
11380
|
+
shared?: boolean | null;
|
|
11308
11381
|
/** Auto Sync */
|
|
11309
11382
|
auto_sync?: boolean | null;
|
|
11310
11383
|
/** Drive Sync Status */
|
|
@@ -11401,7 +11474,7 @@ interface components {
|
|
|
11401
11474
|
content: string;
|
|
11402
11475
|
/** Tools */
|
|
11403
11476
|
tools?: {
|
|
11404
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'];
|
|
11477
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'];
|
|
11405
11478
|
};
|
|
11406
11479
|
/** Config Ext Id */
|
|
11407
11480
|
config_ext_id?: string | null;
|
|
@@ -11789,7 +11862,7 @@ interface components {
|
|
|
11789
11862
|
/**
|
|
11790
11863
|
* Model Name
|
|
11791
11864
|
* @description The vision-capable model name (must support image inputs).
|
|
11792
|
-
* @default
|
|
11865
|
+
* @default Fast
|
|
11793
11866
|
*/
|
|
11794
11867
|
MODEL_NAME: string;
|
|
11795
11868
|
/**
|
|
@@ -16260,7 +16333,10 @@ interface operations {
|
|
|
16260
16333
|
};
|
|
16261
16334
|
authorize_connector: {
|
|
16262
16335
|
parameters: {
|
|
16263
|
-
query?:
|
|
16336
|
+
query?: {
|
|
16337
|
+
/** @description Same-site path (+query) to land on after the grant, instead of the app root. */
|
|
16338
|
+
return_to?: string | null;
|
|
16339
|
+
};
|
|
16264
16340
|
header?: never;
|
|
16265
16341
|
path: {
|
|
16266
16342
|
vendor_key: components['schemas']['VendorKey'];
|
package/dist/index.d.ts
CHANGED
|
@@ -3563,6 +3563,11 @@ interface components {
|
|
|
3563
3563
|
* @description Lifecycle marker for a sub-agent lane: 'running' on the spawn step (carries the child's task in `content`), 'done'/'failed' on its completion. Absent on the child's own intermediate steps. Lets the frontend show each lane's status without inspecting its rows.
|
|
3564
3564
|
*/
|
|
3565
3565
|
subagent_status?: ('running' | 'done' | 'failed') | null;
|
|
3566
|
+
/**
|
|
3567
|
+
* Task Message Ext Id
|
|
3568
|
+
* @description The persisted branch this sub-agent's run lives in (a role='user' message in the SAME conversation, see subagent_conversation.py) — absent when the delegation type doesn't persist one (deep_research/run_skill/spawn_coding_agent stay ephemeral/inline-only). Lets the frontend jump into the thread via branch navigation instead of only reading the lane.
|
|
3569
|
+
*/
|
|
3570
|
+
task_message_ext_id?: string | null;
|
|
3566
3571
|
/**
|
|
3567
3572
|
* Step
|
|
3568
3573
|
* @description Lifecycle step. Absent (None) for tool-call steps, which carry `detail` instead.
|
|
@@ -3756,7 +3761,7 @@ interface components {
|
|
|
3756
3761
|
SKILL_CREATION: boolean;
|
|
3757
3762
|
/**
|
|
3758
3763
|
* Workspace Tools Enabled
|
|
3759
|
-
* @description Enable native user-action tools so the agent can act as an ARBI user within its active workspace: list_workspaces, upload_document, create_tag and tag_documents. In-process and RLS-native — bounded by the agent's workspace memberships. Off by default.
|
|
3764
|
+
* @description Enable native user-action tools so the agent can act as an ARBI user within its active workspace: list_workspaces, upload_document, list_tags, create_tag and tag_documents. In-process and RLS-native — bounded by the agent's workspace memberships. Off by default.
|
|
3760
3765
|
* @default false
|
|
3761
3766
|
*/
|
|
3762
3767
|
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
@@ -4017,7 +4022,7 @@ interface components {
|
|
|
4017
4022
|
SKILLS_ENABLED: boolean;
|
|
4018
4023
|
/**
|
|
4019
4024
|
* Workspace Tools Enabled
|
|
4020
|
-
* @description Enable native user-action tools so the agent can act as an ARBI user within its active workspace: list_workspaces, upload_document, create_tag and tag_documents. In-process and RLS-native — bounded by the agent's workspace memberships. Off by default.
|
|
4025
|
+
* @description Enable native user-action tools so the agent can act as an ARBI user within its active workspace: list_workspaces, upload_document, list_tags, create_tag and tag_documents. In-process and RLS-native — bounded by the agent's workspace memberships. Off by default.
|
|
4021
4026
|
* @default false
|
|
4022
4027
|
*/
|
|
4023
4028
|
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
@@ -4124,7 +4129,7 @@ interface components {
|
|
|
4124
4129
|
* @default {
|
|
4125
4130
|
* "API_TYPE": "remote",
|
|
4126
4131
|
* "ENABLE_THINKING": false,
|
|
4127
|
-
* "MODEL_NAME": "
|
|
4132
|
+
* "MODEL_NAME": "Fast",
|
|
4128
4133
|
* "SYSTEM_INSTRUCTION": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.Be concise. Use markdown where it helps readability. Cross-check information across sources before answering. Never fabricate facts. Not all assertions in the sources are factual — some are arguments by a party. Attribute claims to their source, especially where parties disagree.",
|
|
4129
4134
|
* "MAX_TOKEN_SIZE_TO_ANSWER": 200000,
|
|
4130
4135
|
* "TEMPERATURE": 0.1,
|
|
@@ -4136,7 +4141,7 @@ interface components {
|
|
|
4136
4141
|
* @default {
|
|
4137
4142
|
* "API_TYPE": "remote",
|
|
4138
4143
|
* "ENABLE_THINKING": false,
|
|
4139
|
-
* "MODEL_NAME": "
|
|
4144
|
+
* "MODEL_NAME": "Wise",
|
|
4140
4145
|
* "SYSTEM_INSTRUCTION": "You are reviewing a draft answer prepared by a research agent. The draft was written based on summaries, but you now have access to the full source material.\n\nYour task:\n1. Review the draft answer against the source material provided\n2. Verify claims are supported by the sources\n3. Correct any inaccuracies or unsupported statements\n4. Add any important details from the sources that were missed\n5. Maintain formal, objective tone appropriate for professional contexts\n\nIf information is not found in the sources but the draft answer is based on web search results or general knowledge, preserve it and ensure it is clearly labelled as such. Only flag missing source support for claims that purport to come from the documents.\nDo not add inline citation markers - the system handles citations automatically.",
|
|
4141
4146
|
* "TEMPERATURE": 0.1,
|
|
4142
4147
|
* "MAX_TOKENS": 0,
|
|
@@ -4148,7 +4153,7 @@ interface components {
|
|
|
4148
4153
|
* @default {
|
|
4149
4154
|
* "API_TYPE": "remote",
|
|
4150
4155
|
* "ENABLE_THINKING": false,
|
|
4151
|
-
* "MODEL_NAME": "
|
|
4156
|
+
* "MODEL_NAME": "Fast",
|
|
4152
4157
|
* "SYSTEM_INSTRUCTION": "You are a chunk evaluator. Analyze retrieved chunks to determine which are relevant to the user's query and extract key learnings from the RELEVANT chunks only. You must return your response as valid JSON matching the provided schema.",
|
|
4153
4158
|
* "TEMPERATURE": 0.1,
|
|
4154
4159
|
* "MAX_TOKENS": 0,
|
|
@@ -4163,7 +4168,7 @@ interface components {
|
|
|
4163
4168
|
* @default {
|
|
4164
4169
|
* "API_TYPE": "remote",
|
|
4165
4170
|
* "ENABLE_THINKING": false,
|
|
4166
|
-
* "MODEL_NAME": "
|
|
4171
|
+
* "MODEL_NAME": "Fast",
|
|
4167
4172
|
* "SYSTEM_INSTRUCTION": "You are a title generator that creates concise, descriptive titles.\n\nOutput the title as plain text only. Do not use Markdown or any other formatting. Specifically:\n- Do not bold, italicize, or otherwise emphasize any part of the title.\n- Do not include asterisks (*), underscores (_), backticks (`), or other Markdown markers.\n- Do not prefix the title with bullets, dashes (-), or numbered/lettered enumeration (e.g. \"1.\", \"a)\").\n- Do not wrap the title in quotes or brackets.",
|
|
4168
4173
|
* "MAX_TOKEN_SIZE_TO_ANSWER": 20,
|
|
4169
4174
|
* "TEMPERATURE": 0.3,
|
|
@@ -4175,7 +4180,7 @@ interface components {
|
|
|
4175
4180
|
* @default {
|
|
4176
4181
|
* "API_TYPE": "remote",
|
|
4177
4182
|
* "ENABLE_THINKING": false,
|
|
4178
|
-
* "MODEL_NAME": "
|
|
4183
|
+
* "MODEL_NAME": "Wise",
|
|
4179
4184
|
* "SYSTEM_INSTRUCTION": "You are a conversation summariser. Condense the conversation history into a concise summary that preserves:\n- Key decisions and conclusions reached\n- Specific names, dates, numbers, and document references\n- Open questions and unresolved items\n- The user's goals and constraints\n\nWrite in past tense, third person. Be specific, not vague. Do not omit important details in favour of brevity.",
|
|
4180
4185
|
* "TEMPERATURE": 0.1,
|
|
4181
4186
|
* "MAX_TOKENS": 0,
|
|
@@ -4189,7 +4194,7 @@ interface components {
|
|
|
4189
4194
|
* @default {
|
|
4190
4195
|
* "API_TYPE": "remote",
|
|
4191
4196
|
* "ENABLE_THINKING": false,
|
|
4192
|
-
* "MODEL_NAME": "
|
|
4197
|
+
* "MODEL_NAME": "Fast",
|
|
4193
4198
|
* "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on document content.\n\nYour answers are displayed directly as cell values in a table, so keep every answer as short as possible.\n\nGuidelines:\n- Answer with the value only — never a full sentence. Do not restate the question or add lead-ins such as \"This document is...\" or \"The document describes...\". Good: \"German\". Bad: \"This document is written in German.\"\n- When an answer has multiple values, put each value on its own line: separate values with a newline character. Do not separate them with commas, bullets, dashes, numbering, or by writing them as a sentence.\n- Only use information explicitly stated in the document; do not infer or assume information not present.\n- If the information is not found, respond with exactly \"Not found\".\n- Follow the format instructions exactly for each answer.\n- Output answers as plain text only. Do not use Markdown or any other formatting: no bold, italics, asterisks (*), underscores (_), backticks (`), bullets, or numbered/lettered enumeration.",
|
|
4194
4199
|
* "MAX_TOKEN_CONTEXT_TO_ANSWER": 200000,
|
|
4195
4200
|
* "TEMPERATURE": 0.1,
|
|
@@ -4250,7 +4255,7 @@ interface components {
|
|
|
4250
4255
|
* @default {
|
|
4251
4256
|
* "API_TYPE": "remote",
|
|
4252
4257
|
* "ENABLE_THINKING": false,
|
|
4253
|
-
* "MODEL_NAME": "
|
|
4258
|
+
* "MODEL_NAME": "Wise",
|
|
4254
4259
|
* "TEMPERATURE": 0.3,
|
|
4255
4260
|
* "MAX_TOKENS": 0,
|
|
4256
4261
|
* "MAX_TOKEN_CONTEXT": 200000,
|
|
@@ -4262,7 +4267,7 @@ interface components {
|
|
|
4262
4267
|
* @default {
|
|
4263
4268
|
* "API_TYPE": "remote",
|
|
4264
4269
|
* "ENABLE_THINKING": true,
|
|
4265
|
-
* "MODEL_NAME": "
|
|
4270
|
+
* "MODEL_NAME": "Wise",
|
|
4266
4271
|
* "SYSTEM_INSTRUCTION": "You are a research planning assistant. Your job is to analyze a user query and produce a concise, numbered research plan.\n\nYou have access to a workspace of documents. The available tools for executing the plan are:\n- search_inside_documents: Search workspace documents for relevant passages (semantic, keyword, or hybrid). Use digest=true to extract learnings.\n- read_document: Read page ranges or entire documents. Use digest=true to extract learnings with citations.\n- get_table_of_contents: Get document headings with page references\n\nConsider:\n- What information is needed to answer the query\n- Which documents are likely relevant based on the document index\n- What search queries and document passages to examine\n- What order of operations will be most efficient\n- Whether parallel searches can be used for different aspects\n\nRespond with ONLY the plan (numbered steps). Do not execute any steps.",
|
|
4267
4272
|
* "TEMPERATURE": 0.3,
|
|
4268
4273
|
* "MAX_TOKENS": 0,
|
|
@@ -4275,7 +4280,7 @@ interface components {
|
|
|
4275
4280
|
* @default {
|
|
4276
4281
|
* "API_TYPE": "remote",
|
|
4277
4282
|
* "ENABLE_THINKING": false,
|
|
4278
|
-
* "MODEL_NAME": "
|
|
4283
|
+
* "MODEL_NAME": "Fast",
|
|
4279
4284
|
* "SYSTEM_INSTRUCTION": "You are a context selector. Given a user's query, conversation history, and a table of available documents, determine the user's goal and select relevant context.\n\n## Instructions\n\n1. **goal**: 1-2 concise sentences describing the user's intent AND your filtering rationale. Explain what documents are needed and why. Examples:\n - \"The user is greeting the assistant. No documents are needed.\"\n - \"The user wants to find force majeure clauses. Only the three contracts are relevant, so I will keep only those.\"\n - \"The user wants a full timeline of the case. Most documents are relevant, so I will drop only the unrelated procedural orders.\"\n\n2. **doc_filter_mode** and **doc_ids**: Select which documents the agent needs.\n - `\"keep\"` mode: `doc_ids` lists the ONLY docs to keep. Everything else is dropped.\n - `\"drop\"` mode: `doc_ids` lists the ONLY docs to drop. Everything else is kept.\n - Pick whichever mode produces the **shorter `doc_ids` list**.\n - Doc IDs are in the **Id** column of the Available Documents table (e.g. `\"doc-abc12345\"`). Copy them **exactly** from the table — do not invent, guess, or modify IDs.\n\n | Scenario | doc_filter_mode | doc_ids |\n |----------|----------------|---------|\n | Need ALL docs | `\"drop\"` | `[]` |\n | Need NO docs | `\"keep\"` | `[]` |\n | Need 3 of 100 docs | `\"keep\"` | `[\"id1\",\"id2\",\"id3\"]` |\n | Drop 3 of 100 docs | `\"drop\"` | `[\"id1\",\"id2\",\"id3\"]` |\n\n3. **chat_range_start** and **chat_range_end**: 0-based inclusive range of earlier history messages that provide relevant context. The last 3 messages are always included automatically. Set both to -1 if no earlier history is needed.\n\n## Rules\n\n- **Never repeat a doc ID.** Each ID must appear at most once.\n- Before writing `doc_ids`, count how many you would keep vs drop, then pick the shorter list.\n- Greetings or meta-questions about the assistant (e.g. \"hello\", \"who are you?\", \"what can you do?\"): the agent does NOT need any documents → `\"keep\"` with `[]`.\n- Ambiguous references like \"the document\" or \"this contract\" without specifying which: keep all → `\"drop\"` with `[]`.\n- For follow-up questions, include history messages that establish the topic.\n- Always return valid JSON matching the schema.",
|
|
4280
4285
|
* "TEMPERATURE": 0,
|
|
4281
4286
|
* "MAX_TOKENS": 0
|
|
@@ -4286,7 +4291,7 @@ interface components {
|
|
|
4286
4291
|
* @default {
|
|
4287
4292
|
* "API_TYPE": "remote",
|
|
4288
4293
|
* "ENABLE_THINKING": false,
|
|
4289
|
-
* "MODEL_NAME": "
|
|
4294
|
+
* "MODEL_NAME": "Fast",
|
|
4290
4295
|
* "TEMPERATURE": 0.1,
|
|
4291
4296
|
* "MAX_TOKENS": 0,
|
|
4292
4297
|
* "MAX_PAGES_PER_CALL": 5,
|
|
@@ -4307,7 +4312,7 @@ interface components {
|
|
|
4307
4312
|
* @default {
|
|
4308
4313
|
* "API_TYPE": "remote",
|
|
4309
4314
|
* "ENABLE_THINKING": true,
|
|
4310
|
-
* "MODEL_NAME": "",
|
|
4315
|
+
* "MODEL_NAME": "Premium",
|
|
4311
4316
|
* "SYSTEM_INSTRUCTION": "You are a code execution agent. You write and run code to accomplish tasks.\n\nYou have access to an execute_code tool that runs code in a sandboxed Docker container.\n\nThe sandbox has:\n- Python 3.12 with numpy, pandas, matplotlib, requests, beautifulsoup4,\n httpx, pillow, sympy, pyyaml (plus uv for installing more)\n- Node.js 22 with TypeScript (ts-node) and npm\n- Bash with git, curl, wget, jq, sqlite3, build-essential\n- Network access (can pip/npm install additional packages)\n\nInstructions:\n1. Write clean, correct code to accomplish the user's task\n2. Always call execute_code to run your code — never guess the output\n3. If execution errors, analyze the traceback, fix the code, and retry\n4. Once you have the correct output, respond with ONLY the final result\n\nKeep code simple and direct. Prefer Python unless the task specifically requires another language.",
|
|
4312
4317
|
* "TEMPERATURE": 0.2,
|
|
4313
4318
|
* "MAX_TOKENS": 0
|
|
@@ -4377,7 +4382,7 @@ interface components {
|
|
|
4377
4382
|
* },
|
|
4378
4383
|
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
4379
4384
|
* "MODEL_NAME": "Qwen/Qwen3-Reranker-0.6B",
|
|
4380
|
-
* "API_TYPE": "
|
|
4385
|
+
* "API_TYPE": "remote",
|
|
4381
4386
|
* "RETRIEVAL_INSTRUCTION": "Judge whether the passage contains the specific facts, figures, names, or references mentioned in the query. Only answer yes if the passage directly contains these details"
|
|
4382
4387
|
* }
|
|
4383
4388
|
*/
|
|
@@ -4398,7 +4403,7 @@ interface components {
|
|
|
4398
4403
|
/**
|
|
4399
4404
|
* @default {
|
|
4400
4405
|
* "MODEL_NAME": "Qwen/Qwen3-Embedding-0.6B",
|
|
4401
|
-
* "API_TYPE": "
|
|
4406
|
+
* "API_TYPE": "remote",
|
|
4402
4407
|
* "BATCH_SIZE": 128,
|
|
4403
4408
|
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
4404
4409
|
* "DOCUMENT_PREFIX": "",
|
|
@@ -4574,6 +4579,11 @@ interface components {
|
|
|
4574
4579
|
* @description Lane lifecycle marker: 'running' opens the lane (the header — `content` carries the child's task), 'done'/'failed' closes it (`outcome` carries the run summary, `content` the child's synthesis). Absent on the child's own intermediate steps, so `!subagent_status` selects exactly the rows to render inside an expanded lane.
|
|
4575
4580
|
*/
|
|
4576
4581
|
subagent_status?: ('running' | 'done' | 'failed') | null;
|
|
4582
|
+
/**
|
|
4583
|
+
* Task Message Ext Id
|
|
4584
|
+
* @description The persisted branch this sub-agent's run lives in (a role='user' message in the SAME conversation, see subagent_conversation.py) — absent when the delegation type doesn't persist one (deep_research/run_skill/spawn_coding_agent stay ephemeral/inline-only). Lets the frontend jump into the thread via branch navigation instead of only reading the lane.
|
|
4585
|
+
*/
|
|
4586
|
+
task_message_ext_id?: string | null;
|
|
4577
4587
|
/**
|
|
4578
4588
|
* Model Recommendation
|
|
4579
4589
|
* @description FilterPlan model tier (goal item, auto mode).
|
|
@@ -4584,6 +4594,16 @@ interface components {
|
|
|
4584
4594
|
* @description Resolved model (goal item, auto mode).
|
|
4585
4595
|
*/
|
|
4586
4596
|
selected_model?: string | null;
|
|
4597
|
+
/**
|
|
4598
|
+
* Kept Doc Ext Ids
|
|
4599
|
+
* @description Goal step only: documents the planner kept for this turn.
|
|
4600
|
+
*/
|
|
4601
|
+
kept_doc_ext_ids?: string[] | null;
|
|
4602
|
+
/**
|
|
4603
|
+
* Dropped Doc Ext Ids
|
|
4604
|
+
* @description Goal step only: documents the planner dropped for this turn.
|
|
4605
|
+
*/
|
|
4606
|
+
dropped_doc_ext_ids?: string[] | null;
|
|
4587
4607
|
};
|
|
4588
4608
|
/**
|
|
4589
4609
|
* ArtifactEvent
|
|
@@ -5114,7 +5134,7 @@ interface components {
|
|
|
5114
5134
|
/**
|
|
5115
5135
|
* Model Name
|
|
5116
5136
|
* @description Model for code generation. Should be a strong coding model.
|
|
5117
|
-
* @default
|
|
5137
|
+
* @default Premium
|
|
5118
5138
|
*/
|
|
5119
5139
|
MODEL_NAME: string;
|
|
5120
5140
|
/**
|
|
@@ -5455,6 +5475,11 @@ interface components {
|
|
|
5455
5475
|
* @default false
|
|
5456
5476
|
*/
|
|
5457
5477
|
auto_rename: boolean;
|
|
5478
|
+
/**
|
|
5479
|
+
* Shared
|
|
5480
|
+
* @default false
|
|
5481
|
+
*/
|
|
5482
|
+
shared: boolean;
|
|
5458
5483
|
/**
|
|
5459
5484
|
* Auto Sync
|
|
5460
5485
|
* @default false
|
|
@@ -6298,7 +6323,7 @@ interface components {
|
|
|
6298
6323
|
/**
|
|
6299
6324
|
* Model Name
|
|
6300
6325
|
* @description The name of the non-reasoning model to be used.
|
|
6301
|
-
* @default
|
|
6326
|
+
* @default Fast
|
|
6302
6327
|
*/
|
|
6303
6328
|
MODEL_NAME: string;
|
|
6304
6329
|
/**
|
|
@@ -6557,7 +6582,7 @@ interface components {
|
|
|
6557
6582
|
/**
|
|
6558
6583
|
* Api Type
|
|
6559
6584
|
* @description The inference type (local or remote).
|
|
6560
|
-
* @default
|
|
6585
|
+
* @default remote
|
|
6561
6586
|
* @enum {string}
|
|
6562
6587
|
*/
|
|
6563
6588
|
API_TYPE: 'local' | 'remote';
|
|
@@ -6659,6 +6684,11 @@ interface components {
|
|
|
6659
6684
|
* @default false
|
|
6660
6685
|
*/
|
|
6661
6686
|
auto_rename: boolean;
|
|
6687
|
+
/**
|
|
6688
|
+
* Shared
|
|
6689
|
+
* @default false
|
|
6690
|
+
*/
|
|
6691
|
+
shared: boolean;
|
|
6662
6692
|
/**
|
|
6663
6693
|
* Auto Sync
|
|
6664
6694
|
* @default false
|
|
@@ -6697,7 +6727,7 @@ interface components {
|
|
|
6697
6727
|
/**
|
|
6698
6728
|
* Model Name
|
|
6699
6729
|
* @description The name of the non-reasoning model to be used.
|
|
6700
|
-
* @default
|
|
6730
|
+
* @default Fast
|
|
6701
6731
|
*/
|
|
6702
6732
|
MODEL_NAME: string;
|
|
6703
6733
|
/**
|
|
@@ -6952,7 +6982,7 @@ interface components {
|
|
|
6952
6982
|
/**
|
|
6953
6983
|
* Model Name
|
|
6954
6984
|
* @description The name of the non-reasoning model to be used.
|
|
6955
|
-
* @default
|
|
6985
|
+
* @default Fast
|
|
6956
6986
|
*/
|
|
6957
6987
|
MODEL_NAME: string;
|
|
6958
6988
|
/**
|
|
@@ -7508,6 +7538,11 @@ interface components {
|
|
|
7508
7538
|
* @default false
|
|
7509
7539
|
*/
|
|
7510
7540
|
auto_rename: boolean;
|
|
7541
|
+
/**
|
|
7542
|
+
* Shared
|
|
7543
|
+
* @default false
|
|
7544
|
+
*/
|
|
7545
|
+
shared: boolean;
|
|
7511
7546
|
/**
|
|
7512
7547
|
* Auto Sync
|
|
7513
7548
|
* @default false
|
|
@@ -7561,7 +7596,7 @@ interface components {
|
|
|
7561
7596
|
/**
|
|
7562
7597
|
* Model Name
|
|
7563
7598
|
* @description The model for note consolidation. Defaults to reasoning model.
|
|
7564
|
-
* @default
|
|
7599
|
+
* @default Wise
|
|
7565
7600
|
*/
|
|
7566
7601
|
MODEL_NAME: string;
|
|
7567
7602
|
/**
|
|
@@ -7640,7 +7675,7 @@ interface components {
|
|
|
7640
7675
|
input: string;
|
|
7641
7676
|
/** Tools */
|
|
7642
7677
|
tools?: {
|
|
7643
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'];
|
|
7678
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'];
|
|
7644
7679
|
};
|
|
7645
7680
|
/**
|
|
7646
7681
|
* Workspace Ext Id
|
|
@@ -7692,7 +7727,7 @@ interface components {
|
|
|
7692
7727
|
content: string;
|
|
7693
7728
|
/** Tools */
|
|
7694
7729
|
tools?: {
|
|
7695
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'];
|
|
7730
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'];
|
|
7696
7731
|
};
|
|
7697
7732
|
/** Config Ext Id */
|
|
7698
7733
|
config_ext_id?: string | null;
|
|
@@ -7803,7 +7838,7 @@ interface components {
|
|
|
7803
7838
|
content: string;
|
|
7804
7839
|
/** Tools */
|
|
7805
7840
|
tools?: {
|
|
7806
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'];
|
|
7841
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'];
|
|
7807
7842
|
};
|
|
7808
7843
|
/** Config Ext Id */
|
|
7809
7844
|
config_ext_id?: string | null;
|
|
@@ -8350,7 +8385,7 @@ interface components {
|
|
|
8350
8385
|
/**
|
|
8351
8386
|
* Model Name
|
|
8352
8387
|
* @description The model for plan generation. Defaults to reasoning model.
|
|
8353
|
-
* @default
|
|
8388
|
+
* @default Wise
|
|
8354
8389
|
*/
|
|
8355
8390
|
MODEL_NAME: string;
|
|
8356
8391
|
/**
|
|
@@ -8743,7 +8778,7 @@ interface components {
|
|
|
8743
8778
|
/**
|
|
8744
8779
|
* Model Name
|
|
8745
8780
|
* @description The model for query answering.
|
|
8746
|
-
* @default
|
|
8781
|
+
* @default Fast
|
|
8747
8782
|
*/
|
|
8748
8783
|
MODEL_NAME: string;
|
|
8749
8784
|
/**
|
|
@@ -9068,7 +9103,7 @@ interface components {
|
|
|
9068
9103
|
/**
|
|
9069
9104
|
* Api Type
|
|
9070
9105
|
* @description The inference type (local or remote).
|
|
9071
|
-
* @default
|
|
9106
|
+
* @default remote
|
|
9072
9107
|
* @enum {string}
|
|
9073
9108
|
*/
|
|
9074
9109
|
API_TYPE: 'local' | 'remote';
|
|
@@ -9851,7 +9886,7 @@ interface components {
|
|
|
9851
9886
|
/**
|
|
9852
9887
|
* Model Name
|
|
9853
9888
|
* @description The model for reviewing agent draft answers. Defaults to reasoning model.
|
|
9854
|
-
* @default
|
|
9889
|
+
* @default Wise
|
|
9855
9890
|
*/
|
|
9856
9891
|
MODEL_NAME: string;
|
|
9857
9892
|
/**
|
|
@@ -10389,6 +10424,42 @@ interface components {
|
|
|
10389
10424
|
[key: string]: unknown;
|
|
10390
10425
|
}[];
|
|
10391
10426
|
};
|
|
10427
|
+
/** SubagentTool */
|
|
10428
|
+
SubagentTool: {
|
|
10429
|
+
/**
|
|
10430
|
+
* @description discriminator enum property added by openapi-typescript
|
|
10431
|
+
* @enum {string}
|
|
10432
|
+
*/
|
|
10433
|
+
name: 'subagent';
|
|
10434
|
+
/**
|
|
10435
|
+
* Description
|
|
10436
|
+
* @default sub-agent delegation
|
|
10437
|
+
*/
|
|
10438
|
+
description: string;
|
|
10439
|
+
record: components['schemas']['SubagentToolRecord'];
|
|
10440
|
+
};
|
|
10441
|
+
/**
|
|
10442
|
+
* SubagentToolRecord
|
|
10443
|
+
* @description Marker stamped on the task message that branches a conversation into a
|
|
10444
|
+
* delegated sub-agent's own thread (see ``subagent_conversation.py``).
|
|
10445
|
+
*
|
|
10446
|
+
* Lives on the TASK (role="user") message, not the reply, since it must be
|
|
10447
|
+
* readable while the reply doesn't exist yet — a `previous_response_id`
|
|
10448
|
+
* continuation targeting this thread checks `status` to decide whether to
|
|
10449
|
+
* steer the live child (Redis ``run_id``) or start an ordinary new turn.
|
|
10450
|
+
*/
|
|
10451
|
+
SubagentToolRecord: {
|
|
10452
|
+
/** Handle */
|
|
10453
|
+
handle: string;
|
|
10454
|
+
/** Run Id */
|
|
10455
|
+
run_id: string;
|
|
10456
|
+
/**
|
|
10457
|
+
* Status
|
|
10458
|
+
* @default running
|
|
10459
|
+
* @enum {string}
|
|
10460
|
+
*/
|
|
10461
|
+
status: 'running' | 'done' | 'failed';
|
|
10462
|
+
};
|
|
10392
10463
|
/**
|
|
10393
10464
|
* SubscriptionInfo
|
|
10394
10465
|
* @description Subscription info exposed to frontend in user settings.
|
|
@@ -10425,7 +10496,7 @@ interface components {
|
|
|
10425
10496
|
/**
|
|
10426
10497
|
* Model Name
|
|
10427
10498
|
* @description The model for conversation summarisation. Defaults to reasoning model.
|
|
10428
|
-
* @default
|
|
10499
|
+
* @default Wise
|
|
10429
10500
|
*/
|
|
10430
10501
|
MODEL_NAME: string;
|
|
10431
10502
|
/**
|
|
@@ -10852,7 +10923,7 @@ interface components {
|
|
|
10852
10923
|
/**
|
|
10853
10924
|
* Model Name
|
|
10854
10925
|
* @description The name of the non-reasoning model to be used.
|
|
10855
|
-
* @default
|
|
10926
|
+
* @default Fast
|
|
10856
10927
|
*/
|
|
10857
10928
|
MODEL_NAME: string;
|
|
10858
10929
|
/**
|
|
@@ -11305,6 +11376,8 @@ interface components {
|
|
|
11305
11376
|
skip_duplicates?: boolean | null;
|
|
11306
11377
|
/** Auto Rename */
|
|
11307
11378
|
auto_rename?: boolean | null;
|
|
11379
|
+
/** Shared */
|
|
11380
|
+
shared?: boolean | null;
|
|
11308
11381
|
/** Auto Sync */
|
|
11309
11382
|
auto_sync?: boolean | null;
|
|
11310
11383
|
/** Drive Sync Status */
|
|
@@ -11401,7 +11474,7 @@ interface components {
|
|
|
11401
11474
|
content: string;
|
|
11402
11475
|
/** Tools */
|
|
11403
11476
|
tools?: {
|
|
11404
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'];
|
|
11477
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'] | components['schemas']['ImageGenerationTool'] | components['schemas']['SubagentTool'];
|
|
11405
11478
|
};
|
|
11406
11479
|
/** Config Ext Id */
|
|
11407
11480
|
config_ext_id?: string | null;
|
|
@@ -11789,7 +11862,7 @@ interface components {
|
|
|
11789
11862
|
/**
|
|
11790
11863
|
* Model Name
|
|
11791
11864
|
* @description The vision-capable model name (must support image inputs).
|
|
11792
|
-
* @default
|
|
11865
|
+
* @default Fast
|
|
11793
11866
|
*/
|
|
11794
11867
|
MODEL_NAME: string;
|
|
11795
11868
|
/**
|
|
@@ -16260,7 +16333,10 @@ interface operations {
|
|
|
16260
16333
|
};
|
|
16261
16334
|
authorize_connector: {
|
|
16262
16335
|
parameters: {
|
|
16263
|
-
query?:
|
|
16336
|
+
query?: {
|
|
16337
|
+
/** @description Same-site path (+query) to land on after the grant, instead of the app root. */
|
|
16338
|
+
return_to?: string | null;
|
|
16339
|
+
};
|
|
16264
16340
|
header?: never;
|
|
16265
16341
|
path: {
|
|
16266
16342
|
vendor_key: components['schemas']['VendorKey'];
|
package/package.json
CHANGED