@squidcloud/client 1.0.394 → 1.0.396
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.
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/internal-common/src/public-types/ai-agent.public-types.d.ts +9 -1
- package/dist/internal-common/src/public-types/integration.public-types.d.ts +1 -1
- package/dist/internal-common/src/types/ai-knowledge-base.types.d.ts +22 -1
- package/dist/typescript-client/src/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -250,7 +250,15 @@ export interface AiAgentMemoryOptions {
|
|
|
250
250
|
* - 'read-write': The agent can both read from and write to memory.
|
|
251
251
|
*/
|
|
252
252
|
memoryMode: 'none' | 'read-only' | 'read-write';
|
|
253
|
-
/**
|
|
253
|
+
/**
|
|
254
|
+
* A unique ID to store the chat memory.
|
|
255
|
+
*
|
|
256
|
+
* The full chat memory key is constructed as a combination of 'appId', 'agentId', and 'memoryId'.
|
|
257
|
+
* If not provided the Squid client instance ID used as a memoryId.
|
|
258
|
+
*
|
|
259
|
+
* Important: the memory ID should be treated with the same security measures as Access Token because it unblocks
|
|
260
|
+
* direct access to the agent chat history. A good practice is to use a non-trivial and a unique value.
|
|
261
|
+
*/
|
|
254
262
|
memoryId?: string;
|
|
255
263
|
}
|
|
256
264
|
/**
|
|
@@ -12,7 +12,7 @@ export declare const AUTH_INTEGRATION_TYPES: readonly ["auth0", "jwt_rsa", "jwt_
|
|
|
12
12
|
/** Supported integration types for GraphQL-based services. */
|
|
13
13
|
export declare const GRAPHQL_INTEGRATION_TYPES: readonly ["graphql", "linear"];
|
|
14
14
|
/** Supported integration types for HTTP-based services. */
|
|
15
|
-
export declare const HTTP_INTEGRATION_TYPES: readonly ["api"
|
|
15
|
+
export declare const HTTP_INTEGRATION_TYPES: readonly ["api"];
|
|
16
16
|
/** Represents a supported integration type identifier, such as 'postgres', 'auth0', or 's3'. */
|
|
17
17
|
export type IntegrationType = (typeof INTEGRATION_TYPES)[number];
|
|
18
18
|
/** Supported schema types for integrations */
|
|
@@ -5,8 +5,18 @@ import { AiKnowledgeBaseId, AppId } from '../public-types/communication.public-t
|
|
|
5
5
|
* @category AI
|
|
6
6
|
*/
|
|
7
7
|
export interface GetAiKnowledgeBaseRequest {
|
|
8
|
+
/** The id of the app */
|
|
9
|
+
appId: AppId;
|
|
8
10
|
/** The id of the AiKnowledgeBase */
|
|
9
|
-
|
|
11
|
+
knowledgeBaseId: AiKnowledgeBaseId;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Request structure for getting all AiKnowledgeBases
|
|
15
|
+
* @category AI
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAiKnowledgeBasesRequest {
|
|
18
|
+
/** The id of the app */
|
|
19
|
+
appId: AppId;
|
|
10
20
|
}
|
|
11
21
|
/**
|
|
12
22
|
* Response structure for getting an AiKnowledgeBase
|
|
@@ -76,6 +86,17 @@ export interface GetAiKnowledgeBaseContextRequest {
|
|
|
76
86
|
/** The id of the AiKnowledgeBaseContext */
|
|
77
87
|
contextId: string;
|
|
78
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* Request structure for getting all AiKnowledgeBaseContexts
|
|
91
|
+
* for a given knowledge base
|
|
92
|
+
* @category AI
|
|
93
|
+
*/
|
|
94
|
+
export interface GetAiKnowledgeBaseContextsRequest {
|
|
95
|
+
/** The id of the app */
|
|
96
|
+
appId: AppId;
|
|
97
|
+
/** The id of the AiKnowledgeBase */
|
|
98
|
+
knowledgeBaseId: AiKnowledgeBaseId;
|
|
99
|
+
}
|
|
79
100
|
/**
|
|
80
101
|
* Response structure for getting an AiKnowledgeBaseContext
|
|
81
102
|
* @category AI
|