@elizaos/cli 1.5.11-alpha.3 → 1.5.11-alpha.4
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/dev/actions/dev-server.d.ts.map +1 -1
- package/dist/index.js +16 -2
- 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":"dev-server.d.ts","sourceRoot":"","sources":["../../../../src/commands/dev/actions/dev-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"dev-server.d.ts","sourceRoot":"","sources":["../../../../src/commands/dev/actions/dev-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AA8TtC;;;;GAIG;AACH,wBAAsB,YAAY,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAiPrE"}
|
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-alpha.
|
|
4691
|
+
var CLI_VERSION = "1.5.11-alpha.4", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-09-21T13:45:38.805Z", BUILD_ENV = "production", version_default;
|
|
4692
4692
|
var init_version = __esm(() => {
|
|
4693
4693
|
version_default = {
|
|
4694
4694
|
version: CLI_VERSION,
|
|
@@ -273669,6 +273669,20 @@ async function startClientDevServer(cwd) {
|
|
|
273669
273669
|
const localViteTs = path26.join(cwd, "vite.config.ts");
|
|
273670
273670
|
const localViteJs = path26.join(cwd, "vite.config.js");
|
|
273671
273671
|
if (fs15.existsSync(localViteTs) || fs15.existsSync(localViteJs)) {
|
|
273672
|
+
const packageJsonPath = path26.join(cwd, "package.json");
|
|
273673
|
+
if (fs15.existsSync(packageJsonPath)) {
|
|
273674
|
+
try {
|
|
273675
|
+
const packageJson = JSON.parse(fs15.readFileSync(packageJsonPath, "utf-8"));
|
|
273676
|
+
const devScript2 = packageJson.scripts?.["dev:client"] || packageJson.scripts?.["dev"];
|
|
273677
|
+
if (devScript2 && devScript2.includes("elizaos dev")) {
|
|
273678
|
+
console.warn("Detected potential recursive elizaos dev execution in local Vite config. Skipping client dev server to prevent infinite loop.");
|
|
273679
|
+
return;
|
|
273680
|
+
}
|
|
273681
|
+
} catch (error) {
|
|
273682
|
+
console.warn("Could not parse package.json for recursive execution check. Skipping client dev server to be safe.");
|
|
273683
|
+
return;
|
|
273684
|
+
}
|
|
273685
|
+
}
|
|
273672
273686
|
clientDir = cwd;
|
|
273673
273687
|
}
|
|
273674
273688
|
}
|
|
@@ -299004,5 +299018,5 @@ main2().catch((error2) => {
|
|
|
299004
299018
|
process.exit(1);
|
|
299005
299019
|
});
|
|
299006
299020
|
|
|
299007
|
-
//# debugId=
|
|
299021
|
+
//# debugId=2066AF769EEE1F8B64756E2164756E21
|
|
299008
299022
|
//# sourceMappingURL=index.js.map
|