@elizaos/app-core 2.0.0-alpha.393 → 2.0.0-alpha.395

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/app-core",
3
- "version": "2.0.0-alpha.393",
3
+ "version": "2.0.0-alpha.395",
4
4
  "description": "Shared application core for elizaOS white-label agent apps.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -464,7 +464,7 @@
464
464
  "@capacitor/preferences": "^8.0.1",
465
465
  "@capacitor/push-notifications": "^8.0.0",
466
466
  "@clack/prompts": "^1.0.0",
467
- "@elizaos/agent": "^2.0.0-alpha.393",
467
+ "@elizaos/agent": "^2.0.0-alpha.395",
468
468
  "@elizaos/app-companion": "^0.0.0",
469
469
  "@elizaos/app-elizamaker": "^0.0.0",
470
470
  "@elizaos/app-lifeops": "^0.0.0",
@@ -473,12 +473,12 @@
473
473
  "@elizaos/app-task-coordinator": "^0.0.0",
474
474
  "@elizaos/app-training": "^0.0.1",
475
475
  "@elizaos/app-vincent": "^0.0.0",
476
- "@elizaos/core": "^2.0.0-alpha.393",
476
+ "@elizaos/core": "^2.0.0-alpha.395",
477
477
  "@elizaos/plugin-browser-bridge": "^0.1.0",
478
478
  "@elizaos/plugin-sql": "^2.0.0-alpha.19",
479
479
  "@elizaos/plugin-wechat": "^0.1.0",
480
- "@elizaos/shared": "^2.0.0-alpha.393",
481
- "@elizaos/ui": "^2.0.0-alpha.393",
480
+ "@elizaos/shared": "^2.0.0-alpha.395",
481
+ "@elizaos/ui": "^2.0.0-alpha.395",
482
482
  "@node-rs/argon2": "^2.0.2",
483
483
  "@radix-ui/react-checkbox": "^1.3.3",
484
484
  "@radix-ui/react-dialog": "^1.1.15",
@@ -1 +1 @@
1
- {"version":3,"file":"eliza.d.ts","sourceRoot":"","sources":["../../../../../src/runtime/eliza.ts"],"names":[],"mappings":"AAAA,OAAO,gCAAgC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,2BAA2B,CAAC,GACtD,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAoBhD;AA4qBD,MAAM,WAAW,0BAA2B,SAAQ,uBAAuB;IACzE,oEAAoE;IACpE,mBAAmB,CAAC,EAAE,yBAAyB,CAAC;CACjD;AAED,wBAAsB,gBAAgB,CACpC,IAAI,GAAE,0BAA+B,GACpC,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAuC/D;AAED,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,oEAAoE;IACpE,mBAAmB,CAAC,EAAE,yBAAyB,CAAC;CACjD;AAyOD,wBAAsB,sBAAsB,CAC1C,GAAG,EAAE,OAAO,GACX,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAwBxB;AAED,wBAAgB,iCAAiC,IAAI,MAAM,EAAE,CAE5D;AAED,wBAAsB,UAAU,CAC9B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAyKzD"}
@@ -15,6 +15,7 @@ import { resolveServerOnlyPort, syncResolvedApiPort } from "@elizaos/shared";
15
15
  import { isNativeServerPlatform } from "../platform/is-native-server.js";
16
16
  import { syncAppEnvToEliza, syncElizaEnvAliases } from "../utils/env.js";
17
17
  import { ensureRuntimeSqlCompatibility } from "../utils/sql-compat.js";
18
+ import { ensurePluginManagerAllowed } from "./plugin-manager-guard.js";
18
19
  import { DEFAULT_MODELS_DIR, embeddingGgufFilePresent, ensureModel, findExistingEmbeddingModelForWarmupReuse, isEmbeddingWarmupReuseDisabled, } from "./embedding-manager-support.js";
19
20
  import { detectEmbeddingPreset } from "./embedding-presets.js";
20
21
  import { shouldWarmupLocalEmbeddingModel } from "./embedding-warmup-policy.js";
@@ -653,6 +654,20 @@ async function warmupEmbeddingModel(onProgress) {
653
654
  }
654
655
  export async function bootElizaRuntime(opts = {}) {
655
656
  syncAppEnvToEliza();
657
+ // Ensure `@elizaos/plugin-plugin-manager` is in `plugins.allow` BEFORE the
658
+ // upstream boot resolves plugins. Without this, headless deployments (CLI,
659
+ // server, no UI) never auto-enable the plugin and `APP create` /
660
+ // `PLUGIN install` actions silently fail to find the manager service. The
661
+ // helper short-circuits when already enabled or explicitly disabled.
662
+ try {
663
+ const result = await ensurePluginManagerAllowed();
664
+ if (result === "enabled") {
665
+ logger.info("[eliza] Auto-enabled @elizaos/plugin-plugin-manager via plugins.allow");
666
+ }
667
+ }
668
+ catch (err) {
669
+ logger.warn(`[eliza] ensurePluginManagerAllowed failed at boot: ${err instanceof Error ? err.message : String(err)}`);
670
+ }
656
671
  try {
657
672
  // Eagerly download the embedding model before the full runtime boot.
658
673
  // This way the TUI loading screen (or server logs) can show download