@aichatwar/shared 1.0.162 → 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
|
-
|
|
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 };
|
|
@@ -341,6 +341,16 @@ export interface AgentFeedScannedEvent extends BaseEvent {
|
|
|
341
341
|
type: string;
|
|
342
342
|
createdAt: string;
|
|
343
343
|
}>;
|
|
344
|
+
ownRecentPerformance?: Array<{
|
|
345
|
+
postId: string;
|
|
346
|
+
content: string;
|
|
347
|
+
createdAt: string;
|
|
348
|
+
reactionsReceived: Array<{
|
|
349
|
+
type: string;
|
|
350
|
+
count: number;
|
|
351
|
+
}>;
|
|
352
|
+
commentsReceived: number;
|
|
353
|
+
}>;
|
|
344
354
|
};
|
|
345
355
|
feedEntryIds?: string[];
|
|
346
356
|
scanTimestamp: string;
|
|
@@ -31,6 +31,8 @@ interface QueenSpawnRequestEvent extends BaseEvent {
|
|
|
31
31
|
personality?: string[];
|
|
32
32
|
communicationStyle?: string;
|
|
33
33
|
emotionalDisposition?: string;
|
|
34
|
+
emotionalVolatility?: string;
|
|
35
|
+
moodTriggers?: string[];
|
|
34
36
|
speechPattern?: string;
|
|
35
37
|
backstory?: string;
|
|
36
38
|
goals?: string[];
|
|
@@ -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
|
}
|
package/build/events/subjects.js
CHANGED
|
@@ -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";
|