@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,4 @@
1
+ import type { CompanionHalfFramerateMode, CompanionVrmPowerMode } from "@elizaos/app-core/state/types";
2
+ export declare const COMPANION_VRM_POWER_OPTIONS: readonly CompanionVrmPowerMode[];
3
+ export declare const COMPANION_HALF_FRAMERATE_OPTIONS: readonly CompanionHalfFramerateMode[];
4
+ //# sourceMappingURL=render-modes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render-modes.d.ts","sourceRoot":"","sources":["../../../../../../../apps/app-companion/src/types/render-modes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0BAA0B,EAC1B,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,2BAA2B,EAAE,SAAS,qBAAqB,EAIvE,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,SAAS,0BAA0B,EAC1C,CAAC"}
@@ -0,0 +1,6 @@
1
+ export const COMPANION_VRM_POWER_OPTIONS = [
2
+ "quality",
3
+ "balanced",
4
+ "efficiency",
5
+ ];
6
+ export const COMPANION_HALF_FRAMERATE_OPTIONS = ["off", "when_saving_power", "always"];
@@ -0,0 +1,2 @@
1
+ export declare function LifeOpsBrowserSetupPanel(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=LifeOpsBrowserSetupPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LifeOpsBrowserSetupPanel.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-lifeops/src/LifeOpsBrowserSetupPanel.tsx"],"names":[],"mappings":"AAsdA,wBAAgB,wBAAwB,4CA0rBvC"}
@@ -0,0 +1,463 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { LIFEOPS_BROWSER_SITE_ACCESS_MODES, } from "@elizaos/shared/contracts/lifeops";
3
+ import { Badge, Button, Card, CardContent, CardHeader, CardTitle, Input, Label, Switch, Textarea, } from "@elizaos/app-core";
4
+ import { Copy, Download, FolderOpen, Package, RefreshCw, ShieldCheck, Sparkles, } from "lucide-react";
5
+ import { useCallback, useEffect, useMemo, useState } from "react";
6
+ import { client } from "@elizaos/app-core";
7
+ import { invokeDesktopBridgeRequest, isElectrobunRuntime, } from "@elizaos/app-core";
8
+ import { copyTextToClipboard, openExternalUrl, resolveLifeOpsBrowserApiBaseUrl, } from "@elizaos/app-core";
9
+ const DEFAULT_PAIRING_PROFILE = {
10
+ profileId: "default",
11
+ profileLabel: "Default",
12
+ };
13
+ const CHROME_EXTENSIONS_URL = "chrome://extensions/";
14
+ function settingsToDraft(settings) {
15
+ return {
16
+ enabled: settings.enabled,
17
+ trackingMode: settings.trackingMode,
18
+ allowBrowserControl: settings.allowBrowserControl,
19
+ requireConfirmationForAccountAffecting: settings.requireConfirmationForAccountAffecting,
20
+ incognitoEnabled: settings.incognitoEnabled,
21
+ siteAccessMode: settings.siteAccessMode,
22
+ grantedOriginsText: settings.grantedOrigins.join("\n"),
23
+ blockedOriginsText: settings.blockedOrigins.join("\n"),
24
+ maxRememberedTabs: String(settings.maxRememberedTabs),
25
+ pauseUntilLocal: formatDateTimeLocalValue(settings.pauseUntil),
26
+ };
27
+ }
28
+ function parseOriginLines(value) {
29
+ return value
30
+ .split(/\r?\n/)
31
+ .map((entry) => entry.trim().replace(/\/+$/, ""))
32
+ .filter((entry) => entry.length > 0);
33
+ }
34
+ function formatDateTimeLocalValue(value) {
35
+ if (!value) {
36
+ return "";
37
+ }
38
+ const parsed = Date.parse(value);
39
+ if (!Number.isFinite(parsed)) {
40
+ return "";
41
+ }
42
+ const date = new Date(parsed);
43
+ const year = String(date.getFullYear());
44
+ const month = String(date.getMonth() + 1).padStart(2, "0");
45
+ const day = String(date.getDate()).padStart(2, "0");
46
+ const hours = String(date.getHours()).padStart(2, "0");
47
+ const minutes = String(date.getMinutes()).padStart(2, "0");
48
+ return `${year}-${month}-${day}T${hours}:${minutes}`;
49
+ }
50
+ function parseDateTimeLocalValue(value) {
51
+ const trimmed = value.trim();
52
+ if (!trimmed) {
53
+ return null;
54
+ }
55
+ const parsed = new Date(trimmed);
56
+ if (!Number.isFinite(parsed.getTime())) {
57
+ throw new Error("Pause until must be a valid local date and time");
58
+ }
59
+ return parsed.toISOString();
60
+ }
61
+ function normalizePairingRequest(browser, existing) {
62
+ return {
63
+ browser,
64
+ profileId: existing?.profileId || DEFAULT_PAIRING_PROFILE.profileId,
65
+ profileLabel: existing?.profileLabel || DEFAULT_PAIRING_PROFILE.profileLabel,
66
+ label: existing?.label ||
67
+ `LifeOps Browser ${browser} ${existing?.profileLabel || DEFAULT_PAIRING_PROFILE.profileLabel}`,
68
+ };
69
+ }
70
+ function pairingPayload(response) {
71
+ return {
72
+ apiBaseUrl: resolveLifeOpsBrowserApiBaseUrl(),
73
+ companionId: response.companion.id,
74
+ pairingToken: response.pairingToken,
75
+ browser: response.companion.browser,
76
+ profileId: response.companion.profileId,
77
+ profileLabel: response.companion.profileLabel,
78
+ label: response.companion.label,
79
+ };
80
+ }
81
+ async function openDesktopPath(pathValue, revealOnly = false) {
82
+ await invokeDesktopBridgeRequest({
83
+ rpcMethod: revealOnly ? "desktopShowItemInFolder" : "desktopOpenPath",
84
+ ipcChannel: revealOnly ? "desktop:showItemInFolder" : "desktop:openPath",
85
+ params: { path: pathValue },
86
+ });
87
+ }
88
+ function formatTimestamp(value) {
89
+ if (!value) {
90
+ return null;
91
+ }
92
+ const parsed = Date.parse(value);
93
+ if (!Number.isFinite(parsed)) {
94
+ return null;
95
+ }
96
+ return new Intl.DateTimeFormat(undefined, {
97
+ month: "short",
98
+ day: "numeric",
99
+ hour: "numeric",
100
+ minute: "2-digit",
101
+ }).format(new Date(parsed));
102
+ }
103
+ function permissionSummary(permissions) {
104
+ if (!permissions) {
105
+ return "Permissions unavailable";
106
+ }
107
+ return [
108
+ permissions.allOrigins
109
+ ? "all-sites access"
110
+ : permissions.grantedOrigins.length > 0
111
+ ? `${permissions.grantedOrigins.length} granted site${permissions.grantedOrigins.length === 1 ? "" : "s"}`
112
+ : "current-site access",
113
+ permissions.scripting ? "DOM actions enabled" : "DOM actions unavailable",
114
+ permissions.incognitoEnabled ? "incognito on" : "incognito off",
115
+ ].join(" • ");
116
+ }
117
+ function mergePackageStatus(current, next) {
118
+ return {
119
+ relayReachable: current?.relayReachable ?? false,
120
+ relayPort: current?.relayPort ?? 18792,
121
+ extensionPath: next.extensionPath,
122
+ chromeBuildPath: next.chromeBuildPath,
123
+ chromePackagePath: next.chromePackagePath,
124
+ safariWebExtensionPath: next.safariWebExtensionPath,
125
+ safariAppPath: next.safariAppPath,
126
+ safariPackagePath: next.safariPackagePath,
127
+ releaseManifest: next.releaseManifest ?? null,
128
+ };
129
+ }
130
+ function releaseTargetForBrowser(browser, releaseManifest) {
131
+ if (!releaseManifest) {
132
+ return null;
133
+ }
134
+ return browser === "chrome" ? releaseManifest.chrome : releaseManifest.safari;
135
+ }
136
+ function installButtonLabel(browser, releaseManifest) {
137
+ const target = releaseTargetForBrowser(browser, releaseManifest);
138
+ if (target?.installKind === "chrome_web_store") {
139
+ return "Open Chrome Web Store";
140
+ }
141
+ if (target?.installKind === "apple_app_store") {
142
+ return "Open App Store";
143
+ }
144
+ if (target?.installKind === "github_release") {
145
+ return `Download ${browser === "chrome" ? "Chrome" : "Safari"} Release`;
146
+ }
147
+ if (target?.installKind === "local_download") {
148
+ return `Download ${browser === "chrome" ? "Chrome" : "Safari"} Package`;
149
+ }
150
+ return `Install ${browser === "chrome" ? "Chrome" : "Safari"}`;
151
+ }
152
+ function installHint(browser, releaseManifest) {
153
+ const target = releaseTargetForBrowser(browser, releaseManifest);
154
+ if (target?.installKind === "chrome_web_store") {
155
+ return "Open the Chrome Web Store listing, install the release build, then import the copied pairing JSON in the extension popup.";
156
+ }
157
+ if (target?.installKind === "apple_app_store") {
158
+ return "Open the Safari companion listing, install the released app, then enable the extension and import the copied pairing JSON.";
159
+ }
160
+ if (target?.installKind === "github_release") {
161
+ return "Download the tagged release bundle, install it, then import the copied pairing JSON in the extension popup.";
162
+ }
163
+ if (target?.installKind === "local_download") {
164
+ return "Download the packaged companion bundle, install it locally, then import the copied pairing JSON.";
165
+ }
166
+ return browser === "chrome"
167
+ ? "Load the unpacked build folder in Chrome, or use the packaged zip for distribution."
168
+ : "Open the generated macOS app once, then enable the Safari extension in Safari Settings.";
169
+ }
170
+ function releaseBadgeLabel(browser, releaseManifest) {
171
+ const target = releaseTargetForBrowser(browser, releaseManifest);
172
+ if (!target) {
173
+ return null;
174
+ }
175
+ if (target.installKind === "chrome_web_store") {
176
+ return "Chrome Web Store";
177
+ }
178
+ if (target.installKind === "apple_app_store") {
179
+ return "App Store";
180
+ }
181
+ if (target.installKind === "github_release") {
182
+ return "Release build";
183
+ }
184
+ return "Download";
185
+ }
186
+ function BrowserCompanionRow({ browser, buildPath, packagePath, appPath, releaseManifest, busy, pairing, onInstall, onBuild, onCreatePairing, onCopyPairing, onDownload, onOpenPath, }) {
187
+ const browserLabel = browser === "chrome" ? "Chrome" : "Safari";
188
+ const installHintText = installHint(browser, releaseManifest);
189
+ const installLabel = installButtonLabel(browser, releaseManifest);
190
+ const distributionLabel = releaseBadgeLabel(browser, releaseManifest);
191
+ const hasLocalArtifact = Boolean(buildPath || packagePath || appPath);
192
+ const showBuiltBadge = hasLocalArtifact || !distributionLabel;
193
+ return (_jsxs("div", { className: "rounded-2xl border border-border/60 bg-bg/30 p-4 space-y-3", children: [_jsxs("div", { className: "flex flex-wrap items-center justify-between gap-2", children: [_jsxs("div", { className: "space-y-1", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: browserLabel }), distributionLabel ? (_jsx(Badge, { variant: "secondary", children: distributionLabel })) : null, showBuiltBadge && hasLocalArtifact ? (_jsx(Badge, { variant: "secondary", children: "Built" })) : null, showBuiltBadge && !hasLocalArtifact ? (_jsx(Badge, { variant: "outline", children: "Not built" })) : null] }), _jsx("p", { className: "text-sm text-muted", children: installHintText })] }), _jsxs("div", { className: "flex flex-wrap gap-2", children: [_jsxs(Button, { size: "sm", disabled: busy, onClick: () => void onInstall(browser), children: [_jsx(Sparkles, { className: "mr-2 h-3.5 w-3.5" }), busy ? "Preparing…" : installLabel] }), _jsxs(Button, { size: "sm", variant: "outline", disabled: busy, onClick: () => void onBuild(browser), children: [_jsx(Package, { className: "mr-2 h-3.5 w-3.5" }), busy ? "Building…" : `Build ${browserLabel}`] }), _jsxs(Button, { size: "sm", variant: "outline", disabled: busy, onClick: () => void onCreatePairing(browser), children: [_jsx(Sparkles, { className: "mr-2 h-3.5 w-3.5" }), "Pair ", browserLabel] }), pairing ? (_jsxs(Button, { size: "sm", variant: "outline", disabled: busy, onClick: () => void onCopyPairing(browser), children: [_jsx(Copy, { className: "mr-2 h-3.5 w-3.5" }), "Copy pairing JSON"] })) : null, packagePath ? (_jsxs(Button, { size: "sm", variant: "outline", disabled: busy, onClick: () => void onDownload(browser), children: [_jsx(Download, { className: "mr-2 h-3.5 w-3.5" }), "Download zip"] })) : null] })] }), _jsxs("div", { className: "grid gap-2 text-xs text-muted", children: [buildPath ? (_jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 p-3", children: [_jsx("div", { className: "font-semibold text-txt", children: "Build folder" }), _jsx("div", { className: "mt-1 break-all font-mono", children: buildPath }), isElectrobunRuntime() ? (_jsx("div", { className: "mt-2", children: _jsxs(Button, { size: "sm", variant: "outline", onClick: () => void onOpenPath(buildPath, true), children: [_jsx(FolderOpen, { className: "mr-2 h-3.5 w-3.5" }), "Reveal build"] }) })) : null] })) : null, packagePath ? (_jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 p-3", children: [_jsx("div", { className: "font-semibold text-txt", children: "Package" }), _jsx("div", { className: "mt-1 break-all font-mono", children: packagePath }), isElectrobunRuntime() ? (_jsx("div", { className: "mt-2", children: _jsxs(Button, { size: "sm", variant: "outline", onClick: () => void onOpenPath(packagePath, true), children: [_jsx(FolderOpen, { className: "mr-2 h-3.5 w-3.5" }), "Reveal package"] }) })) : null] })) : null, appPath ? (_jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 p-3", children: [_jsx("div", { className: "font-semibold text-txt", children: "App bundle" }), _jsx("div", { className: "mt-1 break-all font-mono", children: appPath }), isElectrobunRuntime() ? (_jsxs("div", { className: "mt-2 flex flex-wrap gap-2", children: [_jsx(Button, { size: "sm", variant: "outline", onClick: () => void onOpenPath(appPath), children: "Open app" }), _jsxs(Button, { size: "sm", variant: "outline", onClick: () => void onOpenPath(appPath, true), children: [_jsx(FolderOpen, { className: "mr-2 h-3.5 w-3.5" }), "Reveal app"] })] })) : null] })) : null] })] }));
194
+ }
195
+ export function LifeOpsBrowserSetupPanel() {
196
+ const [draft, setDraft] = useState(null);
197
+ const [companions, setCompanions] = useState([]);
198
+ const [currentPage, setCurrentPage] = useState(null);
199
+ const [packageStatus, setPackageStatus] = useState(null);
200
+ const [pairings, setPairings] = useState({});
201
+ const [loading, setLoading] = useState(true);
202
+ const [savingSettings, setSavingSettings] = useState(false);
203
+ const [buildingBrowser, setBuildingBrowser] = useState(null);
204
+ const [pairingBrowser, setPairingBrowser] = useState(null);
205
+ const [installingBrowser, setInstallingBrowser] = useState(null);
206
+ const [statusMessage, setStatusMessage] = useState(null);
207
+ const [error, setError] = useState(null);
208
+ const refresh = useCallback(async () => {
209
+ setLoading(true);
210
+ setError(null);
211
+ try {
212
+ const [settingsResponse, companionsResponse, currentPageResponse, status,] = await Promise.all([
213
+ client.getLifeOpsBrowserSettings(),
214
+ client.listLifeOpsBrowserCompanions(),
215
+ client.getLifeOpsBrowserCurrentPage(),
216
+ client.getLifeOpsBrowserPackageStatus(),
217
+ ]);
218
+ setDraft(settingsToDraft(settingsResponse.settings));
219
+ setCompanions(companionsResponse.companions);
220
+ setCurrentPage(currentPageResponse.page
221
+ ? `${currentPageResponse.page.title} ${currentPageResponse.page.url}`
222
+ : null);
223
+ setPackageStatus((current) => mergePackageStatus(current, status.status));
224
+ }
225
+ catch (cause) {
226
+ setError(cause instanceof Error ? cause.message : String(cause));
227
+ }
228
+ finally {
229
+ setLoading(false);
230
+ }
231
+ }, []);
232
+ useEffect(() => {
233
+ void refresh();
234
+ }, [refresh]);
235
+ const companionByBrowser = useMemo(() => {
236
+ const map = new Map();
237
+ for (const companion of companions) {
238
+ if (!map.has(companion.browser)) {
239
+ map.set(companion.browser, companion);
240
+ }
241
+ }
242
+ return map;
243
+ }, [companions]);
244
+ const pairingPayloads = useMemo(() => {
245
+ const payloads = {};
246
+ for (const browser of ["chrome", "safari"]) {
247
+ const pairing = pairings[browser];
248
+ if (pairing) {
249
+ payloads[browser] = JSON.stringify(pairingPayload(pairing), null, 2);
250
+ }
251
+ }
252
+ return payloads;
253
+ }, [pairings]);
254
+ const updateDraft = (key, value) => {
255
+ setDraft((current) => (current ? { ...current, [key]: value } : current));
256
+ };
257
+ const saveSettings = async () => {
258
+ if (!draft) {
259
+ return;
260
+ }
261
+ setSavingSettings(true);
262
+ setError(null);
263
+ try {
264
+ const maxRememberedTabs = Math.max(1, Number.parseInt(draft.maxRememberedTabs, 10) || 10);
265
+ const response = await client.updateLifeOpsBrowserSettings({
266
+ enabled: draft.enabled,
267
+ trackingMode: draft.trackingMode,
268
+ allowBrowserControl: draft.allowBrowserControl,
269
+ requireConfirmationForAccountAffecting: draft.requireConfirmationForAccountAffecting,
270
+ incognitoEnabled: draft.incognitoEnabled,
271
+ siteAccessMode: draft.siteAccessMode,
272
+ grantedOrigins: parseOriginLines(draft.grantedOriginsText),
273
+ blockedOrigins: parseOriginLines(draft.blockedOriginsText),
274
+ maxRememberedTabs,
275
+ pauseUntil: parseDateTimeLocalValue(draft.pauseUntilLocal),
276
+ });
277
+ setDraft(settingsToDraft(response.settings));
278
+ setStatusMessage("Saved LifeOps Browser settings.");
279
+ }
280
+ catch (cause) {
281
+ setError(cause instanceof Error ? cause.message : String(cause));
282
+ }
283
+ finally {
284
+ setSavingSettings(false);
285
+ }
286
+ };
287
+ const buildPackage = async (browser, options) => {
288
+ setBuildingBrowser(browser);
289
+ setError(null);
290
+ try {
291
+ const response = await client.buildLifeOpsBrowserCompanionPackage(browser);
292
+ const nextStatus = mergePackageStatus(packageStatus, response.status);
293
+ setPackageStatus(nextStatus);
294
+ if (!options?.silent) {
295
+ setStatusMessage(`Built ${browser === "chrome" ? "Chrome" : "Safari"} companion package.`);
296
+ }
297
+ return nextStatus;
298
+ }
299
+ catch (cause) {
300
+ setError(cause instanceof Error ? cause.message : String(cause));
301
+ throw cause;
302
+ }
303
+ finally {
304
+ setBuildingBrowser(null);
305
+ }
306
+ };
307
+ const createPairing = async (browser, options) => {
308
+ setPairingBrowser(browser);
309
+ setError(null);
310
+ try {
311
+ const response = await client.createLifeOpsBrowserCompanionPairing(normalizePairingRequest(browser, companionByBrowser.get(browser) ?? null));
312
+ setPairings((current) => ({
313
+ ...current,
314
+ [browser]: response,
315
+ }));
316
+ if (!options?.silent) {
317
+ setStatusMessage(`Created a ${browser} pairing payload. Import it into the companion popup.`);
318
+ }
319
+ await refresh();
320
+ return response;
321
+ }
322
+ catch (cause) {
323
+ setError(cause instanceof Error ? cause.message : String(cause));
324
+ throw cause;
325
+ }
326
+ finally {
327
+ setPairingBrowser(null);
328
+ }
329
+ };
330
+ const copyPairing = async (browser) => {
331
+ try {
332
+ const payload = pairingPayloads[browser];
333
+ if (!payload) {
334
+ return;
335
+ }
336
+ await copyTextToClipboard(payload);
337
+ setStatusMessage(`Copied ${browser} pairing JSON to the clipboard.`);
338
+ setError(null);
339
+ }
340
+ catch (cause) {
341
+ setError(cause instanceof Error ? cause.message : String(cause));
342
+ }
343
+ };
344
+ const downloadPackage = async (browser, options) => {
345
+ try {
346
+ setError(null);
347
+ const download = await client.downloadLifeOpsBrowserCompanionPackage(browser);
348
+ const objectUrl = URL.createObjectURL(download.blob);
349
+ const anchor = document.createElement("a");
350
+ anchor.href = objectUrl;
351
+ anchor.download = download.filename;
352
+ anchor.rel = "noopener";
353
+ document.body.appendChild(anchor);
354
+ anchor.click();
355
+ anchor.remove();
356
+ window.setTimeout(() => {
357
+ URL.revokeObjectURL(objectUrl);
358
+ }, 0);
359
+ if (!options?.silent) {
360
+ setStatusMessage(`Downloaded ${browser === "chrome" ? "Chrome" : "Safari"} companion package.`);
361
+ }
362
+ }
363
+ catch (cause) {
364
+ setError(cause instanceof Error ? cause.message : String(cause));
365
+ throw cause;
366
+ }
367
+ };
368
+ const openPath = async (pathValue, revealOnly = false) => {
369
+ try {
370
+ if (isElectrobunRuntime()) {
371
+ await openDesktopPath(pathValue, revealOnly);
372
+ setError(null);
373
+ return;
374
+ }
375
+ await copyTextToClipboard(pathValue);
376
+ setStatusMessage("Copied the local path to the clipboard.");
377
+ setError(null);
378
+ }
379
+ catch (cause) {
380
+ setError(cause instanceof Error ? cause.message : String(cause));
381
+ }
382
+ };
383
+ const installCompanion = async (browser) => {
384
+ setInstallingBrowser(browser);
385
+ setError(null);
386
+ try {
387
+ const releaseTarget = releaseTargetForBrowser(browser, packageStatus?.releaseManifest);
388
+ const response = await createPairing(browser, { silent: true });
389
+ await copyTextToClipboard(JSON.stringify(pairingPayload(response), null, 2));
390
+ if (releaseTarget?.installUrl) {
391
+ await openExternalUrl(releaseTarget.installUrl);
392
+ setStatusMessage(releaseTarget.installKind === "chrome_web_store"
393
+ ? "Chrome install is prepared. We copied the pairing JSON and opened the Chrome Web Store listing. Install the release build, then import the copied pairing JSON in the extension popup."
394
+ : releaseTarget.installKind === "apple_app_store"
395
+ ? "Safari install is prepared. We copied the pairing JSON and opened the App Store listing. Install the release app, enable the Safari extension, then import the copied pairing JSON."
396
+ : `${browser === "chrome" ? "Chrome" : "Safari"} install is prepared. We copied the pairing JSON and opened the release download. Install the release build, then import the copied pairing JSON in the extension popup.`);
397
+ return;
398
+ }
399
+ const needsBuild = browser === "chrome"
400
+ ? isElectrobunRuntime()
401
+ ? !packageStatus?.chromeBuildPath
402
+ : !packageStatus?.chromePackagePath
403
+ : isElectrobunRuntime()
404
+ ? !packageStatus?.safariAppPath
405
+ : !packageStatus?.safariPackagePath;
406
+ const nextStatus = needsBuild
407
+ ? await buildPackage(browser, { silent: true })
408
+ : packageStatus;
409
+ if (browser === "chrome") {
410
+ if (isElectrobunRuntime()) {
411
+ const buildPath = nextStatus?.chromeBuildPath;
412
+ if (!buildPath) {
413
+ throw new Error("Chrome build folder is not available");
414
+ }
415
+ await openDesktopPath(buildPath, true);
416
+ }
417
+ else {
418
+ await downloadPackage(browser, { silent: true });
419
+ }
420
+ await openExternalUrl(CHROME_EXTENSIONS_URL);
421
+ setStatusMessage("Chrome install is prepared. We copied the pairing JSON and opened the extension manager. In Chrome, click Load unpacked and select the built LifeOps Browser folder.");
422
+ }
423
+ else {
424
+ if (isElectrobunRuntime()) {
425
+ const appPath = nextStatus?.safariAppPath;
426
+ if (!appPath) {
427
+ throw new Error("Safari app bundle is not available");
428
+ }
429
+ await openDesktopPath(appPath);
430
+ }
431
+ else {
432
+ await downloadPackage(browser, { silent: true });
433
+ }
434
+ setStatusMessage("Safari install is prepared. We copied the pairing JSON and opened the LifeOps Browser app or package. Run the app once, then enable the extension in Safari Settings.");
435
+ }
436
+ }
437
+ catch (cause) {
438
+ setError(cause instanceof Error ? cause.message : String(cause));
439
+ }
440
+ finally {
441
+ setInstallingBrowser(null);
442
+ }
443
+ };
444
+ return (_jsxs(Card, { className: "border-border/60 bg-bg/20", children: [_jsxs(CardHeader, { className: "space-y-3", children: [_jsxs("div", { className: "flex flex-wrap items-start justify-between gap-3", children: [_jsxs("div", { className: "space-y-2", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(ShieldCheck, { className: "h-4 w-4 text-muted" }), _jsx(CardTitle, { className: "text-sm font-semibold", children: "LifeOps Browser" })] }), _jsx("p", { className: "text-sm text-muted", children: "Personal Chrome and Safari companions for the user\u2019s browser, separate from the browser workspace." })] }), _jsxs(Button, { size: "sm", variant: "outline", onClick: () => void refresh(), children: [_jsx(RefreshCw, { className: "mr-2 h-3.5 w-3.5" }), "Refresh"] })] }), currentPage ? (_jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 px-3 py-2 text-xs text-muted", children: ["Current page: ", _jsx("span", { className: "text-txt", children: currentPage })] })) : null, statusMessage ? (_jsx("div", { className: "rounded-xl border border-border/60 bg-bg/40 px-3 py-2 text-xs text-txt", children: statusMessage })) : null, error ? (_jsx("div", { className: "rounded-xl border border-danger/50 bg-danger/10 px-3 py-2 text-xs text-danger", children: error })) : null] }), _jsxs(CardContent, { className: "space-y-5", children: [_jsxs("div", { className: "grid gap-3 md:grid-cols-2", children: [_jsx(BrowserCompanionRow, { browser: "chrome", buildPath: packageStatus?.chromeBuildPath, packagePath: packageStatus?.chromePackagePath, releaseManifest: packageStatus?.releaseManifest ?? null, busy: buildingBrowser === "chrome" ||
445
+ pairingBrowser === "chrome" ||
446
+ installingBrowser === "chrome", pairing: pairings.chrome ?? null, onInstall: installCompanion, onBuild: buildPackage, onCreatePairing: createPairing, onCopyPairing: copyPairing, onDownload: downloadPackage, onOpenPath: openPath }), _jsx(BrowserCompanionRow, { browser: "safari", buildPath: packageStatus?.safariWebExtensionPath, packagePath: packageStatus?.safariPackagePath, appPath: packageStatus?.safariAppPath, releaseManifest: packageStatus?.releaseManifest ?? null, busy: buildingBrowser === "safari" ||
447
+ pairingBrowser === "safari" ||
448
+ installingBrowser === "safari", pairing: pairings.safari ?? null, onInstall: installCompanion, onBuild: buildPackage, onCreatePairing: createPairing, onCopyPairing: copyPairing, onDownload: downloadPackage, onOpenPath: openPath })] }), ["chrome", "safari"].map((browser) => {
449
+ const payload = pairingPayloads[browser];
450
+ if (!payload) {
451
+ return null;
452
+ }
453
+ return (_jsxs("div", { className: "rounded-2xl border border-border/60 bg-bg/30 p-4 space-y-2", children: [_jsxs("div", { className: "flex items-center justify-between gap-2", children: [_jsxs("div", { className: "text-sm font-semibold text-txt", children: [browser === "chrome" ? "Chrome" : "Safari", " pairing payload"] }), _jsxs(Button, { size: "sm", variant: "outline", onClick: () => void copyPairing(browser), children: [_jsx(Copy, { className: "mr-2 h-3.5 w-3.5" }), "Copy"] })] }), _jsx(Textarea, { readOnly: true, rows: 8, value: payload, className: "font-mono text-xs" })] }, browser));
454
+ }), draft ? (_jsxs("div", { className: "rounded-2xl border border-border/60 bg-bg/30 p-4 space-y-4", children: [_jsxs("div", { className: "flex items-center justify-between gap-2", children: [_jsx("div", { className: "text-sm font-semibold text-txt", children: "LifeOps Browser settings" }), _jsx(Button, { size: "sm", variant: "outline", disabled: savingSettings || loading, onClick: () => void saveSettings(), children: savingSettings ? "Saving…" : "Save settings" })] }), _jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [_jsxs("div", { className: "flex items-center justify-between gap-3 rounded-xl border border-border/60 bg-bg/40 px-3 py-2", children: [_jsxs("div", { children: [_jsx("div", { className: "text-sm font-medium text-txt", children: "Enabled" }), _jsx("div", { className: "text-xs text-muted", children: "Allow the personal browser companion to sync with LifeOps." })] }), _jsx(Switch, { checked: draft.enabled, onCheckedChange: (checked) => updateDraft("enabled", checked) })] }), _jsxs("div", { className: "flex items-center justify-between gap-3 rounded-xl border border-border/60 bg-bg/40 px-3 py-2", children: [_jsxs("div", { children: [_jsx("div", { className: "text-sm font-medium text-txt", children: "Browser control" }), _jsx("div", { className: "text-xs text-muted", children: "Let approved sessions drive the personal browser." })] }), _jsx(Switch, { checked: draft.allowBrowserControl, onCheckedChange: (checked) => updateDraft("allowBrowserControl", checked) })] }), _jsxs("div", { className: "flex items-center justify-between gap-3 rounded-xl border border-border/60 bg-bg/40 px-3 py-2", children: [_jsxs("div", { children: [_jsx("div", { className: "text-sm font-medium text-txt", children: "Require confirmation" }), _jsx("div", { className: "text-xs text-muted", children: "Keep account-affecting actions gated by confirmation." })] }), _jsx(Switch, { checked: draft.requireConfirmationForAccountAffecting, onCheckedChange: (checked) => updateDraft("requireConfirmationForAccountAffecting", checked) })] }), _jsxs("div", { className: "flex items-center justify-between gap-3 rounded-xl border border-border/60 bg-bg/40 px-3 py-2", children: [_jsxs("div", { children: [_jsx("div", { className: "text-sm font-medium text-txt", children: "Incognito access" }), _jsx("div", { className: "text-xs text-muted", children: "Allow companion sync from incognito browser tabs." })] }), _jsx(Switch, { checked: draft.incognitoEnabled, onCheckedChange: (checked) => updateDraft("incognitoEnabled", checked) })] })] }), _jsxs("div", { className: "space-y-2", children: [_jsx(Label, { className: "text-xs uppercase tracking-[0.08em] text-muted", children: "Tracking mode" }), _jsx("div", { className: "flex flex-wrap gap-2", children: ["off", "current_tab", "active_tabs"].map((mode) => (_jsx(Button, { size: "sm", variant: draft.trackingMode === mode ? "default" : "outline", onClick: () => updateDraft("trackingMode", mode), children: mode === "off"
455
+ ? "Off"
456
+ : mode === "current_tab"
457
+ ? "Current tab"
458
+ : "Active tabs" }, mode))) })] }), _jsxs("div", { className: "space-y-2", children: [_jsx(Label, { className: "text-xs uppercase tracking-[0.08em] text-muted", children: "Site access mode" }), _jsx("div", { className: "flex flex-wrap gap-2", children: LIFEOPS_BROWSER_SITE_ACCESS_MODES.map((mode) => (_jsx(Button, { size: "sm", variant: draft.siteAccessMode === mode ? "default" : "outline", onClick: () => updateDraft("siteAccessMode", mode), children: mode === "current_site_only"
459
+ ? "Current site"
460
+ : mode === "granted_sites"
461
+ ? "Granted sites"
462
+ : "All sites" }, mode))) })] }), _jsxs("div", { className: "grid gap-4 md:grid-cols-[minmax(0,1fr)_220px]", children: [_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "lifeops-browser-max-tabs", children: "Max remembered tabs" }), _jsx(Input, { id: "lifeops-browser-max-tabs", value: draft.maxRememberedTabs, onChange: (event) => updateDraft("maxRememberedTabs", event.currentTarget.value), inputMode: "numeric" })] }), _jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 px-3 py-2 text-xs text-muted", children: ["Connected companions:", " ", _jsx("span", { className: "text-txt", children: companions.length }), _jsx("br", {}), "Extension workspace:", " ", _jsx("span", { className: "break-all font-mono text-xs-tight text-txt", children: packageStatus?.extensionPath ?? "Unavailable" })] })] }), _jsxs("div", { className: "grid gap-4 md:grid-cols-[minmax(0,1fr)_auto_auto]", children: [_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "lifeops-browser-pause-until", children: "Pause sharing until" }), _jsx(Input, { id: "lifeops-browser-pause-until", type: "datetime-local", value: draft.pauseUntilLocal, onChange: (event) => updateDraft("pauseUntilLocal", event.currentTarget.value) })] }), _jsx(Button, { size: "sm", variant: "outline", className: "self-end", onClick: () => updateDraft("pauseUntilLocal", formatDateTimeLocalValue(new Date(Date.now() + 60 * 60 * 1000).toISOString())), children: "Pause 1 hour" }), _jsx(Button, { size: "sm", variant: "outline", className: "self-end", onClick: () => updateDraft("pauseUntilLocal", ""), children: "Resume now" })] }), _jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "lifeops-browser-granted-origins", children: "Granted origins" }), _jsx(Textarea, { id: "lifeops-browser-granted-origins", rows: 5, placeholder: "https://mail.google.com", value: draft.grantedOriginsText, onChange: (event) => updateDraft("grantedOriginsText", event.currentTarget.value) })] }), _jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "lifeops-browser-blocked-origins", children: "Blocked origins" }), _jsx(Textarea, { id: "lifeops-browser-blocked-origins", rows: 5, placeholder: "https://bank.example.com", value: draft.blockedOriginsText, onChange: (event) => updateDraft("blockedOriginsText", event.currentTarget.value) })] })] }), _jsx("div", { className: "rounded-xl border border-border/60 bg-bg/40 px-3 py-2 text-xs text-muted", children: "Install Chrome or Safari in one click here. The framework builds the companion, prepares a fresh pairing token, and launches the next destination for that browser. Chrome still requires Load unpacked approval, and Safari still requires enabling the extension in Safari Settings." })] })) : loading ? (_jsx("div", { className: "text-sm text-muted", children: "Loading LifeOps Browser settings\u2026" })) : null, companions.length > 0 ? (_jsxs("div", { className: "rounded-2xl border border-border/60 bg-bg/30 p-4 space-y-2", children: [_jsx("div", { className: "text-sm font-semibold text-txt", children: "Paired companions" }), _jsx("div", { className: "grid gap-2 text-sm", children: companions.map((companion) => (_jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 px-3 py-2", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsxs(Badge, { variant: "outline", children: [companion.browser, "/", companion.profileLabel] }), _jsx(Badge, { variant: "secondary", children: companion.connectionState })] }), _jsxs("div", { className: "mt-1 text-xs text-muted", children: ["Last seen:", " ", formatTimestamp(companion.lastSeenAt) ?? "Never"] }), _jsx("div", { className: "mt-1 text-xs text-muted", children: permissionSummary(companion.permissions) })] }, companion.id))) })] })) : null] })] }));
463
+ }
@@ -0,0 +1,42 @@
1
+ import type { LifeOpsActiveReminderView, LifeOpsGoalDefinition, LifeOpsOccurrenceView } from "@elizaos/shared/contracts/lifeops";
2
+ import type { ReactNode } from "react";
3
+ import type { CloudCompatAgent, CloudCompatManagedGithubStatus, CloudOAuthConnection } from "@elizaos/app-core";
4
+ export type ManagedAgentGithubEntry = {
5
+ agent: CloudCompatAgent;
6
+ github: CloudCompatManagedGithubStatus | null;
7
+ };
8
+ export declare function occurrenceSortValue(occurrence: LifeOpsOccurrenceView): number;
9
+ export declare function SectionSurface({ title, icon, subtitle, children, }: {
10
+ title: string;
11
+ icon: ReactNode;
12
+ subtitle: string;
13
+ children: ReactNode;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ export declare function SummaryMetric({ label, value, detail, }: {
16
+ label: string;
17
+ value: string;
18
+ detail: string;
19
+ }): import("react/jsx-runtime").JSX.Element;
20
+ export declare function OccurrenceList({ occurrences, }: {
21
+ occurrences: LifeOpsOccurrenceView[];
22
+ }): import("react/jsx-runtime").JSX.Element;
23
+ export declare function GoalList({ goals }: {
24
+ goals: LifeOpsGoalDefinition[];
25
+ }): import("react/jsx-runtime").JSX.Element;
26
+ export declare function ReminderList({ reminders, }: {
27
+ reminders: LifeOpsActiveReminderView[];
28
+ }): import("react/jsx-runtime").JSX.Element;
29
+ export declare function OwnerGithubConnectionCard({ connection, busy, onDisconnect, }: {
30
+ connection: CloudOAuthConnection;
31
+ busy: boolean;
32
+ onDisconnect: (connectionId: string) => void;
33
+ }): import("react/jsx-runtime").JSX.Element;
34
+ export declare function AgentGithubCard({ entry, ownerConnections, busyAgentId, onConnect, onDisconnect, onUseOwnerConnection, }: {
35
+ entry: ManagedAgentGithubEntry;
36
+ ownerConnections: CloudOAuthConnection[];
37
+ busyAgentId: string | null;
38
+ onConnect: (agentId: string) => void;
39
+ onDisconnect: (agentId: string) => void;
40
+ onUseOwnerConnection: (agentId: string, connectionId: string) => void;
41
+ }): import("react/jsx-runtime").JSX.Element;
42
+ //# sourceMappingURL=LifeOpsPageSections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LifeOpsPageSections.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-lifeops/src/LifeOpsPageSections.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EAEzB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,gBAAgB,EAChB,8BAA8B,EAC9B,oBAAoB,EACrB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM,EAAE,8BAA8B,GAAG,IAAI,CAAC;CAC/C,CAAC;AA+CF,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,qBAAqB,GAAG,MAAM,CAiB7E;AAsED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAeA;AAED,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,2CAUA;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,GACZ,EAAE;IACD,WAAW,EAAE,qBAAqB,EAAE,CAAC;CACtC,2CA2CA;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,qBAAqB,EAAE,CAAA;CAAE,2CAkDrE;AAED,wBAAgB,YAAY,CAAC,EAC3B,SAAS,GACV,EAAE;IACD,SAAS,EAAE,yBAAyB,EAAE,CAAC;CACxC,2CAuCA;AAED,wBAAgB,yBAAyB,CAAC,EACxC,UAAU,EACV,IAAI,EACJ,YAAY,GACb,EAAE;IACD,UAAU,EAAE,oBAAoB,CAAC;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,2CAuDA;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,YAAY,EACZ,oBAAoB,GACrB,EAAE;IACD,KAAK,EAAE,uBAAuB,CAAC;IAC/B,gBAAgB,EAAE,oBAAoB,EAAE,CAAC;IACzC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,oBAAoB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CACvE,2CAqHA"}