@arbidocs/client 0.5.120 → 0.5.121

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
@@ -9493,6 +9493,12 @@ interface components {
9493
9493
  * @default true
9494
9494
  */
9495
9495
  IMAGE_ENABLED: boolean;
9496
+ /**
9497
+ * Presentation Enabled
9498
+ * @description Slides: enable the presentation tool, which builds and changes slide decks (PowerPoint files in the Presentations folder) with clips of workspace documents, redactions burnt in.
9499
+ * @default true
9500
+ */
9501
+ PRESENTATION_ENABLED: boolean;
9496
9502
  /**
9497
9503
  * Vision Enabled
9498
9504
  * @description Enable the view_document_pages tool for visual inspection of document pages (figures, charts, scanned pages) using a vision-capable model.
@@ -9778,6 +9784,12 @@ interface components {
9778
9784
  * @default true
9779
9785
  */
9780
9786
  IMAGE_ENABLED: boolean;
9787
+ /**
9788
+ * Presentation Enabled
9789
+ * @description Slides: enable the presentation tool, which builds and changes slide decks (PowerPoint files in the Presentations folder) with clips of workspace documents, redactions burnt in.
9790
+ * @default true
9791
+ */
9792
+ PRESENTATION_ENABLED: boolean;
9781
9793
  /**
9782
9794
  * Vision Enabled
9783
9795
  * @description Enable the view_document_pages tool for visual inspection of document pages (figures, charts, scanned pages) using a vision-capable model.
@@ -9883,6 +9895,7 @@ interface components {
9883
9895
  * "SUGGESTED_QUERIES": true,
9884
9896
  * "ARTIFACTS_ENABLED": true,
9885
9897
  * "IMAGE_ENABLED": true,
9898
+ * "PRESENTATION_ENABLED": true,
9886
9899
  * "VISION_ENABLED": false,
9887
9900
  * "CONVERSATION_SEARCH_ENABLED": true,
9888
9901
  * "PERSONAL_AGENT": false,
@@ -10047,13 +10060,13 @@ interface components {
10047
10060
  * "API_TYPE": "remote",
10048
10061
  * "ENABLE_THINKING": false,
10049
10062
  * "MODEL_NAME": "dummy",
10050
- * "SYSTEM_INSTRUCTION": "You are a professional translator of legal, commercial and technical documents.\n\nYou translate the numbered passages you are given into the target language, faithfully and completely:\n- Translate every passage in full. Never summarise, shorten, merge, split, reorder, explain or comment.\n- Keep the Markdown structure of each passage exactly: headings (#), lists, emphasis, tables (same rows and columns), links and line breaks.\n- Keep unchanged: numbers, dates as written, amounts, currencies, clause and section numbering, cross-references, citations, case names, statute names, email addresses, URLs and code.\n- Keep proper names of people, companies and places as they are written, unless the glossary gives a translation.\n- Use the glossary's translation for every glossary term, every time it occurs.\n- A defined term (a capitalised or quoted term given a meaning in the document) is translated the same way everywhere.\n- A passage already in the target language, or with nothing to translate (a number, a signature line, a blank form field), is returned as it is.\n- The context passages before and after are there only so the translation reads on from its neighbours. Never translate or return them.",
10051
- * "TEMPERATURE": 0.2,
10063
+ * "SYSTEM_INSTRUCTION": "You are a professional legal translator. Translate each numbered passage into the target language, faithfully and completely: never summarise, shorten, merge, reorder or comment. Keep Markdown structure, numbers, dates, amounts, names, citations and cross-references exactly as written. Use the glossary translation for every glossary term, every time. Context passages are for reading only: never translate or return them.",
10064
+ * "TEMPERATURE": 0,
10052
10065
  * "MAX_TOKENS": 0,
10053
- * "WINDOW_TOKENS": 3000,
10054
- * "CONTEXT_TOKENS": 600,
10066
+ * "WINDOW_TOKENS": 1000,
10067
+ * "CONTEXT_TOKENS": 300,
10055
10068
  * "GLOSSARY_TOKENS": 6000,
10056
- * "MAX_CONCURRENT": 8
10069
+ * "MAX_CONCURRENT": 16
10057
10070
  * }
10058
10071
  */
10059
10072
  TranslationLLM: components['schemas']['TranslationLLMConfig'];
@@ -10461,11 +10474,11 @@ interface components {
10461
10474
  title: string;
10462
10475
  /**
10463
10476
  * Mode
10464
- * @description What the model wrote: markdown (default) or plain text — a document draft, stored as a Word document (DOCX) and opened in the Word editor; html (single-file page, rendered in a sandboxed preview); react (single-file JSX component, rendered in a sandboxed preview); or image (a generated image artifact — render the doc via the image viewer)
10477
+ * @description What the model wrote: markdown (default) or plain text — a document draft, stored as a Word document (DOCX) and opened in the Word editor; html (single-file page, rendered in a sandboxed preview); react (single-file JSX component, rendered in a sandboxed preview); image (a generated image artifact — render the doc via the image viewer); or presentation (a slide deck the assistant saved, a .pptx in Presentations: open or reload it in the slides editor; version_of is set when it is a new version of the deck open beside the chat, empty for a new deck)
10465
10478
  * @default markdown
10466
10479
  * @enum {string}
10467
10480
  */
10468
- mode: 'markdown' | 'html' | 'text' | 'react' | 'image';
10481
+ mode: 'markdown' | 'html' | 'text' | 'react' | 'image' | 'presentation';
10469
10482
  /**
10470
10483
  * Content
10471
10484
  * @description What the model wrote: the Markdown/text of a document draft (a preview: the document is the stored DOCX), or the html/jsx source; empty for image mode
@@ -10473,7 +10486,7 @@ interface components {
10473
10486
  content: string;
10474
10487
  /**
10475
10488
  * File Type
10476
- * @description Bare extension of the stored file: 'docx' for a document draft (markdown/text), 'html' or 'jsx' for a UI artifact, the image's (e.g. 'png') for image mode
10489
+ * @description Bare extension of the stored file: 'docx' for a document draft (markdown/text), 'html' or 'jsx' for a UI artifact, the image's (e.g. 'png') for image mode, 'pptx' for a presentation
10477
10490
  * @default
10478
10491
  */
10479
10492
  file_type: string;
@@ -24486,23 +24499,13 @@ interface components {
24486
24499
  MODEL_NAME: string;
24487
24500
  /**
24488
24501
  * System Instruction
24489
- * @default You are a professional translator of legal, commercial and technical documents.
24490
- *
24491
- * You translate the numbered passages you are given into the target language, faithfully and completely:
24492
- * - Translate every passage in full. Never summarise, shorten, merge, split, reorder, explain or comment.
24493
- * - Keep the Markdown structure of each passage exactly: headings (#), lists, emphasis, tables (same rows and columns), links and line breaks.
24494
- * - Keep unchanged: numbers, dates as written, amounts, currencies, clause and section numbering, cross-references, citations, case names, statute names, email addresses, URLs and code.
24495
- * - Keep proper names of people, companies and places as they are written, unless the glossary gives a translation.
24496
- * - Use the glossary's translation for every glossary term, every time it occurs.
24497
- * - A defined term (a capitalised or quoted term given a meaning in the document) is translated the same way everywhere.
24498
- * - A passage already in the target language, or with nothing to translate (a number, a signature line, a blank form field), is returned as it is.
24499
- * - The context passages before and after are there only so the translation reads on from its neighbours. Never translate or return them.
24502
+ * @default You are a professional legal translator. Translate each numbered passage into the target language, faithfully and completely: never summarise, shorten, merge, reorder or comment. Keep Markdown structure, numbers, dates, amounts, names, citations and cross-references exactly as written. Use the glossary translation for every glossary term, every time. Context passages are for reading only: never translate or return them.
24500
24503
  */
24501
24504
  SYSTEM_INSTRUCTION: string;
24502
24505
  /**
24503
24506
  * Temperature
24504
- * @description Low temperature for faithful translation.
24505
- * @default 0.2
24507
+ * @description Greedy decoding for faithful, repeatable translation.
24508
+ * @default 0
24506
24509
  */
24507
24510
  TEMPERATURE: number;
24508
24511
  /**
@@ -24514,13 +24517,13 @@ interface components {
24514
24517
  /**
24515
24518
  * Window Tokens
24516
24519
  * @description Source tokens translated per call (whole passages; a larger passage goes alone).
24517
- * @default 3000
24520
+ * @default 1000
24518
24521
  */
24519
24522
  WINDOW_TOKENS: number;
24520
24523
  /**
24521
24524
  * Context Tokens
24522
24525
  * @description Source tokens before and after a window shown as read-only context.
24523
- * @default 600
24526
+ * @default 300
24524
24527
  */
24525
24528
  CONTEXT_TOKENS: number;
24526
24529
  /**
@@ -24531,8 +24534,8 @@ interface components {
24531
24534
  GLOSSARY_TOKENS: number;
24532
24535
  /**
24533
24536
  * Max Concurrent
24534
- * @description Maximum concurrent translation calls.
24535
- * @default 8
24537
+ * @description Maximum concurrent translation calls per worker process. The limit is fixed by the first translation a process runs, so the default is what applies in practice.
24538
+ * @default 16
24536
24539
  */
24537
24540
  MAX_CONCURRENT: number;
24538
24541
  };
package/dist/index.d.ts CHANGED
@@ -9493,6 +9493,12 @@ interface components {
9493
9493
  * @default true
9494
9494
  */
9495
9495
  IMAGE_ENABLED: boolean;
9496
+ /**
9497
+ * Presentation Enabled
9498
+ * @description Slides: enable the presentation tool, which builds and changes slide decks (PowerPoint files in the Presentations folder) with clips of workspace documents, redactions burnt in.
9499
+ * @default true
9500
+ */
9501
+ PRESENTATION_ENABLED: boolean;
9496
9502
  /**
9497
9503
  * Vision Enabled
9498
9504
  * @description Enable the view_document_pages tool for visual inspection of document pages (figures, charts, scanned pages) using a vision-capable model.
@@ -9778,6 +9784,12 @@ interface components {
9778
9784
  * @default true
9779
9785
  */
9780
9786
  IMAGE_ENABLED: boolean;
9787
+ /**
9788
+ * Presentation Enabled
9789
+ * @description Slides: enable the presentation tool, which builds and changes slide decks (PowerPoint files in the Presentations folder) with clips of workspace documents, redactions burnt in.
9790
+ * @default true
9791
+ */
9792
+ PRESENTATION_ENABLED: boolean;
9781
9793
  /**
9782
9794
  * Vision Enabled
9783
9795
  * @description Enable the view_document_pages tool for visual inspection of document pages (figures, charts, scanned pages) using a vision-capable model.
@@ -9883,6 +9895,7 @@ interface components {
9883
9895
  * "SUGGESTED_QUERIES": true,
9884
9896
  * "ARTIFACTS_ENABLED": true,
9885
9897
  * "IMAGE_ENABLED": true,
9898
+ * "PRESENTATION_ENABLED": true,
9886
9899
  * "VISION_ENABLED": false,
9887
9900
  * "CONVERSATION_SEARCH_ENABLED": true,
9888
9901
  * "PERSONAL_AGENT": false,
@@ -10047,13 +10060,13 @@ interface components {
10047
10060
  * "API_TYPE": "remote",
10048
10061
  * "ENABLE_THINKING": false,
10049
10062
  * "MODEL_NAME": "dummy",
10050
- * "SYSTEM_INSTRUCTION": "You are a professional translator of legal, commercial and technical documents.\n\nYou translate the numbered passages you are given into the target language, faithfully and completely:\n- Translate every passage in full. Never summarise, shorten, merge, split, reorder, explain or comment.\n- Keep the Markdown structure of each passage exactly: headings (#), lists, emphasis, tables (same rows and columns), links and line breaks.\n- Keep unchanged: numbers, dates as written, amounts, currencies, clause and section numbering, cross-references, citations, case names, statute names, email addresses, URLs and code.\n- Keep proper names of people, companies and places as they are written, unless the glossary gives a translation.\n- Use the glossary's translation for every glossary term, every time it occurs.\n- A defined term (a capitalised or quoted term given a meaning in the document) is translated the same way everywhere.\n- A passage already in the target language, or with nothing to translate (a number, a signature line, a blank form field), is returned as it is.\n- The context passages before and after are there only so the translation reads on from its neighbours. Never translate or return them.",
10051
- * "TEMPERATURE": 0.2,
10063
+ * "SYSTEM_INSTRUCTION": "You are a professional legal translator. Translate each numbered passage into the target language, faithfully and completely: never summarise, shorten, merge, reorder or comment. Keep Markdown structure, numbers, dates, amounts, names, citations and cross-references exactly as written. Use the glossary translation for every glossary term, every time. Context passages are for reading only: never translate or return them.",
10064
+ * "TEMPERATURE": 0,
10052
10065
  * "MAX_TOKENS": 0,
10053
- * "WINDOW_TOKENS": 3000,
10054
- * "CONTEXT_TOKENS": 600,
10066
+ * "WINDOW_TOKENS": 1000,
10067
+ * "CONTEXT_TOKENS": 300,
10055
10068
  * "GLOSSARY_TOKENS": 6000,
10056
- * "MAX_CONCURRENT": 8
10069
+ * "MAX_CONCURRENT": 16
10057
10070
  * }
10058
10071
  */
10059
10072
  TranslationLLM: components['schemas']['TranslationLLMConfig'];
@@ -10461,11 +10474,11 @@ interface components {
10461
10474
  title: string;
10462
10475
  /**
10463
10476
  * Mode
10464
- * @description What the model wrote: markdown (default) or plain text — a document draft, stored as a Word document (DOCX) and opened in the Word editor; html (single-file page, rendered in a sandboxed preview); react (single-file JSX component, rendered in a sandboxed preview); or image (a generated image artifact — render the doc via the image viewer)
10477
+ * @description What the model wrote: markdown (default) or plain text — a document draft, stored as a Word document (DOCX) and opened in the Word editor; html (single-file page, rendered in a sandboxed preview); react (single-file JSX component, rendered in a sandboxed preview); image (a generated image artifact — render the doc via the image viewer); or presentation (a slide deck the assistant saved, a .pptx in Presentations: open or reload it in the slides editor; version_of is set when it is a new version of the deck open beside the chat, empty for a new deck)
10465
10478
  * @default markdown
10466
10479
  * @enum {string}
10467
10480
  */
10468
- mode: 'markdown' | 'html' | 'text' | 'react' | 'image';
10481
+ mode: 'markdown' | 'html' | 'text' | 'react' | 'image' | 'presentation';
10469
10482
  /**
10470
10483
  * Content
10471
10484
  * @description What the model wrote: the Markdown/text of a document draft (a preview: the document is the stored DOCX), or the html/jsx source; empty for image mode
@@ -10473,7 +10486,7 @@ interface components {
10473
10486
  content: string;
10474
10487
  /**
10475
10488
  * File Type
10476
- * @description Bare extension of the stored file: 'docx' for a document draft (markdown/text), 'html' or 'jsx' for a UI artifact, the image's (e.g. 'png') for image mode
10489
+ * @description Bare extension of the stored file: 'docx' for a document draft (markdown/text), 'html' or 'jsx' for a UI artifact, the image's (e.g. 'png') for image mode, 'pptx' for a presentation
10477
10490
  * @default
10478
10491
  */
10479
10492
  file_type: string;
@@ -24486,23 +24499,13 @@ interface components {
24486
24499
  MODEL_NAME: string;
24487
24500
  /**
24488
24501
  * System Instruction
24489
- * @default You are a professional translator of legal, commercial and technical documents.
24490
- *
24491
- * You translate the numbered passages you are given into the target language, faithfully and completely:
24492
- * - Translate every passage in full. Never summarise, shorten, merge, split, reorder, explain or comment.
24493
- * - Keep the Markdown structure of each passage exactly: headings (#), lists, emphasis, tables (same rows and columns), links and line breaks.
24494
- * - Keep unchanged: numbers, dates as written, amounts, currencies, clause and section numbering, cross-references, citations, case names, statute names, email addresses, URLs and code.
24495
- * - Keep proper names of people, companies and places as they are written, unless the glossary gives a translation.
24496
- * - Use the glossary's translation for every glossary term, every time it occurs.
24497
- * - A defined term (a capitalised or quoted term given a meaning in the document) is translated the same way everywhere.
24498
- * - A passage already in the target language, or with nothing to translate (a number, a signature line, a blank form field), is returned as it is.
24499
- * - The context passages before and after are there only so the translation reads on from its neighbours. Never translate or return them.
24502
+ * @default You are a professional legal translator. Translate each numbered passage into the target language, faithfully and completely: never summarise, shorten, merge, reorder or comment. Keep Markdown structure, numbers, dates, amounts, names, citations and cross-references exactly as written. Use the glossary translation for every glossary term, every time. Context passages are for reading only: never translate or return them.
24500
24503
  */
24501
24504
  SYSTEM_INSTRUCTION: string;
24502
24505
  /**
24503
24506
  * Temperature
24504
- * @description Low temperature for faithful translation.
24505
- * @default 0.2
24507
+ * @description Greedy decoding for faithful, repeatable translation.
24508
+ * @default 0
24506
24509
  */
24507
24510
  TEMPERATURE: number;
24508
24511
  /**
@@ -24514,13 +24517,13 @@ interface components {
24514
24517
  /**
24515
24518
  * Window Tokens
24516
24519
  * @description Source tokens translated per call (whole passages; a larger passage goes alone).
24517
- * @default 3000
24520
+ * @default 1000
24518
24521
  */
24519
24522
  WINDOW_TOKENS: number;
24520
24523
  /**
24521
24524
  * Context Tokens
24522
24525
  * @description Source tokens before and after a window shown as read-only context.
24523
- * @default 600
24526
+ * @default 300
24524
24527
  */
24525
24528
  CONTEXT_TOKENS: number;
24526
24529
  /**
@@ -24531,8 +24534,8 @@ interface components {
24531
24534
  GLOSSARY_TOKENS: number;
24532
24535
  /**
24533
24536
  * Max Concurrent
24534
- * @description Maximum concurrent translation calls.
24535
- * @default 8
24537
+ * @description Maximum concurrent translation calls per worker process. The limit is fixed by the first translation a process runs, so the default is what applies in practice.
24538
+ * @default 16
24536
24539
  */
24537
24540
  MAX_CONCURRENT: number;
24538
24541
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.5.120",
3
+ "version": "0.5.121",
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,