@elizaos/cli 1.5.9-alpha.17 → 1.5.9-alpha.18
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/index.js +14 -4
- package/dist/index.js.map +4 -4
- package/dist/templates/plugin-quick-starter/package.json +2 -2
- package/dist/templates/plugin-starter/package.json +2 -2
- package/dist/templates/project-starter/package.json +6 -6
- package/dist/templates/project-tee-starter/package.json +4 -4
- package/dist/utils/package-manager.d.ts.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.js +2 -2
- package/package.json +7 -7
- package/templates/plugin-quick-starter/package.json +2 -2
- package/templates/plugin-starter/package.json +2 -2
- package/templates/project-starter/package.json +6 -6
- package/templates/project-tee-starter/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -4688,7 +4688,7 @@ __export(exports_version, {
|
|
|
4688
4688
|
BUILD_TIME: () => BUILD_TIME,
|
|
4689
4689
|
BUILD_ENV: () => BUILD_ENV
|
|
4690
4690
|
});
|
|
4691
|
-
var CLI_VERSION = "1.5.9-alpha.
|
|
4691
|
+
var CLI_VERSION = "1.5.9-alpha.18", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-09-17T04:27:24.320Z", BUILD_ENV = "production", version_default;
|
|
4692
4692
|
var init_version = __esm(() => {
|
|
4693
4693
|
version_default = {
|
|
4694
4694
|
version: CLI_VERSION,
|
|
@@ -14771,12 +14771,22 @@ function buildGitHubSpecifier(githubSpec, versionOrTag) {
|
|
|
14771
14771
|
}
|
|
14772
14772
|
async function executeInstallationWithFallback(packageName, versionOrTag = "", directory = process.cwd(), githubFallback) {
|
|
14773
14773
|
const result = await executeInstallation(packageName, versionOrTag, directory);
|
|
14774
|
-
if (result.success
|
|
14774
|
+
if (result.success) {
|
|
14775
|
+
return result;
|
|
14776
|
+
}
|
|
14777
|
+
if (versionOrTag && ["alpha", "beta"].includes(versionOrTag)) {
|
|
14778
|
+
const retryNoTag = await executeInstallation(packageName, "", directory);
|
|
14779
|
+
if (retryNoTag.success) {
|
|
14780
|
+
return retryNoTag;
|
|
14781
|
+
}
|
|
14782
|
+
}
|
|
14783
|
+
if (!githubFallback) {
|
|
14775
14784
|
return result;
|
|
14776
14785
|
}
|
|
14777
14786
|
logger18.debug(`npm installation failed, attempting GitHub fallback: ${githubFallback}`);
|
|
14778
14787
|
await removeFromBunLock(packageName, directory);
|
|
14779
|
-
const
|
|
14788
|
+
const ref = versionOrTag && !["alpha", "beta"].includes(versionOrTag) ? versionOrTag : "";
|
|
14789
|
+
const githubSpecifier = `github:${githubFallback}${ref ? `#${ref}` : ""}`;
|
|
14780
14790
|
return await executeInstallation(githubSpecifier, "", directory);
|
|
14781
14791
|
}
|
|
14782
14792
|
var init_package_manager = __esm(() => {
|
|
@@ -299333,5 +299343,5 @@ main2().catch((error2) => {
|
|
|
299333
299343
|
process.exit(1);
|
|
299334
299344
|
});
|
|
299335
299345
|
|
|
299336
|
-
//# debugId=
|
|
299346
|
+
//# debugId=936AB48921A9C2FC64756E2164756E21
|
|
299337
299347
|
//# sourceMappingURL=index.js.map
|