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 +0 -0
- package/package.json +1 -1
- package/scripts/build.js +6 -1
package/dist/taskforceai
CHANGED
|
Binary file
|
package/package.json
CHANGED
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}`);
|