@kolisachint/hoocode 0.1.31 → 0.1.33
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/hoocode.js +7 -1
- package/package.json +5 -5
package/bin/hoocode.js
CHANGED
|
@@ -25,9 +25,15 @@ let bin;
|
|
|
25
25
|
try {
|
|
26
26
|
bin = require.resolve(`${pkg}/bin/hoocode`);
|
|
27
27
|
} catch {
|
|
28
|
+
// This launcher ships under two names (`hoocode` and `@kolisachint/hoocode`),
|
|
29
|
+
// so the reinstall hint uses whichever one installed this copy.
|
|
30
|
+
let selfName = "@kolisachint/hoocode";
|
|
31
|
+
try {
|
|
32
|
+
selfName = require("../package.json").name;
|
|
33
|
+
} catch {}
|
|
28
34
|
console.error(`hoocode: the platform package ${pkg} is not installed.`);
|
|
29
35
|
console.error("It is an optional dependency; reinstall without --no-optional / --omit=optional:");
|
|
30
|
-
console.error(
|
|
36
|
+
console.error(` npm install -g ${selfName}`);
|
|
31
37
|
process.exit(1);
|
|
32
38
|
}
|
|
33
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolisachint/hoocode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
4
4
|
"description": "HooCode, the terminal coding agent (Rust build)",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hoocode": "bin/hoocode.js",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"node": ">=18"
|
|
14
14
|
},
|
|
15
15
|
"optionalDependencies": {
|
|
16
|
-
"@kolisachint/hoocode-darwin-arm64": "0.1.
|
|
17
|
-
"@kolisachint/hoocode-darwin-x64": "0.1.
|
|
18
|
-
"@kolisachint/hoocode-linux-arm64": "0.1.
|
|
19
|
-
"@kolisachint/hoocode-linux-x64": "0.1.
|
|
16
|
+
"@kolisachint/hoocode-darwin-arm64": "0.1.33",
|
|
17
|
+
"@kolisachint/hoocode-darwin-x64": "0.1.33",
|
|
18
|
+
"@kolisachint/hoocode-linux-arm64": "0.1.33",
|
|
19
|
+
"@kolisachint/hoocode-linux-x64": "0.1.33"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"repository": {
|