ainecto 0.15.0 → 0.15.2
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 +1 -1
- package/dist/bin/ainecto.js +831 -602
- package/dist/bin/ainecto.js.map +1 -1
- package/dist/bin/mcp.js +10 -7
- package/dist/bin/mcp.js.map +1 -1
- package/package.json +2 -2
package/dist/bin/mcp.js
CHANGED
|
@@ -220,8 +220,8 @@ function legacyRoleInput(flag, envVars = process.env) {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
// src/core/version.ts
|
|
223
|
-
var CLI_VERSION = true ? "0.15.
|
|
224
|
-
var CLI_BUILD = true ? "
|
|
223
|
+
var CLI_VERSION = true ? "0.15.2" : UNBUNDLED_VERSION;
|
|
224
|
+
var CLI_BUILD = true ? "cdf776d" : void 0;
|
|
225
225
|
function cliVersionLabel(version, build, release) {
|
|
226
226
|
return release || build === void 0 ? version : `${version}-dev+${build}`;
|
|
227
227
|
}
|
|
@@ -946,19 +946,22 @@ function launchBrowser(url, deps = {}) {
|
|
|
946
946
|
reject(unavailable(error instanceof Error ? error.message : String(error)));
|
|
947
947
|
return;
|
|
948
948
|
}
|
|
949
|
-
|
|
949
|
+
const settle = (finish) => {
|
|
950
|
+
child.unref();
|
|
951
|
+
finish();
|
|
952
|
+
};
|
|
953
|
+
child.once("error", (error) => settle(() => reject(unavailable(error.message))));
|
|
950
954
|
if (platform === "win32") {
|
|
951
|
-
child.once("spawn", () => resolve2
|
|
955
|
+
child.once("spawn", () => settle(resolve2));
|
|
952
956
|
} else {
|
|
953
957
|
child.once("exit", (code, signal) => {
|
|
954
958
|
if (code === 0) {
|
|
955
|
-
resolve2
|
|
959
|
+
settle(resolve2);
|
|
956
960
|
} else {
|
|
957
|
-
reject(unavailable(code === null ? `stopped by ${signal ?? "a signal"}` : `exited with code ${code}`));
|
|
961
|
+
settle(() => reject(unavailable(code === null ? `stopped by ${signal ?? "a signal"}` : `exited with code ${code}`)));
|
|
958
962
|
}
|
|
959
963
|
});
|
|
960
964
|
}
|
|
961
|
-
child.unref();
|
|
962
965
|
});
|
|
963
966
|
}
|
|
964
967
|
function openBrowser(url) {
|