@squidcloud/local-backend 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.
@@ -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
  };
@@ -17,6 +18,9 @@ export type AiAgentMetadata = {
17
18
  connectedIntegrations?: Array<AiConnectedIntegrationMetadata>;
18
19
  auditLog?: boolean;
19
20
  };
21
+ export interface AiAgent extends AiAgentMetadata {
22
+ agentId: AiAgentId;
23
+ }
20
24
  export type AiAgentContextMetadata = {
21
25
  title: string;
22
26
  text: string;
@@ -26,3 +30,12 @@ export type AiAgentContextMetadata = {
26
30
  };
27
31
  export type MutableAiAgentMetadataFieldsType = keyof Pick<AiAgentMetadata, 'modelName' | 'description' | 'isPublic' | 'functions' | 'connectedAgents' | 'connectedIntegrations' | 'auditLog'>;
28
32
  export declare const MUTABLE_AI_AGENT_METADATA_FIELDS: Array<MutableAiAgentMetadataFieldsType>;
33
+ export interface ListAgentsResponse {
34
+ agents: Array<AiAgent>;
35
+ }
36
+ export interface GetAgentRequest {
37
+ agentId: AiAgentId;
38
+ }
39
+ export interface GetAgentResponse {
40
+ agent: AiAgent | undefined;
41
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"ai_agent.public-types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/ai_agent.public-types.ts"],"names":[],"mappings":";;;AAgDa,QAAA,gCAAgC,GAA4C;IACvF,WAAW;IACX,aAAa;IACb,UAAU;IACV,WAAW;IACX,iBAAiB;IACjB,uBAAuB;IACvB,UAAU;CACX,CAAC"}
1
+ {"version":3,"file":"ai_agent.public-types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/ai_agent.public-types.ts"],"names":[],"mappings":";;;AAqDa,QAAA,gCAAgC,GAA4C;IACvF,WAAW;IACX,aAAa;IACb,UAAU;IACV,WAAW;IACX,iBAAiB;IACjB,uBAAuB;IACvB,UAAU;CACX,CAAC"}