@almadar/runtime 5.3.0 → 5.4.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.
@@ -1,5 +1,5 @@
1
- import { createLogger, EventBus, createUnifiedLoader, MockPersistenceAdapter, InMemoryPersistence, preprocessSchema, StateMachineManager, createContextFromBindings, validateEventPayload, formatPayloadValidationError, EffectExecutor } from './chunk-FAWWBERN.js';
2
- export { InMemoryPersistence } from './chunk-FAWWBERN.js';
1
+ import { createLogger, EventBus, createUnifiedLoader, MockPersistenceAdapter, InMemoryPersistence, preprocessSchema, StateMachineManager, createContextFromBindings, validateEventPayload, formatPayloadValidationError, EffectExecutor } from './chunk-ADHL7L4X.js';
2
+ export { InMemoryPersistence } from './chunk-ADHL7L4X.js';
3
3
  import './chunk-PZ5AY32C.js';
4
4
  import { Router } from 'express';
5
5
  import * as fs from 'fs';
@@ -1068,6 +1068,10 @@ var OrbitalServerRuntime = class {
1068
1068
  */
1069
1069
  resetMockPersistence() {
1070
1070
  if (!(this.persistence instanceof MockPersistenceAdapter)) return;
1071
+ busLog.debug("mock:reset:enter", {
1072
+ orbitalCount: this.orbitals.size,
1073
+ timestamp: (/* @__PURE__ */ new Date()).toISOString()
1074
+ });
1071
1075
  this.persistence.clearAll();
1072
1076
  for (const registered of this.orbitals.values()) {
1073
1077
  const entity = registered.entity;