@squidcloud/slack-client 1.0.445 → 1.0.447

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.
@@ -149,7 +149,7 @@ export type ApiKeySource = 'user' | 'system';
149
149
  /**
150
150
  * Structured output format configuration for AI models that support schema-constrained responses.
151
151
  *
152
- * When used with supported Anthropic models (claude-sonnet-4-5-20250929, claude-opus-4-1-20250805),
152
+ * When used with supported Anthropic models,
153
153
  * this guarantees that responses will strictly conform to the provided JSON schema through
154
154
  * constrained decoding - the model cannot generate tokens that violate the schema.
155
155
  *
@@ -301,6 +301,8 @@ export interface AiConnectedKnowledgeBaseMetadata {
301
301
  knowledgeBaseId: AiKnowledgeBaseId;
302
302
  /** A description of when to use this AiKnowledgeBase */
303
303
  description: string;
304
+ /** Whether to include document metadata when providing KB search results to the agent. Defaults to false. */
305
+ includeMetadata?: boolean;
304
306
  }
305
307
  /**
306
308
  * Quotas for a single AI chat prompt (`ask()` method call).
@@ -435,7 +437,10 @@ export interface BaseAiChatOptions {
435
437
  connectedKnowledgeBases?: Array<AiConnectedKnowledgeBaseMetadata>;
436
438
  /** Current budget for nested or recursive AI chat calls per single prompt. */
437
439
  quotas?: AiChatPromptQuotas;
438
- /** Include metadata in the context */
440
+ /**
441
+ * Include metadata in the context.
442
+ * @deprecated Use `includeMetadata` on individual `AiConnectedKnowledgeBaseMetadata` entries in `connectedKnowledgeBases` instead.
443
+ */
439
444
  includeMetadata?: boolean;
440
445
  /** The temperature to use when sampling from the model. Default to 0.5. */
441
446
  temperature?: number;
@@ -524,14 +529,14 @@ export type AiVerbosityLevel = 'low' | 'medium' | 'high';
524
529
  * Chat options specific to Anthropic models, extending base options.
525
530
  *
526
531
  * **Structured Outputs:**
527
- * Anthropic models (claude-sonnet-4-5-20250929, claude-opus-4-1-20250805) support structured outputs
532
+ * Anthropic models support structured outputs
528
533
  * through the `responseFormat` field. Pass an object with `type: 'json_schema'` and a JSON schema
529
534
  * to guarantee the response conforms exactly to your schema.
530
535
  *
531
536
  * **Example:**
532
537
  * ```typescript
533
538
  * {
534
- * model: 'claude-sonnet-4-5-20250929',
539
+ * model: 'claude-sonnet-4-6',
535
540
  * responseFormat: {
536
541
  * type: 'json_schema',
537
542
  * schema: {
@@ -39,12 +39,12 @@ export declare const GROK_CHAT_MODEL_NAMES: readonly ["grok-4", "grok-4-1-fast-r
39
39
  * Public Anthropic chat model names (active models only).
40
40
  * @category AI
41
41
  */
42
- export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-haiku-4-5-20251001", "claude-opus-4-6", "claude-opus-4-5-20251101", "claude-sonnet-4-5-20250929"];
42
+ export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-haiku-4-5-20251001", "claude-opus-4-6", "claude-sonnet-4-6"];
43
43
  /**
44
44
  * The supported AI model names.
45
45
  * @category AI
46
46
  */
47
- export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["gpt-5-mini", "gpt-5-nano", "gpt-5.2", "gpt-5.2-pro", "claude-haiku-4-5-20251001", "claude-opus-4-6", "claude-opus-4-5-20251101", "claude-sonnet-4-5-20250929", "gemini-3-pro", "gemini-3-flash", "grok-4", "grok-4-1-fast-reasoning", "grok-4-1-fast-non-reasoning"];
47
+ export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["gpt-5-mini", "gpt-5-nano", "gpt-5.2", "gpt-5.2-pro", "claude-haiku-4-5-20251001", "claude-opus-4-6", "claude-sonnet-4-6", "gemini-3-pro", "gemini-3-flash", "grok-4", "grok-4-1-fast-reasoning", "grok-4-1-fast-non-reasoning"];
48
48
  /** Checks if the given model name is a global AI chat model name. */
49
49
  export declare function isVendorAiChatModelName(modelName: unknown): modelName is VendorAiChatModelName;
50
50
  /**
@@ -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", "bedrock", "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", "github", "google_calendar", "google_docs", "google_drive", "graphql", "hubspot", "jira", "jira_jsm", "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", "snowflake", "spanner", "xata", "zendesk", "servicenow_csm", "freshdesk", "mail", "slack", "mcp", "a2a", "legend", "teams", "openai_compatible"];
3
+ export declare const INTEGRATION_TYPES: readonly ["active_directory", "ai_agents", "ai_chatbot", "algolia", "alloydb", "api", "auth0", "bedrock", "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", "github", "google_calendar", "google_docs", "google_drive", "graphql", "hubspot", "jira", "jira_jsm", "jwt_hmac", "jwt_rsa", "kafka", "keycloak", "linear", "mariadb", "monday", "mongo", "mssql", "databricks", "mysql", "newrelic", "okta", "onedrive", "oracledb", "pinecone", "postgres", "redis", "s3", "salesforce", "sap_hana", "sentry", "snowflake", "spanner", "xata", "zendesk", "servicenow_csm", "freshdesk", "mail", "slack", "mcp", "a2a", "legend", "teams", "openai_compatible"];
4
4
  /**
5
5
  * @category Database
6
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/slack-client",
3
- "version": "1.0.445",
3
+ "version": "1.0.447",
4
4
  "description": "Squid Slack Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/client/src/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "assertic": "^1.3.0",
21
21
  "lodash": "^4.17.21",
22
- "@squidcloud/client": "^1.0.445",
22
+ "@squidcloud/client": "^1.0.447",
23
23
  "@slack/bolt": "^4.5.0"
24
24
  },
25
25
  "engines": {