@arbidocs/client 0.3.154 → 0.3.155

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
@@ -3355,7 +3355,7 @@ interface components {
3355
3355
  * Step
3356
3356
  * @description Lifecycle step. Absent (None) for tool-call steps, which carry `detail` instead.
3357
3357
  */
3358
- step?: ('goal' | 'skill' | 'interjection' | 'planning' | 'tool_progress' | 'goal_progress' | 'answering' | 'evaluation') | null;
3358
+ step?: ('goal' | 'skill' | 'interjection' | 'reply' | 'planning' | 'tool_progress' | 'goal_progress' | 'answering' | 'evaluation') | null;
3359
3359
  /**
3360
3360
  * Label
3361
3361
  * @description Display label for the step. Backend-driven, no frontend mapping needed.
@@ -4287,7 +4287,7 @@ interface components {
4287
4287
  * Step
4288
4288
  * @description Which lifecycle moment this item IS — stated, not inferred. A Responses item type (message / function_call / reasoning) is too coarse for the trace: three different reasoning items are the goal, the plan and a goal check, and the answer is a `message` item that is nonetheless a trace row. Clients previously sniffed `label` prefixes to tell them apart, which broke the moment a label was reworded or localised. Absent on plain tool calls (they carry `detail`) and on narration messages (which are body text, not a step).
4289
4289
  */
4290
- step?: ('goal' | 'skill' | 'interjection' | 'planning' | 'tool_progress' | 'goal_progress' | 'answering' | 'evaluation') | null;
4290
+ step?: ('goal' | 'skill' | 'interjection' | 'reply' | 'planning' | 'tool_progress' | 'goal_progress' | 'answering' | 'evaluation') | null;
4291
4291
  /**
4292
4292
  * Label
4293
4293
  * @description Human display label. Backend-owned.
@@ -6926,6 +6926,40 @@ interface components {
6926
6926
  */
6927
6927
  TEMPERATURE: number;
6928
6928
  };
6929
+ /** ImageGenerationTool */
6930
+ ImageGenerationTool: {
6931
+ /**
6932
+ * @description discriminator enum property added by openapi-typescript
6933
+ * @enum {string}
6934
+ */
6935
+ name: 'image_generation';
6936
+ /**
6937
+ * Description
6938
+ * @default image generation
6939
+ */
6940
+ description: string;
6941
+ /** @default {} */
6942
+ tool_args: components['schemas']['ImageGenerationToolArgs'];
6943
+ /**
6944
+ * Tool Responses
6945
+ * @default {}
6946
+ */
6947
+ tool_responses: {
6948
+ [key: string]: unknown;
6949
+ };
6950
+ };
6951
+ /**
6952
+ * ImageGenerationToolArgs
6953
+ * @description Typed arguments for image generation — structured sibling of
6954
+ * RetrievalFullContextToolArgs.doc_ext_ids: whether the model decides to call
6955
+ * create_image itself, or the /image command carries a UI-selected value,
6956
+ * this is the one shape both paths read/write (see command_registry.py
6957
+ * CMD_IMAGE and create_image.py generate_image).
6958
+ */
6959
+ ImageGenerationToolArgs: {
6960
+ /** Aspect Ratio */
6961
+ aspect_ratio?: string | null;
6962
+ };
6929
6963
  /**
6930
6964
  * ImportedConversationInfo
6931
6965
  * @description Summary of a single conversation created by an import.
@@ -7237,7 +7271,7 @@ interface components {
7237
7271
  input: string;
7238
7272
  /** Tools */
7239
7273
  tools?: {
7240
- [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'];
7274
+ [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'];
7241
7275
  };
7242
7276
  /**
7243
7277
  * Workspace Ext Id
@@ -7289,7 +7323,7 @@ interface components {
7289
7323
  content: string;
7290
7324
  /** Tools */
7291
7325
  tools?: {
7292
- [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'];
7326
+ [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'];
7293
7327
  };
7294
7328
  /** Config Ext Id */
7295
7329
  config_ext_id?: string | null;
@@ -7400,7 +7434,7 @@ interface components {
7400
7434
  content: string;
7401
7435
  /** Tools */
7402
7436
  tools?: {
7403
- [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'];
7437
+ [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'];
7404
7438
  };
7405
7439
  /** Config Ext Id */
7406
7440
  config_ext_id?: string | null;
@@ -10909,7 +10943,7 @@ interface components {
10909
10943
  content: string;
10910
10944
  /** Tools */
10911
10945
  tools?: {
10912
- [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'];
10946
+ [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'];
10913
10947
  };
10914
10948
  /** Config Ext Id */
10915
10949
  config_ext_id?: string | null;
package/dist/index.d.ts CHANGED
@@ -3355,7 +3355,7 @@ interface components {
3355
3355
  * Step
3356
3356
  * @description Lifecycle step. Absent (None) for tool-call steps, which carry `detail` instead.
3357
3357
  */
3358
- step?: ('goal' | 'skill' | 'interjection' | 'planning' | 'tool_progress' | 'goal_progress' | 'answering' | 'evaluation') | null;
3358
+ step?: ('goal' | 'skill' | 'interjection' | 'reply' | 'planning' | 'tool_progress' | 'goal_progress' | 'answering' | 'evaluation') | null;
3359
3359
  /**
3360
3360
  * Label
3361
3361
  * @description Display label for the step. Backend-driven, no frontend mapping needed.
@@ -4287,7 +4287,7 @@ interface components {
4287
4287
  * Step
4288
4288
  * @description Which lifecycle moment this item IS — stated, not inferred. A Responses item type (message / function_call / reasoning) is too coarse for the trace: three different reasoning items are the goal, the plan and a goal check, and the answer is a `message` item that is nonetheless a trace row. Clients previously sniffed `label` prefixes to tell them apart, which broke the moment a label was reworded or localised. Absent on plain tool calls (they carry `detail`) and on narration messages (which are body text, not a step).
4289
4289
  */
4290
- step?: ('goal' | 'skill' | 'interjection' | 'planning' | 'tool_progress' | 'goal_progress' | 'answering' | 'evaluation') | null;
4290
+ step?: ('goal' | 'skill' | 'interjection' | 'reply' | 'planning' | 'tool_progress' | 'goal_progress' | 'answering' | 'evaluation') | null;
4291
4291
  /**
4292
4292
  * Label
4293
4293
  * @description Human display label. Backend-owned.
@@ -6926,6 +6926,40 @@ interface components {
6926
6926
  */
6927
6927
  TEMPERATURE: number;
6928
6928
  };
6929
+ /** ImageGenerationTool */
6930
+ ImageGenerationTool: {
6931
+ /**
6932
+ * @description discriminator enum property added by openapi-typescript
6933
+ * @enum {string}
6934
+ */
6935
+ name: 'image_generation';
6936
+ /**
6937
+ * Description
6938
+ * @default image generation
6939
+ */
6940
+ description: string;
6941
+ /** @default {} */
6942
+ tool_args: components['schemas']['ImageGenerationToolArgs'];
6943
+ /**
6944
+ * Tool Responses
6945
+ * @default {}
6946
+ */
6947
+ tool_responses: {
6948
+ [key: string]: unknown;
6949
+ };
6950
+ };
6951
+ /**
6952
+ * ImageGenerationToolArgs
6953
+ * @description Typed arguments for image generation — structured sibling of
6954
+ * RetrievalFullContextToolArgs.doc_ext_ids: whether the model decides to call
6955
+ * create_image itself, or the /image command carries a UI-selected value,
6956
+ * this is the one shape both paths read/write (see command_registry.py
6957
+ * CMD_IMAGE and create_image.py generate_image).
6958
+ */
6959
+ ImageGenerationToolArgs: {
6960
+ /** Aspect Ratio */
6961
+ aspect_ratio?: string | null;
6962
+ };
6929
6963
  /**
6930
6964
  * ImportedConversationInfo
6931
6965
  * @description Summary of a single conversation created by an import.
@@ -7237,7 +7271,7 @@ interface components {
7237
7271
  input: string;
7238
7272
  /** Tools */
7239
7273
  tools?: {
7240
- [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'];
7274
+ [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'];
7241
7275
  };
7242
7276
  /**
7243
7277
  * Workspace Ext Id
@@ -7289,7 +7323,7 @@ interface components {
7289
7323
  content: string;
7290
7324
  /** Tools */
7291
7325
  tools?: {
7292
- [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'];
7326
+ [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'];
7293
7327
  };
7294
7328
  /** Config Ext Id */
7295
7329
  config_ext_id?: string | null;
@@ -7400,7 +7434,7 @@ interface components {
7400
7434
  content: string;
7401
7435
  /** Tools */
7402
7436
  tools?: {
7403
- [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'];
7437
+ [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'];
7404
7438
  };
7405
7439
  /** Config Ext Id */
7406
7440
  config_ext_id?: string | null;
@@ -10909,7 +10943,7 @@ interface components {
10909
10943
  content: string;
10910
10944
  /** Tools */
10911
10945
  tools?: {
10912
- [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'];
10946
+ [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'];
10913
10947
  };
10914
10948
  /** Config Ext Id */
10915
10949
  config_ext_id?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.3.154",
3
+ "version": "0.3.155",
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",