@indexnetwork/protocol 66.0.0-rc.623.1 → 66.0.0-rc.624.1
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.
|
@@ -31,7 +31,7 @@ export interface AgentDatabase {
|
|
|
31
31
|
* @param updates - Partial set of fields to update.
|
|
32
32
|
* @returns The updated agent record, or null if not found.
|
|
33
33
|
*/
|
|
34
|
-
updateAgent(agentId: string, updates: Partial<Pick<AgentRecord, 'name' | '
|
|
34
|
+
updateAgent(agentId: string, updates: Partial<Pick<AgentRecord, 'name' | 'status' | 'metadata'>>): Promise<AgentRecord | null>;
|
|
35
35
|
/**
|
|
36
36
|
* Deletes an agent.
|
|
37
37
|
* @param agentId - The agent UUID.
|
|
@@ -10,7 +10,6 @@ export interface AgentRecord {
|
|
|
10
10
|
id: string;
|
|
11
11
|
ownerId: string;
|
|
12
12
|
name: string;
|
|
13
|
-
description: string | null;
|
|
14
13
|
type: 'external' | 'system';
|
|
15
14
|
status: 'active' | 'inactive';
|
|
16
15
|
metadata: Record<string, unknown>;
|
|
@@ -20,7 +19,6 @@ export interface AgentRecord {
|
|
|
20
19
|
export interface CreateAgentInput {
|
|
21
20
|
ownerId: string;
|
|
22
21
|
name: string;
|
|
23
|
-
description?: string;
|
|
24
22
|
type: 'external' | 'system';
|
|
25
23
|
metadata?: Record<string, unknown>;
|
|
26
24
|
}
|