@squidcloud/client 1.0.361 → 1.0.363

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.
@@ -21,7 +21,7 @@ export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-1.5-pro", "gemin
21
21
  /**
22
22
  * @category AI
23
23
  */
24
- export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-3-5-haiku-latest", "claude-3-5-sonnet-latest", "claude-3-7-sonnet-latest"];
24
+ export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514"];
25
25
  /**
26
26
  * AI model names supported internally by Squid.
27
27
  *
@@ -50,7 +50,7 @@ export declare const SQUID_AI_MODEL_NAMES: readonly ["dictionary"];
50
50
  * The supported AI model names.
51
51
  * @category AI
52
52
  */
53
- export declare const AI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o1-mini", "o3", "o3-mini", "o4-mini", "claude-3-5-haiku-latest", "claude-3-5-sonnet-latest", "claude-3-7-sonnet-latest", "gemini-1.5-pro", "gemini-2.0-flash", "dictionary"];
53
+ export declare const AI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o1-mini", "o3", "o3-mini", "o4-mini", "claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514", "gemini-1.5-pro", "gemini-2.0-flash", "dictionary"];
54
54
  /**
55
55
  * @category AI
56
56
  */
@@ -466,7 +466,7 @@ export interface OpenAiChatOptions extends BaseAiAgentChatOptions {
466
466
  /**
467
467
  * @category AI
468
468
  */
469
- export type OpenAiReasoningEffort = 'low' | 'medium' | 'high';
469
+ export type AiReasoningEffort = 'low' | 'medium' | 'high';
470
470
  /**
471
471
  * Chat options for OpenAI reasoning models, extending OpenAI options.
472
472
  * @category AI
@@ -475,7 +475,7 @@ export interface OpenAiReasoningChatOptions extends OpenAiChatOptions {
475
475
  /** The OpenAI reasoning model to use for the chat. */
476
476
  model?: OpenAiReasoningChatModelName;
477
477
  /** The level of reasoning effort to apply; defaults to model-specific value. */
478
- reasoningEffort?: OpenAiReasoningEffort;
478
+ reasoningEffort?: AiReasoningEffort;
479
479
  }
480
480
  /**
481
481
  * Chat options specific to Anthropic models, extending base options.
@@ -484,6 +484,8 @@ export interface OpenAiReasoningChatOptions extends OpenAiChatOptions {
484
484
  export interface AnthropicChatOptions extends BaseAiAgentChatOptions {
485
485
  /** The Anthropic model to use for the chat. */
486
486
  model?: AnthropicChatModelName;
487
+ /** The level of reasoning effort to apply. Defaults to no reasoning. */
488
+ reasoningEffort?: AiReasoningEffort;
487
489
  }
488
490
  /**
489
491
  * Optional settings for an AI session, allowing partial specification of identifiers.
@@ -1,4 +1,4 @@
1
- import { AiAgentResponseFormat, OpenAiChatModelName, OpenAiReasoningEffort } from './ai-agent.public-types';
1
+ import { AiAgentResponseFormat, OpenAiChatModelName, AiReasoningEffort } from './ai-agent.public-types';
2
2
  import { AiFunctionId } from './backend.public-types';
3
3
  /**
4
4
  * The type of assistant tool.
@@ -19,7 +19,7 @@ export interface QueryAssistantOptions {
19
19
  /** The OpenAI chat model to use for the assistant, if specified. */
20
20
  model?: OpenAiChatModelName;
21
21
  /** The level of reasoning effort to apply, as defined by OpenAI. */
22
- reasoningEffort?: OpenAiReasoningEffort;
22
+ reasoningEffort?: AiReasoningEffort;
23
23
  /** Custom instructions to guide the assistant's behavior, if provided. */
24
24
  instructions?: string;
25
25
  }
@@ -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.361";
5
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.363";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.361",
3
+ "version": "1.0.363",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",