@telagod/nocode 0.1.6 → 0.2.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.
Files changed (2) hide show
  1. package/bin/nocode +7 -0
  2. package/package.json +11 -8
package/bin/nocode CHANGED
@@ -48,6 +48,13 @@ function getBinaryPath() {
48
48
  process.exit(1);
49
49
  }
50
50
 
51
+ // Ensure the binary is executable (upload-artifact strips permissions)
52
+ try {
53
+ fs.accessSync(bin, fs.constants.X_OK);
54
+ } catch {
55
+ fs.chmodSync(bin, 0o755);
56
+ }
57
+
51
58
  return bin;
52
59
  }
53
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telagod/nocode",
3
- "version": "0.1.6",
3
+ "version": "0.2.3",
4
4
  "description": "Terminal-native AI coding assistant built in Rust",
5
5
  "license": "MIT",
6
6
  "author": "telagod",
@@ -11,17 +11,20 @@
11
11
  "bin": {
12
12
  "nocode": "bin/nocode"
13
13
  },
14
- "files": ["bin/", "scripts/"],
14
+ "files": [
15
+ "bin/",
16
+ "scripts/"
17
+ ],
15
18
  "scripts": {
16
19
  "postinstall": "node scripts/postinstall.js"
17
20
  },
18
21
  "optionalDependencies": {
19
- "@telagod/nocode-linux-x64": "0.1.6",
20
- "@telagod/nocode-linux-arm64": "0.1.6",
21
- "@telagod/nocode-darwin-x64": "0.1.6",
22
- "@telagod/nocode-darwin-arm64": "0.1.6",
23
- "@telagod/nocode-win32-x64": "0.1.6",
24
- "@telagod/nocode-win32-arm64": "0.1.6"
22
+ "@telagod/nocode-linux-x64": "0.2.3",
23
+ "@telagod/nocode-linux-arm64": "0.2.3",
24
+ "@telagod/nocode-darwin-x64": "0.2.3",
25
+ "@telagod/nocode-darwin-arm64": "0.2.3",
26
+ "@telagod/nocode-win32-x64": "0.2.3",
27
+ "@telagod/nocode-win32-arm64": "0.2.3"
25
28
  },
26
29
  "engines": {
27
30
  "node": ">=16"