@squidcloud/client 1.0.323 → 1.0.324
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/internal-common/src/public-types/integrations/ai_agent.public-types.d.ts +13 -0
- package/dist/typescript-client/src/admin-client.d.ts +3 -0
- package/dist/typescript-client/src/agent-client.d.ts +6 -0
- package/dist/typescript-client/src/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AiChatModelName, AiConnectedAgentMetadata, AiConnectedIntegrationMetadata, AiEmbeddingsModelName, VectorDbType } from '../ai-agent.public-types';
|
|
2
2
|
import { FunctionName } from '../bundle-data.public-types';
|
|
3
|
+
import { AiAgentId } from '../communication.public-types';
|
|
3
4
|
export type AiAgentConfiguration = {
|
|
4
5
|
apiKey?: string;
|
|
5
6
|
};
|
|
@@ -22,6 +23,9 @@ export type AiAgentMetadata = {
|
|
|
22
23
|
connectedIntegrations?: Array<AiConnectedIntegrationMetadata>;
|
|
23
24
|
auditLog?: boolean;
|
|
24
25
|
};
|
|
26
|
+
export interface AiAgent extends AiAgentMetadata {
|
|
27
|
+
agentId: AiAgentId;
|
|
28
|
+
}
|
|
25
29
|
export type AiAgentContextMetadata = {
|
|
26
30
|
title: string;
|
|
27
31
|
text: string;
|
|
@@ -32,3 +36,12 @@ export type AiAgentContextMetadata = {
|
|
|
32
36
|
export type MutableAiAgentMetadataFieldsType = keyof Pick<AiAgentMetadata, 'modelName' | 'description' | 'isPublic' | 'functions' | 'connectedAgents' | 'connectedIntegrations' | 'auditLog'>;
|
|
33
37
|
/** List of fields that can be updated in runtime via API. */
|
|
34
38
|
export declare const MUTABLE_AI_AGENT_METADATA_FIELDS: Array<MutableAiAgentMetadataFieldsType>;
|
|
39
|
+
export interface ListAgentsResponse {
|
|
40
|
+
agents: Array<AiAgent>;
|
|
41
|
+
}
|
|
42
|
+
export interface GetAgentRequest {
|
|
43
|
+
agentId: AiAgentId;
|
|
44
|
+
}
|
|
45
|
+
export interface GetAgentResponse {
|
|
46
|
+
agent: AiAgent | undefined;
|
|
47
|
+
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { IntegrationClient } from './integration-client';
|
|
2
2
|
import { SecretClient } from './secret.client';
|
|
3
|
+
import { AgentClient } from './agent-client';
|
|
3
4
|
export declare class AdminClient {
|
|
4
5
|
private readonly rpcManager;
|
|
5
6
|
private readonly region;
|
|
6
7
|
private readonly appId;
|
|
7
8
|
private readonly integrationClient;
|
|
8
9
|
private readonly secretClient;
|
|
10
|
+
private readonly agentClient;
|
|
9
11
|
integrations(): IntegrationClient;
|
|
10
12
|
secrets(): SecretClient;
|
|
13
|
+
agents(): AgentClient;
|
|
11
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.
|
|
1
|
+
export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.324";
|