@elizaos/app-core 2.0.0-alpha.144 → 2.0.0-alpha.151

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 (694) hide show
  1. package/apps/app-companion/src/types/render-modes.d.ts +4 -0
  2. package/apps/app-companion/src/types/render-modes.d.ts.map +1 -0
  3. package/apps/app-companion/src/types/render-modes.js +6 -0
  4. package/apps/app-lifeops/src/LifeOpsBrowserSetupPanel.d.ts +2 -0
  5. package/apps/app-lifeops/src/LifeOpsBrowserSetupPanel.d.ts.map +1 -0
  6. package/apps/app-lifeops/src/LifeOpsBrowserSetupPanel.js +463 -0
  7. package/apps/app-lifeops/src/LifeOpsPageSections.d.ts +42 -0
  8. package/apps/app-lifeops/src/LifeOpsPageSections.d.ts.map +1 -0
  9. package/apps/app-lifeops/src/LifeOpsPageSections.js +170 -0
  10. package/apps/app-lifeops/src/LifeOpsPageView.d.ts +2 -0
  11. package/apps/app-lifeops/src/LifeOpsPageView.d.ts.map +1 -0
  12. package/apps/app-lifeops/src/LifeOpsPageView.js +387 -0
  13. package/apps/app-lifeops/src/LifeOpsSettingsSection.d.ts +2 -0
  14. package/apps/app-lifeops/src/LifeOpsSettingsSection.d.ts.map +1 -0
  15. package/apps/app-lifeops/src/LifeOpsSettingsSection.js +161 -0
  16. package/apps/app-lifeops/src/LifeOpsWorkspaceView.d.ts +2 -0
  17. package/apps/app-lifeops/src/LifeOpsWorkspaceView.d.ts.map +1 -0
  18. package/apps/app-lifeops/src/LifeOpsWorkspaceView.js +499 -0
  19. package/apps/app-lifeops/src/WebsiteBlockerSettingsCard.d.ts +3 -0
  20. package/apps/app-lifeops/src/WebsiteBlockerSettingsCard.d.ts.map +1 -0
  21. package/apps/app-lifeops/src/WebsiteBlockerSettingsCard.js +200 -0
  22. package/apps/app-lifeops/src/actions/inbox.d.ts.map +1 -0
  23. package/{packages/agent → apps/app-lifeops}/src/actions/inbox.js +3 -3
  24. package/apps/app-lifeops/src/actions/update-owner-profile.d.ts.map +1 -0
  25. package/{packages/agent → apps/app-lifeops}/src/actions/update-owner-profile.js +1 -1
  26. package/apps/app-lifeops/src/inbox/channel-deep-links.d.ts.map +1 -0
  27. package/apps/app-lifeops/src/inbox/config.d.ts.map +1 -0
  28. package/{packages/agent → apps/app-lifeops}/src/inbox/config.js +1 -1
  29. package/apps/app-lifeops/src/inbox/message-fetcher.d.ts.map +1 -0
  30. package/apps/app-lifeops/src/inbox/reflection.d.ts.map +1 -0
  31. package/apps/app-lifeops/src/inbox/repository.d.ts.map +1 -0
  32. package/apps/app-lifeops/src/inbox/triage-classifier.d.ts.map +1 -0
  33. package/apps/app-lifeops/src/inbox/types.d.ts.map +1 -0
  34. package/apps/app-lifeops/src/lifeops/screen-context.d.ts +52 -0
  35. package/apps/app-lifeops/src/lifeops/screen-context.d.ts.map +1 -0
  36. package/apps/app-lifeops/src/lifeops/screen-context.js +332 -0
  37. package/apps/app-lifeops/src/plugin.d.ts +3 -0
  38. package/apps/app-lifeops/src/plugin.d.ts.map +1 -1
  39. package/apps/app-lifeops/src/plugin.js +16 -3
  40. package/apps/app-lifeops/src/providers/inbox-triage.d.ts.map +1 -0
  41. package/{packages/agent → apps/app-lifeops}/src/providers/inbox-triage.js +1 -1
  42. package/apps/app-lifeops/src/ui.d.ts +7 -0
  43. package/apps/app-lifeops/src/ui.d.ts.map +1 -0
  44. package/apps/app-lifeops/src/ui.js +6 -0
  45. package/apps/app-shopify/src/CustomersPanel.d.ts +16 -0
  46. package/apps/app-shopify/src/CustomersPanel.d.ts.map +1 -0
  47. package/apps/app-shopify/src/CustomersPanel.js +16 -0
  48. package/apps/app-shopify/src/InventoryLevelsPanel.d.ts +14 -0
  49. package/apps/app-shopify/src/InventoryLevelsPanel.d.ts.map +1 -0
  50. package/apps/app-shopify/src/InventoryLevelsPanel.js +48 -0
  51. package/apps/app-shopify/src/OrdersPanel.d.ts +16 -0
  52. package/apps/app-shopify/src/OrdersPanel.d.ts.map +1 -0
  53. package/apps/app-shopify/src/OrdersPanel.js +58 -0
  54. package/apps/app-shopify/src/ProductsPanel.d.ts +18 -0
  55. package/apps/app-shopify/src/ProductsPanel.d.ts.map +1 -0
  56. package/apps/app-shopify/src/ProductsPanel.js +91 -0
  57. package/apps/app-shopify/src/ShopifyAppView.d.ts +12 -0
  58. package/apps/app-shopify/src/ShopifyAppView.d.ts.map +1 -0
  59. package/apps/app-shopify/src/ShopifyAppView.js +51 -0
  60. package/apps/app-shopify/src/StoreOverviewCard.d.ts +19 -0
  61. package/apps/app-shopify/src/StoreOverviewCard.d.ts.map +1 -0
  62. package/apps/app-shopify/src/StoreOverviewCard.js +10 -0
  63. package/apps/app-shopify/src/index.d.ts +11 -0
  64. package/apps/app-shopify/src/index.d.ts.map +1 -0
  65. package/apps/app-shopify/src/index.js +10 -0
  66. package/apps/app-shopify/src/shopify-app.d.ts +11 -0
  67. package/apps/app-shopify/src/shopify-app.d.ts.map +1 -0
  68. package/apps/app-shopify/src/shopify-app.js +20 -0
  69. package/apps/app-shopify/src/useShopifyDashboard.d.ts +118 -0
  70. package/apps/app-shopify/src/useShopifyDashboard.d.ts.map +1 -0
  71. package/apps/app-shopify/src/useShopifyDashboard.js +248 -0
  72. package/apps/app-task-coordinator/src/AgentTabsSection.d.ts.map +1 -0
  73. package/apps/app-task-coordinator/src/CodingAgentControlChip.d.ts.map +1 -0
  74. package/apps/app-task-coordinator/src/CodingAgentSettingsSection.d.ts.map +1 -0
  75. package/apps/app-task-coordinator/src/CodingAgentTasksPanel.d.ts +4 -0
  76. package/apps/app-task-coordinator/src/CodingAgentTasksPanel.d.ts.map +1 -0
  77. package/apps/app-task-coordinator/src/CodingAgentTasksPanel.js +291 -0
  78. package/apps/app-task-coordinator/src/GlobalPrefsSection.d.ts.map +1 -0
  79. package/apps/app-task-coordinator/src/LlmProviderSection.d.ts.map +1 -0
  80. package/apps/app-task-coordinator/src/ModelConfigSection.d.ts.map +1 -0
  81. package/apps/app-task-coordinator/src/PtyConsoleBase.d.ts.map +1 -0
  82. package/apps/app-task-coordinator/src/PtyConsoleDrawer.d.ts.map +1 -0
  83. package/apps/app-task-coordinator/src/PtyConsoleSidePanel.d.ts.map +1 -0
  84. package/apps/app-task-coordinator/src/PtyTerminalPane.d.ts.map +1 -0
  85. package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.d.ts +23 -0
  86. package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.d.ts.map +1 -0
  87. package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.js +39 -0
  88. package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.d.ts +29 -0
  89. package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.d.ts.map +1 -0
  90. package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.js +45 -0
  91. package/apps/app-task-coordinator/src/api/coordinator-types.d.ts.map +1 -0
  92. package/apps/app-task-coordinator/src/api/coordinator-wiring.d.ts.map +1 -0
  93. package/apps/app-task-coordinator/src/api/task-agent-message-routing.d.ts +10 -0
  94. package/apps/app-task-coordinator/src/api/task-agent-message-routing.d.ts.map +1 -0
  95. package/apps/app-task-coordinator/src/api/task-agent-message-routing.js +62 -0
  96. package/apps/app-task-coordinator/src/coding-agent-settings-shared.d.ts.map +1 -0
  97. package/apps/{app-coding → app-task-coordinator}/src/index.d.ts +1 -0
  98. package/apps/app-task-coordinator/src/index.d.ts.map +1 -0
  99. package/apps/{app-coding → app-task-coordinator}/src/index.js +1 -0
  100. package/apps/app-task-coordinator/src/pty-status-dots.d.ts.map +1 -0
  101. package/apps/app-task-coordinator/src/session-hydration.d.ts.map +1 -0
  102. package/apps/app-training/src/services/index.d.ts +3 -0
  103. package/apps/app-training/src/services/index.d.ts.map +1 -0
  104. package/apps/app-training/src/services/index.js +1 -0
  105. package/apps/app-training/src/services/training-backend-check.d.ts +8 -0
  106. package/apps/app-training/src/services/training-backend-check.d.ts.map +1 -0
  107. package/apps/app-training/src/services/training-backend-check.js +28 -0
  108. package/apps/app-training/src/services/training-service-like.d.ts +38 -0
  109. package/apps/app-training/src/services/training-service-like.d.ts.map +1 -0
  110. package/apps/app-training/src/services/training-service-like.js +1 -0
  111. package/apps/app-training/src/ui/FineTuningView.d.ts +5 -0
  112. package/apps/app-training/src/ui/FineTuningView.d.ts.map +1 -0
  113. package/apps/app-training/src/ui/FineTuningView.js +391 -0
  114. package/apps/app-training/src/ui/fine-tuning-panels.d.ts +111 -0
  115. package/apps/app-training/src/ui/fine-tuning-panels.d.ts.map +1 -0
  116. package/apps/app-training/src/ui/fine-tuning-panels.js +130 -0
  117. package/apps/app-vincent/src/TradingProfileCard.d.ts +14 -0
  118. package/apps/app-vincent/src/TradingProfileCard.d.ts.map +1 -0
  119. package/apps/app-vincent/src/TradingProfileCard.js +22 -0
  120. package/apps/app-vincent/src/TradingStrategyPanel.d.ts +15 -0
  121. package/apps/app-vincent/src/TradingStrategyPanel.d.ts.map +1 -0
  122. package/apps/app-vincent/src/TradingStrategyPanel.js +62 -0
  123. package/apps/app-vincent/src/VaultStatusCard.d.ts +15 -0
  124. package/apps/app-vincent/src/VaultStatusCard.d.ts.map +1 -0
  125. package/apps/app-vincent/src/VaultStatusCard.js +83 -0
  126. package/apps/app-vincent/src/VincentAppView.d.ts +18 -0
  127. package/apps/app-vincent/src/VincentAppView.d.ts.map +1 -0
  128. package/apps/app-vincent/src/VincentAppView.js +37 -0
  129. package/apps/app-vincent/src/VincentConnectionCard.d.ts +15 -0
  130. package/apps/app-vincent/src/VincentConnectionCard.d.ts.map +1 -0
  131. package/apps/app-vincent/src/VincentConnectionCard.js +43 -0
  132. package/apps/app-vincent/src/client.d.ts +29 -0
  133. package/apps/app-vincent/src/client.d.ts.map +1 -0
  134. package/apps/app-vincent/src/client.js +29 -0
  135. package/apps/app-vincent/src/index.d.ts +12 -0
  136. package/apps/app-vincent/src/index.d.ts.map +1 -0
  137. package/apps/app-vincent/src/index.js +11 -0
  138. package/apps/app-vincent/src/useVincentDashboard.d.ts +39 -0
  139. package/apps/app-vincent/src/useVincentDashboard.d.ts.map +1 -0
  140. package/apps/app-vincent/src/useVincentDashboard.js +124 -0
  141. package/apps/app-vincent/src/useVincentState.d.ts +26 -0
  142. package/apps/app-vincent/src/useVincentState.d.ts.map +1 -0
  143. package/apps/app-vincent/src/useVincentState.js +125 -0
  144. package/apps/app-vincent/src/vincent-app.d.ts +11 -0
  145. package/apps/app-vincent/src/vincent-app.d.ts.map +1 -0
  146. package/apps/app-vincent/src/vincent-app.js +20 -0
  147. package/package.json +13 -6
  148. package/packages/agent/src/actions/check-balance.d.ts.map +1 -0
  149. package/packages/agent/src/actions/connector-resolver.d.ts +75 -0
  150. package/packages/agent/src/actions/connector-resolver.d.ts.map +1 -0
  151. package/packages/agent/src/actions/connector-resolver.js +245 -0
  152. package/packages/agent/src/actions/context-signal-lexicon.d.ts +1 -1
  153. package/packages/agent/src/actions/context-signal-lexicon.d.ts.map +1 -1
  154. package/packages/agent/src/actions/context-signal-lexicon.js +6 -0
  155. package/packages/agent/src/actions/eject-plugin.d.ts.map +1 -0
  156. package/packages/agent/src/actions/execute-trade.d.ts.map +1 -0
  157. package/packages/agent/src/actions/get-self-status.d.ts.map +1 -0
  158. package/packages/{app-core → agent}/src/actions/get-self-status.js +1 -2
  159. package/packages/agent/src/actions/install-plugin.d.ts.map +1 -0
  160. package/packages/agent/src/actions/life-recent-context.d.ts +1 -8
  161. package/packages/agent/src/actions/life-recent-context.d.ts.map +1 -1
  162. package/packages/agent/src/actions/life-recent-context.js +1 -84
  163. package/packages/agent/src/actions/list-ejected.d.ts.map +1 -0
  164. package/packages/agent/src/actions/log-level.d.ts.map +1 -0
  165. package/packages/agent/src/actions/manage-tasks.d.ts.map +1 -1
  166. package/packages/agent/src/actions/manage-tasks.js +51 -15
  167. package/packages/agent/src/actions/media.d.ts.map +1 -0
  168. package/packages/{app-core → agent}/src/actions/media.js +2 -2
  169. package/packages/agent/src/actions/reinject-plugin.d.ts.map +1 -0
  170. package/packages/agent/src/actions/send-message.d.ts +0 -7
  171. package/packages/agent/src/actions/send-message.d.ts.map +1 -1
  172. package/packages/agent/src/actions/send-message.js +170 -49
  173. package/packages/agent/src/actions/sync-plugin.d.ts.map +1 -0
  174. package/packages/agent/src/actions/transfer-token.d.ts.map +1 -0
  175. package/packages/agent/src/actions/wallet-action-shared.d.ts.map +1 -0
  176. package/packages/agent/src/api/agent-admin-routes.d.ts.map +1 -1
  177. package/packages/agent/src/api/agent-admin-routes.js +1 -1
  178. package/packages/agent/src/api/binance-skill-helpers.d.ts.map +1 -1
  179. package/packages/agent/src/api/binance-skill-helpers.js +8 -3
  180. package/packages/agent/src/api/chat-routes.d.ts.map +1 -1
  181. package/packages/agent/src/api/chat-routes.js +20 -5
  182. package/packages/agent/src/api/coding-agents-auth-sanitize.d.ts +1 -22
  183. package/packages/agent/src/api/coding-agents-auth-sanitize.d.ts.map +1 -1
  184. package/packages/agent/src/api/coding-agents-auth-sanitize.js +1 -39
  185. package/packages/agent/src/api/coding-agents-preflight-normalize.d.ts +1 -28
  186. package/packages/agent/src/api/coding-agents-preflight-normalize.d.ts.map +1 -1
  187. package/packages/agent/src/api/coding-agents-preflight-normalize.js +1 -45
  188. package/packages/agent/src/api/index.d.ts +1 -1
  189. package/packages/agent/src/api/index.d.ts.map +1 -1
  190. package/packages/agent/src/api/index.js +1 -1
  191. package/packages/agent/src/api/lifeops-browser-packaging.d.ts +1 -15
  192. package/packages/agent/src/api/lifeops-browser-packaging.d.ts.map +1 -1
  193. package/packages/agent/src/api/lifeops-browser-packaging.js +1 -305
  194. package/packages/agent/src/api/server.d.ts.map +1 -1
  195. package/packages/agent/src/api/server.js +6 -6
  196. package/packages/agent/src/api/task-agent-message-routing.d.ts +1 -9
  197. package/packages/agent/src/api/task-agent-message-routing.d.ts.map +1 -1
  198. package/packages/agent/src/api/task-agent-message-routing.js +1 -62
  199. package/packages/agent/src/api/website-blocker-routes.d.ts +1 -6
  200. package/packages/agent/src/api/website-blocker-routes.d.ts.map +1 -1
  201. package/packages/agent/src/api/website-blocker-routes.js +1 -174
  202. package/packages/agent/src/config/types.agent-defaults.d.ts +1 -1
  203. package/packages/agent/src/config/types.agent-defaults.d.ts.map +1 -1
  204. package/packages/agent/src/lifeops/defaults.d.ts +1 -23
  205. package/packages/agent/src/lifeops/defaults.d.ts.map +1 -1
  206. package/packages/agent/src/lifeops/defaults.js +1 -205
  207. package/packages/agent/src/lifeops/owner-profile.d.ts +1 -14
  208. package/packages/agent/src/lifeops/owner-profile.d.ts.map +1 -1
  209. package/packages/agent/src/lifeops/owner-profile.js +1 -194
  210. package/packages/agent/src/lifeops/repository.d.ts +1 -208
  211. package/packages/agent/src/lifeops/repository.d.ts.map +1 -1
  212. package/packages/agent/src/lifeops/repository.js +1 -3187
  213. package/packages/agent/src/lifeops/screen-context.d.ts +1 -51
  214. package/packages/agent/src/lifeops/screen-context.d.ts.map +1 -1
  215. package/packages/agent/src/lifeops/screen-context.js +1 -332
  216. package/packages/agent/src/lifeops/service.d.ts +1 -274
  217. package/packages/agent/src/lifeops/service.d.ts.map +1 -1
  218. package/packages/agent/src/lifeops/service.js +1 -9260
  219. package/packages/agent/src/lifeops/time.d.ts +1 -16
  220. package/packages/agent/src/lifeops/time.d.ts.map +1 -1
  221. package/packages/agent/src/lifeops/time.js +1 -132
  222. package/packages/agent/src/providers/media-provider.d.ts.map +1 -0
  223. package/packages/agent/src/providers/tasks.d.ts.map +1 -1
  224. package/packages/agent/src/providers/tasks.js +7 -7
  225. package/packages/agent/src/runtime/core-plugins.js +1 -1
  226. package/packages/agent/src/runtime/eliza-plugin.d.ts.map +1 -1
  227. package/packages/agent/src/runtime/eliza-plugin.js +1 -7
  228. package/packages/agent/src/runtime/eliza.js +2 -2
  229. package/packages/agent/src/runtime/plugin-collector.js +3 -3
  230. package/packages/agent/src/runtime/plugin-lifecycle.d.ts.map +1 -1
  231. package/packages/agent/src/runtime/plugin-lifecycle.js +3 -13
  232. package/packages/agent/src/runtime/trajectory-internals.d.ts.map +1 -1
  233. package/packages/agent/src/runtime/trajectory-internals.js +1 -3
  234. package/packages/agent/src/services/coding-task-executor.d.ts +3 -3
  235. package/packages/agent/src/services/coding-task-executor.js +3 -3
  236. package/packages/app-core/src/actions/index.d.ts +15 -10
  237. package/packages/app-core/src/actions/index.d.ts.map +1 -1
  238. package/packages/app-core/src/actions/index.js +15 -15
  239. package/packages/app-core/src/api/client-vincent.d.ts +1 -28
  240. package/packages/app-core/src/api/client-vincent.d.ts.map +1 -1
  241. package/packages/app-core/src/api/client-vincent.js +1 -29
  242. package/packages/app-core/src/api/client.d.ts +1 -1
  243. package/packages/app-core/src/api/client.d.ts.map +1 -1
  244. package/packages/app-core/src/api/client.js +1 -1
  245. package/packages/app-core/src/api/dev-stack.d.ts.map +1 -1
  246. package/packages/app-core/src/api/dev-stack.js +3 -1
  247. package/packages/app-core/src/api/shopify-routes.d.ts +1 -17
  248. package/packages/app-core/src/api/shopify-routes.d.ts.map +1 -1
  249. package/packages/app-core/src/api/shopify-routes.js +2 -479
  250. package/packages/app-core/src/api/vincent-routes.d.ts +1 -25
  251. package/packages/app-core/src/api/vincent-routes.d.ts.map +1 -1
  252. package/packages/app-core/src/api/vincent-routes.js +2 -496
  253. package/packages/app-core/src/{actions/character.d.ts → character/character-draft-helpers.d.ts} +1 -1
  254. package/packages/app-core/src/character/character-draft-helpers.d.ts.map +1 -0
  255. package/packages/app-core/src/components/chat/widgets/plugins/agent-orchestrator.d.ts +0 -3
  256. package/packages/app-core/src/components/chat/widgets/plugins/agent-orchestrator.d.ts.map +1 -1
  257. package/packages/app-core/src/components/chat/widgets/plugins/agent-orchestrator.js +7 -271
  258. package/packages/app-core/src/components/connectors/LifeOpsBrowserSetupPanel.d.ts +1 -1
  259. package/packages/app-core/src/components/connectors/LifeOpsBrowserSetupPanel.d.ts.map +1 -1
  260. package/packages/app-core/src/components/connectors/LifeOpsBrowserSetupPanel.js +1 -473
  261. package/packages/app-core/src/components/pages/ChatView.js +2 -2
  262. package/packages/app-core/src/components/pages/DatabaseView.d.ts.map +1 -1
  263. package/packages/app-core/src/components/pages/DatabaseView.js +1 -1
  264. package/packages/app-core/src/components/pages/PluginsView.js +1 -1
  265. package/packages/app-core/src/components/pages/SettingsView.js +1 -1
  266. package/packages/app-core/src/components/pages/TasksPageView.d.ts.map +1 -1
  267. package/packages/app-core/src/components/pages/TasksPageView.js +1 -1
  268. package/packages/app-core/src/components/pages/plugin-view-connectors.d.ts.map +1 -1
  269. package/packages/app-core/src/components/pages/plugin-view-connectors.js +17 -16
  270. package/packages/app-core/src/components/settings/FineTuningView.d.ts +1 -4
  271. package/packages/app-core/src/components/settings/FineTuningView.d.ts.map +1 -1
  272. package/packages/app-core/src/components/settings/FineTuningView.js +1 -391
  273. package/packages/app-core/src/components/settings/LifeOpsSettingsSection.d.ts +1 -1
  274. package/packages/app-core/src/components/settings/LifeOpsSettingsSection.d.ts.map +1 -1
  275. package/packages/app-core/src/components/settings/LifeOpsSettingsSection.js +1 -183
  276. package/packages/app-core/src/components/settings/WebsiteBlockerSettingsCard.d.ts +1 -10
  277. package/packages/app-core/src/components/settings/WebsiteBlockerSettingsCard.d.ts.map +1 -1
  278. package/packages/app-core/src/components/settings/WebsiteBlockerSettingsCard.js +1 -200
  279. package/packages/app-core/src/components/settings/fine-tuning-panels.d.ts +1 -111
  280. package/packages/app-core/src/components/settings/fine-tuning-panels.d.ts.map +1 -1
  281. package/packages/app-core/src/components/settings/fine-tuning-panels.js +1 -130
  282. package/packages/app-core/src/components/settings/media-settings-types.d.ts +2 -3
  283. package/packages/app-core/src/components/settings/media-settings-types.d.ts.map +1 -1
  284. package/packages/app-core/src/components/settings/media-settings-types.js +2 -6
  285. package/packages/app-core/src/config/index.d.ts +1 -0
  286. package/packages/app-core/src/config/index.d.ts.map +1 -1
  287. package/packages/app-core/src/config/index.js +1 -0
  288. package/packages/app-core/src/index.d.ts +1 -0
  289. package/packages/app-core/src/index.d.ts.map +1 -1
  290. package/packages/app-core/src/index.js +1 -0
  291. package/packages/app-core/src/runtime/channel-plugin-map.d.ts +6 -0
  292. package/packages/app-core/src/runtime/channel-plugin-map.d.ts.map +1 -0
  293. package/packages/app-core/src/runtime/channel-plugin-map.js +10 -0
  294. package/packages/app-core/src/shell/DetachedShellRoot.js +1 -1
  295. package/packages/app-core/src/state/AppContext.d.ts.map +1 -1
  296. package/packages/app-core/src/state/AppContext.js +20 -3
  297. package/packages/app-core/src/state/useCharacterState.js +1 -1
  298. package/packages/app-core/src/state/useVincentState.d.ts +1 -25
  299. package/packages/app-core/src/state/useVincentState.d.ts.map +1 -1
  300. package/packages/app-core/src/state/useVincentState.js +1 -125
  301. package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts +24 -0
  302. package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts.map +1 -1
  303. package/packages/shared/src/i18n/generated/validation-keyword-data.js +24 -0
  304. package/packages/shared/src/runtime-env.d.ts.map +1 -1
  305. package/packages/shared/src/runtime-env.js +5 -1
  306. package/packages/typescript/src/generated/action-docs.d.ts +135 -0
  307. package/packages/typescript/src/generated/action-docs.d.ts.map +1 -1
  308. package/packages/typescript/src/generated/action-docs.js +237 -0
  309. package/packages/typescript/src/i18n/generated/validation-keyword-data.d.ts +24 -0
  310. package/packages/typescript/src/i18n/generated/validation-keyword-data.d.ts.map +1 -1
  311. package/packages/typescript/src/i18n/generated/validation-keyword-data.js +24 -0
  312. package/packages/typescript/src/index.node.d.ts +2 -2
  313. package/packages/typescript/src/index.node.d.ts.map +1 -1
  314. package/packages/typescript/src/index.node.js +4 -3
  315. package/packages/typescript/src/plugin-lifecycle.d.ts.map +1 -1
  316. package/packages/typescript/src/plugin-lifecycle.js +42 -3
  317. package/packages/typescript/src/services/message.d.ts.map +1 -1
  318. package/packages/typescript/src/services/message.js +32 -0
  319. package/packages/ui/src/components/composites/sidebar/sidebar-content.d.ts.map +1 -1
  320. package/packages/ui/src/components/composites/sidebar/sidebar-content.js +11 -2
  321. package/packages/ui/src/layouts/workspace-layout/workspace-layout.d.ts.map +1 -1
  322. package/packages/ui/src/layouts/workspace-layout/workspace-layout.js +10 -1
  323. package/apps/app-coding/src/AgentTabsSection.d.ts.map +0 -1
  324. package/apps/app-coding/src/CodingAgentControlChip.d.ts.map +0 -1
  325. package/apps/app-coding/src/CodingAgentSettingsSection.d.ts.map +0 -1
  326. package/apps/app-coding/src/GlobalPrefsSection.d.ts.map +0 -1
  327. package/apps/app-coding/src/LlmProviderSection.d.ts.map +0 -1
  328. package/apps/app-coding/src/ModelConfigSection.d.ts.map +0 -1
  329. package/apps/app-coding/src/PtyConsoleBase.d.ts.map +0 -1
  330. package/apps/app-coding/src/PtyConsoleDrawer.d.ts.map +0 -1
  331. package/apps/app-coding/src/PtyConsoleSidePanel.d.ts.map +0 -1
  332. package/apps/app-coding/src/PtyTerminalPane.d.ts.map +0 -1
  333. package/apps/app-coding/src/coding-agent-settings-shared.d.ts.map +0 -1
  334. package/apps/app-coding/src/index.d.ts.map +0 -1
  335. package/apps/app-coding/src/pty-status-dots.d.ts.map +0 -1
  336. package/apps/app-coding/src/session-hydration.d.ts.map +0 -1
  337. package/packages/agent/src/actions/inbox.d.ts.map +0 -1
  338. package/packages/agent/src/actions/lifeops-google-helpers.d.ts +0 -62
  339. package/packages/agent/src/actions/lifeops-google-helpers.d.ts.map +0 -1
  340. package/packages/agent/src/actions/lifeops-google-helpers.js +0 -607
  341. package/packages/agent/src/actions/update-owner-profile.d.ts.map +0 -1
  342. package/packages/agent/src/api/coordinator-types.d.ts.map +0 -1
  343. package/packages/agent/src/api/coordinator-wiring.d.ts.map +0 -1
  344. package/packages/agent/src/inbox/channel-deep-links.d.ts.map +0 -1
  345. package/packages/agent/src/inbox/config.d.ts.map +0 -1
  346. package/packages/agent/src/inbox/message-fetcher.d.ts.map +0 -1
  347. package/packages/agent/src/inbox/reflection.d.ts.map +0 -1
  348. package/packages/agent/src/inbox/repository.d.ts.map +0 -1
  349. package/packages/agent/src/inbox/triage-classifier.d.ts.map +0 -1
  350. package/packages/agent/src/inbox/types.d.ts.map +0 -1
  351. package/packages/agent/src/lifeops/apple-reminders.d.ts +0 -58
  352. package/packages/agent/src/lifeops/apple-reminders.d.ts.map +0 -1
  353. package/packages/agent/src/lifeops/apple-reminders.js +0 -325
  354. package/packages/agent/src/lifeops/engine.d.ts +0 -8
  355. package/packages/agent/src/lifeops/engine.d.ts.map +0 -1
  356. package/packages/agent/src/lifeops/engine.js +0 -389
  357. package/packages/agent/src/lifeops/goal-grounding.d.ts +0 -54
  358. package/packages/agent/src/lifeops/goal-grounding.d.ts.map +0 -1
  359. package/packages/agent/src/lifeops/goal-grounding.js +0 -147
  360. package/packages/agent/src/lifeops/goal-semantic-evaluator.d.ts +0 -12
  361. package/packages/agent/src/lifeops/goal-semantic-evaluator.d.ts.map +0 -1
  362. package/packages/agent/src/lifeops/goal-semantic-evaluator.js +0 -154
  363. package/packages/agent/src/lifeops/google-api-error.d.ts +0 -7
  364. package/packages/agent/src/lifeops/google-api-error.d.ts.map +0 -1
  365. package/packages/agent/src/lifeops/google-api-error.js +0 -35
  366. package/packages/agent/src/lifeops/google-calendar.d.ts +0 -53
  367. package/packages/agent/src/lifeops/google-calendar.d.ts.map +0 -1
  368. package/packages/agent/src/lifeops/google-calendar.js +0 -268
  369. package/packages/agent/src/lifeops/google-connector-gateway.d.ts +0 -19
  370. package/packages/agent/src/lifeops/google-connector-gateway.d.ts.map +0 -1
  371. package/packages/agent/src/lifeops/google-connector-gateway.js +0 -65
  372. package/packages/agent/src/lifeops/google-fetch.d.ts +0 -11
  373. package/packages/agent/src/lifeops/google-fetch.d.ts.map +0 -1
  374. package/packages/agent/src/lifeops/google-fetch.js +0 -85
  375. package/packages/agent/src/lifeops/google-gmail.d.ts +0 -54
  376. package/packages/agent/src/lifeops/google-gmail.d.ts.map +0 -1
  377. package/packages/agent/src/lifeops/google-gmail.js +0 -471
  378. package/packages/agent/src/lifeops/google-managed-client.d.ts +0 -127
  379. package/packages/agent/src/lifeops/google-managed-client.d.ts.map +0 -1
  380. package/packages/agent/src/lifeops/google-managed-client.js +0 -294
  381. package/packages/agent/src/lifeops/google-oauth.d.ts +0 -61
  382. package/packages/agent/src/lifeops/google-oauth.d.ts.map +0 -1
  383. package/packages/agent/src/lifeops/google-oauth.js +0 -494
  384. package/packages/agent/src/lifeops/google-scopes.d.ts +0 -13
  385. package/packages/agent/src/lifeops/google-scopes.d.ts.map +0 -1
  386. package/packages/agent/src/lifeops/google-scopes.js +0 -96
  387. package/packages/agent/src/lifeops/runtime.d.ts +0 -14
  388. package/packages/agent/src/lifeops/runtime.d.ts.map +0 -1
  389. package/packages/agent/src/lifeops/runtime.js +0 -120
  390. package/packages/agent/src/lifeops/seed-routines.d.ts +0 -20
  391. package/packages/agent/src/lifeops/seed-routines.d.ts.map +0 -1
  392. package/packages/agent/src/lifeops/seed-routines.js +0 -111
  393. package/packages/agent/src/lifeops/sql.d.ts +0 -31
  394. package/packages/agent/src/lifeops/sql.d.ts.map +0 -1
  395. package/packages/agent/src/lifeops/sql.js +0 -247
  396. package/packages/agent/src/lifeops/twilio.d.ts +0 -25
  397. package/packages/agent/src/lifeops/twilio.d.ts.map +0 -1
  398. package/packages/agent/src/lifeops/twilio.js +0 -157
  399. package/packages/agent/src/lifeops/x-poster.d.ts +0 -19
  400. package/packages/agent/src/lifeops/x-poster.d.ts.map +0 -1
  401. package/packages/agent/src/lifeops/x-poster.js +0 -148
  402. package/packages/agent/src/providers/inbox-triage.d.ts.map +0 -1
  403. package/packages/agent/src/training/context-catalog.d.ts +0 -2
  404. package/packages/agent/src/training/context-catalog.d.ts.map +0 -1
  405. package/packages/agent/src/training/context-catalog.js +0 -2
  406. package/packages/agent/src/training/context-types.d.ts +0 -2
  407. package/packages/agent/src/training/context-types.d.ts.map +0 -1
  408. package/packages/agent/src/training/context-types.js +0 -2
  409. package/packages/app-core/src/actions/character.d.ts.map +0 -1
  410. package/packages/app-core/src/actions/check-balance.d.ts.map +0 -1
  411. package/packages/app-core/src/actions/eject-plugin.d.ts.map +0 -1
  412. package/packages/app-core/src/actions/execute-trade.d.ts.map +0 -1
  413. package/packages/app-core/src/actions/get-self-status.d.ts.map +0 -1
  414. package/packages/app-core/src/actions/install-plugin.d.ts.map +0 -1
  415. package/packages/app-core/src/actions/list-ejected.d.ts.map +0 -1
  416. package/packages/app-core/src/actions/log-level.d.ts.map +0 -1
  417. package/packages/app-core/src/actions/media.d.ts.map +0 -1
  418. package/packages/app-core/src/actions/reinject-plugin.d.ts.map +0 -1
  419. package/packages/app-core/src/actions/sync-plugin.d.ts.map +0 -1
  420. package/packages/app-core/src/actions/transfer-token.d.ts.map +0 -1
  421. package/packages/app-core/src/actions/wallet-action-shared.d.ts.map +0 -1
  422. package/packages/app-core/src/providers/local-models.d.ts +0 -118
  423. package/packages/app-core/src/providers/local-models.d.ts.map +0 -1
  424. package/packages/app-core/src/providers/local-models.js +0 -427
  425. package/packages/app-core/src/providers/media-provider.d.ts.map +0 -1
  426. package/packages/app-core/src/providers/self-status.d.ts +0 -4
  427. package/packages/app-core/src/providers/self-status.d.ts.map +0 -1
  428. package/packages/app-core/src/providers/self-status.js +0 -12
  429. package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.d.ts +0 -41
  430. package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.d.ts.map +0 -1
  431. package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.js +0 -443
  432. package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.d.ts +0 -34
  433. package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.d.ts.map +0 -1
  434. package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.js +0 -171
  435. package/packages/typescript/src/features/orchestrator/actions/eval-metadata.d.ts +0 -11
  436. package/packages/typescript/src/features/orchestrator/actions/eval-metadata.d.ts.map +0 -1
  437. package/packages/typescript/src/features/orchestrator/actions/eval-metadata.js +0 -55
  438. package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.d.ts +0 -11
  439. package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.d.ts.map +0 -1
  440. package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.js +0 -214
  441. package/packages/typescript/src/features/orchestrator/actions/list-agents.d.ts +0 -13
  442. package/packages/typescript/src/features/orchestrator/actions/list-agents.d.ts.map +0 -1
  443. package/packages/typescript/src/features/orchestrator/actions/list-agents.js +0 -174
  444. package/packages/typescript/src/features/orchestrator/actions/manage-issues.d.ts +0 -11
  445. package/packages/typescript/src/features/orchestrator/actions/manage-issues.d.ts.map +0 -1
  446. package/packages/typescript/src/features/orchestrator/actions/manage-issues.js +0 -428
  447. package/packages/typescript/src/features/orchestrator/actions/provision-workspace.d.ts +0 -11
  448. package/packages/typescript/src/features/orchestrator/actions/provision-workspace.d.ts.map +0 -1
  449. package/packages/typescript/src/features/orchestrator/actions/provision-workspace.js +0 -189
  450. package/packages/typescript/src/features/orchestrator/actions/send-to-agent.d.ts +0 -12
  451. package/packages/typescript/src/features/orchestrator/actions/send-to-agent.d.ts.map +0 -1
  452. package/packages/typescript/src/features/orchestrator/actions/send-to-agent.js +0 -265
  453. package/packages/typescript/src/features/orchestrator/actions/spawn-agent.d.ts +0 -12
  454. package/packages/typescript/src/features/orchestrator/actions/spawn-agent.d.ts.map +0 -1
  455. package/packages/typescript/src/features/orchestrator/actions/spawn-agent.js +0 -356
  456. package/packages/typescript/src/features/orchestrator/actions/start-coding-task.d.ts +0 -22
  457. package/packages/typescript/src/features/orchestrator/actions/start-coding-task.d.ts.map +0 -1
  458. package/packages/typescript/src/features/orchestrator/actions/start-coding-task.js +0 -270
  459. package/packages/typescript/src/features/orchestrator/actions/stop-agent.d.ts +0 -12
  460. package/packages/typescript/src/features/orchestrator/actions/stop-agent.d.ts.map +0 -1
  461. package/packages/typescript/src/features/orchestrator/actions/stop-agent.js +0 -192
  462. package/packages/typescript/src/features/orchestrator/actions/task-control.d.ts +0 -3
  463. package/packages/typescript/src/features/orchestrator/actions/task-control.d.ts.map +0 -1
  464. package/packages/typescript/src/features/orchestrator/actions/task-control.js +0 -217
  465. package/packages/typescript/src/features/orchestrator/actions/task-history.d.ts +0 -3
  466. package/packages/typescript/src/features/orchestrator/actions/task-history.d.ts.map +0 -1
  467. package/packages/typescript/src/features/orchestrator/actions/task-history.js +0 -323
  468. package/packages/typescript/src/features/orchestrator/actions/task-share.d.ts +0 -3
  469. package/packages/typescript/src/features/orchestrator/actions/task-share.d.ts.map +0 -1
  470. package/packages/typescript/src/features/orchestrator/actions/task-share.js +0 -168
  471. package/packages/typescript/src/features/orchestrator/actions/task-thread-target.d.ts +0 -11
  472. package/packages/typescript/src/features/orchestrator/actions/task-thread-target.d.ts.map +0 -1
  473. package/packages/typescript/src/features/orchestrator/actions/task-thread-target.js +0 -68
  474. package/packages/typescript/src/features/orchestrator/api/agent-routes.d.ts +0 -18
  475. package/packages/typescript/src/features/orchestrator/api/agent-routes.d.ts.map +0 -1
  476. package/packages/typescript/src/features/orchestrator/api/agent-routes.js +0 -654
  477. package/packages/typescript/src/features/orchestrator/api/coordinator-routes.d.ts +0 -22
  478. package/packages/typescript/src/features/orchestrator/api/coordinator-routes.d.ts.map +0 -1
  479. package/packages/typescript/src/features/orchestrator/api/coordinator-routes.js +0 -403
  480. package/packages/typescript/src/features/orchestrator/api/hook-routes.d.ts +0 -18
  481. package/packages/typescript/src/features/orchestrator/api/hook-routes.d.ts.map +0 -1
  482. package/packages/typescript/src/features/orchestrator/api/hook-routes.js +0 -164
  483. package/packages/typescript/src/features/orchestrator/api/issue-routes.d.ts +0 -17
  484. package/packages/typescript/src/features/orchestrator/api/issue-routes.d.ts.map +0 -1
  485. package/packages/typescript/src/features/orchestrator/api/issue-routes.js +0 -132
  486. package/packages/typescript/src/features/orchestrator/api/routes.d.ts +0 -37
  487. package/packages/typescript/src/features/orchestrator/api/routes.d.ts.map +0 -1
  488. package/packages/typescript/src/features/orchestrator/api/routes.js +0 -96
  489. package/packages/typescript/src/features/orchestrator/api/workspace-routes.d.ts +0 -17
  490. package/packages/typescript/src/features/orchestrator/api/workspace-routes.d.ts.map +0 -1
  491. package/packages/typescript/src/features/orchestrator/api/workspace-routes.js +0 -149
  492. package/packages/typescript/src/features/orchestrator/base-plugin.d.ts +0 -19
  493. package/packages/typescript/src/features/orchestrator/base-plugin.d.ts.map +0 -1
  494. package/packages/typescript/src/features/orchestrator/base-plugin.js +0 -75
  495. package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.d.ts +0 -101
  496. package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.d.ts.map +0 -1
  497. package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.js +0 -310
  498. package/packages/typescript/src/features/orchestrator/index.d.ts +0 -33
  499. package/packages/typescript/src/features/orchestrator/index.d.ts.map +0 -1
  500. package/packages/typescript/src/features/orchestrator/index.js +0 -30
  501. package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.d.ts +0 -15
  502. package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.d.ts.map +0 -1
  503. package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.js +0 -1449
  504. package/packages/typescript/src/features/orchestrator/providers/action-examples.d.ts +0 -14
  505. package/packages/typescript/src/features/orchestrator/providers/action-examples.d.ts.map +0 -1
  506. package/packages/typescript/src/features/orchestrator/providers/action-examples.js +0 -151
  507. package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.d.ts +0 -13
  508. package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.d.ts.map +0 -1
  509. package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.js +0 -142
  510. package/packages/typescript/src/features/orchestrator/services/agent-credentials.d.ts +0 -6
  511. package/packages/typescript/src/features/orchestrator/services/agent-credentials.d.ts.map +0 -1
  512. package/packages/typescript/src/features/orchestrator/services/agent-credentials.js +0 -91
  513. package/packages/typescript/src/features/orchestrator/services/agent-metrics.d.ts +0 -30
  514. package/packages/typescript/src/features/orchestrator/services/agent-metrics.d.ts.map +0 -1
  515. package/packages/typescript/src/features/orchestrator/services/agent-metrics.js +0 -54
  516. package/packages/typescript/src/features/orchestrator/services/agent-selection.d.ts +0 -53
  517. package/packages/typescript/src/features/orchestrator/services/agent-selection.d.ts.map +0 -1
  518. package/packages/typescript/src/features/orchestrator/services/agent-selection.js +0 -70
  519. package/packages/typescript/src/features/orchestrator/services/ansi-utils.d.ts +0 -61
  520. package/packages/typescript/src/features/orchestrator/services/ansi-utils.d.ts.map +0 -1
  521. package/packages/typescript/src/features/orchestrator/services/ansi-utils.js +0 -252
  522. package/packages/typescript/src/features/orchestrator/services/config-env.d.ts +0 -13
  523. package/packages/typescript/src/features/orchestrator/services/config-env.d.ts.map +0 -1
  524. package/packages/typescript/src/features/orchestrator/services/config-env.js +0 -37
  525. package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.d.ts +0 -50
  526. package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.d.ts.map +0 -1
  527. package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.js +0 -184
  528. package/packages/typescript/src/features/orchestrator/services/debug-capture.d.ts +0 -38
  529. package/packages/typescript/src/features/orchestrator/services/debug-capture.d.ts.map +0 -1
  530. package/packages/typescript/src/features/orchestrator/services/debug-capture.js +0 -113
  531. package/packages/typescript/src/features/orchestrator/services/pty-auto-response.d.ts +0 -30
  532. package/packages/typescript/src/features/orchestrator/services/pty-auto-response.d.ts.map +0 -1
  533. package/packages/typescript/src/features/orchestrator/services/pty-auto-response.js +0 -146
  534. package/packages/typescript/src/features/orchestrator/services/pty-init.d.ts +0 -54
  535. package/packages/typescript/src/features/orchestrator/services/pty-init.d.ts.map +0 -1
  536. package/packages/typescript/src/features/orchestrator/services/pty-init.js +0 -315
  537. package/packages/typescript/src/features/orchestrator/services/pty-service.d.ts +0 -175
  538. package/packages/typescript/src/features/orchestrator/services/pty-service.d.ts.map +0 -1
  539. package/packages/typescript/src/features/orchestrator/services/pty-service.js +0 -1469
  540. package/packages/typescript/src/features/orchestrator/services/pty-session-io.d.ts +0 -49
  541. package/packages/typescript/src/features/orchestrator/services/pty-session-io.d.ts.map +0 -1
  542. package/packages/typescript/src/features/orchestrator/services/pty-session-io.js +0 -180
  543. package/packages/typescript/src/features/orchestrator/services/pty-spawn.d.ts +0 -53
  544. package/packages/typescript/src/features/orchestrator/services/pty-spawn.d.ts.map +0 -1
  545. package/packages/typescript/src/features/orchestrator/services/pty-spawn.js +0 -280
  546. package/packages/typescript/src/features/orchestrator/services/pty-types.d.ts +0 -80
  547. package/packages/typescript/src/features/orchestrator/services/pty-types.d.ts.map +0 -1
  548. package/packages/typescript/src/features/orchestrator/services/pty-types.js +0 -51
  549. package/packages/typescript/src/features/orchestrator/services/repo-input.d.ts +0 -16
  550. package/packages/typescript/src/features/orchestrator/services/repo-input.d.ts.map +0 -1
  551. package/packages/typescript/src/features/orchestrator/services/repo-input.js +0 -88
  552. package/packages/typescript/src/features/orchestrator/services/stall-classifier.d.ts +0 -69
  553. package/packages/typescript/src/features/orchestrator/services/stall-classifier.d.ts.map +0 -1
  554. package/packages/typescript/src/features/orchestrator/services/stall-classifier.js +0 -446
  555. package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.d.ts +0 -97
  556. package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.d.ts.map +0 -1
  557. package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.js +0 -342
  558. package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.d.ts +0 -421
  559. package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.d.ts.map +0 -1
  560. package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.js +0 -2356
  561. package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.d.ts +0 -52
  562. package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.d.ts.map +0 -1
  563. package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.js +0 -1538
  564. package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.d.ts +0 -49
  565. package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.d.ts.map +0 -1
  566. package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.js +0 -171
  567. package/packages/typescript/src/features/orchestrator/services/swarm-history.d.ts +0 -27
  568. package/packages/typescript/src/features/orchestrator/services/swarm-history.d.ts.map +0 -1
  569. package/packages/typescript/src/features/orchestrator/services/swarm-history.js +0 -148
  570. package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.d.ts +0 -22
  571. package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.d.ts.map +0 -1
  572. package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.js +0 -265
  573. package/packages/typescript/src/features/orchestrator/services/task-acceptance.d.ts +0 -8
  574. package/packages/typescript/src/features/orchestrator/services/task-acceptance.d.ts.map +0 -1
  575. package/packages/typescript/src/features/orchestrator/services/task-acceptance.js +0 -114
  576. package/packages/typescript/src/features/orchestrator/services/task-agent-auth.d.ts +0 -68
  577. package/packages/typescript/src/features/orchestrator/services/task-agent-auth.d.ts.map +0 -1
  578. package/packages/typescript/src/features/orchestrator/services/task-agent-auth.js +0 -559
  579. package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.d.ts +0 -82
  580. package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.d.ts.map +0 -1
  581. package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.js +0 -738
  582. package/packages/typescript/src/features/orchestrator/services/task-kind.d.ts +0 -3
  583. package/packages/typescript/src/features/orchestrator/services/task-kind.d.ts.map +0 -1
  584. package/packages/typescript/src/features/orchestrator/services/task-kind.js +0 -40
  585. package/packages/typescript/src/features/orchestrator/services/task-policy.d.ts +0 -17
  586. package/packages/typescript/src/features/orchestrator/services/task-policy.d.ts.map +0 -1
  587. package/packages/typescript/src/features/orchestrator/services/task-policy.js +0 -226
  588. package/packages/typescript/src/features/orchestrator/services/task-registry.d.ts +0 -550
  589. package/packages/typescript/src/features/orchestrator/services/task-registry.d.ts.map +0 -1
  590. package/packages/typescript/src/features/orchestrator/services/task-registry.js +0 -2182
  591. package/packages/typescript/src/features/orchestrator/services/task-share.d.ts +0 -18
  592. package/packages/typescript/src/features/orchestrator/services/task-share.d.ts.map +0 -1
  593. package/packages/typescript/src/features/orchestrator/services/task-share.js +0 -159
  594. package/packages/typescript/src/features/orchestrator/services/task-validation.d.ts +0 -69
  595. package/packages/typescript/src/features/orchestrator/services/task-validation.d.ts.map +0 -1
  596. package/packages/typescript/src/features/orchestrator/services/task-validation.js +0 -587
  597. package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.d.ts +0 -5
  598. package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.d.ts.map +0 -1
  599. package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.js +0 -372
  600. package/packages/typescript/src/features/orchestrator/services/trajectory-context.d.ts +0 -73
  601. package/packages/typescript/src/features/orchestrator/services/trajectory-context.d.ts.map +0 -1
  602. package/packages/typescript/src/features/orchestrator/services/trajectory-context.js +0 -64
  603. package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.d.ts +0 -53
  604. package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.d.ts.map +0 -1
  605. package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.js +0 -260
  606. package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.d.ts +0 -28
  607. package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.d.ts.map +0 -1
  608. package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.js +0 -105
  609. package/packages/typescript/src/features/orchestrator/services/workspace-github.d.ts +0 -58
  610. package/packages/typescript/src/features/orchestrator/services/workspace-github.d.ts.map +0 -1
  611. package/packages/typescript/src/features/orchestrator/services/workspace-github.js +0 -139
  612. package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.d.ts +0 -18
  613. package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.d.ts.map +0 -1
  614. package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.js +0 -86
  615. package/packages/typescript/src/features/orchestrator/services/workspace-service.d.ts +0 -118
  616. package/packages/typescript/src/features/orchestrator/services/workspace-service.d.ts.map +0 -1
  617. package/packages/typescript/src/features/orchestrator/services/workspace-service.js +0 -533
  618. package/packages/typescript/src/features/orchestrator/services/workspace-types.d.ts +0 -81
  619. package/packages/typescript/src/features/orchestrator/services/workspace-types.d.ts.map +0 -1
  620. package/packages/typescript/src/features/orchestrator/services/workspace-types.js +0 -8
  621. package/packages/typescript/src/features/orchestrator/task-progress-streamer.d.ts +0 -38
  622. package/packages/typescript/src/features/orchestrator/task-progress-streamer.d.ts.map +0 -1
  623. package/packages/typescript/src/features/orchestrator/task-progress-streamer.js +0 -293
  624. /package/{packages/agent → apps/app-lifeops}/src/actions/inbox.d.ts +0 -0
  625. /package/{packages/agent → apps/app-lifeops}/src/actions/update-owner-profile.d.ts +0 -0
  626. /package/{packages/agent → apps/app-lifeops}/src/inbox/channel-deep-links.d.ts +0 -0
  627. /package/{packages/agent → apps/app-lifeops}/src/inbox/channel-deep-links.js +0 -0
  628. /package/{packages/agent → apps/app-lifeops}/src/inbox/config.d.ts +0 -0
  629. /package/{packages/agent → apps/app-lifeops}/src/inbox/message-fetcher.d.ts +0 -0
  630. /package/{packages/agent → apps/app-lifeops}/src/inbox/message-fetcher.js +0 -0
  631. /package/{packages/agent → apps/app-lifeops}/src/inbox/reflection.d.ts +0 -0
  632. /package/{packages/agent → apps/app-lifeops}/src/inbox/reflection.js +0 -0
  633. /package/{packages/agent → apps/app-lifeops}/src/inbox/repository.d.ts +0 -0
  634. /package/{packages/agent → apps/app-lifeops}/src/inbox/repository.js +0 -0
  635. /package/{packages/agent → apps/app-lifeops}/src/inbox/triage-classifier.d.ts +0 -0
  636. /package/{packages/agent → apps/app-lifeops}/src/inbox/triage-classifier.js +0 -0
  637. /package/{packages/agent → apps/app-lifeops}/src/inbox/types.d.ts +0 -0
  638. /package/{packages/agent → apps/app-lifeops}/src/inbox/types.js +0 -0
  639. /package/{packages/agent → apps/app-lifeops}/src/providers/inbox-triage.d.ts +0 -0
  640. /package/apps/{app-coding → app-task-coordinator}/src/AgentTabsSection.d.ts +0 -0
  641. /package/apps/{app-coding → app-task-coordinator}/src/AgentTabsSection.js +0 -0
  642. /package/apps/{app-coding → app-task-coordinator}/src/CodingAgentControlChip.d.ts +0 -0
  643. /package/apps/{app-coding → app-task-coordinator}/src/CodingAgentControlChip.js +0 -0
  644. /package/apps/{app-coding → app-task-coordinator}/src/CodingAgentSettingsSection.d.ts +0 -0
  645. /package/apps/{app-coding → app-task-coordinator}/src/CodingAgentSettingsSection.js +0 -0
  646. /package/apps/{app-coding → app-task-coordinator}/src/GlobalPrefsSection.d.ts +0 -0
  647. /package/apps/{app-coding → app-task-coordinator}/src/GlobalPrefsSection.js +0 -0
  648. /package/apps/{app-coding → app-task-coordinator}/src/LlmProviderSection.d.ts +0 -0
  649. /package/apps/{app-coding → app-task-coordinator}/src/LlmProviderSection.js +0 -0
  650. /package/apps/{app-coding → app-task-coordinator}/src/ModelConfigSection.d.ts +0 -0
  651. /package/apps/{app-coding → app-task-coordinator}/src/ModelConfigSection.js +0 -0
  652. /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleBase.d.ts +0 -0
  653. /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleBase.js +0 -0
  654. /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleDrawer.d.ts +0 -0
  655. /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleDrawer.js +0 -0
  656. /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleSidePanel.d.ts +0 -0
  657. /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleSidePanel.js +0 -0
  658. /package/apps/{app-coding → app-task-coordinator}/src/PtyTerminalPane.d.ts +0 -0
  659. /package/apps/{app-coding → app-task-coordinator}/src/PtyTerminalPane.js +0 -0
  660. /package/{packages/agent → apps/app-task-coordinator}/src/api/coordinator-types.d.ts +0 -0
  661. /package/{packages/agent → apps/app-task-coordinator}/src/api/coordinator-types.js +0 -0
  662. /package/{packages/agent → apps/app-task-coordinator}/src/api/coordinator-wiring.d.ts +0 -0
  663. /package/{packages/agent → apps/app-task-coordinator}/src/api/coordinator-wiring.js +0 -0
  664. /package/apps/{app-coding → app-task-coordinator}/src/coding-agent-settings-shared.d.ts +0 -0
  665. /package/apps/{app-coding → app-task-coordinator}/src/coding-agent-settings-shared.js +0 -0
  666. /package/apps/{app-coding → app-task-coordinator}/src/pty-status-dots.d.ts +0 -0
  667. /package/apps/{app-coding → app-task-coordinator}/src/pty-status-dots.js +0 -0
  668. /package/apps/{app-coding → app-task-coordinator}/src/session-hydration.d.ts +0 -0
  669. /package/apps/{app-coding → app-task-coordinator}/src/session-hydration.js +0 -0
  670. /package/packages/{app-core → agent}/src/actions/check-balance.d.ts +0 -0
  671. /package/packages/{app-core → agent}/src/actions/check-balance.js +0 -0
  672. /package/packages/{app-core → agent}/src/actions/eject-plugin.d.ts +0 -0
  673. /package/packages/{app-core → agent}/src/actions/eject-plugin.js +0 -0
  674. /package/packages/{app-core → agent}/src/actions/execute-trade.d.ts +0 -0
  675. /package/packages/{app-core → agent}/src/actions/execute-trade.js +0 -0
  676. /package/packages/{app-core → agent}/src/actions/get-self-status.d.ts +0 -0
  677. /package/packages/{app-core → agent}/src/actions/install-plugin.d.ts +0 -0
  678. /package/packages/{app-core → agent}/src/actions/install-plugin.js +0 -0
  679. /package/packages/{app-core → agent}/src/actions/list-ejected.d.ts +0 -0
  680. /package/packages/{app-core → agent}/src/actions/list-ejected.js +0 -0
  681. /package/packages/{app-core → agent}/src/actions/log-level.d.ts +0 -0
  682. /package/packages/{app-core → agent}/src/actions/log-level.js +0 -0
  683. /package/packages/{app-core → agent}/src/actions/media.d.ts +0 -0
  684. /package/packages/{app-core → agent}/src/actions/reinject-plugin.d.ts +0 -0
  685. /package/packages/{app-core → agent}/src/actions/reinject-plugin.js +0 -0
  686. /package/packages/{app-core → agent}/src/actions/sync-plugin.d.ts +0 -0
  687. /package/packages/{app-core → agent}/src/actions/sync-plugin.js +0 -0
  688. /package/packages/{app-core → agent}/src/actions/transfer-token.d.ts +0 -0
  689. /package/packages/{app-core → agent}/src/actions/transfer-token.js +0 -0
  690. /package/packages/{app-core → agent}/src/actions/wallet-action-shared.d.ts +0 -0
  691. /package/packages/{app-core → agent}/src/actions/wallet-action-shared.js +0 -0
  692. /package/packages/{app-core → agent}/src/providers/media-provider.d.ts +0 -0
  693. /package/packages/{app-core → agent}/src/providers/media-provider.js +0 -0
  694. /package/packages/app-core/src/{actions/character.js → character/character-draft-helpers.js} +0 -0
@@ -0,0 +1,170 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Badge, Button } from "@elizaos/app-core";
3
+ import { ExternalLink } from "lucide-react";
4
+ function isRecord(value) {
5
+ return Boolean(value) && typeof value === "object" && !Array.isArray(value);
6
+ }
7
+ function formatDateTime(value) {
8
+ if (!value) {
9
+ return "—";
10
+ }
11
+ const parsed = Date.parse(value);
12
+ if (!Number.isFinite(parsed)) {
13
+ return value;
14
+ }
15
+ return new Intl.DateTimeFormat(undefined, {
16
+ month: "short",
17
+ day: "numeric",
18
+ hour: "numeric",
19
+ minute: "2-digit",
20
+ }).format(new Date(parsed));
21
+ }
22
+ function humanize(value) {
23
+ return value
24
+ .replace(/_/g, " ")
25
+ .replace(/\b\w/g, (match) => match.toUpperCase());
26
+ }
27
+ function cadenceLabel(cadence) {
28
+ switch (cadence.kind) {
29
+ case "once":
30
+ return "One-off";
31
+ case "daily":
32
+ return cadence.windows.length > 0 ? "Daily" : "Every day";
33
+ case "times_per_day":
34
+ return cadence.slots.length <= 1
35
+ ? "Daily"
36
+ : `${cadence.slots.length}x daily`;
37
+ case "interval":
38
+ return cadence.everyMinutes >= 60 && cadence.everyMinutes % 60 === 0
39
+ ? `Every ${cadence.everyMinutes / 60}h`
40
+ : `Every ${cadence.everyMinutes}m`;
41
+ case "weekly":
42
+ return cadence.weekdays.length > 0 ? "Weekly" : "As needed";
43
+ }
44
+ }
45
+ export function occurrenceSortValue(occurrence) {
46
+ const candidates = [
47
+ occurrence.dueAt,
48
+ occurrence.snoozedUntil,
49
+ occurrence.scheduledAt,
50
+ occurrence.relevanceStartAt,
51
+ ];
52
+ for (const candidate of candidates) {
53
+ if (!candidate) {
54
+ continue;
55
+ }
56
+ const parsed = Date.parse(candidate);
57
+ if (Number.isFinite(parsed)) {
58
+ return parsed;
59
+ }
60
+ }
61
+ return Number.MAX_SAFE_INTEGER;
62
+ }
63
+ function occurrenceWindowLabel(occurrence) {
64
+ if (occurrence.snoozedUntil) {
65
+ return `Snoozed until ${formatDateTime(occurrence.snoozedUntil)}`;
66
+ }
67
+ if (occurrence.dueAt) {
68
+ return `Due ${formatDateTime(occurrence.dueAt)}`;
69
+ }
70
+ if (occurrence.scheduledAt) {
71
+ return `Scheduled ${formatDateTime(occurrence.scheduledAt)}`;
72
+ }
73
+ return `Visible ${formatDateTime(occurrence.relevanceStartAt)}`;
74
+ }
75
+ function githubIdentityLabel(connection) {
76
+ const displayName = typeof connection.displayName === "string" &&
77
+ connection.displayName.trim().length > 0
78
+ ? connection.displayName.trim()
79
+ : null;
80
+ const username = typeof connection.username === "string" &&
81
+ connection.username.trim().length > 0
82
+ ? `@${connection.username.trim()}`
83
+ : null;
84
+ const email = typeof connection.email === "string" && connection.email.trim().length > 0
85
+ ? connection.email.trim()
86
+ : null;
87
+ return displayName ?? username ?? email ?? "No account linked";
88
+ }
89
+ function githubOwnerActionLabel(connection) {
90
+ return connection.username?.trim()
91
+ ? `@${connection.username.trim()}`
92
+ : githubIdentityLabel(connection);
93
+ }
94
+ function githubBindingModeLabel(mode) {
95
+ switch (mode) {
96
+ case "cloud-managed":
97
+ return "Agent account";
98
+ case "shared-owner":
99
+ return "Shared LifeOps account";
100
+ default:
101
+ return null;
102
+ }
103
+ }
104
+ function githubBindingSourceLabel(source) {
105
+ switch (source) {
106
+ case "platform_credentials":
107
+ return "Eliza Cloud OAuth";
108
+ case "secrets":
109
+ return "Cloud secret";
110
+ default:
111
+ return null;
112
+ }
113
+ }
114
+ export function SectionSurface({ title, icon, subtitle, children, }) {
115
+ return (_jsxs("div", { className: "rounded-3xl border border-border/45 bg-card/78 p-4 backdrop-blur-sm", children: [_jsxs("div", { className: "flex items-start gap-3", children: [_jsx("div", { className: "rounded-2xl border border-border/45 bg-bg/70 p-2 text-muted", children: icon }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "text-sm font-semibold text-txt", children: title }), _jsx("div", { className: "mt-1 text-xs leading-5 text-muted", children: subtitle })] })] }), _jsx("div", { className: "mt-4 space-y-3", children: children })] }));
116
+ }
117
+ export function SummaryMetric({ label, value, detail, }) {
118
+ return (_jsxs("div", { className: "rounded-2xl border border-border/40 bg-bg/72 p-4", children: [_jsx("div", { className: "text-2xs font-semibold uppercase tracking-[0.12em] text-muted", children: label }), _jsx("div", { className: "mt-2 text-lg font-semibold text-txt", children: value }), _jsx("div", { className: "mt-1 text-xs-tight text-muted", children: detail })] }));
119
+ }
120
+ export function OccurrenceList({ occurrences, }) {
121
+ if (occurrences.length === 0) {
122
+ return (_jsx("div", { className: "rounded-2xl border border-dashed border-border/45 bg-bg/55 p-4 text-xs text-muted", children: "No active items." }));
123
+ }
124
+ return (_jsx(_Fragment, { children: occurrences.map((occurrence) => (_jsxs("div", { className: "rounded-2xl border border-border/40 bg-bg/60 p-3", children: [_jsxs("div", { className: "flex items-start gap-2", children: [_jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "truncate text-sm font-semibold text-txt", children: occurrence.title }), _jsx("div", { className: "mt-1 text-xs leading-5 text-muted", children: occurrenceWindowLabel(occurrence) })] }), _jsx(Badge, { variant: "secondary", className: "text-2xs", children: humanize(occurrence.state) })] }), _jsxs("div", { className: "mt-2 flex flex-wrap gap-2 text-xs-tight text-muted", children: [_jsx("span", { children: cadenceLabel(occurrence.cadence) }), _jsxs("span", { children: ["Priority ", occurrence.priority] }), _jsx("span", { children: humanize(occurrence.domain) })] }), occurrence.description.trim().length > 0 ? (_jsx("div", { className: "mt-2 text-xs leading-5 text-muted", children: occurrence.description })) : null] }, occurrence.id))) }));
125
+ }
126
+ export function GoalList({ goals }) {
127
+ if (goals.length === 0) {
128
+ return (_jsx("div", { className: "rounded-2xl border border-dashed border-border/45 bg-bg/55 p-4 text-xs text-muted", children: "No active goals." }));
129
+ }
130
+ return (_jsx(_Fragment, { children: goals.map((goal) => {
131
+ const goalMetadata = isRecord(goal.metadata) ? goal.metadata : null;
132
+ const grounding = goalMetadata && isRecord(goalMetadata.goalGrounding)
133
+ ? goalMetadata.goalGrounding
134
+ : null;
135
+ const groundingSummary = grounding && typeof grounding.summary === "string"
136
+ ? grounding.summary
137
+ : null;
138
+ const goalDescription = goal.description.trim() || groundingSummary;
139
+ return (_jsxs("div", { className: "rounded-2xl border border-border/40 bg-bg/60 p-3", children: [_jsxs("div", { className: "flex items-start gap-2", children: [_jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "truncate text-sm font-semibold text-txt", children: goal.title }), _jsx("div", { className: "mt-1 text-xs leading-5 text-muted", children: goalDescription || "No goal detail yet." })] }), _jsx(Badge, { variant: "secondary", className: "text-2xs", children: humanize(goal.reviewState) })] }), _jsxs("div", { className: "mt-2 flex flex-wrap gap-2 text-xs-tight text-muted", children: [_jsx("span", { children: humanize(goal.status) }), _jsx("span", { children: humanize(goal.domain) }), _jsxs("span", { children: ["Updated ", formatDateTime(goal.updatedAt)] })] })] }, goal.id));
140
+ }) }));
141
+ }
142
+ export function ReminderList({ reminders, }) {
143
+ if (reminders.length === 0) {
144
+ return (_jsx("div", { className: "rounded-2xl border border-dashed border-border/45 bg-bg/55 p-4 text-xs text-muted", children: "No live reminders." }));
145
+ }
146
+ return (_jsx(_Fragment, { children: reminders.map((reminder) => (_jsxs("div", { className: "rounded-2xl border border-border/40 bg-bg/60 p-3", children: [_jsxs("div", { className: "flex items-start gap-2", children: [_jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "truncate text-sm font-semibold text-txt", children: reminder.title }), _jsxs("div", { className: "mt-1 text-xs leading-5 text-muted", children: [reminder.stepLabel, " via ", humanize(reminder.channel)] })] }), _jsx(Badge, { variant: "outline", className: "text-2xs", children: humanize(reminder.state) })] }), _jsxs("div", { className: "mt-2 flex flex-wrap gap-2 text-xs-tight text-muted", children: [_jsxs("span", { children: ["Scheduled ", formatDateTime(reminder.scheduledFor)] }), reminder.dueAt ? (_jsxs("span", { children: ["Due ", formatDateTime(reminder.dueAt)] })) : null] })] }, reminder.ownerId + reminder.stepIndex))) }));
147
+ }
148
+ export function OwnerGithubConnectionCard({ connection, busy, onDisconnect, }) {
149
+ return (_jsxs("div", { className: "rounded-2xl border border-border/40 bg-bg/60 p-4", children: [_jsxs("div", { className: "flex items-start justify-between gap-3", children: [_jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "truncate text-sm font-semibold text-txt", children: githubIdentityLabel(connection) }), _jsx("div", { className: "mt-1 text-xs text-muted", children: connection.username
150
+ ? `@${connection.username}`
151
+ : (connection.email ?? "GitHub") })] }), _jsx(Badge, { variant: connection.status === "active" ? "secondary" : "outline", className: "text-2xs", children: humanize(connection.status) })] }), _jsxs("div", { className: "mt-3 flex flex-wrap gap-2 text-xs-tight text-muted", children: [_jsxs("span", { children: ["Linked ", formatDateTime(connection.linkedAt)] }), _jsxs("span", { children: [connection.scopes.length, " scopes"] }), connection.connectionRole ? (_jsx("span", { children: humanize(connection.connectionRole) })) : null] }), connection.scopes.length > 0 ? (_jsxs("div", { className: "mt-3 flex flex-wrap gap-1.5", children: [connection.scopes.slice(0, 4).map((scope) => (_jsx(Badge, { variant: "outline", className: "text-2xs", children: scope }, scope))), connection.scopes.length > 4 ? (_jsxs(Badge, { variant: "outline", className: "text-2xs", children: ["+", connection.scopes.length - 4, " more"] })) : null] })) : null, _jsx("div", { className: "mt-3", children: _jsx(Button, { variant: "outline", size: "sm", className: "rounded-full px-4 text-xs-tight font-semibold", disabled: busy, onClick: () => onDisconnect(connection.id), children: "Disconnect" }) })] }));
152
+ }
153
+ export function AgentGithubCard({ entry, ownerConnections, busyAgentId, onConnect, onDisconnect, onUseOwnerConnection, }) {
154
+ const { agent, github } = entry;
155
+ const busy = busyAgentId === agent.agent_id;
156
+ const connected = github?.connected === true;
157
+ const bindingModeLabel = githubBindingModeLabel(github?.mode);
158
+ const sourceLabel = githubBindingSourceLabel(github?.source);
159
+ return (_jsxs("div", { className: "rounded-2xl border border-border/40 bg-bg/60 p-4", children: [_jsxs("div", { className: "flex items-start justify-between gap-3", children: [_jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "truncate text-sm font-semibold text-txt", children: agent.agent_name }), _jsx("div", { className: "mt-1 text-xs text-muted", children: connected
160
+ ? githubIdentityLabel({
161
+ displayName: github?.githubDisplayName,
162
+ username: github?.githubUsername,
163
+ email: github?.githubEmail,
164
+ })
165
+ : "No agent GitHub account linked" })] }), _jsx(Badge, { variant: connected ? "secondary" : "outline", className: "text-2xs", children: connected ? "Connected" : "Not connected" })] }), _jsxs("div", { className: "mt-3 flex flex-wrap gap-2 text-xs-tight text-muted", children: [_jsxs("span", { children: ["Agent ", humanize(agent.status)] }), github?.connectedAt ? (_jsxs("span", { children: ["Linked ", formatDateTime(github.connectedAt)] })) : null, bindingModeLabel ? _jsx("span", { children: bindingModeLabel }) : null, sourceLabel ? _jsx("span", { children: sourceLabel }) : null] }), github?.scopes?.length ? (_jsxs("div", { className: "mt-3 flex flex-wrap gap-1.5", children: [github.scopes.slice(0, 4).map((scope) => (_jsx(Badge, { variant: "outline", className: "text-2xs", children: scope }, scope))), github.scopes.length > 4 ? (_jsxs(Badge, { variant: "outline", className: "text-2xs", children: ["+", github.scopes.length - 4, " more"] })) : null] })) : null, _jsxs("div", { className: "mt-4 flex flex-wrap gap-2", children: [_jsxs(Button, { variant: "default", size: "sm", className: "rounded-full px-4 text-xs-tight font-semibold", disabled: busy || github?.configured === false, onClick: () => onConnect(agent.agent_id), children: [_jsx(ExternalLink, { className: "mr-2 h-3.5 w-3.5" }), connected ? "Reconnect agent GitHub" : "Connect agent GitHub"] }), connected ? (_jsx(Button, { variant: "outline", size: "sm", className: "rounded-full px-4 text-xs-tight font-semibold", disabled: busy, onClick: () => onDisconnect(agent.agent_id), children: "Disconnect" })) : null] }), ownerConnections.length > 0 ? (_jsxs("div", { className: "mt-4 rounded-2xl border border-border/35 bg-card/70 p-3", children: [_jsx("div", { className: "text-xs-tight font-semibold text-txt", children: "Use LifeOps GitHub" }), _jsx("div", { className: "mt-1 text-xs-tight leading-5 text-muted", children: "Link this agent to one of the owner\u2019s LifeOps GitHub connections through Eliza Cloud. Disconnecting the agent later leaves the owner connection intact." }), _jsx("div", { className: "mt-3 flex flex-wrap gap-2", children: ownerConnections.map((connection) => {
166
+ const alreadySelected = github?.mode === "shared-owner" &&
167
+ github.connectionId === connection.id;
168
+ return (_jsxs(Button, { variant: "outline", size: "sm", className: "rounded-full px-4 text-xs-tight font-semibold", disabled: busy || alreadySelected, onClick: () => onUseOwnerConnection(agent.agent_id, connection.id), children: [alreadySelected ? "Using" : "Use", " ", githubOwnerActionLabel(connection)] }, connection.id));
169
+ }) })] })) : null, _jsx("div", { className: "mt-3 text-xs-tight leading-5 text-muted", children: "This account is bound to the cloud agent for coding, pull requests, and repo context. Repo access still depends on the GitHub account or app installation behind it." })] }));
170
+ }
@@ -0,0 +1,2 @@
1
+ export declare function LifeOpsPageView(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=LifeOpsPageView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LifeOpsPageView.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-lifeops/src/LifeOpsPageView.tsx"],"names":[],"mappings":"AA4GA,wBAAgB,eAAe,4CAwsB9B"}
@@ -0,0 +1,387 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Button, PagePanel } from "@elizaos/app-core";
3
+ import { BellRing, Bot, ExternalLink, Github, ListTodo, RefreshCw, Shield, Target, } from "lucide-react";
4
+ import { useCallback, useEffect, useMemo, useState } from "react";
5
+ import { client } from "@elizaos/app-core";
6
+ import { LIFEOPS_GITHUB_CALLBACK_EVENT, } from "@elizaos/app-core";
7
+ import { consumeQueuedLifeOpsGithubCallback, dispatchLifeOpsGithubCallbackFromWindowMessage, drainLifeOpsGithubCallbacks, isWebPlatform, } from "@elizaos/app-core";
8
+ import { useLifeOpsAppState } from "@elizaos/app-core";
9
+ import { useApp } from "@elizaos/app-core";
10
+ import { openExternalUrl } from "@elizaos/app-core";
11
+ import { AgentGithubCard, GoalList, OccurrenceList, occurrenceSortValue, OwnerGithubConnectionCard, ReminderList, SectionSurface, SummaryMetric, } from "./LifeOpsPageSections";
12
+ import { LifeOpsSettingsSection } from "./LifeOpsSettingsSection";
13
+ import { LifeOpsWorkspaceView } from "./LifeOpsWorkspaceView";
14
+ const LIFEOPS_GITHUB_COMPLETE_PATH = "/api/v1/app/lifeops/github-complete";
15
+ const LIFEOPS_GITHUB_RETURN_URL = "elizaos://lifeops";
16
+ function buildOwnerGithubRedirectUrl() {
17
+ const params = new URLSearchParams();
18
+ if (isWebPlatform()) {
19
+ params.set("post_message", "1");
20
+ }
21
+ else {
22
+ params.set("return_url", LIFEOPS_GITHUB_RETURN_URL);
23
+ }
24
+ return `${LIFEOPS_GITHUB_COMPLETE_PATH}?${params.toString()}`;
25
+ }
26
+ function openWebOauthPopup() {
27
+ if (!isWebPlatform() ||
28
+ typeof window === "undefined" ||
29
+ typeof window.open !== "function") {
30
+ return null;
31
+ }
32
+ return window.open("", "elizaos-lifeops-github");
33
+ }
34
+ function describeGithubCallback(detail) {
35
+ if (detail.status === "error") {
36
+ return {
37
+ message: detail.message?.trim() || "GitHub setup did not complete.",
38
+ tone: "error",
39
+ durationMs: 5000,
40
+ };
41
+ }
42
+ if (detail.target === "owner") {
43
+ return {
44
+ message: "LifeOps GitHub connected through Eliza Cloud.",
45
+ tone: "success",
46
+ durationMs: 3600,
47
+ };
48
+ }
49
+ if (detail.bindingMode === "shared-owner") {
50
+ return {
51
+ message: detail.restarted
52
+ ? "Agent is using the LifeOps GitHub account and the cloud runtime is restarting."
53
+ : "Agent is using the LifeOps GitHub account.",
54
+ tone: "success",
55
+ durationMs: 4200,
56
+ };
57
+ }
58
+ const githubHandle = detail.githubUsername?.trim()
59
+ ? ` @${detail.githubUsername.trim()}`
60
+ : "";
61
+ return {
62
+ message: detail.restarted
63
+ ? `Agent GitHub${githubHandle} connected and the cloud runtime is restarting.`
64
+ : `Agent GitHub${githubHandle} connected.`,
65
+ tone: "success",
66
+ durationMs: 4200,
67
+ };
68
+ }
69
+ export function LifeOpsPageView() {
70
+ const lifeOpsApp = useLifeOpsAppState();
71
+ const { agentStatus, backendConnection, elizaCloudConnected, setActionNotice, setState, setTab, startupCoordinator, } = useApp();
72
+ const [overview, setOverview] = useState(null);
73
+ const [overviewLoading, setOverviewLoading] = useState(false);
74
+ const [overviewError, setOverviewError] = useState(null);
75
+ const [ownerGithubConnections, setOwnerGithubConnections] = useState([]);
76
+ const [agentGithubEntries, setAgentGithubEntries] = useState([]);
77
+ const [githubLoading, setGithubLoading] = useState(false);
78
+ const [githubError, setGithubError] = useState(null);
79
+ const [ownerGithubBusy, setOwnerGithubBusy] = useState(false);
80
+ const [disconnectingOwnerConnectionId, setDisconnectingOwnerConnectionId] = useState(null);
81
+ const [busyAgentGithubId, setBusyAgentGithubId] = useState(null);
82
+ const appEnabled = lifeOpsApp.enabled;
83
+ const runtimeReady = startupCoordinator.phase === "ready" &&
84
+ agentStatus?.state === "running" &&
85
+ backendConnection?.state === "connected";
86
+ const loadOverview = useCallback(async () => {
87
+ if (!appEnabled) {
88
+ setOverview(null);
89
+ setOverviewError(null);
90
+ setOverviewLoading(false);
91
+ return;
92
+ }
93
+ if (!runtimeReady) {
94
+ return;
95
+ }
96
+ setOverviewLoading(true);
97
+ setOverviewError(null);
98
+ try {
99
+ const nextOverview = await client.getLifeOpsOverview();
100
+ setOverview(nextOverview);
101
+ }
102
+ catch (cause) {
103
+ setOverviewError(cause instanceof Error && cause.message.trim().length > 0
104
+ ? cause.message.trim()
105
+ : "LifeOps overview failed to load.");
106
+ }
107
+ finally {
108
+ setOverviewLoading(false);
109
+ }
110
+ }, [appEnabled, runtimeReady]);
111
+ const loadGithub = useCallback(async () => {
112
+ if (!appEnabled || !elizaCloudConnected) {
113
+ setGithubError(null);
114
+ setOwnerGithubConnections([]);
115
+ setAgentGithubEntries([]);
116
+ setGithubLoading(false);
117
+ return;
118
+ }
119
+ setGithubLoading(true);
120
+ setGithubError(null);
121
+ try {
122
+ const [connectionsResult, agentsResult] = await Promise.allSettled([
123
+ client.listCloudOauthConnections({
124
+ platform: "github",
125
+ connectionRole: "owner",
126
+ }),
127
+ client.getCloudCompatAgents(),
128
+ ]);
129
+ if (connectionsResult.status === "rejected" &&
130
+ agentsResult.status === "rejected") {
131
+ throw connectionsResult.reason;
132
+ }
133
+ const connections = connectionsResult.status === "fulfilled" &&
134
+ Array.isArray(connectionsResult.value.connections)
135
+ ? connectionsResult.value.connections
136
+ : [];
137
+ const agents = agentsResult.status === "fulfilled" &&
138
+ Array.isArray(agentsResult.value.data)
139
+ ? agentsResult.value.data
140
+ : [];
141
+ const entries = await Promise.all(agents.map(async (agent) => ({
142
+ agent,
143
+ github: await client
144
+ .getCloudCompatAgentManagedGithub(agent.agent_id)
145
+ .then((response) => response.data)
146
+ .catch(() => null),
147
+ })));
148
+ setOwnerGithubConnections(connections);
149
+ setAgentGithubEntries(entries);
150
+ if (connectionsResult.status === "rejected" ||
151
+ agentsResult.status === "rejected") {
152
+ setGithubError("Some GitHub cloud details are still unavailable. You can still connect accounts.");
153
+ }
154
+ }
155
+ catch (cause) {
156
+ setGithubError(cause instanceof Error && cause.message.trim().length > 0
157
+ ? cause.message.trim()
158
+ : "GitHub connection details failed to load.");
159
+ }
160
+ finally {
161
+ setGithubLoading(false);
162
+ }
163
+ }, [appEnabled, elizaCloudConnected]);
164
+ useEffect(() => {
165
+ void loadOverview();
166
+ }, [loadOverview]);
167
+ useEffect(() => {
168
+ void loadGithub();
169
+ }, [loadGithub]);
170
+ const refreshAll = useCallback(async () => {
171
+ await Promise.all([loadOverview(), loadGithub()]);
172
+ }, [loadGithub, loadOverview]);
173
+ const handleGithubCallback = useCallback((detail) => {
174
+ consumeQueuedLifeOpsGithubCallback(detail);
175
+ setOwnerGithubBusy(false);
176
+ setBusyAgentGithubId(null);
177
+ void (async () => {
178
+ let resolvedDetail = detail;
179
+ if (detail.target === "agent" &&
180
+ detail.status === "connected" &&
181
+ detail.agentId &&
182
+ detail.connectionId &&
183
+ !detail.bindingMode) {
184
+ try {
185
+ const response = await client.linkCloudCompatAgentManagedGithub(detail.agentId, detail.connectionId);
186
+ resolvedDetail = {
187
+ ...detail,
188
+ bindingMode: response.data.mode ?? "cloud-managed",
189
+ githubUsername: response.data.githubUsername ?? detail.githubUsername ?? null,
190
+ restarted: response.data.restarted,
191
+ };
192
+ }
193
+ catch (cause) {
194
+ resolvedDetail = {
195
+ ...detail,
196
+ status: "error",
197
+ message: cause instanceof Error
198
+ ? cause.message
199
+ : "Failed to link GitHub to this agent.",
200
+ };
201
+ }
202
+ }
203
+ const notice = describeGithubCallback(resolvedDetail);
204
+ setActionNotice(notice.message, notice.tone, notice.durationMs);
205
+ await loadGithub();
206
+ })();
207
+ }, [loadGithub, setActionNotice]);
208
+ const openCloudAgents = useCallback(() => {
209
+ setState("cloudDashboardView", "agents");
210
+ setTab("settings");
211
+ }, [setState, setTab]);
212
+ const handleSetLifeOpsEnabled = useCallback(async (nextEnabled) => {
213
+ try {
214
+ await lifeOpsApp.updateEnabled(nextEnabled);
215
+ if (!nextEnabled) {
216
+ setOverview(null);
217
+ setOverviewError(null);
218
+ setOwnerGithubConnections([]);
219
+ setAgentGithubEntries([]);
220
+ setGithubError(null);
221
+ }
222
+ setActionNotice(nextEnabled
223
+ ? "LifeOps enabled for this agent. The chat widgets will appear in Chat."
224
+ : "LifeOps disabled for this agent.", "success", 3600);
225
+ }
226
+ catch (cause) {
227
+ setActionNotice(cause instanceof Error
228
+ ? cause.message
229
+ : "Failed to update the LifeOps app state.", "error", 4200);
230
+ }
231
+ }, [lifeOpsApp, setActionNotice]);
232
+ const handleConnectOwnerGithub = useCallback(async () => {
233
+ const popup = openWebOauthPopup();
234
+ if (isWebPlatform() && !popup) {
235
+ setActionNotice("Popup blocked. Please allow popups and try again.", "error", 4200);
236
+ return;
237
+ }
238
+ setOwnerGithubBusy(true);
239
+ try {
240
+ const response = await client.initiateCloudOauth("github", {
241
+ redirectUrl: buildOwnerGithubRedirectUrl(),
242
+ connectionRole: "owner",
243
+ });
244
+ if (popup && !popup.closed) {
245
+ popup.location.href = response.authUrl;
246
+ }
247
+ else {
248
+ await openExternalUrl(response.authUrl);
249
+ }
250
+ setActionNotice("Finish GitHub authorization in your browser, then return here.", "info", 5000);
251
+ }
252
+ catch (cause) {
253
+ popup?.close();
254
+ setActionNotice(cause instanceof Error
255
+ ? cause.message
256
+ : "Failed to start GitHub setup.", "error", 4200);
257
+ }
258
+ finally {
259
+ setOwnerGithubBusy(false);
260
+ }
261
+ }, [setActionNotice]);
262
+ const handleDisconnectOwnerGithub = useCallback(async (connectionId) => {
263
+ setDisconnectingOwnerConnectionId(connectionId);
264
+ try {
265
+ await client.disconnectCloudOauthConnection(connectionId);
266
+ setOwnerGithubConnections((current) => current.filter((connection) => connection.id !== connectionId));
267
+ setActionNotice("LifeOps GitHub disconnected.", "success", 3200);
268
+ await loadGithub();
269
+ }
270
+ catch (cause) {
271
+ setActionNotice(cause instanceof Error
272
+ ? cause.message
273
+ : "Failed to disconnect GitHub.", "error", 4200);
274
+ }
275
+ finally {
276
+ setDisconnectingOwnerConnectionId(null);
277
+ }
278
+ }, [loadGithub, setActionNotice]);
279
+ const handleConnectAgentGithub = useCallback(async (agentId) => {
280
+ const popup = openWebOauthPopup();
281
+ if (isWebPlatform() && !popup) {
282
+ setActionNotice("Popup blocked. Please allow popups and try again.", "error", 4200);
283
+ return;
284
+ }
285
+ setBusyAgentGithubId(agentId);
286
+ try {
287
+ const response = await client.createCloudCompatAgentManagedGithubOauth(agentId, isWebPlatform()
288
+ ? { postMessage: true }
289
+ : { returnUrl: LIFEOPS_GITHUB_RETURN_URL });
290
+ if (popup && !popup.closed) {
291
+ popup.location.href = response.data.authorizeUrl;
292
+ }
293
+ else {
294
+ await openExternalUrl(response.data.authorizeUrl);
295
+ }
296
+ setActionNotice("Finish GitHub authorization in your browser, then return here.", "info", 5000);
297
+ }
298
+ catch (cause) {
299
+ popup?.close();
300
+ setActionNotice(cause instanceof Error
301
+ ? cause.message
302
+ : "Failed to start agent GitHub setup.", "error", 4200);
303
+ }
304
+ finally {
305
+ setBusyAgentGithubId(null);
306
+ }
307
+ }, [setActionNotice]);
308
+ const handleUseOwnerGithub = useCallback(async (agentId, connectionId) => {
309
+ setBusyAgentGithubId(agentId);
310
+ try {
311
+ const response = await client.linkCloudCompatAgentManagedGithub(agentId, connectionId);
312
+ setAgentGithubEntries((current) => current.map((entry) => entry.agent.agent_id === agentId
313
+ ? { ...entry, github: response.data }
314
+ : entry));
315
+ setActionNotice(response.data.restarted
316
+ ? "Agent is using the LifeOps GitHub account and the cloud runtime is restarting."
317
+ : "Agent is using the LifeOps GitHub account.", "success", 4200);
318
+ await loadGithub();
319
+ }
320
+ catch (cause) {
321
+ setActionNotice(cause instanceof Error
322
+ ? cause.message
323
+ : "Failed to link the LifeOps GitHub account to this agent.", "error", 4200);
324
+ }
325
+ finally {
326
+ setBusyAgentGithubId(null);
327
+ }
328
+ }, [loadGithub, setActionNotice]);
329
+ useEffect(() => {
330
+ drainLifeOpsGithubCallbacks().forEach(handleGithubCallback);
331
+ const handleCallbackEvent = (event) => {
332
+ const detail = event.detail;
333
+ if (!detail) {
334
+ return;
335
+ }
336
+ handleGithubCallback(detail);
337
+ };
338
+ window.addEventListener(LIFEOPS_GITHUB_CALLBACK_EVENT, handleCallbackEvent);
339
+ return () => {
340
+ window.removeEventListener(LIFEOPS_GITHUB_CALLBACK_EVENT, handleCallbackEvent);
341
+ };
342
+ }, [handleGithubCallback]);
343
+ useEffect(() => {
344
+ const handleWindowMessage = (event) => {
345
+ dispatchLifeOpsGithubCallbackFromWindowMessage(event.data);
346
+ };
347
+ window.addEventListener("message", handleWindowMessage);
348
+ return () => {
349
+ window.removeEventListener("message", handleWindowMessage);
350
+ };
351
+ }, []);
352
+ const handleDisconnectAgentGithub = useCallback(async (agentId) => {
353
+ setBusyAgentGithubId(agentId);
354
+ try {
355
+ const response = await client.disconnectCloudCompatAgentManagedGithub(agentId);
356
+ setAgentGithubEntries((current) => current.map((entry) => entry.agent.agent_id === agentId
357
+ ? { ...entry, github: response.data }
358
+ : entry));
359
+ setActionNotice("Agent GitHub disconnected.", "success", 3200);
360
+ await loadGithub();
361
+ }
362
+ catch (cause) {
363
+ setActionNotice(cause instanceof Error
364
+ ? cause.message
365
+ : "Failed to disconnect agent GitHub.", "error", 4200);
366
+ }
367
+ finally {
368
+ setBusyAgentGithubId(null);
369
+ }
370
+ }, [loadGithub, setActionNotice]);
371
+ const ownerOccurrences = useMemo(() => [...(overview?.owner.occurrences ?? [])]
372
+ .sort((left, right) => occurrenceSortValue(left) - occurrenceSortValue(right))
373
+ .slice(0, 5), [overview?.owner.occurrences]);
374
+ const agentOccurrences = useMemo(() => [...(overview?.agentOps.occurrences ?? [])]
375
+ .sort((left, right) => occurrenceSortValue(left) - occurrenceSortValue(right))
376
+ .slice(0, 4), [overview?.agentOps.occurrences]);
377
+ const ownerGoals = useMemo(() => (overview?.owner.goals ?? []).slice(0, 4), [overview?.owner.goals]);
378
+ const ownerReminders = useMemo(() => (overview?.owner.reminders ?? []).slice(0, 4), [overview?.owner.reminders]);
379
+ return (_jsxs("div", { className: "space-y-4", "data-testid": "lifeops-shell", children: [_jsxs(PagePanel, { variant: "section", className: "p-4 lg:p-5", children: [_jsx(PagePanel.Header, { eyebrow: "LifeOps", heading: "Personal Operations", description: "Tasks, goals, reminders, connected identities, calendar, and inbox in one operational tab.", actions: _jsxs("div", { className: "flex flex-wrap gap-2", children: [appEnabled ? (_jsxs(Button, { variant: "outline", size: "sm", className: "rounded-full px-4 text-xs-tight font-semibold", onClick: () => void refreshAll(), disabled: lifeOpsApp.loading ||
380
+ lifeOpsApp.saving ||
381
+ overviewLoading ||
382
+ githubLoading, children: [_jsx(RefreshCw, { className: "mr-2 h-3.5 w-3.5" }), "Refresh"] })) : null, _jsx(Button, { variant: appEnabled ? "outline" : "default", size: "sm", className: "rounded-full px-4 text-xs-tight font-semibold", onClick: () => void handleSetLifeOpsEnabled(!appEnabled), disabled: lifeOpsApp.loading || lifeOpsApp.saving, children: appEnabled ? "Disable LifeOps" : "Enable LifeOps" })] }) }), lifeOpsApp.error ? (_jsx(PagePanel.Notice, { tone: "danger", className: "mt-4", children: lifeOpsApp.error })) : null, lifeOpsApp.loading ? (_jsx(PagePanel.Loading, { variant: "surface", className: "mt-4", heading: "Loading LifeOps app state" })) : null, !lifeOpsApp.loading && !appEnabled ? (_jsx(PagePanel.Empty, { variant: "surface", className: "mt-4 min-h-[12rem] rounded-3xl", title: "LifeOps starts disabled", description: "Enable LifeOps for this agent to turn on the chat widgets and unlock the operational workspace." })) : null, appEnabled && !runtimeReady && !overview ? (_jsx(PagePanel.Loading, { variant: "surface", className: "mt-4", heading: "Waiting for LifeOps runtime" })) : null, appEnabled && overviewError ? (_jsx(PagePanel.Notice, { tone: "danger", className: "mt-4", children: overviewError })) : null, appEnabled && overview ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "grid gap-3 md:grid-cols-2 xl:grid-cols-4", children: [_jsx(SummaryMetric, { label: "Open items", value: `${overview.owner.summary.activeOccurrenceCount}`, detail: `${overview.owner.summary.overdueOccurrenceCount} overdue` }), _jsx(SummaryMetric, { label: "Goals", value: `${overview.owner.summary.activeGoalCount}`, detail: "Owner goals in motion" }), _jsx(SummaryMetric, { label: "Reminders", value: `${overview.owner.summary.activeReminderCount}`, detail: `${overview.owner.summary.snoozedOccurrenceCount} snoozed items` }), _jsx(SummaryMetric, { label: "Agent ops", value: `${overview.agentOps.summary.activeOccurrenceCount}`, detail: `${overview.agentOps.summary.activeGoalCount} active agent goals` })] }), _jsxs("div", { className: "mt-4 grid gap-4 xl:grid-cols-[1.2fr_1fr_1fr]", children: [_jsx(SectionSurface, { title: "Current queue", icon: _jsx(ListTodo, { className: "h-4 w-4" }), subtitle: "The owner-facing tasks and occurrences that need attention next.", children: _jsx(OccurrenceList, { occurrences: ownerOccurrences }) }), _jsx(SectionSurface, { title: "Goals", icon: _jsx(Target, { className: "h-4 w-4" }), subtitle: "Active LifeOps goals the agent is tracking for the owner.", children: _jsx(GoalList, { goals: ownerGoals }) }), _jsx(SectionSurface, { title: "Live reminders", icon: _jsx(BellRing, { className: "h-4 w-4" }), subtitle: "Reminders that are currently scheduled or in-flight.", children: _jsx(ReminderList, { reminders: ownerReminders }) })] }), _jsx("div", { className: "mt-4", children: _jsx(SectionSurface, { title: "Agent operations", icon: _jsx(Bot, { className: "h-4 w-4" }), subtitle: "Work the agent is carrying on your behalf across goals and active occurrences.", children: _jsx(OccurrenceList, { occurrences: agentOccurrences }) }) })] })) : null] }), appEnabled ? _jsx(LifeOpsSettingsSection, {}) : null, appEnabled ? (_jsxs(PagePanel, { variant: "section", className: "p-4 lg:p-5", children: [_jsx(PagePanel.Header, { eyebrow: "GitHub", heading: "LifeOps and Agent GitHub", description: "Keep the owner\u2019s LifeOps GitHub separate from the cloud agent\u2019s GitHub identity. Both authorization flows run through Eliza Cloud, and repo access depends on the GitHub account or app installation behind each connection.", actions: _jsx(Button, { variant: "outline", size: "sm", className: "rounded-full px-4 text-xs-tight font-semibold", onClick: openCloudAgents, children: "Open Cloud" }) }), !elizaCloudConnected ? (_jsx(PagePanel.Empty, { variant: "surface", className: "mt-4 min-h-[12rem] rounded-3xl", title: "Connect Eliza Cloud first", description: "GitHub authorization runs through Eliza Cloud. Connect Cloud, then come back here to manage both accounts." })) : (_jsxs(_Fragment, { children: [githubError ? (_jsx(PagePanel.Notice, { tone: "danger", className: "mt-4", children: githubError })) : null, githubLoading &&
383
+ ownerGithubConnections.length === 0 &&
384
+ agentGithubEntries.length === 0 ? (_jsx(PagePanel.Loading, { variant: "surface", className: "mt-4", heading: "Loading GitHub identities" })) : null, _jsxs("div", { className: "mt-4 grid gap-4 xl:grid-cols-[minmax(20rem,0.95fr)_minmax(22rem,1.05fr)]", children: [_jsxs(SectionSurface, { title: "LifeOps GitHub", icon: _jsx(Github, { className: "h-4 w-4" }), subtitle: "Use this account for the owner\u2019s LifeOps repos, issues, and planning context.", children: [_jsx("div", { className: "flex flex-wrap gap-2", children: _jsxs(Button, { variant: "default", size: "sm", className: "rounded-full px-4 text-xs-tight font-semibold", disabled: ownerGithubBusy, onClick: () => void handleConnectOwnerGithub(), children: [_jsx(ExternalLink, { className: "mr-2 h-3.5 w-3.5" }), ownerGithubConnections.length > 0
385
+ ? "Reconnect / add account"
386
+ : "Connect LifeOps GitHub"] }) }), ownerGithubConnections.length === 0 ? (_jsx("div", { className: "rounded-2xl border border-dashed border-border/45 bg-bg/55 p-4 text-xs text-muted", children: "No owner GitHub account linked yet." })) : (ownerGithubConnections.map((connection) => (_jsx(OwnerGithubConnectionCard, { connection: connection, busy: disconnectingOwnerConnectionId === connection.id, onDisconnect: handleDisconnectOwnerGithub }, connection.id))))] }), _jsx(SectionSurface, { title: "Agent GitHub", icon: _jsx(Shield, { className: "h-4 w-4" }), subtitle: "Bind GitHub per cloud agent so coding work can use a separate identity from the owner account. Access may be read-only or write-enabled depending on the connected account or installation.", children: agentGithubEntries.length === 0 ? (_jsx("div", { className: "rounded-2xl border border-dashed border-border/45 bg-bg/55 p-4 text-xs text-muted", children: "No cloud agents found yet. Create or connect a cloud agent to give it its own GitHub identity." })) : (agentGithubEntries.map((entry) => (_jsx(AgentGithubCard, { entry: entry, ownerConnections: ownerGithubConnections, busyAgentId: busyAgentGithubId, onConnect: handleConnectAgentGithub, onDisconnect: handleDisconnectAgentGithub, onUseOwnerConnection: handleUseOwnerGithub }, entry.agent.agent_id)))) })] })] }))] })) : null, appEnabled ? _jsx(LifeOpsWorkspaceView, {}) : null] }));
387
+ }
@@ -0,0 +1,2 @@
1
+ export declare function LifeOpsSettingsSection(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=LifeOpsSettingsSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LifeOpsSettingsSection.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-lifeops/src/LifeOpsSettingsSection.tsx"],"names":[],"mappings":"AAmYA,wBAAgB,sBAAsB,4CAwCrC"}