@squidcloud/client 1.0.376 → 1.0.378

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.
@@ -410,14 +410,14 @@ export interface AiChatPromptQuotas {
410
410
  maxAiCallStackSize: number;
411
411
  }
412
412
  /**
413
- * Options for AI agent research, allowing the agent to perform research before invoking connected agents, connected
414
- * integrations, or functions.
413
+ * Options for AI agent execution plan, allowing the agent to plan what functionality to use (connected agents,
414
+ * connected, integrations, or functions).
415
415
  */
416
- export interface AiAgentResearchOptions {
417
- /** Whether to enable research for the agent. If false, no research will be performed. */
416
+ export interface AiAgentExecutionPlanOptions {
417
+ /** Whether to enable an execution plan for the agent. */
418
418
  enabled: boolean;
419
- /** The model to use for the research - defaults Claude Opus 4. */
420
- researchModel?: AiChatModelName;
419
+ /** The model to use for the execution plan - defaults to the model used by the agent. */
420
+ model?: AiChatModelName;
421
421
  /** In case the model supports reasoning, this will control the level of effort - defaults to `high`. */
422
422
  reasoningEffort?: AiReasoningEffort;
423
423
  }
@@ -499,10 +499,10 @@ export interface BaseAiChatOptions {
499
499
  /** Which provider's reranker to use for reranking the context. Defaults to 'cohere'. */
500
500
  rerankProvider?: AiRerankProvider;
501
501
  /**
502
- * Options for AI agent research, allowing the agent to perform research before invoking connected agents, connected
503
- * integrations, or functions.
502
+ * Options for AI agent execution plan, allowing the agent to perform an execution plan before invoking
503
+ * connected agents, connected integrations, or functions.
504
504
  */
505
- researchOptions?: AiAgentResearchOptions;
505
+ executionPlanOptions?: AiAgentExecutionPlanOptions;
506
506
  }
507
507
  /**
508
508
  * Chat options specific to Gemini models, extending base options.
@@ -8,4 +8,4 @@ export declare function decodeValueForMapping(encodedString: string): any;
8
8
  * This function should not be used with objects with circular references.
9
9
  * Returns true if the object are equal.
10
10
  */
11
- export declare function compareByNormalizedJsonValue<T>(a: T, b: T): boolean;
11
+ export declare function compareByNormalizedJsonValue<T>(v1: T, v2: T): boolean;
@@ -30,6 +30,8 @@ export interface ExecuteAiQueryOptions {
30
30
  overrideModel?: AiChatModelName;
31
31
  /** Whether to generate a step-by-step walkthrough for the response. */
32
32
  generateWalkthrough?: boolean;
33
+ /** The number of allowed retries in case of errors during query execution. Defaults to 2. */
34
+ maxErrorCorrections?: number;
33
35
  }
34
36
  /**
35
37
  * Response from an AI query execution.
@@ -2,4 +2,4 @@
2
2
  * The current version of the SquidCloud client package.
3
3
  * @category Platform
4
4
  */
5
- export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.376";
5
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.378";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.376",
3
+ "version": "1.0.378",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",