@arbidocs/client 0.3.106 → 0.3.107

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
@@ -2907,6 +2907,12 @@ interface components {
2907
2907
  * @default false
2908
2908
  */
2909
2909
  ARTIFACTS_ENABLED: boolean;
2910
+ /**
2911
+ * Image Enabled
2912
+ * @description Enable the create_image tool for generating and editing images (text→image, or editing reference images from the workspace) via a chat image model, stored as an image artifact displayed in the panel.
2913
+ * @default false
2914
+ */
2915
+ IMAGE_ENABLED: boolean;
2910
2916
  /**
2911
2917
  * Vision Enabled
2912
2918
  * @description Enable the view_document_pages tool for visual inspection of document pages (figures, charts, scanned pages) using a vision-capable model.
@@ -3138,6 +3144,12 @@ interface components {
3138
3144
  * @default false
3139
3145
  */
3140
3146
  ARTIFACTS_ENABLED: boolean;
3147
+ /**
3148
+ * Image Enabled
3149
+ * @description Enable the create_image tool for generating and editing images (text→image, or editing reference images from the workspace) via a chat image model, stored as an image artifact displayed in the panel.
3150
+ * @default false
3151
+ */
3152
+ IMAGE_ENABLED: boolean;
3141
3153
  /**
3142
3154
  * Vision Enabled
3143
3155
  * @description Enable the view_document_pages tool for visual inspection of document pages (figures, charts, scanned pages) using a vision-capable model.
@@ -3229,6 +3241,7 @@ interface components {
3229
3241
  * "DEEP_RESEARCH_ENABLED": true,
3230
3242
  * "SUGGESTED_QUERIES": false,
3231
3243
  * "ARTIFACTS_ENABLED": false,
3244
+ * "IMAGE_ENABLED": false,
3232
3245
  * "VISION_ENABLED": false,
3233
3246
  * "CONVERSATION_SEARCH_ENABLED": false,
3234
3247
  * "PERSONAL_AGENT": false,
@@ -3426,6 +3439,15 @@ interface components {
3426
3439
  * }
3427
3440
  */
3428
3441
  VisionLLM: components['schemas']['VisionLLMConfig'];
3442
+ /**
3443
+ * @default {
3444
+ * "API_TYPE": "remote",
3445
+ * "ENABLE_THINKING": false,
3446
+ * "MODEL_NAME": "imagegen-Banana2@Google",
3447
+ * "TEMPERATURE": 1
3448
+ * }
3449
+ */
3450
+ ImageGen: components['schemas']['ImageGenConfig'];
3429
3451
  /**
3430
3452
  * @default {
3431
3453
  * "API_TYPE": "remote",
@@ -3663,16 +3685,22 @@ interface components {
3663
3685
  title: string;
3664
3686
  /**
3665
3687
  * Mode
3666
- * @description Rendering mode: markdown (default, supports redlines), html, or plain text
3688
+ * @description Rendering mode: markdown (default, supports redlines), html, plain text, or image (a generated image artifact — render the doc via the image viewer)
3667
3689
  * @default markdown
3668
3690
  * @enum {string}
3669
3691
  */
3670
- mode: 'markdown' | 'html' | 'text';
3692
+ mode: 'markdown' | 'html' | 'text' | 'image';
3671
3693
  /**
3672
3694
  * Content
3673
- * @description The artifact content (markdown, html, or plain text)
3695
+ * @description The artifact content (markdown/html/text; empty for image mode)
3674
3696
  */
3675
3697
  content: string;
3698
+ /**
3699
+ * File Type
3700
+ * @description Bare file extension for image-mode artifacts (e.g. 'png'); empty for text modes
3701
+ * @default
3702
+ */
3703
+ file_type: string;
3676
3704
  /**
3677
3705
  * Is Complete
3678
3706
  * @description Whether the artifact is fully generated (False during streaming)
@@ -5515,6 +5543,40 @@ interface components {
5515
5543
  /** Detail */
5516
5544
  detail?: components['schemas']['ValidationError'][];
5517
5545
  };
5546
+ /**
5547
+ * ImageGenConfig
5548
+ * @description Configuration for ImageGen — conversational text→image / image editing.
5549
+ *
5550
+ * Uses a chat-completions image model (Nano Banana 2 = imagegen-Banana2@Google)
5551
+ * that returns generated images in message.images.
5552
+ */
5553
+ ImageGenConfig: {
5554
+ /**
5555
+ * Api Type
5556
+ * @description The inference type (local or remote).
5557
+ * @default remote
5558
+ * @enum {string}
5559
+ */
5560
+ API_TYPE: 'local' | 'remote';
5561
+ /**
5562
+ * Enable Thinking
5563
+ * @description Enable reasoning/thinking mode.
5564
+ * @default false
5565
+ */
5566
+ ENABLE_THINKING: boolean;
5567
+ /**
5568
+ * Model Name
5569
+ * @description Image-generation model (chat-completions with image modality).
5570
+ * @default imagegen-Banana2@Google
5571
+ */
5572
+ MODEL_NAME: string;
5573
+ /**
5574
+ * Temperature
5575
+ * @description Sampling temperature for image generation.
5576
+ * @default 1
5577
+ */
5578
+ TEMPERATURE: number;
5579
+ };
5518
5580
  /**
5519
5581
  * ImportedConversationInfo
5520
5582
  * @description Summary of a single conversation created by an import.
package/dist/index.d.ts CHANGED
@@ -2907,6 +2907,12 @@ interface components {
2907
2907
  * @default false
2908
2908
  */
2909
2909
  ARTIFACTS_ENABLED: boolean;
2910
+ /**
2911
+ * Image Enabled
2912
+ * @description Enable the create_image tool for generating and editing images (text→image, or editing reference images from the workspace) via a chat image model, stored as an image artifact displayed in the panel.
2913
+ * @default false
2914
+ */
2915
+ IMAGE_ENABLED: boolean;
2910
2916
  /**
2911
2917
  * Vision Enabled
2912
2918
  * @description Enable the view_document_pages tool for visual inspection of document pages (figures, charts, scanned pages) using a vision-capable model.
@@ -3138,6 +3144,12 @@ interface components {
3138
3144
  * @default false
3139
3145
  */
3140
3146
  ARTIFACTS_ENABLED: boolean;
3147
+ /**
3148
+ * Image Enabled
3149
+ * @description Enable the create_image tool for generating and editing images (text→image, or editing reference images from the workspace) via a chat image model, stored as an image artifact displayed in the panel.
3150
+ * @default false
3151
+ */
3152
+ IMAGE_ENABLED: boolean;
3141
3153
  /**
3142
3154
  * Vision Enabled
3143
3155
  * @description Enable the view_document_pages tool for visual inspection of document pages (figures, charts, scanned pages) using a vision-capable model.
@@ -3229,6 +3241,7 @@ interface components {
3229
3241
  * "DEEP_RESEARCH_ENABLED": true,
3230
3242
  * "SUGGESTED_QUERIES": false,
3231
3243
  * "ARTIFACTS_ENABLED": false,
3244
+ * "IMAGE_ENABLED": false,
3232
3245
  * "VISION_ENABLED": false,
3233
3246
  * "CONVERSATION_SEARCH_ENABLED": false,
3234
3247
  * "PERSONAL_AGENT": false,
@@ -3426,6 +3439,15 @@ interface components {
3426
3439
  * }
3427
3440
  */
3428
3441
  VisionLLM: components['schemas']['VisionLLMConfig'];
3442
+ /**
3443
+ * @default {
3444
+ * "API_TYPE": "remote",
3445
+ * "ENABLE_THINKING": false,
3446
+ * "MODEL_NAME": "imagegen-Banana2@Google",
3447
+ * "TEMPERATURE": 1
3448
+ * }
3449
+ */
3450
+ ImageGen: components['schemas']['ImageGenConfig'];
3429
3451
  /**
3430
3452
  * @default {
3431
3453
  * "API_TYPE": "remote",
@@ -3663,16 +3685,22 @@ interface components {
3663
3685
  title: string;
3664
3686
  /**
3665
3687
  * Mode
3666
- * @description Rendering mode: markdown (default, supports redlines), html, or plain text
3688
+ * @description Rendering mode: markdown (default, supports redlines), html, plain text, or image (a generated image artifact — render the doc via the image viewer)
3667
3689
  * @default markdown
3668
3690
  * @enum {string}
3669
3691
  */
3670
- mode: 'markdown' | 'html' | 'text';
3692
+ mode: 'markdown' | 'html' | 'text' | 'image';
3671
3693
  /**
3672
3694
  * Content
3673
- * @description The artifact content (markdown, html, or plain text)
3695
+ * @description The artifact content (markdown/html/text; empty for image mode)
3674
3696
  */
3675
3697
  content: string;
3698
+ /**
3699
+ * File Type
3700
+ * @description Bare file extension for image-mode artifacts (e.g. 'png'); empty for text modes
3701
+ * @default
3702
+ */
3703
+ file_type: string;
3676
3704
  /**
3677
3705
  * Is Complete
3678
3706
  * @description Whether the artifact is fully generated (False during streaming)
@@ -5515,6 +5543,40 @@ interface components {
5515
5543
  /** Detail */
5516
5544
  detail?: components['schemas']['ValidationError'][];
5517
5545
  };
5546
+ /**
5547
+ * ImageGenConfig
5548
+ * @description Configuration for ImageGen — conversational text→image / image editing.
5549
+ *
5550
+ * Uses a chat-completions image model (Nano Banana 2 = imagegen-Banana2@Google)
5551
+ * that returns generated images in message.images.
5552
+ */
5553
+ ImageGenConfig: {
5554
+ /**
5555
+ * Api Type
5556
+ * @description The inference type (local or remote).
5557
+ * @default remote
5558
+ * @enum {string}
5559
+ */
5560
+ API_TYPE: 'local' | 'remote';
5561
+ /**
5562
+ * Enable Thinking
5563
+ * @description Enable reasoning/thinking mode.
5564
+ * @default false
5565
+ */
5566
+ ENABLE_THINKING: boolean;
5567
+ /**
5568
+ * Model Name
5569
+ * @description Image-generation model (chat-completions with image modality).
5570
+ * @default imagegen-Banana2@Google
5571
+ */
5572
+ MODEL_NAME: string;
5573
+ /**
5574
+ * Temperature
5575
+ * @description Sampling temperature for image generation.
5576
+ * @default 1
5577
+ */
5578
+ TEMPERATURE: number;
5579
+ };
5518
5580
  /**
5519
5581
  * ImportedConversationInfo
5520
5582
  * @description Summary of a single conversation created by an import.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.3.106",
3
+ "version": "0.3.107",
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
  "main": "dist/index.cjs",