@squidcloud/client 1.0.417 → 1.0.418

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.
@@ -191,6 +191,11 @@ export interface AiConnectedIntegrationMetadata<AiConnectedIntegrationOptionsTyp
191
191
  * Squid Core or AI functions in connector packages may use these options to adjust behavior of the integration agent.
192
192
  */
193
193
  options?: AiConnectedIntegrationOptionsType;
194
+ /**
195
+ * Indicates that this integration should be treated as an MCP server.
196
+ * When true, API integrations with exposeAsMcpServer will be handled through the MCP protocol.
197
+ */
198
+ connectedAsMcp?: boolean;
194
199
  }
195
200
  /**
196
201
  * Metadata for a connected AI agent callable by the current agent.
@@ -237,6 +242,12 @@ export interface AiAgentExecutionPlanOptions {
237
242
  model?: AiChatModelName;
238
243
  /** In case the model supports reasoning, this will control the level of effort - defaults to `high`. */
239
244
  reasoningEffort?: AiReasoningEffort;
245
+ /**
246
+ * Whether the agent is allowed to ask follow-up or clarification questions.
247
+ * If true, the agent can respond with questions to gather more information before completing the task.
248
+ * Defaults to false.
249
+ */
250
+ allowClarificationQuestions?: boolean;
240
251
  }
241
252
  /**
242
253
  * Options for AI agent memory management.
@@ -23,7 +23,7 @@ export type AiFileProviderType = Extract<AiProviderType, 'openai' | 'gemini' | '
23
23
  /**
24
24
  * @category AI
25
25
  */
26
- export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["o1", "o3", "o3-mini", "o4-mini", "gpt-5", "gpt-5-mini", "gpt-5-nano", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-mini"];
26
+ export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["o1", "o3", "o3-mini", "o4-mini", "gpt-5", "gpt-5-mini", "gpt-5-nano", "gpt-5.1", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-mini"];
27
27
  /**
28
28
  * @category AI
29
29
  */
@@ -45,7 +45,7 @@ export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-3-7-sonnet-la
45
45
  * The supported AI model names.
46
46
  * @category AI
47
47
  */
48
- export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["o1", "o3", "o3-mini", "o4-mini", "gpt-5", "gpt-5-mini", "gpt-5-nano", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-mini", "claude-3-7-sonnet-latest", "claude-haiku-4-5-20251001", "claude-opus-4-20250514", "claude-opus-4-1-20250805", "claude-sonnet-4-20250514", "claude-sonnet-4-5-20250929", "gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite", "grok-3", "grok-3-fast", "grok-3-mini", "grok-3-mini-fast", "grok-4", "grok-4-fast-reasoning", "grok-4-fast-non-reasoning"];
48
+ export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["o1", "o3", "o3-mini", "o4-mini", "gpt-5", "gpt-5-mini", "gpt-5-nano", "gpt-5.1", "gpt-4.1", "gpt-4.1-mini", "gpt-4.1-nano", "gpt-4o", "gpt-4o-mini", "claude-3-7-sonnet-latest", "claude-haiku-4-5-20251001", "claude-opus-4-20250514", "claude-opus-4-1-20250805", "claude-sonnet-4-20250514", "claude-sonnet-4-5-20250929", "gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite", "grok-3", "grok-3-fast", "grok-3-mini", "grok-3-mini-fast", "grok-4", "grok-4-fast-reasoning", "grok-4-fast-non-reasoning"];
49
49
  /**
50
50
  * Check if the given model name is a global AI chat model name.
51
51
  */
@@ -1,6 +1,6 @@
1
1
  import { IntegrationId } from './communication.public-types';
2
2
  /** List of all integration types supported by Squid. */
3
- export declare const INTEGRATION_TYPES: readonly ["active_directory", "ai_agents", "ai_chatbot", "algolia", "alloydb", "api", "auth0", "azure_cosmosdb", "azure_postgresql", "azure_sql", "bigquery", "built_in_db", "built_in_gcs", "built_in_queue", "built_in_s3", "cassandra", "clickhouse", "cloudsql", "cockroach", "cognito", "connected_knowledgebases", "confluence", "confluent", "datadog", "db2", "descope", "documentdb", "dynamodb", "elasticsearch", "firebase_auth", "firestore", "gcs", "google_calendar", "google_docs", "google_drive", "graphql", "hubspot", "jira", "jwt_hmac", "jwt_rsa", "kafka", "keycloak", "linear", "mariadb", "monday", "mongo", "mssql", "databricks", "mysql", "newrelic", "okta", "onedrive", "oracledb", "pinecone", "postgres", "redis", "s3", "salesforce_crm", "sap_hana", "sentry", "servicenow", "snowflake", "spanner", "xata", "zendesk", "mail", "slack", "mcp", "a2a", "legend", "ollama"];
3
+ export declare const INTEGRATION_TYPES: readonly ["active_directory", "ai_agents", "ai_chatbot", "algolia", "alloydb", "api", "auth0", "azure_cosmosdb", "azure_postgresql", "azure_sql", "bigquery", "built_in_db", "built_in_gcs", "built_in_queue", "built_in_s3", "cassandra", "clickhouse", "cloudsql", "cockroach", "cognito", "connected_knowledgebases", "confluence", "confluent", "datadog", "db2", "descope", "documentdb", "dynamodb", "elasticsearch", "firebase_auth", "firestore", "gcs", "google_calendar", "google_docs", "google_drive", "graphql", "hubspot", "jira", "jwt_hmac", "jwt_rsa", "kafka", "keycloak", "linear", "mariadb", "monday", "mongo", "mssql", "databricks", "mysql", "newrelic", "okta", "onedrive", "oracledb", "pinecone", "postgres", "redis", "s3", "salesforce_crm", "sap_hana", "sentry", "servicenow", "snowflake", "spanner", "xata", "zendesk", "mail", "slack", "mcp", "a2a", "legend", "teams", "ollama"];
4
4
  /**
5
5
  * @category Database
6
6
  */
@@ -40,6 +40,18 @@ export interface AiAskQuestionInternalRequest {
40
40
  export interface AiAskQuestionInternalResponse {
41
41
  answer: string;
42
42
  }
43
+ export interface GetSharedAgentsInternalRequest {
44
+ organizationId: string;
45
+ }
46
+ export interface GetSharedAgentsInternalResponse {
47
+ sharedAgents: Array<{
48
+ agentId: AiAgentId;
49
+ appId: AppId;
50
+ }>;
51
+ }
52
+ export interface ClearSharedAgentsForOrgInternalRequest {
53
+ organizationId: string;
54
+ }
43
55
  export interface AiContextSizeRequest {
44
56
  appId: AppId;
45
57
  agentId: AiAgentId;
@@ -96,6 +108,9 @@ export interface DisconnectAgentKnowledgeBaseRequest {
96
108
  export interface DeleteAgentRequest {
97
109
  agentId: AiAgentId;
98
110
  }
111
+ export interface UnshareAgentRequest {
112
+ agentId: AiAgentId;
113
+ }
99
114
  export interface SetAgentOptionInPathRequest {
100
115
  agentId: AiAgentId;
101
116
  path: string;
@@ -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.417";
5
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.418";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.417",
3
+ "version": "1.0.418",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",