@squidcloud/client 1.0.437 → 1.0.439

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.
@@ -8,7 +8,7 @@ export declare const RERANK_PROVIDERS: readonly ["cohere", "none"];
8
8
  */
9
9
  export type AiRerankProvider = (typeof RERANK_PROVIDERS)[number];
10
10
  /** List of available AI provider types. See AiProviderType. */
11
- export declare const AI_PROVIDER_TYPES: readonly ["anthropic", "bedrock", "flux", "gemini", "openai", "grok", "stability", "voyage", "mistral", "textract", "external"];
11
+ export declare const AI_PROVIDER_TYPES: readonly ["anthropic", "bedrock", "claude-code", "flux", "gemini", "openai", "grok", "stability", "voyage", "mistral", "textract", "external"];
12
12
  /**
13
13
  * Type of the AI provider.
14
14
  * References a single AI service, regardless of the model or other AI function it provides (like
@@ -54,17 +54,21 @@ export interface AuditLogEvent {
54
54
  /** Agent audit log entry - one per agent invocation */
55
55
  export interface AgentAuditLogEvent {
56
56
  appId: AppId;
57
- agentId: string;
57
+ /** Agent ID (nullable for query-with-AI operations without an agent) */
58
+ agentId?: string;
58
59
  jobId: string;
59
60
  prompt: string;
60
61
  tags: Record<string, string>;
61
62
  createdAt: Date;
63
+ /** Integration ID for query-with-AI operations (nullable, used when not invoked via agent) */
64
+ integrationId?: string;
62
65
  }
63
66
  export type AgentAuditLogUpdateType = 'statusUpdate' | 'response';
64
67
  /** Agent audit log update entry - status updates and responses for agent invocations */
65
68
  export interface AgentAuditLogUpdateEvent {
66
69
  appId: AppId;
67
- agentId: string;
70
+ /** Agent ID (nullable for query-with-AI operations without an agent) */
71
+ agentId?: string;
68
72
  jobId: string;
69
73
  statusUpdateId: string;
70
74
  title: string;
@@ -73,6 +77,8 @@ export interface AgentAuditLogUpdateEvent {
73
77
  body: string;
74
78
  type: AgentAuditLogUpdateType;
75
79
  createdAt: Date;
80
+ /** Integration ID for query-with-AI operations (nullable, used when not invoked via agent) */
81
+ integrationId?: string;
76
82
  }
77
83
  /** Tag for metric events. Value: '0' - not an error, '1' - is an error. */
78
84
  export declare const O11Y_TAG_IS_ERROR = "isError";
@@ -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.437";
5
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.439";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.437",
3
+ "version": "1.0.439",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",