@axiomantic/garden 0.1.3 → 0.1.4

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.
Binary file
Binary file
Binary file
Binary file
package/bin/run.js CHANGED
@@ -59,8 +59,10 @@ function resolveBinary() {
59
59
  const arch = process.arch === 'arm64' ? 'arm64' : 'amd64';
60
60
  const platform = process.platform === 'darwin' ? 'darwin' : (process.platform === 'linux' ? 'linux' : 'windows');
61
61
 
62
- // 1. Check local/bundled locations
62
+ // 1. Check local/bundled locations (Fat-Package and local builds)
63
63
  const candidates = [
64
+ path.join(__dirname, 'binaries', `${PKG_NAME}-${process.platform}-${process.arch}${ext}`),
65
+ path.join(__dirname, 'binaries', `${PKG_NAME}-${process.platform}-${process.arch === 'x64' ? 'amd64' : process.arch}${ext}`),
64
66
  path.join(__dirname, `${PKG_NAME}-${process.platform}-${process.arch}${ext}`),
65
67
  path.join(__dirname, `${PKG_NAME}${ext}`),
66
68
  path.join(__dirname, '..', 'vendor', 'bin', `${PKG_NAME}${ext}`),
@@ -68,6 +70,7 @@ function resolveBinary() {
68
70
 
69
71
  for (const cand of candidates) {
70
72
  if (isCompatibleBinary(cand)) {
73
+ try { fs.chmodSync(cand, 0o755); } catch (_) {}
71
74
  return cand;
72
75
  }
73
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiomantic/garden",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Multi-Agent Swarm Orchestration, Empirical Dialectics & Ceremonies on top of Rhizo & Vine",
5
5
  "main": "bin/run.js",
6
6
  "bin": {
@@ -9,6 +9,7 @@
9
9
  "skills": "./skills",
10
10
  "files": [
11
11
  "bin/run.js",
12
+ "bin/binaries/",
12
13
  "scripts/",
13
14
  "skills/",
14
15
  "SKILL.md",