@box0/cli 0.1.0 → 0.4.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/install.js +1 -5
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -4,7 +4,7 @@ const path = require("path");
4
4
  const os = require("os");
5
5
  const { execSync } = require("child_process");
6
6
 
7
- const VERSION = "0.1.0";
7
+ const VERSION = require("./package.json").version;
8
8
  const REPO = "risingwavelabs/box0";
9
9
 
10
10
  function getPlatformKey() {
@@ -61,10 +61,6 @@ async function main() {
61
61
  const binaryName = getBinaryName();
62
62
  const destPath = path.join(__dirname, "bin", binaryName);
63
63
 
64
- // Skip if binary already exists
65
- if (fs.existsSync(destPath)) {
66
- return;
67
- }
68
64
 
69
65
  const ext = os.platform() === "win32" ? ".exe" : "";
70
66
  const assetName = `b0-${platformKey}${ext}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box0/cli",
3
- "version": "0.1.0",
3
+ "version": "0.4.0",
4
4
  "description": "Multi-agent platform for AI agents",
5
5
  "license": "MIT",
6
6
  "repository": {