taskforceai-cli 0.3.2 → 0.3.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.
- package/bin/taskforceai.js +10 -1
- package/dist/taskforceai +0 -0
- package/package.json +7 -7
- package/LICENSE +0 -37
package/bin/taskforceai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { spawn } from 'node:child_process';
|
|
3
|
-
import { existsSync } from 'node:fs';
|
|
3
|
+
import { chmodSync, existsSync } from 'node:fs';
|
|
4
4
|
import { dirname, join } from 'node:path';
|
|
5
5
|
import { fileURLToPath } from 'node:url';
|
|
6
6
|
|
|
@@ -16,6 +16,15 @@ if (!existsSync(binaryPath)) {
|
|
|
16
16
|
process.exit(1);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
// Ensure binary has execute permissions (npm doesn't preserve them in tarballs)
|
|
20
|
+
if (process.platform !== 'win32') {
|
|
21
|
+
try {
|
|
22
|
+
chmodSync(binaryPath, 0o755);
|
|
23
|
+
} catch (err) {
|
|
24
|
+
// Silently ignore permission errors (might not have write access)
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
19
28
|
const args = process.argv.slice(2);
|
|
20
29
|
const child = spawn(binaryPath, args, { stdio: 'inherit' });
|
|
21
30
|
|
package/dist/taskforceai
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "taskforceai-cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "TaskForceAI terminal client packaged for npm-based installs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"taskforceai": "./bin/taskforceai.js",
|
|
8
8
|
"taskforceai-tui": "./bin/taskforceai.js"
|
|
9
9
|
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"postinstall": "node ./scripts/build.js",
|
|
12
|
+
"build": "node ./scripts/build.js"
|
|
13
|
+
},
|
|
10
14
|
"files": [
|
|
11
15
|
"bin",
|
|
12
16
|
"scripts",
|
|
@@ -30,9 +34,5 @@
|
|
|
30
34
|
"bugs": {
|
|
31
35
|
"url": "https://github.com/ClayWarren/grok4fastheavy/issues"
|
|
32
36
|
},
|
|
33
|
-
"homepage": "https://taskforceai.chat"
|
|
34
|
-
|
|
35
|
-
"postinstall": "node ./scripts/build.js",
|
|
36
|
-
"build": "node ./scripts/build.js"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
37
|
+
"homepage": "https://taskforceai.chat"
|
|
38
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
MIT License with Attribution Requirement for Large-Scale Commercial Use
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Clay Warren
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
ADDITIONAL COMMERCIAL ATTRIBUTION REQUIREMENT:
|
|
16
|
-
If you use this Software, in whole or in part, in any product, service, or
|
|
17
|
-
application that serves more than 100,000 users, you must:
|
|
18
|
-
|
|
19
|
-
1. Provide clear attribution to Pietro Schirano as the original creator
|
|
20
|
-
2. Include a statement that your product uses the "Grok 4 Fast Heavy" framework
|
|
21
|
-
3. This attribution must be visible in one of the following locations:
|
|
22
|
-
- Product documentation
|
|
23
|
-
- About page/section
|
|
24
|
-
- Credits section
|
|
25
|
-
- Help/support documentation
|
|
26
|
-
- Or equivalent user-accessible location
|
|
27
|
-
|
|
28
|
-
Example attribution: "Powered by Grok 4 Fast heavy framework by Clay Warren"
|
|
29
|
-
or "Uses Make It heavy multi-agent system created by Clay Warren"
|
|
30
|
-
|
|
31
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
32
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
33
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
34
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
35
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
36
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
|
-
SOFTWARE.
|