@elizaos/app-core 2.0.0-alpha.10

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.
Files changed (399) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +90 -0
  3. package/src/App.tsx +472 -0
  4. package/src/actions/character.test.ts +139 -0
  5. package/src/actions/character.ts +152 -0
  6. package/src/actions/chat-helpers.ts +100 -0
  7. package/src/actions/cloud.ts +59 -0
  8. package/src/actions/index.ts +12 -0
  9. package/src/actions/lifecycle.ts +175 -0
  10. package/src/actions/onboarding.ts +46 -0
  11. package/src/actions/triggers.ts +190 -0
  12. package/src/ambient.d.ts +16 -0
  13. package/src/api/client.ts +5516 -0
  14. package/src/api/index.ts +1 -0
  15. package/src/autonomy/index.ts +477 -0
  16. package/src/bridge/capacitor-bridge.ts +295 -0
  17. package/src/bridge/electrobun-rpc.ts +58 -0
  18. package/src/bridge/electrobun-runtime.ts +28 -0
  19. package/src/bridge/index.ts +5 -0
  20. package/src/bridge/native-plugins.ts +134 -0
  21. package/src/bridge/plugin-bridge.ts +352 -0
  22. package/src/bridge/storage-bridge.ts +162 -0
  23. package/src/chat/index.ts +250 -0
  24. package/src/coding/index.ts +43 -0
  25. package/src/components/AdvancedPageView.tsx +362 -0
  26. package/src/components/AgentActivityBox.tsx +49 -0
  27. package/src/components/ApiKeyConfig.tsx +224 -0
  28. package/src/components/AppsPageView.tsx +52 -0
  29. package/src/components/AppsView.tsx +293 -0
  30. package/src/components/AvatarLoader.tsx +86 -0
  31. package/src/components/AvatarSelector.tsx +223 -0
  32. package/src/components/BscTradePanel.tsx +549 -0
  33. package/src/components/BugReportModal.tsx +499 -0
  34. package/src/components/CharacterView.tsx +1645 -0
  35. package/src/components/ChatAvatar.test.ts +96 -0
  36. package/src/components/ChatAvatar.tsx +147 -0
  37. package/src/components/ChatComposer.tsx +330 -0
  38. package/src/components/ChatMessage.tsx +448 -0
  39. package/src/components/ChatModalView.test.tsx +118 -0
  40. package/src/components/ChatModalView.tsx +125 -0
  41. package/src/components/ChatView.tsx +992 -0
  42. package/src/components/CloudSourceControls.tsx +80 -0
  43. package/src/components/CodingAgentSettingsSection.tsx +536 -0
  44. package/src/components/CommandPalette.tsx +284 -0
  45. package/src/components/CompanionSceneHost.tsx +497 -0
  46. package/src/components/CompanionShell.tsx +31 -0
  47. package/src/components/CompanionView.tsx +109 -0
  48. package/src/components/ConfigPageView.tsx +758 -0
  49. package/src/components/ConfigSaveFooter.tsx +41 -0
  50. package/src/components/ConfirmModal.tsx +379 -0
  51. package/src/components/ConnectionFailedBanner.tsx +91 -0
  52. package/src/components/ConnectorsPageView.tsx +13 -0
  53. package/src/components/ConversationsSidebar.tsx +279 -0
  54. package/src/components/CustomActionEditor.tsx +1125 -0
  55. package/src/components/CustomActionsPanel.tsx +288 -0
  56. package/src/components/CustomActionsView.tsx +322 -0
  57. package/src/components/DatabasePageView.tsx +55 -0
  58. package/src/components/DatabaseView.tsx +814 -0
  59. package/src/components/ElizaCloudDashboard.tsx +1696 -0
  60. package/src/components/EmotePicker.tsx +529 -0
  61. package/src/components/ErrorBoundary.tsx +76 -0
  62. package/src/components/FineTuningView.tsx +1077 -0
  63. package/src/components/GameView.tsx +552 -0
  64. package/src/components/GameViewOverlay.tsx +133 -0
  65. package/src/components/GlobalEmoteOverlay.tsx +155 -0
  66. package/src/components/Header.test.tsx +413 -0
  67. package/src/components/Header.tsx +403 -0
  68. package/src/components/HeartbeatsView.tsx +1003 -0
  69. package/src/components/InventoryView.tsx +385 -0
  70. package/src/components/KnowledgeView.tsx +1128 -0
  71. package/src/components/LanguageDropdown.tsx +188 -0
  72. package/src/components/LifoMonitorPanel.tsx +196 -0
  73. package/src/components/LifoSandboxView.tsx +499 -0
  74. package/src/components/LoadingScreen.tsx +77 -0
  75. package/src/components/LogsPageView.tsx +17 -0
  76. package/src/components/LogsView.tsx +239 -0
  77. package/src/components/MediaGalleryView.tsx +433 -0
  78. package/src/components/MediaSettingsSection.tsx +893 -0
  79. package/src/components/MessageContent.tsx +815 -0
  80. package/src/components/OnboardingWizard.test.tsx +107 -0
  81. package/src/components/OnboardingWizard.tsx +189 -0
  82. package/src/components/PairingView.tsx +110 -0
  83. package/src/components/PermissionsSection.tsx +1186 -0
  84. package/src/components/PluginsPageView.tsx +9 -0
  85. package/src/components/PluginsView.tsx +3157 -0
  86. package/src/components/ProviderSwitcher.tsx +908 -0
  87. package/src/components/RestartBanner.tsx +76 -0
  88. package/src/components/RuntimeView.tsx +460 -0
  89. package/src/components/SaveCommandModal.tsx +211 -0
  90. package/src/components/SecretsView.tsx +569 -0
  91. package/src/components/SettingsView.tsx +825 -0
  92. package/src/components/ShellOverlays.tsx +41 -0
  93. package/src/components/ShortcutsOverlay.tsx +155 -0
  94. package/src/components/SkillsView.tsx +1435 -0
  95. package/src/components/StartupFailureView.tsx +63 -0
  96. package/src/components/StreamView.tsx +483 -0
  97. package/src/components/StripeEmbeddedCheckout.tsx +155 -0
  98. package/src/components/SubscriptionStatus.tsx +640 -0
  99. package/src/components/SystemWarningBanner.tsx +71 -0
  100. package/src/components/ThemeToggle.tsx +100 -0
  101. package/src/components/TrajectoriesView.tsx +526 -0
  102. package/src/components/TrajectoryDetailView.tsx +426 -0
  103. package/src/components/TriggersView.tsx +1 -0
  104. package/src/components/VectorBrowserView.tsx +1633 -0
  105. package/src/components/VoiceConfigView.tsx +675 -0
  106. package/src/components/VrmStage.test.ts +219 -0
  107. package/src/components/VrmStage.tsx +432 -0
  108. package/src/components/WhatsAppQrOverlay.tsx +230 -0
  109. package/src/components/__tests__/chainConfig.test.ts +220 -0
  110. package/src/components/apps/AppDetailPane.tsx +242 -0
  111. package/src/components/apps/AppsCatalogGrid.tsx +137 -0
  112. package/src/components/apps/extensions/HyperscapeAppDetailPanel.tsx +577 -0
  113. package/src/components/apps/extensions/registry.ts +16 -0
  114. package/src/components/apps/extensions/types.ts +9 -0
  115. package/src/components/apps/helpers.ts +44 -0
  116. package/src/components/avatar/VrmAnimationLoader.test.ts +164 -0
  117. package/src/components/avatar/VrmAnimationLoader.ts +151 -0
  118. package/src/components/avatar/VrmBlinkController.ts +118 -0
  119. package/src/components/avatar/VrmCameraManager.ts +407 -0
  120. package/src/components/avatar/VrmEngine.ts +2678 -0
  121. package/src/components/avatar/VrmFootShadow.ts +96 -0
  122. package/src/components/avatar/VrmViewer.tsx +421 -0
  123. package/src/components/avatar/__tests__/VrmCameraManager.test.ts +168 -0
  124. package/src/components/avatar/__tests__/VrmEngine.test.ts +1574 -0
  125. package/src/components/avatar/mixamoVRMRigMap.ts +62 -0
  126. package/src/components/avatar/retargetMixamoFbxToVrm.ts +144 -0
  127. package/src/components/avatar/retargetMixamoGltfToVrm.ts +119 -0
  128. package/src/components/chainConfig.ts +380 -0
  129. package/src/components/companion/CompanionHeader.tsx +47 -0
  130. package/src/components/companion/CompanionSceneHost.tsx +1 -0
  131. package/src/components/companion/VrmStage.tsx +2 -0
  132. package/src/components/companion/__tests__/walletUtils.test.ts +742 -0
  133. package/src/components/companion/walletUtils.ts +290 -0
  134. package/src/components/companion-shell-styles.test.ts +142 -0
  135. package/src/components/companion-shell-styles.ts +270 -0
  136. package/src/components/confirm-delete-control.tsx +69 -0
  137. package/src/components/conversations/ConversationListItem.tsx +185 -0
  138. package/src/components/conversations/conversation-utils.ts +151 -0
  139. package/src/components/format.ts +131 -0
  140. package/src/components/index.ts +94 -0
  141. package/src/components/inventory/CopyableAddress.tsx +41 -0
  142. package/src/components/inventory/InventoryToolbar.tsx +142 -0
  143. package/src/components/inventory/NftGrid.tsx +99 -0
  144. package/src/components/inventory/TokenLogo.tsx +71 -0
  145. package/src/components/inventory/TokensTable.tsx +216 -0
  146. package/src/components/inventory/constants.ts +170 -0
  147. package/src/components/inventory/index.ts +29 -0
  148. package/src/components/inventory/media-url.test.ts +38 -0
  149. package/src/components/inventory/media-url.ts +36 -0
  150. package/src/components/inventory/useInventoryData.ts +460 -0
  151. package/src/components/knowledge-upload-image.ts +215 -0
  152. package/src/components/labels.ts +46 -0
  153. package/src/components/onboarding/ActivateStep.tsx +30 -0
  154. package/src/components/onboarding/ConnectionStep.tsx +1530 -0
  155. package/src/components/onboarding/IdentityStep.tsx +147 -0
  156. package/src/components/onboarding/OnboardingPanel.tsx +39 -0
  157. package/src/components/onboarding/OnboardingStepNav.tsx +31 -0
  158. package/src/components/onboarding/PermissionsStep.tsx +20 -0
  159. package/src/components/onboarding/RpcStep.tsx +402 -0
  160. package/src/components/onboarding/WakeUpStep.tsx +184 -0
  161. package/src/components/permissions/PermissionIcon.tsx +25 -0
  162. package/src/components/permissions/StreamingPermissions.tsx +413 -0
  163. package/src/components/plugins/showcase-data.ts +481 -0
  164. package/src/components/shared/ShellHeaderControls.tsx +193 -0
  165. package/src/components/shared-companion-scene-context.ts +15 -0
  166. package/src/components/skeletons.tsx +88 -0
  167. package/src/components/stream/ActivityFeed.tsx +113 -0
  168. package/src/components/stream/AvatarPip.tsx +10 -0
  169. package/src/components/stream/ChatContent.tsx +126 -0
  170. package/src/components/stream/ChatTicker.tsx +55 -0
  171. package/src/components/stream/IdleContent.tsx +73 -0
  172. package/src/components/stream/StatusBar.tsx +469 -0
  173. package/src/components/stream/StreamSettings.tsx +506 -0
  174. package/src/components/stream/StreamTerminal.tsx +94 -0
  175. package/src/components/stream/StreamVoiceConfig.tsx +160 -0
  176. package/src/components/stream/helpers.ts +134 -0
  177. package/src/components/stream/overlays/OverlayLayer.tsx +75 -0
  178. package/src/components/stream/overlays/built-in/ActionTickerWidget.tsx +64 -0
  179. package/src/components/stream/overlays/built-in/AlertPopupWidget.tsx +87 -0
  180. package/src/components/stream/overlays/built-in/BrandingWidget.tsx +51 -0
  181. package/src/components/stream/overlays/built-in/CustomHtmlWidget.tsx +105 -0
  182. package/src/components/stream/overlays/built-in/PeonGlassWidget.tsx +265 -0
  183. package/src/components/stream/overlays/built-in/PeonHudWidget.tsx +247 -0
  184. package/src/components/stream/overlays/built-in/PeonSakuraWidget.tsx +278 -0
  185. package/src/components/stream/overlays/built-in/ThoughtBubbleWidget.tsx +77 -0
  186. package/src/components/stream/overlays/built-in/ViewerCountWidget.tsx +46 -0
  187. package/src/components/stream/overlays/built-in/index.ts +13 -0
  188. package/src/components/stream/overlays/registry.ts +22 -0
  189. package/src/components/stream/overlays/types.ts +90 -0
  190. package/src/components/stream/overlays/useOverlayLayout.ts +218 -0
  191. package/src/components/trajectory-format.ts +50 -0
  192. package/src/components/ui-badges.tsx +109 -0
  193. package/src/components/ui-switch.tsx +57 -0
  194. package/src/components/vector-browser-three.ts +27 -0
  195. package/src/config/config-catalog.ts +1092 -0
  196. package/src/config/config-field.tsx +1901 -0
  197. package/src/config/config-renderer.tsx +730 -0
  198. package/src/config/index.ts +11 -0
  199. package/src/config/ui-renderer.tsx +1751 -0
  200. package/src/config/ui-spec.ts +256 -0
  201. package/src/events/index.ts +89 -0
  202. package/src/hooks/index.ts +13 -0
  203. package/src/hooks/useBugReport.tsx +43 -0
  204. package/src/hooks/useCanvasWindow.ts +372 -0
  205. package/src/hooks/useChatAvatarVoice.ts +111 -0
  206. package/src/hooks/useContextMenu.ts +127 -0
  207. package/src/hooks/useKeyboardShortcuts.ts +86 -0
  208. package/src/hooks/useLifoSync.ts +143 -0
  209. package/src/hooks/useMemoryMonitor.ts +334 -0
  210. package/src/hooks/useRenderGuard.ts +43 -0
  211. package/src/hooks/useRetakeCapture.ts +67 -0
  212. package/src/hooks/useStreamPopoutNavigation.ts +27 -0
  213. package/src/hooks/useTimeout.ts +37 -0
  214. package/src/hooks/useVoiceChat.ts +1441 -0
  215. package/src/hooks/useWhatsAppPairing.ts +123 -0
  216. package/src/i18n/index.ts +76 -0
  217. package/src/i18n/locales/en.json +1194 -0
  218. package/src/i18n/locales/es.json +1194 -0
  219. package/src/i18n/locales/ko.json +1194 -0
  220. package/src/i18n/locales/pt.json +1194 -0
  221. package/src/i18n/locales/zh-CN.json +1194 -0
  222. package/src/i18n/messages.ts +21 -0
  223. package/src/index.ts +6 -0
  224. package/src/navigation/index.ts +282 -0
  225. package/src/navigation.test.ts +189 -0
  226. package/src/onboarding-config.test.ts +104 -0
  227. package/src/onboarding-config.ts +114 -0
  228. package/src/platform/browser-launch.test.ts +94 -0
  229. package/src/platform/browser-launch.ts +149 -0
  230. package/src/platform/index.ts +58 -0
  231. package/src/platform/init.ts +236 -0
  232. package/src/platform/lifo.ts +215 -0
  233. package/src/providers/index.ts +99 -0
  234. package/src/state/AppContext.tsx +5846 -0
  235. package/src/state/index.ts +6 -0
  236. package/src/state/internal.ts +86 -0
  237. package/src/state/onboarding-resume.test.ts +135 -0
  238. package/src/state/onboarding-resume.ts +263 -0
  239. package/src/state/parsers.test.ts +124 -0
  240. package/src/state/parsers.ts +308 -0
  241. package/src/state/persistence.ts +321 -0
  242. package/src/state/shell-routing.ts +32 -0
  243. package/src/state/types.ts +701 -0
  244. package/src/state/ui-preferences.ts +3 -0
  245. package/src/state/useApp.ts +23 -0
  246. package/src/state/vrm.ts +76 -0
  247. package/src/stories/AppMockProvider.tsx +32 -0
  248. package/src/stories/ChatEmptyState.stories.tsx +27 -0
  249. package/src/stories/ChatMessage.stories.tsx +115 -0
  250. package/src/stories/CompanionHeader.stories.tsx +74 -0
  251. package/src/stories/CompanionView.stories.tsx +33 -0
  252. package/src/stories/ConversationListItem.stories.tsx +102 -0
  253. package/src/stories/TypingIndicator.stories.tsx +28 -0
  254. package/src/styles/anime.css +6324 -0
  255. package/src/styles/base.css +196 -0
  256. package/src/styles/onboarding-game.css +738 -0
  257. package/src/styles/styles.css +2087 -0
  258. package/src/styles/xterm.css +241 -0
  259. package/src/types/index.ts +715 -0
  260. package/src/types/react-test-renderer.d.ts +45 -0
  261. package/src/utils/asset-url.ts +110 -0
  262. package/src/utils/assistant-text.ts +172 -0
  263. package/src/utils/clipboard.ts +41 -0
  264. package/src/utils/desktop-dialogs.ts +80 -0
  265. package/src/utils/index.ts +6 -0
  266. package/src/utils/number-parsing.ts +125 -0
  267. package/src/utils/openExternalUrl.ts +20 -0
  268. package/src/utils/spoken-text.ts +65 -0
  269. package/src/utils/streaming-text.ts +120 -0
  270. package/src/voice/index.ts +1 -0
  271. package/src/voice/types.ts +197 -0
  272. package/src/wallet-rpc.ts +176 -0
  273. package/test/app/AppContext.pty-sessions.test.tsx +143 -0
  274. package/test/app/MessageContent.test.tsx +326 -0
  275. package/test/app/PermissionsOnboarding.test.tsx +356 -0
  276. package/test/app/PermissionsSection.test.tsx +573 -0
  277. package/test/app/advanced-trajectory-fine-tuning.e2e.test.ts +393 -0
  278. package/test/app/agent-activity-box.test.tsx +132 -0
  279. package/test/app/agent-transfer-lock.test.ts +274 -0
  280. package/test/app/api-client-electron-fallback.test.ts +139 -0
  281. package/test/app/api-client-timeout.test.ts +75 -0
  282. package/test/app/api-client-ws.test.ts +98 -0
  283. package/test/app/api-client.ws-max-reconnect.test.ts +139 -0
  284. package/test/app/api-client.ws-reconnect.test.ts +157 -0
  285. package/test/app/app-context-autonomy-events.test.ts +478 -0
  286. package/test/app/apps-page-view.test.ts +114 -0
  287. package/test/app/apps-view.test.ts +769 -0
  288. package/test/app/autonomous-workflows.e2e.test.ts +765 -0
  289. package/test/app/autonomy-events.test.ts +150 -0
  290. package/test/app/avatar-selector.test.tsx +52 -0
  291. package/test/app/bsc-trade-panel.test.tsx +134 -0
  292. package/test/app/bug-report-modal.test.tsx +353 -0
  293. package/test/app/character-customization.e2e.test.ts +1199 -0
  294. package/test/app/chat-advanced-features.e2e.test.ts +706 -0
  295. package/test/app/chat-composer.test.tsx +181 -0
  296. package/test/app/chat-language-header.test.ts +64 -0
  297. package/test/app/chat-message.test.tsx +222 -0
  298. package/test/app/chat-modal-view.test.tsx +191 -0
  299. package/test/app/chat-routine-filter.test.ts +96 -0
  300. package/test/app/chat-send-lock.test.ts +1465 -0
  301. package/test/app/chat-stream-api-client.test.tsx +390 -0
  302. package/test/app/chat-view-game-modal.test.tsx +661 -0
  303. package/test/app/chat-view.test.tsx +877 -0
  304. package/test/app/cloud-api.e2e.test.ts +258 -0
  305. package/test/app/cloud-login-flow.e2e.test.ts +494 -0
  306. package/test/app/cloud-login-lock.test.ts +411 -0
  307. package/test/app/command-palette.test.tsx +184 -0
  308. package/test/app/command-registry.test.ts +75 -0
  309. package/test/app/companion-greeting-wave.test.tsx +425 -0
  310. package/test/app/companion-stale-conversation.test.tsx +447 -0
  311. package/test/app/companion-view.test.tsx +686 -0
  312. package/test/app/confirm-delete-control.test.ts +79 -0
  313. package/test/app/confirm-modal.test.tsx +219 -0
  314. package/test/app/connectors-ui.e2e.test.ts +508 -0
  315. package/test/app/conversations-sidebar-game-modal.test.tsx +260 -0
  316. package/test/app/conversations-sidebar.test.tsx +160 -0
  317. package/test/app/custom-actions-smoke.test.ts +387 -0
  318. package/test/app/custom-avatar-api-client.test.ts +207 -0
  319. package/test/app/desktop-utils.test.ts +145 -0
  320. package/test/app/electrobun-rpc-bridge.test.ts +83 -0
  321. package/test/app/events.test.ts +88 -0
  322. package/test/app/export-import-flows.e2e.test.ts +700 -0
  323. package/test/app/fine-tuning-view.test.ts +471 -0
  324. package/test/app/game-view-auth-session.test.tsx +186 -0
  325. package/test/app/game-view.test.ts +444 -0
  326. package/test/app/global-emote-overlay.test.tsx +106 -0
  327. package/test/app/header-status.test.tsx +149 -0
  328. package/test/app/i18n.test.ts +152 -0
  329. package/test/app/inventory-bsc-view.test.ts +940 -0
  330. package/test/app/knowledge-ui.e2e.test.ts +762 -0
  331. package/test/app/knowledge-upload-helpers.test.ts +124 -0
  332. package/test/app/lifecycle-lock.test.ts +267 -0
  333. package/test/app/lifo-popout-utils.test.ts +208 -0
  334. package/test/app/lifo-safe-endpoint.test.ts +34 -0
  335. package/test/app/loading-screen.test.tsx +45 -0
  336. package/test/app/memory-monitor.test.ts +332 -0
  337. package/test/app/navigation.test.tsx +22 -0
  338. package/test/app/onboarding-finish-lock.test.ts +663 -0
  339. package/test/app/onboarding-language.test.tsx +160 -0
  340. package/test/app/onboarding-steps.test.tsx +375 -0
  341. package/test/app/open-external-url.test.ts +65 -0
  342. package/test/app/pages-navigation-smoke.e2e.test.ts +633 -0
  343. package/test/app/pairing-lock.test.ts +260 -0
  344. package/test/app/pairing-view.test.tsx +74 -0
  345. package/test/app/permissions-section.test.ts +432 -0
  346. package/test/app/plugin-bridge.test.ts +109 -0
  347. package/test/app/plugins-ui.e2e.test.ts +605 -0
  348. package/test/app/plugins-view-game-modal.test.tsx +650 -0
  349. package/test/app/plugins-view-toggle-restart.test.ts +129 -0
  350. package/test/app/provider-dropdown-default.test.tsx +302 -0
  351. package/test/app/restart-banner.test.tsx +197 -0
  352. package/test/app/retake-capture.test.ts +84 -0
  353. package/test/app/sandbox-api-client.test.ts +108 -0
  354. package/test/app/save-command-modal.test.tsx +109 -0
  355. package/test/app/secrets-view.test.tsx +92 -0
  356. package/test/app/settings-control-styles.test.tsx +142 -0
  357. package/test/app/settings-reset.e2e.test.ts +726 -0
  358. package/test/app/settings-sections.e2e.test.ts +614 -0
  359. package/test/app/shared-format.test.ts +44 -0
  360. package/test/app/shared-switch.test.ts +69 -0
  361. package/test/app/shell-mode-switching.e2e.test.ts +829 -0
  362. package/test/app/shell-mode-tab-memory.test.tsx +58 -0
  363. package/test/app/shell-overlays.test.tsx +50 -0
  364. package/test/app/shortcuts-overlay.test.tsx +111 -0
  365. package/test/app/sse-interruption.test.ts +122 -0
  366. package/test/app/startup-asset-missing.e2e.test.ts +126 -0
  367. package/test/app/startup-backend-missing.e2e.test.ts +118 -0
  368. package/test/app/startup-chat.e2e.test.ts +305 -0
  369. package/test/app/startup-conversation-restore.test.tsx +344 -0
  370. package/test/app/startup-failure-view.test.tsx +103 -0
  371. package/test/app/startup-onboarding.e2e.test.ts +618 -0
  372. package/test/app/startup-timeout.test.tsx +80 -0
  373. package/test/app/startup-token-401.e2e.test.ts +103 -0
  374. package/test/app/stream-helpers.test.ts +46 -0
  375. package/test/app/stream-popout-navigation.test.tsx +41 -0
  376. package/test/app/stream-status-bar.test.tsx +89 -0
  377. package/test/app/theme-toggle.test.tsx +33 -0
  378. package/test/app/training-api-client.test.ts +128 -0
  379. package/test/app/trajectories-view.test.tsx +220 -0
  380. package/test/app/triggers-api-client.test.ts +77 -0
  381. package/test/app/triggers-navigation.test.ts +113 -0
  382. package/test/app/triggers-view.e2e.test.ts +674 -0
  383. package/test/app/update-channel-lock.test.ts +259 -0
  384. package/test/app/vector-browser.async-cleanup.test.tsx +367 -0
  385. package/test/app/vector-browser.e2e.test.ts +653 -0
  386. package/test/app/vrm-stage.test.tsx +351 -0
  387. package/test/app/vrm-viewer.test.tsx +298 -0
  388. package/test/app/wallet-api-save-lock.test.ts +298 -0
  389. package/test/app/wallet-hooks.test.ts +405 -0
  390. package/test/app/wallet-ui-flows.e2e.test.ts +556 -0
  391. package/test/avatar/asset-url.test.ts +90 -0
  392. package/test/avatar/avatar-selector.test.ts +173 -0
  393. package/test/avatar/mixamo-vrm-rig-map.test.ts +111 -0
  394. package/test/avatar/voice-chat-streaming-text.test.ts +96 -0
  395. package/test/avatar/voice-chat.test.ts +391 -0
  396. package/test/ui/command-palette-commands.test.ts +57 -0
  397. package/test/ui/ui-renderer.test.ts +39 -0
  398. package/tsconfig.build.json +19 -0
  399. package/tsconfig.json +20 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Shaw Walters and elizaOS Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json ADDED
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "@elizaos/app-core",
3
+ "version": "2.0.0-alpha.10",
4
+ "description": "Shared application core for elizaOS shells and white-label apps.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "homepage": "https://github.com/elizaOS/eliza",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/elizaOS/eliza.git",
11
+ "directory": "packages/app-core"
12
+ },
13
+ "keywords": [
14
+ "elizaos",
15
+ "app-core",
16
+ "react",
17
+ "shell"
18
+ ],
19
+ "main": "src/index.ts",
20
+ "scripts": {
21
+ "clean": "rm -rf dist",
22
+ "build": "bun run build:dist",
23
+ "typecheck": "test -f ../ui/dist/index.d.ts || (cd ../ui && bun run build) && tsc --noEmit -p tsconfig.json",
24
+ "build:dist": "test -f ../ui/dist/index.d.ts || (cd ../ui && bun run build) && rm -rf dist && tsc -p tsconfig.build.json && node ../../scripts/copy-package-assets.mjs packages/app-core src/styles src/i18n/locales && node ../../scripts/prepare-package-dist.mjs packages/app-core",
25
+ "lint:check": "bunx @biomejs/biome check ./src/App.tsx ./src/actions ./src/api ./src/autonomy ./src/bridge ./src/chat ./src/coding ./src/components ./src/config ./src/events ./src/hooks ./src/i18n ./src/index.ts ./src/navigation ./src/platform ./src/providers ./src/state ./src/types ./src/utils ./src/voice ./src/ambient.d.ts",
26
+ "pack:dry-run": "cd dist && npm pack --dry-run"
27
+ },
28
+ "exports": {
29
+ ".": "./src/index.ts",
30
+ "./api": "./src/api/index.ts",
31
+ "./config": "./src/config/index.ts",
32
+ "./types": "./src/types/index.ts",
33
+ "./events": "./src/events/index.ts",
34
+ "./i18n": "./src/i18n/index.ts",
35
+ "./navigation": "./src/navigation/index.ts",
36
+ "./hooks": "./src/hooks/index.ts",
37
+ "./bridge": "./src/bridge/index.ts",
38
+ "./bridge/electrobun-rpc": "./src/bridge/electrobun-rpc.ts",
39
+ "./bridge/electrobun-runtime": "./src/bridge/electrobun-runtime.ts",
40
+ "./state": "./src/state/index.ts",
41
+ "./components": "./src/components/index.ts",
42
+ "./components/*": "./src/components/*",
43
+ "./components/ChatAvatar": "./src/components/ChatAvatar.tsx",
44
+ "./components/CompanionSceneHost": "./src/components/CompanionSceneHost.tsx",
45
+ "./components/VrmStage": "./src/components/VrmStage.tsx",
46
+ "./utils": "./src/utils/index.ts",
47
+ "./voice": "./src/voice/index.ts",
48
+ "./autonomy": "./src/autonomy/index.ts",
49
+ "./chat": "./src/chat/index.ts",
50
+ "./platform": "./src/platform/index.ts",
51
+ "./coding": "./src/coding/index.ts",
52
+ "./onboarding-config": "./src/onboarding-config.ts",
53
+ "./providers": "./src/providers/index.ts",
54
+ "./actions": "./src/actions/index.ts",
55
+ "./styles/base.css": "./src/styles/base.css",
56
+ "./styles/xterm.css": "./src/styles/xterm.css",
57
+ "./styles/anime.css": "./src/styles/anime.css",
58
+ "./styles/onboarding-game.css": "./src/styles/onboarding-game.css",
59
+ "./styles/styles.css": "./src/styles/styles.css"
60
+ },
61
+ "peerDependencies": {
62
+ "react": "^19.0.0",
63
+ "react-dom": "^19.0.0"
64
+ },
65
+ "dependencies": {
66
+ "@capacitor/core": "8.0.2",
67
+ "@capacitor/haptics": "8.0.0",
68
+ "@capacitor/keyboard": "8.0.0",
69
+ "@capacitor/preferences": "^8.0.1",
70
+ "@elizaos/autonomous": "2.0.0-alpha.10",
71
+ "@elizaos/ui": "2.0.0-alpha.10",
72
+ "@lifo-sh/core": "0.4.4",
73
+ "@lifo-sh/ui": "0.4.2",
74
+ "@pixiv/three-vrm": "^3.4.5",
75
+ "@sparkjsdev/spark": "^0.1.10",
76
+ "lucide-react": "^0.575.0",
77
+ "three": "^0.182.0",
78
+ "zod": "^4.3.6"
79
+ },
80
+ "publishConfig": {
81
+ "access": "public"
82
+ },
83
+ "devDependencies": {
84
+ "@types/react": "^19.0.0",
85
+ "@types/react-dom": "^19.0.0",
86
+ "@types/three": "^0.182.0",
87
+ "typescript": "^5.9.3"
88
+ },
89
+ "gitHead": "f77b9c9a2906a357415ad9d687ebc75bcf93926d"
90
+ }
package/src/App.tsx ADDED
@@ -0,0 +1,472 @@
1
+ /**
2
+ * Root App component — routing shell.
3
+ */
4
+
5
+ import { Keyboard } from "@capacitor/keyboard";
6
+ import {
7
+ AdvancedPageView,
8
+ AppsPageView,
9
+ AvatarLoader,
10
+ CharacterView,
11
+ ChatView,
12
+ ConnectionFailedBanner,
13
+ ConversationsSidebar,
14
+ ConnectorsPageView,
15
+ CompanionShell,
16
+ CompanionView,
17
+ CustomActionEditor,
18
+ CustomActionsPanel,
19
+ ErrorBoundary,
20
+ GameViewOverlay,
21
+ HeartbeatsView,
22
+ Header,
23
+ InventoryView,
24
+ KnowledgeView,
25
+ OnboardingWizard,
26
+ PairingView,
27
+ SaveCommandModal,
28
+ SettingsView,
29
+ SharedCompanionScene,
30
+ ShellOverlays,
31
+ StartupFailureView,
32
+ StreamView,
33
+ SystemWarningBanner,
34
+ } from "./components";
35
+ import {
36
+ BugReportProvider,
37
+ useBugReportState,
38
+ useContextMenu,
39
+ useStreamPopoutNavigation,
40
+ } from "./hooks";
41
+ import type { Tab } from "./navigation";
42
+ import { APPS_ENABLED, COMPANION_ENABLED } from "./navigation";
43
+ import { isIOS, isLifoPopoutValue, isNative } from "@elizaos/app-core/platform";
44
+ import { useApp } from "./state";
45
+ import { type ReactNode, useCallback, useEffect, useState } from "react";
46
+
47
+ const CHAT_MOBILE_BREAKPOINT_PX = 1024;
48
+
49
+ /** Check if we're in pop-out mode (StreamView only, no chrome).
50
+ * Legacy LIFO popout values are ignored so the normal app shell still loads. */
51
+ function useIsPopout(): boolean {
52
+ const [popout] = useState(() => {
53
+ if (typeof window === "undefined") return false;
54
+ const params = new URLSearchParams(
55
+ window.location.search || window.location.hash.split("?")[1] || "",
56
+ );
57
+ if (!params.has("popout")) return false;
58
+ return !isLifoPopoutValue(params.get("popout"));
59
+ });
60
+ return popout;
61
+ }
62
+
63
+ function TabScrollView({
64
+ children,
65
+ className = "",
66
+ }: {
67
+ children: ReactNode;
68
+ className?: string;
69
+ }) {
70
+ return (
71
+ <div
72
+ data-shell-scroll-region="true"
73
+ className={`flex-1 min-h-0 min-w-0 w-full overflow-y-auto ${className}`}
74
+ >
75
+ {children}
76
+ </div>
77
+ );
78
+ }
79
+
80
+ function TabContentView({ children }: { children: ReactNode }) {
81
+ return (
82
+ <div className="flex-1 min-h-0 min-w-0 w-full overflow-hidden">
83
+ {children}
84
+ </div>
85
+ );
86
+ }
87
+
88
+ function isCharacterTab(tab: Tab): boolean {
89
+ return tab === "character" || tab === "character-select";
90
+ }
91
+
92
+ function ViewRouter({
93
+ characterSceneVisible = false,
94
+ }: {
95
+ characterSceneVisible?: boolean;
96
+ }) {
97
+ const { tab } = useApp();
98
+ const view = (() => {
99
+ switch (tab) {
100
+ case "chat":
101
+ return <ChatView />;
102
+ case "companion":
103
+ return COMPANION_ENABLED ? <CompanionView /> : <ChatView />;
104
+ case "stream":
105
+ return <StreamView />;
106
+ case "apps":
107
+ // Apps disabled in production builds; fall through to chat
108
+ return APPS_ENABLED ? (
109
+ <TabScrollView>
110
+ <AppsPageView />
111
+ </TabScrollView>
112
+ ) : (
113
+ <ChatView />
114
+ );
115
+ case "character":
116
+ case "character-select":
117
+ return (
118
+ <TabScrollView>
119
+ <CharacterView sceneOverlay={characterSceneVisible} />
120
+ </TabScrollView>
121
+ );
122
+ case "wallets":
123
+ return (
124
+ <TabScrollView>
125
+ <InventoryView />
126
+ </TabScrollView>
127
+ );
128
+ case "knowledge":
129
+ return (
130
+ <TabScrollView>
131
+ <KnowledgeView />
132
+ </TabScrollView>
133
+ );
134
+ case "connectors":
135
+ return (
136
+ <TabScrollView>
137
+ <ConnectorsPageView />
138
+ </TabScrollView>
139
+ );
140
+ case "triggers":
141
+ return (
142
+ <TabScrollView>
143
+ <section className="w-full px-4 py-4 lg:px-6">
144
+ <HeartbeatsView />
145
+ </section>
146
+ </TabScrollView>
147
+ );
148
+ case "voice":
149
+ return (
150
+ <TabScrollView className="settings-scroll-region">
151
+ <SettingsView key="settings-voice" initialSection="voice" />
152
+ </TabScrollView>
153
+ );
154
+ case "settings":
155
+ return (
156
+ <TabScrollView className="settings-scroll-region">
157
+ <SettingsView key="settings-root" />
158
+ </TabScrollView>
159
+ );
160
+ case "advanced":
161
+ case "plugins":
162
+ case "skills":
163
+ case "actions":
164
+ case "fine-tuning":
165
+ case "trajectories":
166
+ case "runtime":
167
+ case "database":
168
+ case "lifo":
169
+ case "logs":
170
+ case "security":
171
+ return (
172
+ <TabContentView>
173
+ <AdvancedPageView />
174
+ </TabContentView>
175
+ );
176
+ default:
177
+ return <ChatView />;
178
+ }
179
+ })();
180
+
181
+ return <ErrorBoundary>{view}</ErrorBoundary>;
182
+ }
183
+
184
+ export function App() {
185
+ const {
186
+ onboardingLoading,
187
+ startupPhase,
188
+ startupError,
189
+ authRequired,
190
+ onboardingComplete,
191
+ retryStartup,
192
+ tab,
193
+ setTab,
194
+ actionNotice,
195
+ uiShellMode,
196
+ agentStatus,
197
+ unreadConversations,
198
+ activeGameViewerUrl,
199
+ gameOverlayEnabled,
200
+ } = useApp();
201
+
202
+ const isPopout = useIsPopout();
203
+ const shellMode =
204
+ tab === "character" || tab === "character-select"
205
+ ? "native"
206
+ : (uiShellMode ?? "companion");
207
+ const effectiveTab: Tab =
208
+ shellMode === "companion"
209
+ ? "companion"
210
+ : tab === "companion"
211
+ ? "chat"
212
+ : tab;
213
+ const characterSceneVisible =
214
+ shellMode === "native" &&
215
+ (isCharacterTab(effectiveTab) || isCharacterTab(tab));
216
+ const companionShellVisible = shellMode === "companion";
217
+ const companionSceneActive =
218
+ COMPANION_ENABLED && (companionShellVisible || characterSceneVisible);
219
+ const contextMenu = useContextMenu();
220
+
221
+ useStreamPopoutNavigation(setTab);
222
+
223
+ const [customActionsPanelOpen, setCustomActionsPanelOpen] = useState(false);
224
+ const [customActionsEditorOpen, setCustomActionsEditorOpen] = useState(false);
225
+ const [editingAction, setEditingAction] = useState<
226
+ import("./api").CustomActionDef | null
227
+ >(null);
228
+ const [isChatMobileLayout, setIsChatMobileLayout] = useState(() =>
229
+ typeof window !== "undefined"
230
+ ? window.innerWidth < CHAT_MOBILE_BREAKPOINT_PX
231
+ : false,
232
+ );
233
+ const [mobileConversationsOpen, setMobileConversationsOpen] = useState(false);
234
+
235
+ const isChat = tab === "chat";
236
+ const unreadCount = unreadConversations?.size ?? 0;
237
+ const mobileChatControls = isChatMobileLayout ? (
238
+ <div className="flex items-center gap-2 w-max">
239
+ <button
240
+ type="button"
241
+ className={`inline-flex items-center gap-2 px-3 py-2 border rounded-md text-[12px] font-semibold transition-all cursor-pointer ${
242
+ mobileConversationsOpen
243
+ ? "border-accent bg-accent-subtle text-txt"
244
+ : "border-border bg-card text-txt hover:border-accent hover:text-txt"
245
+ }`}
246
+ onClick={() => {
247
+ setMobileConversationsOpen(true);
248
+ }}
249
+ aria-label="Open chats panel"
250
+ >
251
+ <svg
252
+ width="14"
253
+ height="14"
254
+ viewBox="0 0 24 24"
255
+ fill="none"
256
+ stroke="currentColor"
257
+ strokeWidth="2"
258
+ strokeLinecap="round"
259
+ strokeLinejoin="round"
260
+ aria-hidden
261
+ >
262
+ <title>Chats</title>
263
+ <path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" />
264
+ </svg>
265
+ Chats
266
+ {unreadCount > 0 && (
267
+ <span className="inline-flex min-w-[18px] h-[18px] items-center justify-center rounded-full bg-accent text-accent-fg text-[10px] font-bold px-1">
268
+ {unreadCount > 99 ? "99+" : unreadCount}
269
+ </span>
270
+ )}
271
+ </button>
272
+ </div>
273
+ ) : undefined;
274
+
275
+ // Keep hook order stable across onboarding/auth state transitions.
276
+ // Otherwise React can throw when onboarding completes and the main shell mounts.
277
+ useEffect(() => {
278
+ const handler = () => setCustomActionsPanelOpen((v) => !v);
279
+ window.addEventListener("toggle-custom-actions-panel", handler);
280
+ return () =>
281
+ window.removeEventListener("toggle-custom-actions-panel", handler);
282
+ }, []);
283
+
284
+ const handleEditorSave = useCallback(() => {
285
+ setCustomActionsEditorOpen(false);
286
+ setEditingAction(null);
287
+ }, []);
288
+
289
+ useEffect(() => {
290
+ if (typeof window === "undefined") return;
291
+ const handleResize = () => {
292
+ setIsChatMobileLayout(window.innerWidth < CHAT_MOBILE_BREAKPOINT_PX);
293
+ };
294
+ handleResize();
295
+ window.addEventListener("resize", handleResize);
296
+ return () => window.removeEventListener("resize", handleResize);
297
+ }, []);
298
+
299
+ useEffect(() => {
300
+ if (!isChatMobileLayout) {
301
+ setMobileConversationsOpen(false);
302
+ }
303
+ }, [isChatMobileLayout]);
304
+
305
+ useEffect(() => {
306
+ if (!isChat) {
307
+ setMobileConversationsOpen(false);
308
+ }
309
+ }, [isChat]);
310
+
311
+ useEffect(() => {
312
+ if (!isNative || !isIOS) {
313
+ return;
314
+ }
315
+
316
+ // Disable the iOS WebView scroll only while the companion shell is active.
317
+ void Keyboard.setScroll({ isDisabled: companionShellVisible }).catch(() => {
318
+ // Ignore bridge failures so web/electron shells keep working.
319
+ });
320
+ }, [companionShellVisible]);
321
+
322
+ useEffect(() => {
323
+ if (!isNative || !isIOS) {
324
+ return;
325
+ }
326
+
327
+ return () => {
328
+ void Keyboard.setScroll({ isDisabled: false }).catch(() => {
329
+ // Ignore cleanup failures when the native bridge is unavailable.
330
+ });
331
+ };
332
+ }, []);
333
+
334
+ const bugReport = useBugReportState();
335
+ const agentStarting = agentStatus?.state === "starting";
336
+
337
+ useEffect(() => {
338
+ const STARTUP_TIMEOUT_MS = 300_000;
339
+ if ((startupPhase as string) !== "ready" && !startupError) {
340
+ const timer = setTimeout(() => {
341
+ retryStartup();
342
+ }, STARTUP_TIMEOUT_MS);
343
+ return () => clearTimeout(timer);
344
+ }
345
+ }, [startupPhase, startupError, retryStartup]);
346
+
347
+ // Pop-out mode — render only StreamView, skip startup gates.
348
+ // Platform init is skipped in main.tsx; AppProvider hydrates WS in background.
349
+ if (isPopout) {
350
+ return (
351
+ <div className="flex flex-col h-screen w-screen font-body text-txt bg-bg overflow-hidden">
352
+ <StreamView />
353
+ </div>
354
+ );
355
+ }
356
+
357
+ if (startupError) {
358
+ return <StartupFailureView error={startupError} onRetry={retryStartup} />;
359
+ }
360
+
361
+ if (onboardingLoading || agentStarting) {
362
+ const loadingLabel = agentStarting
363
+ ? "Initializing agent"
364
+ : "Starting systems";
365
+ return <AvatarLoader label={loadingLabel} fullScreen />;
366
+ }
367
+
368
+ if (authRequired) return <PairingView />;
369
+ if (!onboardingComplete) return <OnboardingWizard />;
370
+
371
+ const shellContent = companionShellVisible ? (
372
+ <CompanionShell tab={effectiveTab} actionNotice={actionNotice} />
373
+ ) : tab === "stream" ? (
374
+ <div className="flex flex-col flex-1 min-h-0 w-full font-body text-txt bg-bg">
375
+ <Header />
376
+ <main className="flex-1 min-h-0 overflow-hidden">
377
+ <StreamView />
378
+ </main>
379
+ </div>
380
+ ) : isChat ? (
381
+ <div className="flex flex-col flex-1 min-h-0 w-full font-body text-txt bg-bg">
382
+ <Header mobileLeft={mobileChatControls} />
383
+ <div className="flex flex-1 min-h-0 relative">
384
+ {isChatMobileLayout ? (
385
+ <>
386
+ <main className="flex flex-col flex-1 min-h-0 min-w-0 overflow-hidden pt-2 px-2">
387
+ <ChatView />
388
+ </main>
389
+
390
+ {mobileConversationsOpen && (
391
+ <div className="fixed inset-0 z-[120] bg-bg">
392
+ <ConversationsSidebar
393
+ mobile
394
+ onClose={() => setMobileConversationsOpen(false)}
395
+ />
396
+ </div>
397
+ )}
398
+ </>
399
+ ) : (
400
+ <>
401
+ <ConversationsSidebar />
402
+ <main className="flex flex-col flex-1 min-h-0 min-w-0 overflow-hidden pt-3 px-3 xl:px-5">
403
+ <ChatView />
404
+ </main>
405
+ </>
406
+ )}
407
+ <CustomActionsPanel
408
+ open={customActionsPanelOpen}
409
+ onClose={() => setCustomActionsPanelOpen(false)}
410
+ onOpenEditor={(action) => {
411
+ setEditingAction(action ?? null);
412
+ setCustomActionsEditorOpen(true);
413
+ }}
414
+ />
415
+ </div>
416
+ </div>
417
+ ) : (
418
+ <div
419
+ className={`flex flex-col flex-1 min-h-0 w-full font-body text-txt ${
420
+ characterSceneVisible ? "bg-transparent" : "bg-bg"
421
+ }`}
422
+ >
423
+ <Header transparent={characterSceneVisible} />
424
+ <main
425
+ className={`flex flex-1 min-h-0 min-w-0 overflow-hidden px-3 xl:px-5 ${
426
+ characterSceneVisible ? "pb-4 pt-2 xl:pb-6" : "py-4 xl:py-6"
427
+ }`}
428
+ >
429
+ <ViewRouter characterSceneVisible={characterSceneVisible} />
430
+ </main>
431
+ </div>
432
+ );
433
+
434
+ const appShell = COMPANION_ENABLED ? (
435
+ <SharedCompanionScene
436
+ active={companionSceneActive}
437
+ interactive={companionShellVisible}
438
+ >
439
+ {shellContent}
440
+ </SharedCompanionScene>
441
+ ) : (
442
+ shellContent
443
+ );
444
+
445
+ return (
446
+ <BugReportProvider value={bugReport}>
447
+ {appShell}
448
+ {/* Persistent game overlay — stays visible across all tabs */}
449
+ {activeGameViewerUrl && gameOverlayEnabled && tab !== "apps" && (
450
+ <GameViewOverlay />
451
+ )}
452
+ <ShellOverlays actionNotice={actionNotice} />
453
+ <SaveCommandModal
454
+ open={contextMenu.saveCommandModalOpen}
455
+ text={contextMenu.saveCommandText}
456
+ onSave={contextMenu.confirmSaveCommand}
457
+ onClose={contextMenu.closeSaveCommandModal}
458
+ />
459
+ <CustomActionEditor
460
+ open={customActionsEditorOpen}
461
+ action={editingAction}
462
+ onSave={handleEditorSave}
463
+ onClose={() => {
464
+ setCustomActionsEditorOpen(false);
465
+ setEditingAction(null);
466
+ }}
467
+ />
468
+ <ConnectionFailedBanner />
469
+ <SystemWarningBanner />
470
+ </BugReportProvider>
471
+ );
472
+ }