hyperneo 0.40.0 → 0.43.0

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/bin/hyperneo.js +4 -1
  2. package/package.json +6 -5
package/bin/hyperneo.js CHANGED
@@ -13,6 +13,7 @@ const PLATFORM_MAP = {
13
13
  'darwin-x64': '@hyperneo/cli-darwin-x64',
14
14
  'linux-x64': '@hyperneo/cli-linux-x64',
15
15
  'linux-arm64': '@hyperneo/cli-linux-arm64',
16
+ 'win32-x64': '@hyperneo/cli-windows-x64',
16
17
  };
17
18
 
18
19
  const platformKey = `${process.platform}-${process.arch}`;
@@ -26,9 +27,11 @@ if (!packageName) {
26
27
  process.exit(1);
27
28
  }
28
29
 
30
+ const binaryName = process.platform === 'win32' ? 'hyperneo.exe' : 'hyperneo';
31
+
29
32
  let binaryPath;
30
33
  try {
31
- binaryPath = require.resolve(`${packageName}/bin/hyperneo`);
34
+ binaryPath = require.resolve(`${packageName}/bin/${binaryName}`);
32
35
  } catch {
33
36
  console.error(
34
37
  `Error: Could not find HyperNeo binary for ${platformKey}.\n` +
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "hyperneo",
3
- "version": "0.40.0",
3
+ "version": "0.43.0",
4
4
  "description": "HyperNeo - Claude Agent SDK Web Interface",
5
5
  "bin": {
6
6
  "hyperneo": "bin/hyperneo.js"
7
7
  },
8
8
  "optionalDependencies": {
9
- "@hyperneo/cli-darwin-arm64": "0.40.0",
10
- "@hyperneo/cli-darwin-x64": "0.40.0",
11
- "@hyperneo/cli-linux-x64": "0.40.0",
12
- "@hyperneo/cli-linux-arm64": "0.40.0"
9
+ "@hyperneo/cli-darwin-arm64": "0.43.0",
10
+ "@hyperneo/cli-darwin-x64": "0.43.0",
11
+ "@hyperneo/cli-linux-x64": "0.43.0",
12
+ "@hyperneo/cli-linux-arm64": "0.43.0",
13
+ "@hyperneo/cli-windows-x64": "0.43.0"
13
14
  },
14
15
  "files": [
15
16
  "bin/"