mover-os 4.5.0 → 4.5.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.
Files changed (2) hide show
  1. package/install.js +10 -4
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -4575,17 +4575,22 @@ async function cmdUpdateComprehensive(opts, bundleDir, startTime) {
4575
4575
  try { updateKey = JSON.parse(fs.readFileSync(cfgPath, "utf8")).licenseKey; } catch {}
4576
4576
  }
4577
4577
  }
4578
+ const keyFromConfig = !!updateKey;
4578
4579
  if (!updateKey) {
4579
4580
  updateKey = await textInput({ label: "License key", mask: "\u25AA", placeholder: "MOVER-XXXX-XXXX" });
4580
4581
  if (!updateKey) return;
4581
4582
  }
4582
4583
  const sp1 = spinner("Validating license");
4583
- if (!await validateKey(updateKey)) {
4584
+ const keyValid = await validateKey(updateKey);
4585
+ if (!keyValid && keyFromConfig) {
4586
+ sp1.stop(dim("License check skipped (offline — using stored key)"));
4587
+ } else if (!keyValid) {
4584
4588
  sp1.stop(red("Invalid key"));
4585
4589
  outro(red("Valid license key required."));
4586
4590
  process.exit(1);
4591
+ } else {
4592
+ sp1.stop(green("License verified"));
4587
4593
  }
4588
- sp1.stop(green("License verified"));
4589
4594
  barLn();
4590
4595
 
4591
4596
  // Download payload if not bundled
@@ -4715,7 +4720,7 @@ async function cmdUpdateComprehensive(opts, bundleDir, startTime) {
4715
4720
  if (fs.existsSync(cfgPath)) {
4716
4721
  try { currentAgents = JSON.parse(fs.readFileSync(cfgPath, "utf8")).agents || []; } catch {}
4717
4722
  }
4718
- const preSelectedAgents = currentAgents.length > 0 ? currentAgents : detectedIds;
4723
+ const preSelectedAgents = [...new Set([...detectedIds, ...currentAgents])];
4719
4724
 
4720
4725
  question(`Agents ${dim("(add or remove)")}`);
4721
4726
  barLn();
@@ -5101,7 +5106,8 @@ async function main() {
5101
5106
  barLn(dim(" Use " + bold("moveros update") + " to refresh agents, rules, and skills."));
5102
5107
  barLn(dim(" Use " + bold("moveros uninstall") + " to remove Mover OS."));
5103
5108
  barLn();
5104
- outro("Use update or uninstall instead.");
5109
+ barLn(dim(" esc to exit"));
5110
+ await waitForEsc();
5105
5111
  return;
5106
5112
  }
5107
5113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mover-os",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "The self-improving OS for AI agents. Turns Obsidian into an execution engine.",
5
5
  "bin": {
6
6
  "moveros": "install.js"