ominibot 0.1.1 → 0.2.1
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/README.md +2 -1
- package/package.json +9 -8
- package/postinstall.mjs +10 -1
package/README.md
CHANGED
|
@@ -30,6 +30,7 @@ The right binary for your machine is installed automatically:
|
|
|
30
30
|
- `ominibot-linux-x64`
|
|
31
31
|
- `ominibot-linux-arm64`
|
|
32
32
|
- `ominibot-linux-x64-musl`
|
|
33
|
+
- `ominibot-linux-arm64-musl`
|
|
33
34
|
- `ominibot-darwin-x64`
|
|
34
35
|
- `ominibot-darwin-arm64`
|
|
35
36
|
- `ominibot-windows-x64`
|
|
@@ -41,4 +42,4 @@ The right binary for your machine is installed automatically:
|
|
|
41
42
|
- Documentation: https://ominibot.com/docs
|
|
42
43
|
- Support: https://ominibot.com/support
|
|
43
44
|
|
|
44
|
-
Version 0.
|
|
45
|
+
Version 0.2.1. Copyright (c) Ominibot. MIT licensed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ominibot",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Ominibot - Picks the model, plans the work, checks its own output, and ships",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -36,12 +36,13 @@
|
|
|
36
36
|
"x64"
|
|
37
37
|
],
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"ominibot-linux-x64": "0.
|
|
40
|
-
"ominibot-linux-arm64": "0.
|
|
41
|
-
"ominibot-linux-x64-musl": "0.
|
|
42
|
-
"ominibot-
|
|
43
|
-
"ominibot-darwin-
|
|
44
|
-
"ominibot-
|
|
45
|
-
"ominibot-windows-
|
|
39
|
+
"ominibot-linux-x64": "0.2.1",
|
|
40
|
+
"ominibot-linux-arm64": "0.2.1",
|
|
41
|
+
"ominibot-linux-x64-musl": "0.2.1",
|
|
42
|
+
"ominibot-linux-arm64-musl": "0.2.1",
|
|
43
|
+
"ominibot-darwin-x64": "0.2.1",
|
|
44
|
+
"ominibot-darwin-arm64": "0.2.1",
|
|
45
|
+
"ominibot-windows-x64": "0.2.1",
|
|
46
|
+
"ominibot-windows-arm64": "0.2.1"
|
|
46
47
|
}
|
|
47
48
|
}
|
package/postinstall.mjs
CHANGED
|
@@ -174,7 +174,8 @@ function main() {
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
throw new Error(
|
|
177
|
+
throw new Error(
|
|
178
|
+
ominibotUnsupportedReason() ??
|
|
178
179
|
`It seems your package manager failed to install the right ominibot CLI package. Try manually installing ${packageNames()
|
|
179
180
|
.map((name) => JSON.stringify(name))
|
|
180
181
|
.join(" or ")}.`,
|
|
@@ -187,3 +188,11 @@ try {
|
|
|
187
188
|
console.error(error.message)
|
|
188
189
|
process.exit(1)
|
|
189
190
|
}
|
|
191
|
+
|
|
192
|
+
function ominibotUnsupportedReason() {
|
|
193
|
+
if (platform === "linux" && arch === "arm64" && isMusl())
|
|
194
|
+
return "There is no musl build for ARM64, so no binary here can load. Use a glibc base image (node:22-slim, debian, ubuntu) rather than Alpine, or install with the shell installer."
|
|
195
|
+
if (arch === "x64" && !supportsAvx2())
|
|
196
|
+
return "This CPU has no AVX2, which this build requires - Intel before 2013, AMD before 2017. No build exists for it, and installing the package by hand will fail the same way."
|
|
197
|
+
return null
|
|
198
|
+
}
|