@lov3kaizen/agentsea-nestjs 0.4.0 → 0.5.2

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/index.d.mts CHANGED
@@ -74,9 +74,9 @@ declare class ExecuteAgentDto {
74
74
  input: string;
75
75
  conversationId?: string;
76
76
  userId?: string;
77
- sessionData?: Record<string, any>;
77
+ sessionData?: Record<string, unknown>;
78
78
  history?: Message[];
79
- metadata?: Record<string, any>;
79
+ metadata?: Record<string, unknown>;
80
80
  outputFormat?: OutputFormat;
81
81
  formatOptions?: FormatOptions;
82
82
  }
@@ -188,9 +188,9 @@ declare class AgentGateway {
188
188
  input: string;
189
189
  conversationId?: string;
190
190
  userId?: string;
191
- sessionData?: Record<string, any>;
192
- history?: any[];
193
- metadata?: Record<string, any>;
191
+ sessionData?: Record<string, unknown>;
192
+ history?: Message[];
193
+ metadata?: Record<string, unknown>;
194
194
  }): Promise<void>;
195
195
  handleGetAgent(client: Socket, data: {
196
196
  agentName: string;
package/dist/index.d.ts CHANGED
@@ -74,9 +74,9 @@ declare class ExecuteAgentDto {
74
74
  input: string;
75
75
  conversationId?: string;
76
76
  userId?: string;
77
- sessionData?: Record<string, any>;
77
+ sessionData?: Record<string, unknown>;
78
78
  history?: Message[];
79
- metadata?: Record<string, any>;
79
+ metadata?: Record<string, unknown>;
80
80
  outputFormat?: OutputFormat;
81
81
  formatOptions?: FormatOptions;
82
82
  }
@@ -188,9 +188,9 @@ declare class AgentGateway {
188
188
  input: string;
189
189
  conversationId?: string;
190
190
  userId?: string;
191
- sessionData?: Record<string, any>;
192
- history?: any[];
193
- metadata?: Record<string, any>;
191
+ sessionData?: Record<string, unknown>;
192
+ history?: Message[];
193
+ metadata?: Record<string, unknown>;
194
194
  }): Promise<void>;
195
195
  handleGetAgent(client: Socket, data: {
196
196
  agentName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lov3kaizen/agentsea-nestjs",
3
- "version": "0.4.0",
3
+ "version": "0.5.2",
4
4
  "description": "NestJS integration for AgentSea - Unite and orchestrate AI agents in your NestJS applications",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -25,8 +25,8 @@
25
25
  "reflect-metadata": "^0.2.1",
26
26
  "rxjs": "^7.8.1",
27
27
  "socket.io": "^4.7.4",
28
- "@lov3kaizen/agentsea-types": "0.4.0",
29
- "@lov3kaizen/agentsea-core": "0.4.0"
28
+ "@lov3kaizen/agentsea-types": "0.5.2",
29
+ "@lov3kaizen/agentsea-core": "0.5.2"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^20.11.0",