@mozaik-ai/core 4.0.2 → 4.0.3

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.js CHANGED
@@ -916,7 +916,10 @@ var EventPublisherLoopVisitor = class {
916
916
  this.publish("interception.finished", transition);
917
917
  }
918
918
  publish(type, payload) {
919
- const event = new SemanticEvent(type, this.agentId, /* @__PURE__ */ new Date(), payload);
919
+ const event = new SemanticEvent(type, this.agentId, /* @__PURE__ */ new Date(), {
920
+ ...payload,
921
+ loopId: this.loopId
922
+ });
920
923
  this.runtime.publish(event);
921
924
  if (this.cloud.enabled) {
922
925
  const participant = this.runtime.getParticipant(this.agentId);
@@ -928,7 +931,7 @@ var EventPublisherLoopVisitor = class {
928
931
  ...payload,
929
932
  loopId: this.loopId,
930
933
  agent: {
931
- manfifeset: agent.getManifest(),
934
+ manifest: agent.getManifest(),
932
935
  developerMessage: agent.getDeveloperMessage(),
933
936
  tools: agent.getTools(),
934
937
  memory: agent.getMemory().getContext().getItems()