create-egregore 0.21.0-runtime-mvp.1 → 0.21.0-runtime-mvp.2

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
1
  #!/usr/bin/env node
2
- // egregore-launcher-version: 0.21.0-runtime-mvp.1
2
+ // egregore-launcher-version: 0.21.0-runtime-mvp.2
3
3
  //
4
4
  // egregore — launch and browse Egregore instances from your terminal.
5
5
  // Installed by create-egregore. Reads ~/.egregore/instances.json.
@@ -35,7 +35,7 @@ const crypto = require("node:crypto");
35
35
  const { spawnSync, spawn } = require("node:child_process");
36
36
  const readline = require("node:readline");
37
37
 
38
- const VERSION = "0.21.0-runtime-mvp.1";
38
+ const VERSION = "0.21.0-runtime-mvp.2";
39
39
  const REGISTRY = path.join(os.homedir(), ".egregore", "instances.json");
40
40
  const DEFAULT_FILE = path.join(os.homedir(), ".egregore", "default");
41
41
  const UPDATE_CACHE_FILE = path.join(os.homedir(), ".egregore", "update-check.json");
@@ -2543,7 +2543,8 @@ const UPGRADE_STATUS_LABEL = {
2543
2543
  };
2544
2544
 
2545
2545
  function upgradeSummary(st) {
2546
- if (!st || st.status === "none") return "up to date";
2546
+ // "none" means no activation record — a first-time state, not freshness.
2547
+ if (!st || st.status === "none") return "no update staged";
2547
2548
  if (st.status === "active") return `${st.active_version || "?"} active`;
2548
2549
  return UPGRADE_STATUS_LABEL[st.status] || st.status;
2549
2550
  }
@@ -2565,7 +2566,8 @@ function formatUpgradeLines(inst, st, { candidate = "" } = {}) {
2565
2566
  lines.push(`Selected Egregore: ${inst.name || inst.slug} (${inst.slug || "?"})`);
2566
2567
  lines.push(`Location: ${inst.path}`);
2567
2568
  lines.push("");
2568
- lines.push(`Runtime: ${d.active_version || "unknown"} active`
2569
+ const activeLabel = d.active_version ? `${d.active_version} active` : "not yet activated here";
2570
+ lines.push(`Runtime: ${activeLabel}`
2569
2571
  + (d.candidate_version ? ` → candidate ${d.candidate_version}` : candidate ? ` → candidate ${candidate} available` : ""));
2570
2572
  lines.push(`Status: ${UPGRADE_STATUS_LABEL[d.status] || d.status}`);
2571
2573
  if (d.candidate_digest) lines.push(`Package digest: sha256 ${String(d.candidate_digest).slice(0, 16)}…`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-egregore",
3
- "version": "0.21.0-runtime-mvp.1",
3
+ "version": "0.21.0-runtime-mvp.2",
4
4
  "description": "Set up Egregore for your team in one command — installs the egregore launcher and your choice of Claude Code, Codex, or Pi.",
5
5
  "license": "MIT",
6
6
  "bin": {