@koi-cli/koi-cli 1.0.0 → 1.1.11
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/package.json +5 -5
- package/shim.js +5 -5
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koi-cli/koi-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.11",
|
|
4
4
|
"description": "koi-cli — interactive terminal assistant built on the Koi agent language",
|
|
5
5
|
"bin": {
|
|
6
6
|
"koi": "./shim.js"
|
|
7
7
|
},
|
|
8
8
|
"optionalDependencies": {
|
|
9
|
-
"@koi-cli/koi-cli-darwin-arm64": "1.
|
|
10
|
-
"@koi-cli/koi-cli-darwin-x64": "1.
|
|
11
|
-
"@koi-cli/koi-cli-linux-x64": "1.
|
|
12
|
-
"@koi-cli/koi-cli-win32-x64": "1.
|
|
9
|
+
"@koi-cli/koi-cli-darwin-arm64": "1.1.11",
|
|
10
|
+
"@koi-cli/koi-cli-darwin-x64": "1.1.11",
|
|
11
|
+
"@koi-cli/koi-cli-linux-x64": "1.1.11",
|
|
12
|
+
"@koi-cli/koi-cli-win32-x64": "1.1.11"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=18"
|
package/shim.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* shim.js — Entry point for the @koi-
|
|
3
|
+
* shim.js — Entry point for the @koi-cli/koi-cli npm package.
|
|
4
4
|
*
|
|
5
5
|
* Detects the current platform/arch and delegates to the matching
|
|
6
|
-
* optional platform package (@koi-
|
|
6
|
+
* optional platform package (@koi-cli/koi-cli-darwin-arm64, etc.)
|
|
7
7
|
* which ships the actual pre-built binary.
|
|
8
8
|
*
|
|
9
|
-
* Installed via: npm install -g @koi-
|
|
9
|
+
* Installed via: npm install -g @koi-cli/koi-cli
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
'use strict';
|
|
@@ -17,7 +17,7 @@ const path = require('path');
|
|
|
17
17
|
const platform = process.platform; // darwin | linux | win32
|
|
18
18
|
const arch = process.arch; // arm64 | x64
|
|
19
19
|
|
|
20
|
-
const pkgName = `@koi-
|
|
20
|
+
const pkgName = `@koi-cli/koi-cli-${platform}-${arch}`;
|
|
21
21
|
|
|
22
22
|
let pkgDir;
|
|
23
23
|
try {
|
|
@@ -25,7 +25,7 @@ try {
|
|
|
25
25
|
} catch {
|
|
26
26
|
console.error(`\x1b[31mError:\x1b[0m koi-cli is not supported on ${platform}/${arch}.`);
|
|
27
27
|
console.error(` Expected optional package: ${pkgName}`);
|
|
28
|
-
console.error(` Try reinstalling: npm install -g @koi-
|
|
28
|
+
console.error(` Try reinstalling: npm install -g @koi-cli/koi-cli`);
|
|
29
29
|
process.exit(1);
|
|
30
30
|
}
|
|
31
31
|
|