@elizaos/cli 1.6.2-alpha.6 → 1.6.2-alpha.7
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/start/index.d.ts.map +1 -1
- package/dist/index.js +19 -3
- 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/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
|
@@ -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;AAOpC,eAAO,MAAM,KAAK,
|
|
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,SAgPd,CAAC;AAGL,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4727,7 +4727,7 @@ __export(exports_version, {
|
|
|
4727
4727
|
BUILD_TIME: () => BUILD_TIME,
|
|
4728
4728
|
BUILD_ENV: () => BUILD_ENV
|
|
4729
4729
|
});
|
|
4730
|
-
var CLI_VERSION = "1.6.2-alpha.
|
|
4730
|
+
var CLI_VERSION = "1.6.2-alpha.7", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-10-07T11:25:03.969Z", BUILD_ENV = "production", version_default;
|
|
4731
4731
|
var init_version = __esm(() => {
|
|
4732
4732
|
version_default = {
|
|
4733
4733
|
version: CLI_VERSION,
|
|
@@ -307267,7 +307267,23 @@ var start = new Command().name("start").description("Build and start the Eliza a
|
|
|
307267
307267
|
dataDir: process.env.PGLITE_DATA_DIR,
|
|
307268
307268
|
postgresUrl: process.env.POSTGRES_URL
|
|
307269
307269
|
});
|
|
307270
|
-
|
|
307270
|
+
let port;
|
|
307271
|
+
if (options.port !== undefined) {
|
|
307272
|
+
port = options.port;
|
|
307273
|
+
} else {
|
|
307274
|
+
const envPort = process.env.SERVER_PORT;
|
|
307275
|
+
if (envPort) {
|
|
307276
|
+
try {
|
|
307277
|
+
port = validatePort(envPort);
|
|
307278
|
+
} catch {
|
|
307279
|
+
logger42.warn(`Invalid SERVER_PORT "${envPort}", falling back to 3000`);
|
|
307280
|
+
port = 3000;
|
|
307281
|
+
}
|
|
307282
|
+
} else {
|
|
307283
|
+
port = 3000;
|
|
307284
|
+
}
|
|
307285
|
+
}
|
|
307286
|
+
await server2.start(port);
|
|
307271
307287
|
if (projectAgents && projectAgents.length > 0) {
|
|
307272
307288
|
const runtimes = [];
|
|
307273
307289
|
const agentRuntimeMap = new Map;
|
|
@@ -309529,5 +309545,5 @@ main().catch((error47) => {
|
|
|
309529
309545
|
process.exit(1);
|
|
309530
309546
|
});
|
|
309531
309547
|
|
|
309532
|
-
//# debugId=
|
|
309548
|
+
//# debugId=C035E9478D44FA9C64756E2164756E21
|
|
309533
309549
|
//# sourceMappingURL=index.js.map
|