git-multiverse 0.1.2 → 0.1.3

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/lib/app.mjs CHANGED
@@ -848,9 +848,14 @@ export async function runWizard(config, flags, overrides = {}, io = createIO(ove
848
848
  // ── Page 1: System & Workspace ──────────────────────────────────
849
849
  showPageHeader(1, "System & Workspace", io, wizardContext);
850
850
  if (!flags.runtime) {
851
- config.MULTIVERSE_RUNTIME_MODE = await promptMenu(rl, "Select runtime mode:", [
852
- { name: "Docker Compose (recommended)", value: "docker" }
853
- ], "docker", overrides);
851
+ const runtimeOptions = [{ name: "Docker Compose (recommended)", value: "docker" }];
852
+ const nativeBinary = resolveNativeBinary(overrides);
853
+ if (nativeBinary.ok) {
854
+ runtimeOptions.push({ name: "Native binary + remote Neo4j", value: "native" });
855
+ } else {
856
+ io.log(`${colors.yellow}Native runtime is not available in this npm package for ${nativePlatformDir(overrides.platform || os.platform(), overrides.arch || os.arch())}.${colors.reset}`);
857
+ }
858
+ config.MULTIVERSE_RUNTIME_MODE = await promptMenu(rl, "Select runtime mode:", runtimeOptions, "docker", overrides);
854
859
  }
855
860
  if (config.MULTIVERSE_RUNTIME_MODE === "native") {
856
861
  config.MULTIVERSE_DB_MODE = "remote";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-multiverse",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Clone-free Multiverse Docker Hub launcher.",
5
5
  "type": "module",
6
6
  "bin": {