taskforceai-cli 0.3.1 → 0.3.2

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/dist/taskforceai CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskforceai-cli",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "TaskForceAI terminal client packaged for npm-based installs.",
5
5
  "type": "module",
6
6
  "bin": {
package/scripts/build.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { spawnSync } from 'node:child_process';
2
- import { mkdirSync } from 'node:fs';
2
+ import { chmodSync, mkdirSync } from 'node:fs';
3
3
  import { dirname, join } from 'node:path';
4
4
  import { fileURLToPath } from 'node:url';
5
5
 
@@ -38,4 +38,9 @@ if (build.status !== 0) {
38
38
  process.exit(build.status ?? 1);
39
39
  }
40
40
 
41
+ // Set executable permissions on the binary (fixes EACCES errors)
42
+ if (process.platform !== 'win32') {
43
+ chmodSync(outputPath, 0o755);
44
+ }
45
+
41
46
  console.log(`[taskforceai-cli] Built TaskForceAI CLI binary -> ${outputPath}`);