isol8 0.12.0 → 0.12.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/dist/cli.js +15 -4
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6929,6 +6929,11 @@ var require_utils2 = __commonJS((exports, module) => {
|
|
|
6929
6929
|
};
|
|
6930
6930
|
});
|
|
6931
6931
|
|
|
6932
|
+
// node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node
|
|
6933
|
+
var require_sshcrypto = __commonJS((exports, module) => {
|
|
6934
|
+
module.exports = __require("./sshcrypto-0209sx47.node");
|
|
6935
|
+
});
|
|
6936
|
+
|
|
6932
6937
|
// node_modules/ssh2/lib/protocol/crypto/poly1305.js
|
|
6933
6938
|
var require_poly1305 = __commonJS((exports, module) => {
|
|
6934
6939
|
var __dirname = "/home/runner/work/isol8/isol8/node_modules/ssh2/lib/protocol/crypto", __filename = "/home/runner/work/isol8/isol8/node_modules/ssh2/lib/protocol/crypto/poly1305.js";
|
|
@@ -7415,7 +7420,7 @@ var require_crypto = __commonJS((exports, module) => {
|
|
|
7415
7420
|
var ChaChaPolyDecipher;
|
|
7416
7421
|
var GenericDecipher;
|
|
7417
7422
|
try {
|
|
7418
|
-
binding = (
|
|
7423
|
+
binding = require_sshcrypto();
|
|
7419
7424
|
({
|
|
7420
7425
|
AESGCMCipher,
|
|
7421
7426
|
ChaChaPolyCipher,
|
|
@@ -57267,7 +57272,7 @@ var package_default;
|
|
|
57267
57272
|
var init_package = __esm(() => {
|
|
57268
57273
|
package_default = {
|
|
57269
57274
|
name: "isol8",
|
|
57270
|
-
version: "0.
|
|
57275
|
+
version: "0.12.0",
|
|
57271
57276
|
description: "Secure code execution engine for AI agents",
|
|
57272
57277
|
author: "Illusion47586",
|
|
57273
57278
|
license: "MIT",
|
|
@@ -63025,7 +63030,13 @@ async function downloadServerBinary(binaryPath) {
|
|
|
63025
63030
|
logger.debug(`[Serve] Download URL: ${url}`);
|
|
63026
63031
|
const spinner = ora(`Downloading isol8 server v${VERSION}...`).start();
|
|
63027
63032
|
try {
|
|
63028
|
-
|
|
63033
|
+
let response = await fetch(url, { redirect: "follow" });
|
|
63034
|
+
if (response.status === 404) {
|
|
63035
|
+
const fallbackUrl = `https://github.com/Illusion47586/isol8/releases/latest/download/${binaryName}`;
|
|
63036
|
+
logger.debug(`[Serve] Binary not found for v${VERSION}, trying latest from ${fallbackUrl}`);
|
|
63037
|
+
spinner.text = `v${VERSION} not found, downloading latest available version...`;
|
|
63038
|
+
response = await fetch(fallbackUrl, { redirect: "follow" });
|
|
63039
|
+
}
|
|
63029
63040
|
if (!response.ok) {
|
|
63030
63041
|
spinner.fail(`Failed to download server binary (HTTP ${response.status})`);
|
|
63031
63042
|
if (response.status === 404) {
|
|
@@ -63560,4 +63571,4 @@ if (!process.argv.slice(2).length) {
|
|
|
63560
63571
|
}
|
|
63561
63572
|
program2.parse();
|
|
63562
63573
|
|
|
63563
|
-
//# debugId=
|
|
63574
|
+
//# debugId=0B5A0E438410953564756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -2445,7 +2445,7 @@ init_logger();
|
|
|
2445
2445
|
// package.json
|
|
2446
2446
|
var package_default = {
|
|
2447
2447
|
name: "isol8",
|
|
2448
|
-
version: "0.
|
|
2448
|
+
version: "0.12.0",
|
|
2449
2449
|
description: "Secure code execution engine for AI agents",
|
|
2450
2450
|
author: "Illusion47586",
|
|
2451
2451
|
license: "MIT",
|
|
@@ -2878,4 +2878,4 @@ export {
|
|
|
2878
2878
|
BunAdapter
|
|
2879
2879
|
};
|
|
2880
2880
|
|
|
2881
|
-
//# debugId=
|
|
2881
|
+
//# debugId=3AEBA9C5B41F55B064756E2164756E21
|