omnius 1.0.880 → 1.0.882

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
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/index.js
3
- size: 38361817 bytes
4
- sha256: 7876d6264f4a498750e2d036cadf496e2bd2b632d153d18967f6292ca4469f27
3
+ size: 38373709 bytes
4
+ sha256: 4fc877598e4eb4a011f502de9acdd019d852e064eca977d8f5d5ab76461cc2a3
@@ -1093,6 +1093,14 @@ function repairBrokenWrappers() {
1093
1093
  function main() {
1094
1094
  if (!ensureCoreCommandAvailable()) return fatalExit(1);
1095
1095
 
1096
+ // The coordinated worker already owns service handoff and verifies the
1097
+ // replacement package/runtime. Ancillary model/native/companion setup must
1098
+ // not hold this package transaction open or mutate unrelated runtime state.
1099
+ if (process.env.OMNIUS_UPDATE_COORDINATED === "1") {
1100
+ log("Coordinated update owns daemon restart and exact-version verification.");
1101
+ return safeExit(0);
1102
+ }
1103
+
1096
1104
  // Always do the nexus cleanup first, regardless of opt-out.
1097
1105
  progress(1, INSTALL_STEPS, "Cleaning stale Nexus runtime state");
1098
1106
  cleanNexus();
@@ -1113,11 +1121,6 @@ function main() {
1113
1121
  progress(5, INSTALL_STEPS, "Ensuring local REST key");
1114
1122
  ensureBootstrapApiKeyForUser(effectiveUser());
1115
1123
 
1116
- if (process.env.OMNIUS_UPDATE_COORDINATED === "1") {
1117
- log("Coordinated update owns daemon restart and exact-version verification.");
1118
- return safeExit(0);
1119
- }
1120
-
1121
1124
  if (process.env.OMNIUS_SKIP_DAEMON_INSTALL === "1") {
1122
1125
  log("OMNIUS_SKIP_DAEMON_INSTALL=1 — skipping daemon service install.");
1123
1126
  return safeExit(0);