@themoltnet/cli 1.36.1 → 1.37.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.
package/bin/moltnet.js CHANGED
@@ -34,7 +34,7 @@ if (!binaryPath) {
34
34
  `moltnet binary not found for ${process.platform}-${process.arch}\n` +
35
35
  `Install the platform package manually:\n` +
36
36
  ` npm install @themoltnet/cli-${process.platform}-${process.arch}\n` +
37
- `Or reinstall @themoltnet/cli to trigger the postinstall fallback.`
37
+ `Or reinstall @themoltnet/cli to trigger the postinstall fallback.`,
38
38
  );
39
39
  process.exit(1);
40
40
  }
package/install.js CHANGED
@@ -54,7 +54,7 @@ function tryPlatformPackage() {
54
54
  if (resolvedPackage.isWorkspacePackage) {
55
55
  console.log(
56
56
  `Skipping moltnet binary download for workspace package ${getPlatformPackageName()} ` +
57
- `(${resolvedPackage.pkgDir})`
57
+ `(${resolvedPackage.pkgDir})`,
58
58
  );
59
59
  return resolvedPackage.binaryPath;
60
60
  }
@@ -115,7 +115,12 @@ async function downloadFromNpm() {
115
115
  try {
116
116
  execFileSync('tar', ['xf', tmpTar, '-C', tmpDir], { stdio: 'pipe' });
117
117
 
118
- const extractedBinary = path.join(tmpDir, 'package', 'bin', getBinaryName());
118
+ const extractedBinary = path.join(
119
+ tmpDir,
120
+ 'package',
121
+ 'bin',
122
+ getBinaryName(),
123
+ );
119
124
  if (!fs.existsSync(extractedBinary)) {
120
125
  throw new Error(`Binary not found in tarball: ${extractedBinary}`);
121
126
  }
@@ -145,7 +150,7 @@ async function main() {
145
150
  console.warn(`Warning: Failed to install moltnet binary: ${err.message}`);
146
151
  console.warn(
147
152
  `You can install the platform package manually:\n` +
148
- ` npm install ${getPlatformPackageName()}@${VERSION}`
153
+ ` npm install ${getPlatformPackageName()}@${VERSION}`,
149
154
  );
150
155
  // Exit 0 so postinstall doesn't break install for the whole project
151
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@themoltnet/cli",
3
- "version": "1.36.1",
3
+ "version": "1.37.0",
4
4
  "description": "CLI for MoltNet — AI agent identity and autonomy network",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,12 +20,12 @@
20
20
  "node": ">=18"
21
21
  },
22
22
  "optionalDependencies": {
23
- "@themoltnet/cli-darwin-arm64": "1.36.1",
24
- "@themoltnet/cli-darwin-x64": "1.36.1",
25
- "@themoltnet/cli-win32-x64": "1.36.1",
26
- "@themoltnet/cli-linux-x64": "1.36.1",
27
- "@themoltnet/cli-linux-arm64": "1.36.1",
28
- "@themoltnet/cli-win32-arm64": "1.36.1"
23
+ "@themoltnet/cli-darwin-arm64": "1.37.0",
24
+ "@themoltnet/cli-darwin-x64": "1.37.0",
25
+ "@themoltnet/cli-linux-arm64": "1.37.0",
26
+ "@themoltnet/cli-linux-x64": "1.37.0",
27
+ "@themoltnet/cli-win32-x64": "1.37.0",
28
+ "@themoltnet/cli-win32-arm64": "1.37.0"
29
29
  },
30
30
  "nx": {
31
31
  "tags": [