@arbidocs/client 0.3.110 → 0.3.112
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 +122 -3
- package/dist/index.d.ts +122 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1605,6 +1605,34 @@ interface paths {
|
|
|
1605
1605
|
patch?: never;
|
|
1606
1606
|
trace?: never;
|
|
1607
1607
|
};
|
|
1608
|
+
'/v1/assistant/commands': {
|
|
1609
|
+
parameters: {
|
|
1610
|
+
query?: never;
|
|
1611
|
+
header?: never;
|
|
1612
|
+
path?: never;
|
|
1613
|
+
cookie?: never;
|
|
1614
|
+
};
|
|
1615
|
+
/**
|
|
1616
|
+
* List built-in slash commands available to the caller
|
|
1617
|
+
* @description List built-in slash commands (``/image``, ``/compact``, ``/goal``, ``/pa``,
|
|
1618
|
+
* …) the caller can invoke, respecting per-user gates (``show_pa_mode``,
|
|
1619
|
+
* ``GOALS_ENABLED``).
|
|
1620
|
+
*
|
|
1621
|
+
* Built-ins come from the backend command registry — the single source of
|
|
1622
|
+
* truth shared with the dispatcher (``try_intercept_command``), so this can
|
|
1623
|
+
* never advertise a command the backend doesn't handle. Dynamic user-authored
|
|
1624
|
+
* skills are listed separately by ``GET /v1/assistant/skills``; clients merge
|
|
1625
|
+
* the two into one slash-command menu.
|
|
1626
|
+
*/
|
|
1627
|
+
get: operations['list_commands'];
|
|
1628
|
+
put?: never;
|
|
1629
|
+
post?: never;
|
|
1630
|
+
delete?: never;
|
|
1631
|
+
options?: never;
|
|
1632
|
+
head?: never;
|
|
1633
|
+
patch?: never;
|
|
1634
|
+
trace?: never;
|
|
1635
|
+
};
|
|
1608
1636
|
'/v1/assistant/query': {
|
|
1609
1637
|
parameters: {
|
|
1610
1638
|
query?: never;
|
|
@@ -3299,7 +3327,10 @@ interface components {
|
|
|
3299
3327
|
* "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.",
|
|
3300
3328
|
* "TEMPERATURE": 0.1,
|
|
3301
3329
|
* "MAX_TOKENS": 0,
|
|
3302
|
-
* "MAX_TOKEN_SIZE_TO_ANSWER": 200000
|
|
3330
|
+
* "MAX_TOKEN_SIZE_TO_ANSWER": 200000,
|
|
3331
|
+
* "MAX_CHUNKS_PER_EVAL_CALL": 256,
|
|
3332
|
+
* "MAX_CONCURRENT_EVAL_BATCHES": 16,
|
|
3333
|
+
* "EVAL_BATCH_TIMEOUT_S": 120
|
|
3303
3334
|
* }
|
|
3304
3335
|
*/
|
|
3305
3336
|
EvaluatorLLM: components['schemas']['EvaluatorLLMConfig'];
|
|
@@ -3452,7 +3483,7 @@ interface components {
|
|
|
3452
3483
|
* @default {
|
|
3453
3484
|
* "API_TYPE": "remote",
|
|
3454
3485
|
* "ENABLE_THINKING": true,
|
|
3455
|
-
* "MODEL_NAME": "
|
|
3486
|
+
* "MODEL_NAME": "Premium",
|
|
3456
3487
|
* "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.",
|
|
3457
3488
|
* "TEMPERATURE": 0.2,
|
|
3458
3489
|
* "MAX_TOKENS": 0,
|
|
@@ -4005,7 +4036,7 @@ interface components {
|
|
|
4005
4036
|
/**
|
|
4006
4037
|
* Model Name
|
|
4007
4038
|
* @description Model for code generation. Should be a strong coding model.
|
|
4008
|
-
* @default
|
|
4039
|
+
* @default Premium
|
|
4009
4040
|
*/
|
|
4010
4041
|
MODEL_NAME: string;
|
|
4011
4042
|
/**
|
|
@@ -4049,6 +4080,55 @@ interface components {
|
|
|
4049
4080
|
*/
|
|
4050
4081
|
MAX_ITERATIONS: number;
|
|
4051
4082
|
};
|
|
4083
|
+
/**
|
|
4084
|
+
* CommandDescriptorResponse
|
|
4085
|
+
* @description One built-in slash command from ``GET /v1/assistant/commands``.
|
|
4086
|
+
*
|
|
4087
|
+
* Built-ins are shipped commands (``/image``, ``/compact``, ``/goal``, …) that
|
|
4088
|
+
* come from the backend command registry. Dynamic user-authored ``/<slug>``
|
|
4089
|
+
* skills are listed separately by ``GET /v1/assistant/skills``; clients merge
|
|
4090
|
+
* the two into a single slash-command menu.
|
|
4091
|
+
*/
|
|
4092
|
+
CommandDescriptorResponse: {
|
|
4093
|
+
/**
|
|
4094
|
+
* Name
|
|
4095
|
+
* @description Command name; invoked as ``/<name>``
|
|
4096
|
+
*/
|
|
4097
|
+
name: string;
|
|
4098
|
+
/**
|
|
4099
|
+
* Description
|
|
4100
|
+
* @description One-line description for the slash menu
|
|
4101
|
+
* @default
|
|
4102
|
+
*/
|
|
4103
|
+
description: string;
|
|
4104
|
+
/**
|
|
4105
|
+
* Arg Hint
|
|
4106
|
+
* @description Optional args hint (e.g. ``"<prompt>"``)
|
|
4107
|
+
* @default
|
|
4108
|
+
*/
|
|
4109
|
+
arg_hint: string;
|
|
4110
|
+
/**
|
|
4111
|
+
* User Invocable
|
|
4112
|
+
* @description Whether the command appears in slash menus
|
|
4113
|
+
* @default true
|
|
4114
|
+
*/
|
|
4115
|
+
user_invocable: boolean;
|
|
4116
|
+
/**
|
|
4117
|
+
* Category
|
|
4118
|
+
* @description Grouping category (currently ``builtin``)
|
|
4119
|
+
* @default builtin
|
|
4120
|
+
*/
|
|
4121
|
+
category: string;
|
|
4122
|
+
};
|
|
4123
|
+
/**
|
|
4124
|
+
* CommandsListResponse
|
|
4125
|
+
* @description Wrapper for ``GET /v1/assistant/commands`` — ``{ commands: [...] }`` so we
|
|
4126
|
+
* can add categories/paging later without breaking clients.
|
|
4127
|
+
*/
|
|
4128
|
+
CommandsListResponse: {
|
|
4129
|
+
/** Commands */
|
|
4130
|
+
commands: components['schemas']['CommandDescriptorResponse'][];
|
|
4131
|
+
};
|
|
4052
4132
|
/**
|
|
4053
4133
|
* CompactionEvent
|
|
4054
4134
|
* @description Emitted when the thread was compacted this turn.
|
|
@@ -4175,6 +4255,7 @@ interface components {
|
|
|
4175
4255
|
PlanningLLM?: components['schemas']['PlanningLLMConfig'] | null;
|
|
4176
4256
|
FilterPlanLLM?: components['schemas']['FilterPlanLLMConfig'] | null;
|
|
4177
4257
|
VisionLLM?: components['schemas']['VisionLLMConfig'] | null;
|
|
4258
|
+
ImageGen?: components['schemas']['ImageGenConfig'] | null;
|
|
4178
4259
|
CodeAgent?: components['schemas']['CodeAgentConfig'] | null;
|
|
4179
4260
|
ModelCitation?: components['schemas']['ModelCitationConfig'] | null;
|
|
4180
4261
|
Parser?: components['schemas']['ParserConfig'] | null;
|
|
@@ -5281,6 +5362,24 @@ interface components {
|
|
|
5281
5362
|
* @default 200000
|
|
5282
5363
|
*/
|
|
5283
5364
|
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
5365
|
+
/**
|
|
5366
|
+
* Max Chunks Per Eval Call
|
|
5367
|
+
* @description Cap chunks per evaluator LLM call. Larger sets (e.g. a whole-document digest read) are split into parallel batches so a single non-streaming call can't stall past the 300s read floor and ReadTimeout the request. Retrievals at or below this size are evaluated in one call (unchanged). Paired with MAX_CONCURRENT_EVAL_BATCHES so a worst-case whole-document read still clears in roughly one concurrent wave.
|
|
5368
|
+
* @default 256
|
|
5369
|
+
*/
|
|
5370
|
+
MAX_CHUNKS_PER_EVAL_CALL: number;
|
|
5371
|
+
/**
|
|
5372
|
+
* Max Concurrent Eval Batches
|
|
5373
|
+
* @description Global ceiling on concurrent evaluator batch calls across all in-flight queries (enforced by a class-level semaphore). Paired with MAX_CHUNKS_PER_EVAL_CALL so a worst-case whole-document read runs in roughly one wave.
|
|
5374
|
+
* @default 16
|
|
5375
|
+
*/
|
|
5376
|
+
MAX_CONCURRENT_EVAL_BATCHES: number;
|
|
5377
|
+
/**
|
|
5378
|
+
* Eval Batch Timeout S
|
|
5379
|
+
* @description Per-batch wall-clock timeout. A batch that exceeds it degrades to keeping its own chunks instead of stalling the parallel evaluation.
|
|
5380
|
+
* @default 120
|
|
5381
|
+
*/
|
|
5382
|
+
EVAL_BATCH_TIMEOUT_S: number;
|
|
5284
5383
|
};
|
|
5285
5384
|
/**
|
|
5286
5385
|
* FileDeleteResponse
|
|
@@ -12254,6 +12353,26 @@ interface operations {
|
|
|
12254
12353
|
};
|
|
12255
12354
|
};
|
|
12256
12355
|
};
|
|
12356
|
+
list_commands: {
|
|
12357
|
+
parameters: {
|
|
12358
|
+
query?: never;
|
|
12359
|
+
header?: never;
|
|
12360
|
+
path?: never;
|
|
12361
|
+
cookie?: never;
|
|
12362
|
+
};
|
|
12363
|
+
requestBody?: never;
|
|
12364
|
+
responses: {
|
|
12365
|
+
/** @description Successful Response */
|
|
12366
|
+
200: {
|
|
12367
|
+
headers: {
|
|
12368
|
+
[name: string]: unknown;
|
|
12369
|
+
};
|
|
12370
|
+
content: {
|
|
12371
|
+
'application/json': components['schemas']['CommandsListResponse'];
|
|
12372
|
+
};
|
|
12373
|
+
};
|
|
12374
|
+
};
|
|
12375
|
+
};
|
|
12257
12376
|
generate: {
|
|
12258
12377
|
parameters: {
|
|
12259
12378
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -1605,6 +1605,34 @@ interface paths {
|
|
|
1605
1605
|
patch?: never;
|
|
1606
1606
|
trace?: never;
|
|
1607
1607
|
};
|
|
1608
|
+
'/v1/assistant/commands': {
|
|
1609
|
+
parameters: {
|
|
1610
|
+
query?: never;
|
|
1611
|
+
header?: never;
|
|
1612
|
+
path?: never;
|
|
1613
|
+
cookie?: never;
|
|
1614
|
+
};
|
|
1615
|
+
/**
|
|
1616
|
+
* List built-in slash commands available to the caller
|
|
1617
|
+
* @description List built-in slash commands (``/image``, ``/compact``, ``/goal``, ``/pa``,
|
|
1618
|
+
* …) the caller can invoke, respecting per-user gates (``show_pa_mode``,
|
|
1619
|
+
* ``GOALS_ENABLED``).
|
|
1620
|
+
*
|
|
1621
|
+
* Built-ins come from the backend command registry — the single source of
|
|
1622
|
+
* truth shared with the dispatcher (``try_intercept_command``), so this can
|
|
1623
|
+
* never advertise a command the backend doesn't handle. Dynamic user-authored
|
|
1624
|
+
* skills are listed separately by ``GET /v1/assistant/skills``; clients merge
|
|
1625
|
+
* the two into one slash-command menu.
|
|
1626
|
+
*/
|
|
1627
|
+
get: operations['list_commands'];
|
|
1628
|
+
put?: never;
|
|
1629
|
+
post?: never;
|
|
1630
|
+
delete?: never;
|
|
1631
|
+
options?: never;
|
|
1632
|
+
head?: never;
|
|
1633
|
+
patch?: never;
|
|
1634
|
+
trace?: never;
|
|
1635
|
+
};
|
|
1608
1636
|
'/v1/assistant/query': {
|
|
1609
1637
|
parameters: {
|
|
1610
1638
|
query?: never;
|
|
@@ -3299,7 +3327,10 @@ interface components {
|
|
|
3299
3327
|
* "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.",
|
|
3300
3328
|
* "TEMPERATURE": 0.1,
|
|
3301
3329
|
* "MAX_TOKENS": 0,
|
|
3302
|
-
* "MAX_TOKEN_SIZE_TO_ANSWER": 200000
|
|
3330
|
+
* "MAX_TOKEN_SIZE_TO_ANSWER": 200000,
|
|
3331
|
+
* "MAX_CHUNKS_PER_EVAL_CALL": 256,
|
|
3332
|
+
* "MAX_CONCURRENT_EVAL_BATCHES": 16,
|
|
3333
|
+
* "EVAL_BATCH_TIMEOUT_S": 120
|
|
3303
3334
|
* }
|
|
3304
3335
|
*/
|
|
3305
3336
|
EvaluatorLLM: components['schemas']['EvaluatorLLMConfig'];
|
|
@@ -3452,7 +3483,7 @@ interface components {
|
|
|
3452
3483
|
* @default {
|
|
3453
3484
|
* "API_TYPE": "remote",
|
|
3454
3485
|
* "ENABLE_THINKING": true,
|
|
3455
|
-
* "MODEL_NAME": "
|
|
3486
|
+
* "MODEL_NAME": "Premium",
|
|
3456
3487
|
* "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.",
|
|
3457
3488
|
* "TEMPERATURE": 0.2,
|
|
3458
3489
|
* "MAX_TOKENS": 0,
|
|
@@ -4005,7 +4036,7 @@ interface components {
|
|
|
4005
4036
|
/**
|
|
4006
4037
|
* Model Name
|
|
4007
4038
|
* @description Model for code generation. Should be a strong coding model.
|
|
4008
|
-
* @default
|
|
4039
|
+
* @default Premium
|
|
4009
4040
|
*/
|
|
4010
4041
|
MODEL_NAME: string;
|
|
4011
4042
|
/**
|
|
@@ -4049,6 +4080,55 @@ interface components {
|
|
|
4049
4080
|
*/
|
|
4050
4081
|
MAX_ITERATIONS: number;
|
|
4051
4082
|
};
|
|
4083
|
+
/**
|
|
4084
|
+
* CommandDescriptorResponse
|
|
4085
|
+
* @description One built-in slash command from ``GET /v1/assistant/commands``.
|
|
4086
|
+
*
|
|
4087
|
+
* Built-ins are shipped commands (``/image``, ``/compact``, ``/goal``, …) that
|
|
4088
|
+
* come from the backend command registry. Dynamic user-authored ``/<slug>``
|
|
4089
|
+
* skills are listed separately by ``GET /v1/assistant/skills``; clients merge
|
|
4090
|
+
* the two into a single slash-command menu.
|
|
4091
|
+
*/
|
|
4092
|
+
CommandDescriptorResponse: {
|
|
4093
|
+
/**
|
|
4094
|
+
* Name
|
|
4095
|
+
* @description Command name; invoked as ``/<name>``
|
|
4096
|
+
*/
|
|
4097
|
+
name: string;
|
|
4098
|
+
/**
|
|
4099
|
+
* Description
|
|
4100
|
+
* @description One-line description for the slash menu
|
|
4101
|
+
* @default
|
|
4102
|
+
*/
|
|
4103
|
+
description: string;
|
|
4104
|
+
/**
|
|
4105
|
+
* Arg Hint
|
|
4106
|
+
* @description Optional args hint (e.g. ``"<prompt>"``)
|
|
4107
|
+
* @default
|
|
4108
|
+
*/
|
|
4109
|
+
arg_hint: string;
|
|
4110
|
+
/**
|
|
4111
|
+
* User Invocable
|
|
4112
|
+
* @description Whether the command appears in slash menus
|
|
4113
|
+
* @default true
|
|
4114
|
+
*/
|
|
4115
|
+
user_invocable: boolean;
|
|
4116
|
+
/**
|
|
4117
|
+
* Category
|
|
4118
|
+
* @description Grouping category (currently ``builtin``)
|
|
4119
|
+
* @default builtin
|
|
4120
|
+
*/
|
|
4121
|
+
category: string;
|
|
4122
|
+
};
|
|
4123
|
+
/**
|
|
4124
|
+
* CommandsListResponse
|
|
4125
|
+
* @description Wrapper for ``GET /v1/assistant/commands`` — ``{ commands: [...] }`` so we
|
|
4126
|
+
* can add categories/paging later without breaking clients.
|
|
4127
|
+
*/
|
|
4128
|
+
CommandsListResponse: {
|
|
4129
|
+
/** Commands */
|
|
4130
|
+
commands: components['schemas']['CommandDescriptorResponse'][];
|
|
4131
|
+
};
|
|
4052
4132
|
/**
|
|
4053
4133
|
* CompactionEvent
|
|
4054
4134
|
* @description Emitted when the thread was compacted this turn.
|
|
@@ -4175,6 +4255,7 @@ interface components {
|
|
|
4175
4255
|
PlanningLLM?: components['schemas']['PlanningLLMConfig'] | null;
|
|
4176
4256
|
FilterPlanLLM?: components['schemas']['FilterPlanLLMConfig'] | null;
|
|
4177
4257
|
VisionLLM?: components['schemas']['VisionLLMConfig'] | null;
|
|
4258
|
+
ImageGen?: components['schemas']['ImageGenConfig'] | null;
|
|
4178
4259
|
CodeAgent?: components['schemas']['CodeAgentConfig'] | null;
|
|
4179
4260
|
ModelCitation?: components['schemas']['ModelCitationConfig'] | null;
|
|
4180
4261
|
Parser?: components['schemas']['ParserConfig'] | null;
|
|
@@ -5281,6 +5362,24 @@ interface components {
|
|
|
5281
5362
|
* @default 200000
|
|
5282
5363
|
*/
|
|
5283
5364
|
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
5365
|
+
/**
|
|
5366
|
+
* Max Chunks Per Eval Call
|
|
5367
|
+
* @description Cap chunks per evaluator LLM call. Larger sets (e.g. a whole-document digest read) are split into parallel batches so a single non-streaming call can't stall past the 300s read floor and ReadTimeout the request. Retrievals at or below this size are evaluated in one call (unchanged). Paired with MAX_CONCURRENT_EVAL_BATCHES so a worst-case whole-document read still clears in roughly one concurrent wave.
|
|
5368
|
+
* @default 256
|
|
5369
|
+
*/
|
|
5370
|
+
MAX_CHUNKS_PER_EVAL_CALL: number;
|
|
5371
|
+
/**
|
|
5372
|
+
* Max Concurrent Eval Batches
|
|
5373
|
+
* @description Global ceiling on concurrent evaluator batch calls across all in-flight queries (enforced by a class-level semaphore). Paired with MAX_CHUNKS_PER_EVAL_CALL so a worst-case whole-document read runs in roughly one wave.
|
|
5374
|
+
* @default 16
|
|
5375
|
+
*/
|
|
5376
|
+
MAX_CONCURRENT_EVAL_BATCHES: number;
|
|
5377
|
+
/**
|
|
5378
|
+
* Eval Batch Timeout S
|
|
5379
|
+
* @description Per-batch wall-clock timeout. A batch that exceeds it degrades to keeping its own chunks instead of stalling the parallel evaluation.
|
|
5380
|
+
* @default 120
|
|
5381
|
+
*/
|
|
5382
|
+
EVAL_BATCH_TIMEOUT_S: number;
|
|
5284
5383
|
};
|
|
5285
5384
|
/**
|
|
5286
5385
|
* FileDeleteResponse
|
|
@@ -12254,6 +12353,26 @@ interface operations {
|
|
|
12254
12353
|
};
|
|
12255
12354
|
};
|
|
12256
12355
|
};
|
|
12356
|
+
list_commands: {
|
|
12357
|
+
parameters: {
|
|
12358
|
+
query?: never;
|
|
12359
|
+
header?: never;
|
|
12360
|
+
path?: never;
|
|
12361
|
+
cookie?: never;
|
|
12362
|
+
};
|
|
12363
|
+
requestBody?: never;
|
|
12364
|
+
responses: {
|
|
12365
|
+
/** @description Successful Response */
|
|
12366
|
+
200: {
|
|
12367
|
+
headers: {
|
|
12368
|
+
[name: string]: unknown;
|
|
12369
|
+
};
|
|
12370
|
+
content: {
|
|
12371
|
+
'application/json': components['schemas']['CommandsListResponse'];
|
|
12372
|
+
};
|
|
12373
|
+
};
|
|
12374
|
+
};
|
|
12375
|
+
};
|
|
12257
12376
|
generate: {
|
|
12258
12377
|
parameters: {
|
|
12259
12378
|
query?: never;
|
package/package.json
CHANGED