elizaos 2.0.0-beta.1 → 2.0.0-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elizaos",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.2",
4
4
  "description": "elizaOS CLI - Create and upgrade elizaOS projects and plugins",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.3.7/schema.json",
3
+ "root": true,
4
+ "formatter": {
5
+ "indentStyle": "space",
6
+ "indentWidth": 2
7
+ }
8
+ }
@@ -10,13 +10,20 @@ import {
10
10
  APP_RESUME_EVENT,
11
11
  App,
12
12
  type AppBootConfig,
13
+ AppProvider,
13
14
  applyForceFreshOnboardingReset,
14
15
  applyLaunchConnectionFromUrl,
16
+ applyUiTheme,
15
17
  type BrandingConfig,
16
18
  CharacterEditor,
17
19
  COMMAND_PALETTE_EVENT,
18
20
  CONNECT_EVENT,
19
21
  client,
22
+ DESKTOP_TRAY_MENU_ITEMS,
23
+ DesktopOnboardingRuntime,
24
+ DesktopSurfaceNavigationRuntime,
25
+ DesktopTrayRuntime,
26
+ DetachedShellRoot,
20
27
  dispatchAppEvent,
21
28
  getBootConfig,
22
29
  initializeCapacitorBridge,
@@ -26,6 +33,7 @@ import {
26
33
  installLocalProviderCloudPreferencePatch,
27
34
  isDetachedWindowShell,
28
35
  isElectrobunRuntime,
36
+ loadUiTheme,
29
37
  resolveWindowShellRoute,
30
38
  SHARE_TARGET_EVENT,
31
39
  setBootConfig,
@@ -35,16 +43,6 @@ import {
35
43
  syncDetachedShellLocation,
36
44
  TRAY_ACTION_EVENT,
37
45
  } from "@elizaos/app-core";
38
- import {
39
- AppProvider,
40
- applyUiTheme,
41
- DESKTOP_TRAY_MENU_ITEMS,
42
- DesktopOnboardingRuntime,
43
- DesktopSurfaceNavigationRuntime,
44
- DesktopTrayRuntime,
45
- DetachedShellRoot,
46
- loadUiTheme,
47
- } from "@elizaos/app-core";
48
46
  import { Agent } from "@elizaos/capacitor-agent";
49
47
  import { Desktop } from "@elizaos/capacitor-desktop";
50
48
  import { ErrorBoundary } from "@elizaos/ui";
@@ -72,11 +72,21 @@ const hasLocalElizaWorkspace =
72
72
  const publishedAppCoreRoot = path.dirname(
73
73
  requireResolve("@elizaos/app-core/package.json"),
74
74
  );
75
- const appCoreSrcRoot = hasLocalElizaWorkspace
76
- ? path.join(elizaRoot, "packages/app-core/src")
77
- : fs.existsSync(path.join(publishedAppCoreRoot, "packages/app-core/src"))
78
- ? path.join(publishedAppCoreRoot, "packages/app-core/src")
79
- : path.join(publishedAppCoreRoot, "src");
75
+
76
+ function resolveAppCoreSourceRoot(): string {
77
+ if (hasLocalElizaWorkspace) {
78
+ return path.join(elizaRoot, "packages/app-core/src");
79
+ }
80
+ if (fs.existsSync(path.join(publishedAppCoreRoot, "platform"))) {
81
+ return publishedAppCoreRoot;
82
+ }
83
+ if (fs.existsSync(path.join(publishedAppCoreRoot, "packages/app-core/src"))) {
84
+ return path.join(publishedAppCoreRoot, "packages/app-core/src");
85
+ }
86
+ return path.join(publishedAppCoreRoot, "src");
87
+ }
88
+
89
+ const appCoreSrcRoot = resolveAppCoreSourceRoot();
80
90
 
81
91
  function resolveAppCoreSourceFile(relativePath: string): string {
82
92
  const extensionCandidates = hasLocalElizaWorkspace
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "generatedAt": "2026-05-10T14:07:59.113Z",
3
+ "generatedAt": "2026-05-10T23:08:43.387Z",
4
4
  "repoUrl": "https://github.com/elizaos/eliza",
5
5
  "templates": [
6
6
  {