beltsh 1.15.2 → 1.15.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/install.js +8 -4
- package/package.json +3 -2
package/install.js
CHANGED
|
@@ -179,7 +179,11 @@ async function main() {
|
|
|
179
179
|
console.log(`Installed belt ${manifest.version} to ${installDir}`);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
182
|
+
if (require.main === module) {
|
|
183
|
+
main().catch((err) => {
|
|
184
|
+
console.error("belt installation failed:", err.message);
|
|
185
|
+
process.exit(1);
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
module.exports = { extractFromZip, extractFromTarGz, getInstallDir };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beltsh",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.4",
|
|
4
4
|
"description": "inference.sh CLI — run AI apps, manage skills, connect MCP servers",
|
|
5
5
|
"homepage": "https://inference.sh",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"inferencesh": "run.js"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"postinstall": "node install.js"
|
|
17
|
+
"postinstall": "node install.js",
|
|
18
|
+
"test": "node --test install.test.js run.test.js"
|
|
18
19
|
},
|
|
19
20
|
"os": [
|
|
20
21
|
"darwin",
|