@vibemancer/core 1.0.5 → 1.0.7

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.
@@ -208,7 +208,16 @@ function currentRuleset() {
208
208
  }
209
209
 
210
210
  // src/engine-version.ts
211
- var ENGINE_VERSION = 4396905295552957;
211
+ var ENGINE_VERSION = 4204441759696527;
212
+ var EQUIVALENT_ENGINE_VERSIONS = [1688330189011034];
213
+
214
+ // src/replay-compat.ts
215
+ function canReplayMatch(matchEngineVersion) {
216
+ if (typeof matchEngineVersion !== "number") return false;
217
+ if (!Number.isSafeInteger(matchEngineVersion)) return false;
218
+ if (matchEngineVersion === ENGINE_VERSION) return true;
219
+ return EQUIVALENT_ENGINE_VERSIONS.includes(matchEngineVersion);
220
+ }
212
221
 
213
222
  // src/engine/hooks-runtime.ts
214
223
  var _g = globalThis;
@@ -10518,6 +10527,8 @@ export {
10518
10527
  resetRuleset,
10519
10528
  currentRuleset,
10520
10529
  ENGINE_VERSION,
10530
+ EQUIVALENT_ENGINE_VERSIONS,
10531
+ canReplayMatch,
10521
10532
  validateHookCall,
10522
10533
  runWithHooks,
10523
10534
  runWizardWithContext,
@@ -10682,4 +10693,4 @@ export {
10682
10693
  diagnoseTrace,
10683
10694
  formatDiagnosis
10684
10695
  };
10685
- //# sourceMappingURL=chunk-NEXWZU5I.js.map
10696
+ //# sourceMappingURL=chunk-NR326XEY.js.map