@elizaos/cli 1.6.2-alpha.11 → 1.6.2-alpha.13

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":"e2e-tests.d.ts","sourceRoot":"","sources":["../../../../src/commands/test/actions/e2e-tests.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAMrE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtD;;;;GAIG;AACH,wBAAsB,WAAW,CAC/B,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,OAAO,EAAE,cAAc,EACvB,WAAW,EAAE,aAAa,GACzB,OAAO,CAAC,UAAU,CAAC,CAkWrB"}
1
+ {"version":3,"file":"e2e-tests.d.ts","sourceRoot":"","sources":["../../../../src/commands/test/actions/e2e-tests.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAMrE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtD;;;;GAIG;AACH,wBAAsB,WAAW,CAC/B,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,OAAO,EAAE,cAAc,EACvB,WAAW,EAAE,aAAa,GACzB,OAAO,CAAC,UAAU,CAAC,CAoWrB"}
package/dist/index.js CHANGED
@@ -4749,7 +4749,7 @@ __export(exports_version, {
4749
4749
  BUILD_TIME: () => BUILD_TIME,
4750
4750
  BUILD_ENV: () => BUILD_ENV
4751
4751
  });
4752
- var CLI_VERSION = "1.6.2-alpha.11", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-10-09T09:25:35.495Z", BUILD_ENV = "production", version_default;
4752
+ var CLI_VERSION = "1.6.2-alpha.13", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-10-11T16:31:39.566Z", BUILD_ENV = "production", version_default;
4753
4753
  var init_version = __esm(() => {
4754
4754
  version_default = {
4755
4755
  version: CLI_VERSION,
@@ -307707,14 +307707,10 @@ async function runE2eTests(testPath, options, projectInfo) {
307707
307707
  }
307708
307708
  logger47.info(`Found ${project.agents?.length || 0} agents`);
307709
307709
  logger47.info("Setting up server properties...");
307710
- const { AgentManager } = serverModule;
307711
- const agentManager = new AgentManager(server2);
307712
307710
  server2.startAgent = async (character) => {
307713
307711
  logger47.info(`Starting agent for character ${character.name}`);
307714
- const [runtime] = await agentManager.startAgents([character], undefined, [], {
307715
- isTestMode: true
307716
- });
307717
- return runtime;
307712
+ const runtimes2 = await server2.startAgents([character], [], { isTestMode: true });
307713
+ return runtimes2[0];
307718
307714
  };
307719
307715
  server2.loadCharacterTryPath = loadCharacterTryPath;
307720
307716
  server2.jsonToCharacter = jsonToCharacter;
@@ -307748,8 +307744,8 @@ async function runE2eTests(testPath, options, projectInfo) {
307748
307744
  throw new Error("Plugin module could not be loaded for testing.");
307749
307745
  }
307750
307746
  const defaultElizaCharacter = getElizaCharacter();
307751
- const [runtime] = await agentManager.startAgents([defaultElizaCharacter], undefined, [pluginUnderTest], { isTestMode: true });
307752
- server2.registerAgent(runtime);
307747
+ const startedRuntimes = await server2.startAgents([defaultElizaCharacter], [pluginUnderTest], { isTestMode: true });
307748
+ const runtime = startedRuntimes[0];
307753
307749
  runtimes.push(runtime);
307754
307750
  projectAgents.push({
307755
307751
  character: defaultElizaCharacter,
@@ -307765,7 +307761,12 @@ async function runE2eTests(testPath, options, projectInfo) {
307765
307761
  try {
307766
307762
  const originalCharacter = { ...agent2.character };
307767
307763
  logger47.debug(`Starting agent: ${originalCharacter.name}`);
307768
- const [runtime] = await agentManager.startAgents([originalCharacter], agent2.init, agent2.plugins || [], { isTestMode: true });
307764
+ const startedRuntimes = await server2.startAgents([originalCharacter], agent2.plugins || [], { isTestMode: true });
307765
+ const runtime = startedRuntimes[0];
307766
+ if (agent2.init) {
307767
+ logger47.debug(`Running custom init for agent: ${originalCharacter.name}`);
307768
+ await agent2.init(runtime);
307769
+ }
307769
307770
  runtimes.push(runtime);
307770
307771
  projectAgents.push(agent2);
307771
307772
  await new Promise((resolve14) => setTimeout(resolve14, 1000));
@@ -309599,5 +309600,5 @@ main().catch((error47) => {
309599
309600
  process.exit(1);
309600
309601
  });
309601
309602
 
309602
- //# debugId=9B60106BF07FA92664756E2164756E21
309603
+ //# debugId=56D7BB18B184D30A64756E2164756E21
309603
309604
  //# sourceMappingURL=index.js.map