@arbidocs/client 0.5.165 → 0.5.167

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 CHANGED
@@ -1583,6 +1583,23 @@ interface paths$1 {
1583
1583
  patch?: never;
1584
1584
  trace?: never;
1585
1585
  };
1586
+ '/v1/support/tickets/{ticket_id}/video': {
1587
+ parameters: {
1588
+ query?: never;
1589
+ header?: never;
1590
+ path?: never;
1591
+ cookie?: never;
1592
+ };
1593
+ get?: never;
1594
+ put?: never;
1595
+ /** Attach Support Video */
1596
+ post: operations['attach_support_video'];
1597
+ delete?: never;
1598
+ options?: never;
1599
+ head?: never;
1600
+ patch?: never;
1601
+ trace?: never;
1602
+ };
1586
1603
  '/v1/support/tickets/{ticket_id}': {
1587
1604
  parameters: {
1588
1605
  query?: never;
@@ -3024,6 +3041,31 @@ interface paths$1 {
3024
3041
  patch?: never;
3025
3042
  trace?: never;
3026
3043
  };
3044
+ '/v1/document/{document_ext_id}/pdf-pages': {
3045
+ parameters: {
3046
+ query?: never;
3047
+ header?: never;
3048
+ path?: never;
3049
+ cookie?: never;
3050
+ };
3051
+ get?: never;
3052
+ put?: never;
3053
+ /**
3054
+ * Edit Pdf Pages
3055
+ * @description Inspect, reorder, splice, merge, split, rotate, crop or add/delete PDF pages.
3056
+ *
3057
+ * Operations use 1-based pages in the current working PDF. edit defaults to a
3058
+ * new version; copy and split create derived documents. Unapplied redactions
3059
+ * require the viewer's existing redacted-copy workflow first. No agent may
3060
+ * apply or alter the source's markup through this endpoint.
3061
+ */
3062
+ post: operations['edit_pdf_pages'];
3063
+ delete?: never;
3064
+ options?: never;
3065
+ head?: never;
3066
+ patch?: never;
3067
+ trace?: never;
3068
+ };
3027
3069
  '/v1/document/{document_ext_id}/markup': {
3028
3070
  parameters: {
3029
3071
  query?: never;
@@ -5724,6 +5766,26 @@ interface paths$1 {
5724
5766
  patch?: never;
5725
5767
  trace?: never;
5726
5768
  };
5769
+ '/v1/calls/{call_ext_id}/delegate-keys': {
5770
+ parameters: {
5771
+ query?: never;
5772
+ header?: never;
5773
+ path?: never;
5774
+ cookie?: never;
5775
+ };
5776
+ get?: never;
5777
+ put?: never;
5778
+ /**
5779
+ * Grant Call Agent Keys
5780
+ * @description A human seals a key they hold to their own agents; agents never become call participants.
5781
+ */
5782
+ post: operations['grant_call_agent_keys'];
5783
+ delete?: never;
5784
+ options?: never;
5785
+ head?: never;
5786
+ patch?: never;
5787
+ trace?: never;
5788
+ };
5727
5789
  '/v1/calls/{call_ext_id}': {
5728
5790
  parameters: {
5729
5791
  query?: never;
@@ -9465,26 +9527,6 @@ interface paths$1 {
9465
9527
  patch?: never;
9466
9528
  trace?: never;
9467
9529
  };
9468
- '/v1/calls/{call_ext_id}/delegate-keys': {
9469
- parameters: {
9470
- query?: never;
9471
- header?: never;
9472
- path?: never;
9473
- cookie?: never;
9474
- };
9475
- get?: never;
9476
- put?: never;
9477
- /**
9478
- * Grant Call Agent Keys
9479
- * @description A human seals a key they hold to their own agents; agents never become call participants.
9480
- */
9481
- post: operations['grant_call_agent_keys'];
9482
- delete?: never;
9483
- options?: never;
9484
- head?: never;
9485
- patch?: never;
9486
- trace?: never;
9487
- };
9488
9530
  }
9489
9531
  type webhooks = Record<string, never>;
9490
9532
  interface components$1 {
@@ -10249,10 +10291,9 @@ interface components$1 {
10249
10291
  AGENT_API_TYPE: 'local' | 'remote';
10250
10292
  /**
10251
10293
  * Llm Agent Temperature
10252
- * @description Temperature value for agent LLM. 0.6 matches the value recommended upstream for Qwen3-27B-AWQ-INT4 with thinking enabled. Higher values (we used to default to 1.0) cause the model to drift from the canonical tool-call grammar under complex agent contexts, producing malformed XML / JSON that vLLM's tool-call parser cannot extract — measured 20% tool-call success at temp=1.0 vs 100% at temp=0.6 on the same 20-run hard-tool-required test.
10253
- * @default 0.6
10294
+ * @description Temperature for the agent LLM. Unset (the default) sends none, so the model's published sampling applies (arbi-serve backfills the checkpoint's generation_config).
10254
10295
  */
10255
- LLM_AGENT_TEMPERATURE: number;
10296
+ LLM_AGENT_TEMPERATURE?: number | null;
10256
10297
  /**
10257
10298
  * Agent Max Tokens
10258
10299
  * @description Max output tokens for the agent LLM response; 0 = uncapped (run to EOS). A finite cap on a reasoning model gets consumed by thinking and truncates the tool call. Input headroom is reserved separately (DEFAULT_OUTPUT_RESERVE_TOKENS).
@@ -10273,7 +10314,7 @@ interface components$1 {
10273
10314
  AGENT_STREAM_DEGENERATE_CHARS: number;
10274
10315
  /**
10275
10316
  * Agent Stream Repeat Chars
10276
- * @description Stop an agent stream whose last this-many chars are one short unit (up to 400 chars) repeated over and over: a model stuck in a loop. 0 = disabled.
10317
+ * @description Stop an agent stream whose last this-many chars are one short unit (up to 400 chars) repeated over and over, or whose latest 1,500 chars of reasoning or answer already appeared twice earlier word for word (a paragraph-long loop): a model stuck in a loop. The step is then re-issued once with a correction. 0 = both checks disabled.
10277
10318
  * @default 6000
10278
10319
  */
10279
10320
  AGENT_STREAM_REPEAT_CHARS: number;
@@ -10605,7 +10646,6 @@ interface components$1 {
10605
10646
  * "PERSONA": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.",
10606
10647
  * "AGENT_MODEL_NAME": "auto",
10607
10648
  * "AGENT_API_TYPE": "remote",
10608
- * "LLM_AGENT_TEMPERATURE": 0.6,
10609
10649
  * "AGENT_MAX_TOKENS": 0,
10610
10650
  * "AGENT_STREAM_OUTPUT_CEILING_TOKENS": 64000,
10611
10651
  * "AGENT_STREAM_DEGENERATE_CHARS": 20000,
@@ -10827,7 +10867,7 @@ interface components$1 {
10827
10867
  * "API_TYPE": "remote",
10828
10868
  * "ENABLE_THINKING": true,
10829
10869
  * "MODEL_NAME": "Premium",
10830
- * "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.",
10870
+ * "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, rg, patch, diff, find, curl, wget, jq, sqlite3 and build tools\n- PyMuPDF, Playwright (Python and Node), Chromium and a virtual Linux desktop\n- Networking follows sandbox policy; the default sandbox is offline\n\nInstructions:\n1. Write clean, correct code to accomplish the user's task\n2. Run your code with execute_code or bash — never guess the output. bash supports working directories, process handles, incremental output, stdin and interruption. Use repo_file for exact edits, browser for Playwright actions, and computer for the virtual desktop. Save deliverables with sandbox_file before the sandbox closes.\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.",
10831
10871
  * "TEMPERATURE": 0.2,
10832
10872
  * "MAX_TOKENS": 0
10833
10873
  * }
@@ -11600,6 +11640,16 @@ interface components$1 {
11600
11640
  */
11601
11641
  h: number;
11602
11642
  };
11643
+ /** Body_attach_support_video */
11644
+ Body_attach_support_video: {
11645
+ /** Video */
11646
+ video: string;
11647
+ /**
11648
+ * Transcript
11649
+ * @default
11650
+ */
11651
+ transcript: string;
11652
+ };
11603
11653
  /** Body_stage_agent_file_v1_agents__agent_ext_id__files_post */
11604
11654
  Body_stage_agent_file_v1_agents__agent_ext_id__files_post: {
11605
11655
  /** File */
@@ -11609,6 +11659,11 @@ interface components$1 {
11609
11659
  Body_transcribe_audio: {
11610
11660
  /** Audio */
11611
11661
  audio: string;
11662
+ /**
11663
+ * Diarize
11664
+ * @default false
11665
+ */
11666
+ diarize: boolean;
11612
11667
  /** Language */
11613
11668
  language?: string | null;
11614
11669
  /** Prompt */
@@ -12343,6 +12398,18 @@ interface components$1 {
12343
12398
  /** User Ext Id */
12344
12399
  user_ext_id: string;
12345
12400
  };
12401
+ /**
12402
+ * CallDelegateKeys
12403
+ * @description A human seals a call key to their own personal agents; never a room invitation.
12404
+ */
12405
+ CallDelegateKeys: {
12406
+ /** Link Version */
12407
+ link_version: number;
12408
+ /** Keys */
12409
+ keys?: {
12410
+ [key: string]: string;
12411
+ };
12412
+ };
12346
12413
  /**
12347
12414
  * CallEndedMessage
12348
12415
  * @description The room finished: everyone left (from the LiveKit webhook). Same audience as ``call.started``.
@@ -13474,6 +13541,7 @@ interface components$1 {
13474
13541
  };
13475
13542
  /** ChunkMetadata */
13476
13543
  ChunkMetadata: {
13544
+ transcript?: components$1['schemas']['TranscriptTiming'] | null;
13477
13545
  /** Workspace Ext Id */
13478
13546
  workspace_ext_id?: string | null;
13479
13547
  /** Doc Ext Id */
@@ -13655,12 +13723,13 @@ interface components$1 {
13655
13723
  * - Python 3.12 with numpy, pandas, matplotlib, requests, beautifulsoup4,
13656
13724
  * httpx, pillow, sympy, pyyaml (plus uv for installing more)
13657
13725
  * - Node.js 22 with TypeScript (ts-node) and npm
13658
- * - Bash with git, curl, wget, jq, sqlite3, build-essential
13659
- * - Network access (can pip/npm install additional packages)
13726
+ * - Bash with git, rg, patch, diff, find, curl, wget, jq, sqlite3 and build tools
13727
+ * - PyMuPDF, Playwright (Python and Node), Chromium and a virtual Linux desktop
13728
+ * - Networking follows sandbox policy; the default sandbox is offline
13660
13729
  *
13661
13730
  * Instructions:
13662
13731
  * 1. Write clean, correct code to accomplish the user's task
13663
- * 2. Always call execute_code to run your code — never guess the output
13732
+ * 2. Run your code with execute_code or bash — never guess the output. bash supports working directories, process handles, incremental output, stdin and interruption. Use repo_file for exact edits, browser for Playwright actions, and computer for the virtual desktop. Save deliverables with sandbox_file before the sandbox closes.
13664
13733
  * 3. If execution errors, analyze the traceback, fix the code, and retry
13665
13734
  * 4. Once you have the correct output, respond with ONLY the final result
13666
13735
  *
@@ -20422,6 +20491,34 @@ interface components$1 {
20422
20491
  */
20423
20492
  SKIP_DUPLICATES: boolean;
20424
20493
  };
20494
+ /** PdfPagesRequest */
20495
+ PdfPagesRequest: {
20496
+ /**
20497
+ * Action
20498
+ * @default edit
20499
+ * @enum {string}
20500
+ */
20501
+ action: 'info' | 'edit' | 'split';
20502
+ /** Version */
20503
+ version?: number | null;
20504
+ /** Operations */
20505
+ operations?: {
20506
+ [key: string]: unknown;
20507
+ }[] | null;
20508
+ /** Groups */
20509
+ groups?: number[][] | null;
20510
+ /**
20511
+ * Filename
20512
+ * @default
20513
+ */
20514
+ filename: string;
20515
+ /**
20516
+ * Save As
20517
+ * @default version
20518
+ * @enum {string}
20519
+ */
20520
+ save_as: 'version' | 'copy';
20521
+ };
20425
20522
  /**
20426
20523
  * PendingAuthResponse
20427
20524
  * @description What the owner needs to allow a parked agent run: the agent's run-session PUBLIC key and email.
@@ -25005,6 +25102,10 @@ interface components$1 {
25005
25102
  idempotency_key: string;
25006
25103
  /** Screenshot Png */
25007
25104
  screenshot_png?: string | null;
25105
+ /** Client Context */
25106
+ client_context?: {
25107
+ [key: string]: string;
25108
+ } | null;
25008
25109
  };
25009
25110
  /** SupportTicketResponse */
25010
25111
  SupportTicketResponse: {
@@ -26041,6 +26142,13 @@ interface components$1 {
26041
26142
  /** Started At */
26042
26143
  started_at?: string | null;
26043
26144
  };
26145
+ /** TranscriptTiming */
26146
+ TranscriptTiming: {
26147
+ /** Start */
26148
+ start: number;
26149
+ /** End */
26150
+ end?: number | null;
26151
+ };
26044
26152
  /** TransferItemResult */
26045
26153
  TransferItemResult: {
26046
26154
  /** Kind */
@@ -28144,18 +28252,6 @@ interface components$1 {
28144
28252
  * @enum {string}
28145
28253
  */
28146
28254
  src__models__workflow__AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
28147
- /**
28148
- * CallDelegateKeys
28149
- * @description A human seals a call key to their own personal agents; never a room invitation.
28150
- */
28151
- CallDelegateKeys: {
28152
- /** Link Version */
28153
- link_version: number;
28154
- /** Keys */
28155
- keys?: {
28156
- [key: string]: string;
28157
- };
28158
- };
28159
28255
  };
28160
28256
  responses: never;
28161
28257
  parameters: never;
@@ -30295,6 +30391,41 @@ interface operations {
30295
30391
  };
30296
30392
  };
30297
30393
  };
30394
+ attach_support_video: {
30395
+ parameters: {
30396
+ query?: never;
30397
+ header?: never;
30398
+ path: {
30399
+ ticket_id: number;
30400
+ };
30401
+ cookie?: never;
30402
+ };
30403
+ requestBody: {
30404
+ content: {
30405
+ 'multipart/form-data': components$1['schemas']['Body_attach_support_video'];
30406
+ };
30407
+ };
30408
+ responses: {
30409
+ /** @description Successful Response */
30410
+ 200: {
30411
+ headers: {
30412
+ [name: string]: unknown;
30413
+ };
30414
+ content: {
30415
+ 'application/json': components$1['schemas']['SupportTicketResponse'];
30416
+ };
30417
+ };
30418
+ /** @description Validation Error */
30419
+ 422: {
30420
+ headers: {
30421
+ [name: string]: unknown;
30422
+ };
30423
+ content: {
30424
+ 'application/json': components$1['schemas']['HTTPValidationError'];
30425
+ };
30426
+ };
30427
+ };
30428
+ };
30298
30429
  get_support_ticket: {
30299
30430
  parameters: {
30300
30431
  query?: never;
@@ -32552,6 +32683,44 @@ interface operations {
32552
32683
  };
32553
32684
  };
32554
32685
  };
32686
+ edit_pdf_pages: {
32687
+ parameters: {
32688
+ query?: {
32689
+ /** @description The workspace to act on; defaults to the active workspace */
32690
+ workspace_ext_id?: string | null;
32691
+ };
32692
+ header?: never;
32693
+ path: {
32694
+ document_ext_id: string;
32695
+ };
32696
+ cookie?: never;
32697
+ };
32698
+ requestBody: {
32699
+ content: {
32700
+ 'application/json': components$1['schemas']['PdfPagesRequest'];
32701
+ };
32702
+ };
32703
+ responses: {
32704
+ /** @description Successful Response */
32705
+ 200: {
32706
+ headers: {
32707
+ [name: string]: unknown;
32708
+ };
32709
+ content: {
32710
+ 'application/json': unknown;
32711
+ };
32712
+ };
32713
+ /** @description Validation Error */
32714
+ 422: {
32715
+ headers: {
32716
+ [name: string]: unknown;
32717
+ };
32718
+ content: {
32719
+ 'application/json': components$1['schemas']['HTTPValidationError'];
32720
+ };
32721
+ };
32722
+ };
32723
+ };
32555
32724
  get_document_markup: {
32556
32725
  parameters: {
32557
32726
  query?: {
@@ -37351,6 +37520,39 @@ interface operations {
37351
37520
  };
37352
37521
  };
37353
37522
  };
37523
+ grant_call_agent_keys: {
37524
+ parameters: {
37525
+ query?: never;
37526
+ header?: never;
37527
+ path: {
37528
+ call_ext_id: string;
37529
+ };
37530
+ cookie?: never;
37531
+ };
37532
+ requestBody: {
37533
+ content: {
37534
+ 'application/json': components$1['schemas']['CallDelegateKeys'];
37535
+ };
37536
+ };
37537
+ responses: {
37538
+ /** @description Successful Response */
37539
+ 204: {
37540
+ headers: {
37541
+ [name: string]: unknown;
37542
+ };
37543
+ content?: never;
37544
+ };
37545
+ /** @description Validation Error */
37546
+ 422: {
37547
+ headers: {
37548
+ [name: string]: unknown;
37549
+ };
37550
+ content: {
37551
+ 'application/json': components$1['schemas']['HTTPValidationError'];
37552
+ };
37553
+ };
37554
+ };
37555
+ };
37354
37556
  get_call: {
37355
37557
  parameters: {
37356
37558
  query?: never;
@@ -44013,39 +44215,6 @@ interface operations {
44013
44215
  };
44014
44216
  };
44015
44217
  };
44016
- grant_call_agent_keys: {
44017
- parameters: {
44018
- query?: never;
44019
- header?: never;
44020
- path: {
44021
- call_ext_id: string;
44022
- };
44023
- cookie?: never;
44024
- };
44025
- requestBody: {
44026
- content: {
44027
- 'application/json': components$1['schemas']['CallDelegateKeys'];
44028
- };
44029
- };
44030
- responses: {
44031
- /** @description Successful Response */
44032
- 204: {
44033
- headers: {
44034
- [name: string]: unknown;
44035
- };
44036
- content?: never;
44037
- };
44038
- /** @description Validation Error */
44039
- 422: {
44040
- headers: {
44041
- [name: string]: unknown;
44042
- };
44043
- content: {
44044
- 'application/json': components$1['schemas']['HTTPValidationError'];
44045
- };
44046
- };
44047
- };
44048
- };
44049
44218
  }
44050
44219
 
44051
44220
  /** Compose the core API and the independently generated referrals slice. */
package/dist/index.d.ts CHANGED
@@ -1583,6 +1583,23 @@ interface paths$1 {
1583
1583
  patch?: never;
1584
1584
  trace?: never;
1585
1585
  };
1586
+ '/v1/support/tickets/{ticket_id}/video': {
1587
+ parameters: {
1588
+ query?: never;
1589
+ header?: never;
1590
+ path?: never;
1591
+ cookie?: never;
1592
+ };
1593
+ get?: never;
1594
+ put?: never;
1595
+ /** Attach Support Video */
1596
+ post: operations['attach_support_video'];
1597
+ delete?: never;
1598
+ options?: never;
1599
+ head?: never;
1600
+ patch?: never;
1601
+ trace?: never;
1602
+ };
1586
1603
  '/v1/support/tickets/{ticket_id}': {
1587
1604
  parameters: {
1588
1605
  query?: never;
@@ -3024,6 +3041,31 @@ interface paths$1 {
3024
3041
  patch?: never;
3025
3042
  trace?: never;
3026
3043
  };
3044
+ '/v1/document/{document_ext_id}/pdf-pages': {
3045
+ parameters: {
3046
+ query?: never;
3047
+ header?: never;
3048
+ path?: never;
3049
+ cookie?: never;
3050
+ };
3051
+ get?: never;
3052
+ put?: never;
3053
+ /**
3054
+ * Edit Pdf Pages
3055
+ * @description Inspect, reorder, splice, merge, split, rotate, crop or add/delete PDF pages.
3056
+ *
3057
+ * Operations use 1-based pages in the current working PDF. edit defaults to a
3058
+ * new version; copy and split create derived documents. Unapplied redactions
3059
+ * require the viewer's existing redacted-copy workflow first. No agent may
3060
+ * apply or alter the source's markup through this endpoint.
3061
+ */
3062
+ post: operations['edit_pdf_pages'];
3063
+ delete?: never;
3064
+ options?: never;
3065
+ head?: never;
3066
+ patch?: never;
3067
+ trace?: never;
3068
+ };
3027
3069
  '/v1/document/{document_ext_id}/markup': {
3028
3070
  parameters: {
3029
3071
  query?: never;
@@ -5724,6 +5766,26 @@ interface paths$1 {
5724
5766
  patch?: never;
5725
5767
  trace?: never;
5726
5768
  };
5769
+ '/v1/calls/{call_ext_id}/delegate-keys': {
5770
+ parameters: {
5771
+ query?: never;
5772
+ header?: never;
5773
+ path?: never;
5774
+ cookie?: never;
5775
+ };
5776
+ get?: never;
5777
+ put?: never;
5778
+ /**
5779
+ * Grant Call Agent Keys
5780
+ * @description A human seals a key they hold to their own agents; agents never become call participants.
5781
+ */
5782
+ post: operations['grant_call_agent_keys'];
5783
+ delete?: never;
5784
+ options?: never;
5785
+ head?: never;
5786
+ patch?: never;
5787
+ trace?: never;
5788
+ };
5727
5789
  '/v1/calls/{call_ext_id}': {
5728
5790
  parameters: {
5729
5791
  query?: never;
@@ -9465,26 +9527,6 @@ interface paths$1 {
9465
9527
  patch?: never;
9466
9528
  trace?: never;
9467
9529
  };
9468
- '/v1/calls/{call_ext_id}/delegate-keys': {
9469
- parameters: {
9470
- query?: never;
9471
- header?: never;
9472
- path?: never;
9473
- cookie?: never;
9474
- };
9475
- get?: never;
9476
- put?: never;
9477
- /**
9478
- * Grant Call Agent Keys
9479
- * @description A human seals a key they hold to their own agents; agents never become call participants.
9480
- */
9481
- post: operations['grant_call_agent_keys'];
9482
- delete?: never;
9483
- options?: never;
9484
- head?: never;
9485
- patch?: never;
9486
- trace?: never;
9487
- };
9488
9530
  }
9489
9531
  type webhooks = Record<string, never>;
9490
9532
  interface components$1 {
@@ -10249,10 +10291,9 @@ interface components$1 {
10249
10291
  AGENT_API_TYPE: 'local' | 'remote';
10250
10292
  /**
10251
10293
  * Llm Agent Temperature
10252
- * @description Temperature value for agent LLM. 0.6 matches the value recommended upstream for Qwen3-27B-AWQ-INT4 with thinking enabled. Higher values (we used to default to 1.0) cause the model to drift from the canonical tool-call grammar under complex agent contexts, producing malformed XML / JSON that vLLM's tool-call parser cannot extract — measured 20% tool-call success at temp=1.0 vs 100% at temp=0.6 on the same 20-run hard-tool-required test.
10253
- * @default 0.6
10294
+ * @description Temperature for the agent LLM. Unset (the default) sends none, so the model's published sampling applies (arbi-serve backfills the checkpoint's generation_config).
10254
10295
  */
10255
- LLM_AGENT_TEMPERATURE: number;
10296
+ LLM_AGENT_TEMPERATURE?: number | null;
10256
10297
  /**
10257
10298
  * Agent Max Tokens
10258
10299
  * @description Max output tokens for the agent LLM response; 0 = uncapped (run to EOS). A finite cap on a reasoning model gets consumed by thinking and truncates the tool call. Input headroom is reserved separately (DEFAULT_OUTPUT_RESERVE_TOKENS).
@@ -10273,7 +10314,7 @@ interface components$1 {
10273
10314
  AGENT_STREAM_DEGENERATE_CHARS: number;
10274
10315
  /**
10275
10316
  * Agent Stream Repeat Chars
10276
- * @description Stop an agent stream whose last this-many chars are one short unit (up to 400 chars) repeated over and over: a model stuck in a loop. 0 = disabled.
10317
+ * @description Stop an agent stream whose last this-many chars are one short unit (up to 400 chars) repeated over and over, or whose latest 1,500 chars of reasoning or answer already appeared twice earlier word for word (a paragraph-long loop): a model stuck in a loop. The step is then re-issued once with a correction. 0 = both checks disabled.
10277
10318
  * @default 6000
10278
10319
  */
10279
10320
  AGENT_STREAM_REPEAT_CHARS: number;
@@ -10605,7 +10646,6 @@ interface components$1 {
10605
10646
  * "PERSONA": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.",
10606
10647
  * "AGENT_MODEL_NAME": "auto",
10607
10648
  * "AGENT_API_TYPE": "remote",
10608
- * "LLM_AGENT_TEMPERATURE": 0.6,
10609
10649
  * "AGENT_MAX_TOKENS": 0,
10610
10650
  * "AGENT_STREAM_OUTPUT_CEILING_TOKENS": 64000,
10611
10651
  * "AGENT_STREAM_DEGENERATE_CHARS": 20000,
@@ -10827,7 +10867,7 @@ interface components$1 {
10827
10867
  * "API_TYPE": "remote",
10828
10868
  * "ENABLE_THINKING": true,
10829
10869
  * "MODEL_NAME": "Premium",
10830
- * "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.",
10870
+ * "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, rg, patch, diff, find, curl, wget, jq, sqlite3 and build tools\n- PyMuPDF, Playwright (Python and Node), Chromium and a virtual Linux desktop\n- Networking follows sandbox policy; the default sandbox is offline\n\nInstructions:\n1. Write clean, correct code to accomplish the user's task\n2. Run your code with execute_code or bash — never guess the output. bash supports working directories, process handles, incremental output, stdin and interruption. Use repo_file for exact edits, browser for Playwright actions, and computer for the virtual desktop. Save deliverables with sandbox_file before the sandbox closes.\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.",
10831
10871
  * "TEMPERATURE": 0.2,
10832
10872
  * "MAX_TOKENS": 0
10833
10873
  * }
@@ -11600,6 +11640,16 @@ interface components$1 {
11600
11640
  */
11601
11641
  h: number;
11602
11642
  };
11643
+ /** Body_attach_support_video */
11644
+ Body_attach_support_video: {
11645
+ /** Video */
11646
+ video: string;
11647
+ /**
11648
+ * Transcript
11649
+ * @default
11650
+ */
11651
+ transcript: string;
11652
+ };
11603
11653
  /** Body_stage_agent_file_v1_agents__agent_ext_id__files_post */
11604
11654
  Body_stage_agent_file_v1_agents__agent_ext_id__files_post: {
11605
11655
  /** File */
@@ -11609,6 +11659,11 @@ interface components$1 {
11609
11659
  Body_transcribe_audio: {
11610
11660
  /** Audio */
11611
11661
  audio: string;
11662
+ /**
11663
+ * Diarize
11664
+ * @default false
11665
+ */
11666
+ diarize: boolean;
11612
11667
  /** Language */
11613
11668
  language?: string | null;
11614
11669
  /** Prompt */
@@ -12343,6 +12398,18 @@ interface components$1 {
12343
12398
  /** User Ext Id */
12344
12399
  user_ext_id: string;
12345
12400
  };
12401
+ /**
12402
+ * CallDelegateKeys
12403
+ * @description A human seals a call key to their own personal agents; never a room invitation.
12404
+ */
12405
+ CallDelegateKeys: {
12406
+ /** Link Version */
12407
+ link_version: number;
12408
+ /** Keys */
12409
+ keys?: {
12410
+ [key: string]: string;
12411
+ };
12412
+ };
12346
12413
  /**
12347
12414
  * CallEndedMessage
12348
12415
  * @description The room finished: everyone left (from the LiveKit webhook). Same audience as ``call.started``.
@@ -13474,6 +13541,7 @@ interface components$1 {
13474
13541
  };
13475
13542
  /** ChunkMetadata */
13476
13543
  ChunkMetadata: {
13544
+ transcript?: components$1['schemas']['TranscriptTiming'] | null;
13477
13545
  /** Workspace Ext Id */
13478
13546
  workspace_ext_id?: string | null;
13479
13547
  /** Doc Ext Id */
@@ -13655,12 +13723,13 @@ interface components$1 {
13655
13723
  * - Python 3.12 with numpy, pandas, matplotlib, requests, beautifulsoup4,
13656
13724
  * httpx, pillow, sympy, pyyaml (plus uv for installing more)
13657
13725
  * - Node.js 22 with TypeScript (ts-node) and npm
13658
- * - Bash with git, curl, wget, jq, sqlite3, build-essential
13659
- * - Network access (can pip/npm install additional packages)
13726
+ * - Bash with git, rg, patch, diff, find, curl, wget, jq, sqlite3 and build tools
13727
+ * - PyMuPDF, Playwright (Python and Node), Chromium and a virtual Linux desktop
13728
+ * - Networking follows sandbox policy; the default sandbox is offline
13660
13729
  *
13661
13730
  * Instructions:
13662
13731
  * 1. Write clean, correct code to accomplish the user's task
13663
- * 2. Always call execute_code to run your code — never guess the output
13732
+ * 2. Run your code with execute_code or bash — never guess the output. bash supports working directories, process handles, incremental output, stdin and interruption. Use repo_file for exact edits, browser for Playwright actions, and computer for the virtual desktop. Save deliverables with sandbox_file before the sandbox closes.
13664
13733
  * 3. If execution errors, analyze the traceback, fix the code, and retry
13665
13734
  * 4. Once you have the correct output, respond with ONLY the final result
13666
13735
  *
@@ -20422,6 +20491,34 @@ interface components$1 {
20422
20491
  */
20423
20492
  SKIP_DUPLICATES: boolean;
20424
20493
  };
20494
+ /** PdfPagesRequest */
20495
+ PdfPagesRequest: {
20496
+ /**
20497
+ * Action
20498
+ * @default edit
20499
+ * @enum {string}
20500
+ */
20501
+ action: 'info' | 'edit' | 'split';
20502
+ /** Version */
20503
+ version?: number | null;
20504
+ /** Operations */
20505
+ operations?: {
20506
+ [key: string]: unknown;
20507
+ }[] | null;
20508
+ /** Groups */
20509
+ groups?: number[][] | null;
20510
+ /**
20511
+ * Filename
20512
+ * @default
20513
+ */
20514
+ filename: string;
20515
+ /**
20516
+ * Save As
20517
+ * @default version
20518
+ * @enum {string}
20519
+ */
20520
+ save_as: 'version' | 'copy';
20521
+ };
20425
20522
  /**
20426
20523
  * PendingAuthResponse
20427
20524
  * @description What the owner needs to allow a parked agent run: the agent's run-session PUBLIC key and email.
@@ -25005,6 +25102,10 @@ interface components$1 {
25005
25102
  idempotency_key: string;
25006
25103
  /** Screenshot Png */
25007
25104
  screenshot_png?: string | null;
25105
+ /** Client Context */
25106
+ client_context?: {
25107
+ [key: string]: string;
25108
+ } | null;
25008
25109
  };
25009
25110
  /** SupportTicketResponse */
25010
25111
  SupportTicketResponse: {
@@ -26041,6 +26142,13 @@ interface components$1 {
26041
26142
  /** Started At */
26042
26143
  started_at?: string | null;
26043
26144
  };
26145
+ /** TranscriptTiming */
26146
+ TranscriptTiming: {
26147
+ /** Start */
26148
+ start: number;
26149
+ /** End */
26150
+ end?: number | null;
26151
+ };
26044
26152
  /** TransferItemResult */
26045
26153
  TransferItemResult: {
26046
26154
  /** Kind */
@@ -28144,18 +28252,6 @@ interface components$1 {
28144
28252
  * @enum {string}
28145
28253
  */
28146
28254
  src__models__workflow__AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
28147
- /**
28148
- * CallDelegateKeys
28149
- * @description A human seals a call key to their own personal agents; never a room invitation.
28150
- */
28151
- CallDelegateKeys: {
28152
- /** Link Version */
28153
- link_version: number;
28154
- /** Keys */
28155
- keys?: {
28156
- [key: string]: string;
28157
- };
28158
- };
28159
28255
  };
28160
28256
  responses: never;
28161
28257
  parameters: never;
@@ -30295,6 +30391,41 @@ interface operations {
30295
30391
  };
30296
30392
  };
30297
30393
  };
30394
+ attach_support_video: {
30395
+ parameters: {
30396
+ query?: never;
30397
+ header?: never;
30398
+ path: {
30399
+ ticket_id: number;
30400
+ };
30401
+ cookie?: never;
30402
+ };
30403
+ requestBody: {
30404
+ content: {
30405
+ 'multipart/form-data': components$1['schemas']['Body_attach_support_video'];
30406
+ };
30407
+ };
30408
+ responses: {
30409
+ /** @description Successful Response */
30410
+ 200: {
30411
+ headers: {
30412
+ [name: string]: unknown;
30413
+ };
30414
+ content: {
30415
+ 'application/json': components$1['schemas']['SupportTicketResponse'];
30416
+ };
30417
+ };
30418
+ /** @description Validation Error */
30419
+ 422: {
30420
+ headers: {
30421
+ [name: string]: unknown;
30422
+ };
30423
+ content: {
30424
+ 'application/json': components$1['schemas']['HTTPValidationError'];
30425
+ };
30426
+ };
30427
+ };
30428
+ };
30298
30429
  get_support_ticket: {
30299
30430
  parameters: {
30300
30431
  query?: never;
@@ -32552,6 +32683,44 @@ interface operations {
32552
32683
  };
32553
32684
  };
32554
32685
  };
32686
+ edit_pdf_pages: {
32687
+ parameters: {
32688
+ query?: {
32689
+ /** @description The workspace to act on; defaults to the active workspace */
32690
+ workspace_ext_id?: string | null;
32691
+ };
32692
+ header?: never;
32693
+ path: {
32694
+ document_ext_id: string;
32695
+ };
32696
+ cookie?: never;
32697
+ };
32698
+ requestBody: {
32699
+ content: {
32700
+ 'application/json': components$1['schemas']['PdfPagesRequest'];
32701
+ };
32702
+ };
32703
+ responses: {
32704
+ /** @description Successful Response */
32705
+ 200: {
32706
+ headers: {
32707
+ [name: string]: unknown;
32708
+ };
32709
+ content: {
32710
+ 'application/json': unknown;
32711
+ };
32712
+ };
32713
+ /** @description Validation Error */
32714
+ 422: {
32715
+ headers: {
32716
+ [name: string]: unknown;
32717
+ };
32718
+ content: {
32719
+ 'application/json': components$1['schemas']['HTTPValidationError'];
32720
+ };
32721
+ };
32722
+ };
32723
+ };
32555
32724
  get_document_markup: {
32556
32725
  parameters: {
32557
32726
  query?: {
@@ -37351,6 +37520,39 @@ interface operations {
37351
37520
  };
37352
37521
  };
37353
37522
  };
37523
+ grant_call_agent_keys: {
37524
+ parameters: {
37525
+ query?: never;
37526
+ header?: never;
37527
+ path: {
37528
+ call_ext_id: string;
37529
+ };
37530
+ cookie?: never;
37531
+ };
37532
+ requestBody: {
37533
+ content: {
37534
+ 'application/json': components$1['schemas']['CallDelegateKeys'];
37535
+ };
37536
+ };
37537
+ responses: {
37538
+ /** @description Successful Response */
37539
+ 204: {
37540
+ headers: {
37541
+ [name: string]: unknown;
37542
+ };
37543
+ content?: never;
37544
+ };
37545
+ /** @description Validation Error */
37546
+ 422: {
37547
+ headers: {
37548
+ [name: string]: unknown;
37549
+ };
37550
+ content: {
37551
+ 'application/json': components$1['schemas']['HTTPValidationError'];
37552
+ };
37553
+ };
37554
+ };
37555
+ };
37354
37556
  get_call: {
37355
37557
  parameters: {
37356
37558
  query?: never;
@@ -44013,39 +44215,6 @@ interface operations {
44013
44215
  };
44014
44216
  };
44015
44217
  };
44016
- grant_call_agent_keys: {
44017
- parameters: {
44018
- query?: never;
44019
- header?: never;
44020
- path: {
44021
- call_ext_id: string;
44022
- };
44023
- cookie?: never;
44024
- };
44025
- requestBody: {
44026
- content: {
44027
- 'application/json': components$1['schemas']['CallDelegateKeys'];
44028
- };
44029
- };
44030
- responses: {
44031
- /** @description Successful Response */
44032
- 204: {
44033
- headers: {
44034
- [name: string]: unknown;
44035
- };
44036
- content?: never;
44037
- };
44038
- /** @description Validation Error */
44039
- 422: {
44040
- headers: {
44041
- [name: string]: unknown;
44042
- };
44043
- content: {
44044
- 'application/json': components$1['schemas']['HTTPValidationError'];
44045
- };
44046
- };
44047
- };
44048
- };
44049
44218
  }
44050
44219
 
44051
44220
  /** Compose the core API and the independently generated referrals slice. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.5.165",
3
+ "version": "0.5.167",
4
4
  "description": "TypeScript SDK for the ARBI API — zero-knowledge auth, E2E encryption, and type-safe REST client",
5
5
  "type": "module",
6
6
  "sideEffects": false,