agentics-cli 0.1.6 → 0.1.8

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
package/bin/run.js CHANGED
@@ -53,7 +53,7 @@ function run() {
53
53
 
54
54
  if (!existsSync(binaryPath)) {
55
55
  console.error(`Binary not found: ${binaryPath}`);
56
- console.error('Please reinstall the package: npm install -g @agentics/inference');
56
+ console.error('Please reinstall the package: npm install -g agentics-cli');
57
57
  process.exit(1);
58
58
  }
59
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentics-cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Agentics Inference CLI - AI-powered terminal interface with multi-model support",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -33,9 +33,6 @@
33
33
  "bin",
34
34
  "scripts"
35
35
  ],
36
- "scripts": {
37
- "postinstall": "node scripts/postinstall.js"
38
- },
39
36
  "os": [
40
37
  "darwin",
41
38
  "linux",
@@ -1,44 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import { chmod } from 'fs/promises';
4
- import { existsSync } from 'fs';
5
- import { fileURLToPath } from 'url';
6
- import { dirname, join } from 'path';
7
- import { execSync } from 'child_process';
8
-
9
- const __dirname = dirname(fileURLToPath(import.meta.url));
10
- const binDir = join(__dirname, '..', 'bin');
11
-
12
- async function postinstall() {
13
- const unpackScript = join(binDir, 'unpack.sh');
14
- if (existsSync(unpackScript)) {
15
- try {
16
- execSync(`bash "${unpackScript}"`, { stdio: 'inherit' });
17
- } catch (err) {
18
- }
19
- }
20
-
21
- const binaries = [
22
- 'AgenticsInference-windows-amd64.exe',
23
- 'AgenticsInference-windows-arm64.exe',
24
- 'AgenticsInference-darwin-amd64',
25
- 'AgenticsInference-darwin-arm64',
26
- 'AgenticsInference-linux-amd64',
27
- 'AgenticsInference-linux-arm64'
28
- ];
29
-
30
- for (const binary of binaries) {
31
- const binaryPath = join(binDir, binary);
32
- if (existsSync(binaryPath)) {
33
- try {
34
- await chmod(binaryPath, 0o755);
35
- } catch (err) {
36
- }
37
- }
38
- }
39
-
40
- console.log('⚡ Agentics Inference CLI installed successfully!');
41
- console.log(' Run "agentics-inference" or "ai" to get started.');
42
- }
43
-
44
- postinstall().catch(console.error);