@elizaos/cli 1.7.2-alpha.8 → 1.7.2-beta.0
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/commands/containers/actions/list.d.ts.map +1 -1
- package/dist/commands/login/types.d.ts +2 -0
- package/dist/commands/login/types.d.ts.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +7 -7
- 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/get-config.d.ts.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +2 -2
- package/package.json +8 -8
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/containers/actions/list.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAa,MAAM,UAAU,CAAC;AAmB7D,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/containers/actions/list.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAa,MAAM,UAAU,CAAC;AAmB7D,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,iBAAiB,iBAuHpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/commands/login/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/commands/login/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,yEAAyE;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,CAAC;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B"}
|
package/dist/index.js
CHANGED
|
@@ -4670,7 +4670,7 @@ __export(exports_version, {
|
|
|
4670
4670
|
BUILD_TIME: () => BUILD_TIME,
|
|
4671
4671
|
BUILD_ENV: () => BUILD_ENV
|
|
4672
4672
|
});
|
|
4673
|
-
var CLI_VERSION = "1.7.2-
|
|
4673
|
+
var CLI_VERSION = "1.7.2-beta.0", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2026-01-19T20:35:53.766Z", BUILD_ENV = "production", version_default;
|
|
4674
4674
|
var init_version = __esm(() => {
|
|
4675
4675
|
version_default = {
|
|
4676
4676
|
version: CLI_VERSION,
|
|
@@ -24317,7 +24317,7 @@ async function handleLogin(options) {
|
|
|
24317
24317
|
throw new Error("Invalid API key format: expected eliza_xxxxx");
|
|
24318
24318
|
}
|
|
24319
24319
|
spinner.succeed("Authentication successful!");
|
|
24320
|
-
await writeApiKeyToEnv(authResult.apiKey);
|
|
24320
|
+
await writeApiKeyToEnv(authResult.apiKey, options.envFilePath);
|
|
24321
24321
|
displaySuccessMessage(authResult);
|
|
24322
24322
|
} catch (error49) {
|
|
24323
24323
|
if (error49 instanceof Error) {
|
|
@@ -24334,10 +24334,10 @@ function displayManualInstructions(authUrl) {
|
|
|
24334
24334
|
${authUrl}
|
|
24335
24335
|
`));
|
|
24336
24336
|
}
|
|
24337
|
-
async function writeApiKeyToEnv(apiKey) {
|
|
24337
|
+
async function writeApiKeyToEnv(apiKey, envFilePath) {
|
|
24338
24338
|
const spinner = ora("Saving API key to .env file...").start();
|
|
24339
24339
|
try {
|
|
24340
|
-
const envPath = path10.join(process.cwd(), ".env");
|
|
24340
|
+
const envPath = envFilePath || path10.join(process.cwd(), ".env");
|
|
24341
24341
|
let envVars = {};
|
|
24342
24342
|
if (existsSync9(envPath)) {
|
|
24343
24343
|
try {
|
|
@@ -25120,7 +25120,8 @@ async function promptAndStoreElizaCloudKey(envFilePath) {
|
|
|
25120
25120
|
await handleLogin2({
|
|
25121
25121
|
cloudUrl,
|
|
25122
25122
|
browser: true,
|
|
25123
|
-
timeout: "300"
|
|
25123
|
+
timeout: "300",
|
|
25124
|
+
envFilePath
|
|
25124
25125
|
});
|
|
25125
25126
|
if (existsSync10(envFilePath)) {
|
|
25126
25127
|
const content = await fs7.readFile(envFilePath, "utf8");
|
|
@@ -308682,5 +308683,5 @@ main().catch((error49) => {
|
|
|
308682
308683
|
process.exit(1);
|
|
308683
308684
|
});
|
|
308684
308685
|
|
|
308685
|
-
//# debugId=
|
|
308686
|
+
//# debugId=6AB64D899705708964756E2164756E21
|
|
308686
308687
|
//# sourceMappingURL=index.js.map
|