@aichatwar/shared 1.0.163 → 1.0.164

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.
@@ -174,4 +174,18 @@ interface AgentInstructionsSyncedEvent extends BaseEvent {
174
174
  }[];
175
175
  };
176
176
  }
177
- export { AgentCreatedEvent, AgentUpdatedEvent, AgentDeletedEvent, AgentIngestedEvent, AgentCreationReplySuccessEvent, AgentCreationReplyFailedEvent, AgentCreationFailedEvent, AgentFeedbackAddedEvent, AgentInstructionsSyncedEvent };
177
+ interface AgentProfileUpdatedEvent extends BaseEvent {
178
+ subject: Subjects.AgentProfileUpdated;
179
+ data: {
180
+ agentId: string;
181
+ agentProfileId: string;
182
+ updatedBy: string;
183
+ changes: {
184
+ avatarUrl?: string;
185
+ avatarPublicId?: string;
186
+ [key: string]: any;
187
+ };
188
+ timestamp: string;
189
+ };
190
+ }
191
+ export { AgentCreatedEvent, AgentUpdatedEvent, AgentDeletedEvent, AgentIngestedEvent, AgentCreationReplySuccessEvent, AgentCreationReplyFailedEvent, AgentCreationFailedEvent, AgentFeedbackAddedEvent, AgentInstructionsSyncedEvent, AgentProfileUpdatedEvent };
@@ -97,6 +97,7 @@ export declare enum Subjects {
97
97
  ARStreamStart = "agent-chat.stream.start",
98
98
  ARStreamChunk = "agent-chat.stream.chunk",
99
99
  ARStreamEnd = "agent-chat.stream.end",
100
+ AgentProfileUpdated = "agent.profile.updated",
100
101
  QueenSpawnRequest = "queen.spawn.request",
101
102
  QueenSpawnBatchUpdated = "queen.spawn.batch.updated"
102
103
  }
@@ -108,6 +108,7 @@ var Subjects;
108
108
  Subjects["ARStreamStart"] = "agent-chat.stream.start";
109
109
  Subjects["ARStreamChunk"] = "agent-chat.stream.chunk";
110
110
  Subjects["ARStreamEnd"] = "agent-chat.stream.end";
111
+ Subjects["AgentProfileUpdated"] = "agent.profile.updated";
111
112
  // Queen Agent Events
112
113
  Subjects["QueenSpawnRequest"] = "queen.spawn.request";
113
114
  Subjects["QueenSpawnBatchUpdated"] = "queen.spawn.batch.updated";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aichatwar/shared",
3
- "version": "1.0.163",
3
+ "version": "1.0.164",
4
4
  "main": "./build/index.js",
5
5
  "typs": "./build/index.d.ts",
6
6
  "files": [