@elizaos/cli 1.5.11 → 1.5.12-alpha.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.
@@ -1 +1 @@
1
- {"version":3,"file":"eliza.d.ts","sourceRoot":"","sources":["../../src/characters/eliza.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AA0N/C;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,SAAS,CAkC7C;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,SAAyB,CAAC"}
1
+ {"version":3,"file":"eliza.d.ts","sourceRoot":"","sources":["../../src/characters/eliza.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AA0N/C;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,SAAS,CAuC7C;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,SAAyB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/start/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,eAAO,MAAM,KAAK,SAqKd,CAAC;AAGL,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/start/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOpC,eAAO,MAAM,KAAK,SAgLd,CAAC;AAGL,cAAc,SAAS,CAAC"}
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.11", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-09-24T07:32:23.904Z", BUILD_ENV = "production", version_default;
4691
+ var CLI_VERSION = "1.5.12-alpha.2", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-09-26T02:58:16.602Z", BUILD_ENV = "production", version_default;
4692
4692
  var init_version = __esm(() => {
4693
4693
  version_default = {
4694
4694
  version: CLI_VERSION,
@@ -281103,7 +281103,7 @@ function getElizaCharacter() {
281103
281103
  ...process.env.TWITTER_API_KEY?.trim() && process.env.TWITTER_API_SECRET_KEY?.trim() && process.env.TWITTER_ACCESS_TOKEN?.trim() && process.env.TWITTER_ACCESS_TOKEN_SECRET?.trim() ? ["@elizaos/plugin-twitter"] : [],
281104
281104
  ...process.env.TELEGRAM_BOT_TOKEN?.trim() ? ["@elizaos/plugin-telegram"] : [],
281105
281105
  ...!process.env.IGNORE_BOOTSTRAP ? ["@elizaos/plugin-bootstrap"] : [],
281106
- "@elizaos/plugin-ollama"
281106
+ ...!process.env.ANTHROPIC_API_KEY?.trim() && !process.env.OPENROUTER_API_KEY?.trim() && !process.env.OPENAI_API_KEY?.trim() && !process.env.GOOGLE_GENERATIVE_AI_API_KEY?.trim() ? ["@elizaos/plugin-ollama"] : []
281107
281107
  ];
281108
281108
  return {
281109
281109
  ...baseCharacter,
@@ -285249,7 +285249,8 @@ class LRUCache {
285249
285249
  return fetchFail(ac.signal.reason);
285250
285250
  }
285251
285251
  const bf2 = p2;
285252
- if (this.#valList[index] === p2) {
285252
+ const vl = this.#valList[index];
285253
+ if (vl === p2 || ignoreAbort && updateCache && vl === undefined) {
285253
285254
  if (v3 === undefined) {
285254
285255
  if (bf2.__staleWhileFetching !== undefined) {
285255
285256
  this.#valList[index] = bf2.__staleWhileFetching;
@@ -305405,6 +305406,7 @@ function validatePort(value) {
305405
305406
  // src/commands/start/index.ts
305406
305407
  init_esm();
305407
305408
  var import_dotenv4 = __toESM(require_main(), 1);
305409
+ init_user_environment();
305408
305410
  import { logger as logger42 } from "@elizaos/core";
305409
305411
  import * as fs32 from "fs";
305410
305412
  import * as path58 from "path";
@@ -305412,9 +305414,18 @@ var start = new Command().name("start").description("Build and start the Eliza a
305412
305414
  await displayBanner();
305413
305415
  }).action(async (options) => {
305414
305416
  try {
305415
- const envPath = path58.join(process.cwd(), ".env");
305416
- if (fs32.existsSync(envPath)) {
305417
- import_dotenv4.default.config({ path: envPath });
305417
+ try {
305418
+ const userEnv = UserEnvironment.getInstance();
305419
+ const { envFilePath } = await userEnv.getPathInfo();
305420
+ const candidateEnv = envFilePath || path58.join(process.cwd(), ".env");
305421
+ if (fs32.existsSync(candidateEnv)) {
305422
+ import_dotenv4.default.config({ path: candidateEnv });
305423
+ }
305424
+ } catch {
305425
+ const envPath = path58.join(process.cwd(), ".env");
305426
+ if (fs32.existsSync(envPath)) {
305427
+ import_dotenv4.default.config({ path: envPath });
305428
+ }
305418
305429
  }
305419
305430
  await ensureElizaOSCli();
305420
305431
  const localModulesPath = path58.join(process.cwd(), "node_modules");
@@ -307730,5 +307741,5 @@ main2().catch((error46) => {
307730
307741
  process.exit(1);
307731
307742
  });
307732
307743
 
307733
- //# debugId=93AAB1E200D856E864756E2164756E21
307744
+ //# debugId=730E0DCEF12066D164756E2164756E21
307734
307745
  //# sourceMappingURL=index.js.map