nexus-prime 7.9.34 → 7.9.36

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.
@@ -17,9 +17,11 @@ async function main() {
17
17
  console.log(`[nexus-prime] binary ${verb}: ${result.binaryPath}`);
18
18
  return;
19
19
  }
20
+ const needsWindowsShell = process.platform === 'win32' && /\.(?:cmd|bat)$/i.test(result.binaryPath);
20
21
  const child = spawnSync(result.binaryPath, forwardedArgs, {
21
22
  stdio: 'inherit',
22
23
  env: process.env,
24
+ shell: needsWindowsShell,
23
25
  });
24
26
  if (child.error)
25
27
  throw child.error;
@@ -3,7 +3,7 @@ import * as fs from 'node:fs';
3
3
  import * as os from 'node:os';
4
4
  import * as path from 'node:path';
5
5
  import { fileURLToPath } from 'node:url';
6
- const DEFAULT_BINARY_BASE_URL = 'https://releases.nexus-prime.cfd/nexus-prime';
6
+ const DEFAULT_BINARY_BASE_URL = 'https://nexus-prime.cfd/api/releases/nexus-prime';
7
7
  const LICENSE_ENV_KEYS = ['NEXUS_PRIME_LICENSE_KEY', 'NEXUS_LICENSE_KEY'];
8
8
  export function detectBinaryPlatform(platform = process.platform, arch = process.arch) {
9
9
  const normalizedArch = arch === 'x64' || arch === 'arm64' ? arch : '';
@@ -33,7 +33,7 @@ export function defaultManifestUrl(version, channel = 'stable') {
33
33
  if (process.env.NEXUS_BINARY_MANIFEST_URL)
34
34
  return process.env.NEXUS_BINARY_MANIFEST_URL;
35
35
  const base = (process.env.NEXUS_BINARY_BASE_URL || DEFAULT_BINARY_BASE_URL).replace(/\/+$/u, '');
36
- return `${base}/${encodeURIComponent(version)}/${encodeURIComponent(channel)}/manifest.json`;
36
+ return `${base}/${encodeURIComponent(version)}/${encodeURIComponent(channel)}/manifest`;
37
37
  }
38
38
  export function binaryNameForPlatform(platform) {
39
39
  return platform.startsWith('win32') ? 'nexus-prime.exe' : 'nexus-prime';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-prime",
3
- "version": "7.9.34",
3
+ "version": "7.9.36",
4
4
  "description": "Local-first MCP control plane for coding agents with bootstrap-orchestrate execution, memory fabric, token budgeting, and worktree-backed swarms (binary installer shim)",
5
5
  "type": "module",
6
6
  "bin": {