@yemi33/minions 0.1.2311 → 0.1.2312

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.
Files changed (2) hide show
  1. package/dashboard.js +13 -0
  2. package/package.json +1 -1
package/dashboard.js CHANGED
@@ -447,6 +447,19 @@ function mergeSettingsConfigUpdate(current, candidate, body, patch = {}) {
447
447
  } else {
448
448
  delete currentProject.liveCheckoutAutoStash;
449
449
  }
450
+ // W-mr2pum3k000443c0 (checkout-mode pill snap-back) — mirror liveValidation
451
+ // the same way. handleSettingsUpdate validates + assigns liveValidation on
452
+ // `candidate` (and defensively deletes it there when the project moves off
453
+ // checkoutMode:'live'), but without this branch that value never reaches
454
+ // `current` before it's written to disk, so the hybrid pill flips back on
455
+ // the next status poll. Presence-of-own-property mirrors candidate's final
456
+ // state (set or delete) regardless of whether the request body even
457
+ // included the key, so the defensive-cleanup delete above also persists.
458
+ if (Object.prototype.hasOwnProperty.call(candidateProject, 'liveValidation')) {
459
+ currentProject.liveValidation = candidateProject.liveValidation;
460
+ } else {
461
+ delete currentProject.liveValidation;
462
+ }
450
463
  // W-mqiaw974 (issue #241): the field was renamed from the legacy
451
464
  // `worktreeMode`. Drop any stale legacy key on every settings save so a
452
465
  // migrated project never carries both fields.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.2311",
3
+ "version": "0.1.2312",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"