@elizaos/ui 2.0.0-alpha.20 → 2.0.0-alpha.201

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 (4862) hide show
  1. package/apps/app-companion/src/actions/emote.d.ts +10 -0
  2. package/apps/app-companion/src/actions/emote.d.ts.map +1 -0
  3. package/apps/app-companion/src/actions/emote.js +80 -0
  4. package/apps/app-companion/src/components/avatar/MathEnvironment.d.ts +38 -0
  5. package/apps/app-companion/src/components/avatar/MathEnvironment.d.ts.map +1 -0
  6. package/apps/app-companion/src/components/avatar/MathEnvironment.js +295 -0
  7. package/apps/app-companion/src/components/avatar/SceneOverlayManager.d.ts +36 -0
  8. package/apps/app-companion/src/components/avatar/SceneOverlayManager.d.ts.map +1 -0
  9. package/apps/app-companion/src/components/avatar/SceneOverlayManager.js +305 -0
  10. package/apps/app-companion/src/components/avatar/VrmAnimationLoader.d.ts +30 -0
  11. package/apps/app-companion/src/components/avatar/VrmAnimationLoader.d.ts.map +1 -0
  12. package/apps/app-companion/src/components/avatar/VrmAnimationLoader.js +100 -0
  13. package/apps/app-companion/src/components/avatar/VrmBlinkController.d.ts +37 -0
  14. package/apps/app-companion/src/components/avatar/VrmBlinkController.d.ts.map +1 -0
  15. package/apps/app-companion/src/components/avatar/VrmBlinkController.js +98 -0
  16. package/apps/app-companion/src/components/avatar/VrmCameraManager.d.ts +57 -0
  17. package/apps/app-companion/src/components/avatar/VrmCameraManager.d.ts.map +1 -0
  18. package/apps/app-companion/src/components/avatar/VrmCameraManager.js +256 -0
  19. package/apps/app-companion/src/components/avatar/VrmEngine.d.ts +283 -0
  20. package/apps/app-companion/src/components/avatar/VrmEngine.d.ts.map +1 -0
  21. package/apps/app-companion/src/components/avatar/VrmEngine.js +2003 -0
  22. package/apps/app-companion/src/components/avatar/VrmFootShadow.d.ts +18 -0
  23. package/apps/app-companion/src/components/avatar/VrmFootShadow.d.ts.map +1 -0
  24. package/apps/app-companion/src/components/avatar/VrmFootShadow.js +83 -0
  25. package/apps/app-companion/src/components/avatar/VrmTeleportEffect.d.ts +49 -0
  26. package/apps/app-companion/src/components/avatar/VrmTeleportEffect.d.ts.map +1 -0
  27. package/apps/app-companion/src/components/avatar/VrmTeleportEffect.js +390 -0
  28. package/apps/app-companion/src/components/avatar/VrmViewer.d.ts +64 -0
  29. package/apps/app-companion/src/components/avatar/VrmViewer.d.ts.map +1 -0
  30. package/apps/app-companion/src/components/avatar/VrmViewer.js +436 -0
  31. package/apps/app-companion/src/components/avatar/mixamoVRMRigMap.d.ts +3 -0
  32. package/apps/app-companion/src/components/avatar/mixamoVRMRigMap.d.ts.map +1 -0
  33. package/apps/app-companion/src/components/avatar/mixamoVRMRigMap.js +56 -0
  34. package/apps/app-companion/src/components/avatar/retargetMixamoFbxToVrm.d.ts +9 -0
  35. package/apps/app-companion/src/components/avatar/retargetMixamoFbxToVrm.d.ts.map +1 -0
  36. package/apps/app-companion/src/components/avatar/retargetMixamoFbxToVrm.js +127 -0
  37. package/apps/app-companion/src/components/avatar/retargetMixamoGltfToVrm.d.ts +11 -0
  38. package/apps/app-companion/src/components/avatar/retargetMixamoGltfToVrm.d.ts.map +1 -0
  39. package/apps/app-companion/src/components/avatar/retargetMixamoGltfToVrm.js +97 -0
  40. package/apps/app-companion/src/components/avatar/scene-overlay-renderer.d.ts +37 -0
  41. package/apps/app-companion/src/components/avatar/scene-overlay-renderer.d.ts.map +1 -0
  42. package/apps/app-companion/src/components/avatar/scene-overlay-renderer.js +337 -0
  43. package/apps/app-companion/src/components/avatar/scene-theme-tokens.d.ts +26 -0
  44. package/apps/app-companion/src/components/avatar/scene-theme-tokens.d.ts.map +1 -0
  45. package/apps/app-companion/src/components/avatar/scene-theme-tokens.js +48 -0
  46. package/apps/app-companion/src/components/avatar/vector-browser-three.d.ts +9 -0
  47. package/apps/app-companion/src/components/avatar/vector-browser-three.d.ts.map +1 -0
  48. package/apps/app-companion/src/components/avatar/vector-browser-three.js +21 -0
  49. package/apps/app-companion/src/components/avatar/vrm-desktop-energy.d.ts +40 -0
  50. package/apps/app-companion/src/components/avatar/vrm-desktop-energy.d.ts.map +1 -0
  51. package/apps/app-companion/src/components/avatar/vrm-desktop-energy.js +74 -0
  52. package/apps/app-companion/src/components/chat/ChatAvatar.d.ts +3 -0
  53. package/apps/app-companion/src/components/chat/ChatAvatar.d.ts.map +1 -0
  54. package/apps/app-companion/src/components/chat/ChatAvatar.js +80 -0
  55. package/apps/app-companion/src/components/companion/CompanionAppView.d.ts +9 -0
  56. package/apps/app-companion/src/components/companion/CompanionAppView.d.ts.map +1 -0
  57. package/apps/app-companion/src/components/companion/CompanionAppView.js +114 -0
  58. package/apps/app-companion/src/components/companion/CompanionHeader.d.ts +25 -0
  59. package/apps/app-companion/src/components/companion/CompanionHeader.d.ts.map +1 -0
  60. package/apps/app-companion/src/components/companion/CompanionHeader.js +61 -0
  61. package/apps/app-companion/src/components/companion/CompanionSceneHost.d.ts +15 -0
  62. package/apps/app-companion/src/components/companion/CompanionSceneHost.d.ts.map +1 -0
  63. package/apps/app-companion/src/components/companion/CompanionSceneHost.js +476 -0
  64. package/apps/app-companion/src/components/companion/CompanionShell.d.ts +8 -0
  65. package/apps/app-companion/src/components/companion/CompanionShell.d.ts.map +1 -0
  66. package/apps/app-companion/src/components/companion/CompanionShell.js +9 -0
  67. package/apps/app-companion/src/components/companion/CompanionView.d.ts +7 -0
  68. package/apps/app-companion/src/components/companion/CompanionView.d.ts.map +1 -0
  69. package/apps/app-companion/src/components/companion/CompanionView.js +119 -0
  70. package/apps/app-companion/src/components/companion/EmotePicker.d.ts +2 -0
  71. package/apps/app-companion/src/components/companion/EmotePicker.d.ts.map +1 -0
  72. package/apps/app-companion/src/components/companion/EmotePicker.js +354 -0
  73. package/apps/app-companion/src/components/companion/GlobalEmoteOverlay.d.ts +2 -0
  74. package/apps/app-companion/src/components/companion/GlobalEmoteOverlay.d.ts.map +1 -0
  75. package/apps/app-companion/src/components/companion/GlobalEmoteOverlay.js +113 -0
  76. package/apps/app-companion/src/components/companion/InferenceCloudAlertButton.d.ts +9 -0
  77. package/apps/app-companion/src/components/companion/InferenceCloudAlertButton.d.ts.map +1 -0
  78. package/apps/app-companion/src/components/companion/InferenceCloudAlertButton.js +17 -0
  79. package/apps/app-companion/src/components/companion/VrmStage.d.ts +27 -0
  80. package/apps/app-companion/src/components/companion/VrmStage.d.ts.map +1 -0
  81. package/apps/app-companion/src/components/companion/VrmStage.js +179 -0
  82. package/apps/app-companion/src/components/companion/companion-app.d.ts +6 -0
  83. package/apps/app-companion/src/components/companion/companion-app.d.ts.map +1 -0
  84. package/apps/app-companion/src/components/companion/companion-app.js +15 -0
  85. package/apps/app-companion/src/components/companion/companion-scene-status-context.d.ts +7 -0
  86. package/apps/app-companion/src/components/companion/companion-scene-status-context.d.ts.map +1 -0
  87. package/apps/app-companion/src/components/companion/companion-scene-status-context.js +8 -0
  88. package/apps/app-companion/src/components/companion/companion-shell-styles.d.ts +38 -0
  89. package/apps/app-companion/src/components/companion/companion-shell-styles.d.ts.map +1 -0
  90. package/apps/app-companion/src/components/companion/companion-shell-styles.js +237 -0
  91. package/apps/app-companion/src/components/companion/resolve-companion-inference-notice.d.ts +19 -0
  92. package/apps/app-companion/src/components/companion/resolve-companion-inference-notice.d.ts.map +1 -0
  93. package/apps/app-companion/src/components/companion/resolve-companion-inference-notice.js +31 -0
  94. package/apps/app-companion/src/components/companion/scene-overlay-bridge.d.ts +6 -0
  95. package/apps/app-companion/src/components/companion/scene-overlay-bridge.d.ts.map +1 -0
  96. package/apps/app-companion/src/components/companion/scene-overlay-bridge.js +82 -0
  97. package/apps/app-companion/src/components/companion/shared-companion-scene-context.d.ts +3 -0
  98. package/apps/app-companion/src/components/companion/shared-companion-scene-context.d.ts.map +1 -0
  99. package/apps/app-companion/src/components/companion/shared-companion-scene-context.js +13 -0
  100. package/apps/app-companion/src/components/companion/shell-control-styles.d.ts +12 -0
  101. package/apps/app-companion/src/components/companion/shell-control-styles.d.ts.map +1 -0
  102. package/apps/app-companion/src/components/companion/shell-control-styles.js +11 -0
  103. package/apps/app-companion/src/components/companion/walletUtils.d.ts +91 -0
  104. package/apps/app-companion/src/components/companion/walletUtils.d.ts.map +1 -0
  105. package/apps/app-companion/src/components/companion/walletUtils.js +151 -0
  106. package/apps/app-companion/src/emotes/catalog.d.ts +31 -0
  107. package/apps/app-companion/src/emotes/catalog.d.ts.map +1 -0
  108. package/apps/app-companion/src/emotes/catalog.js +402 -0
  109. package/apps/app-companion/src/plugin.d.ts +9 -0
  110. package/apps/app-companion/src/plugin.d.ts.map +1 -0
  111. package/apps/app-companion/src/plugin.js +15 -0
  112. package/apps/app-companion/src/types/render-modes.d.ts +4 -0
  113. package/apps/app-companion/src/types/render-modes.d.ts.map +1 -0
  114. package/apps/app-companion/src/types/render-modes.js +6 -0
  115. package/apps/app-companion/src/ui.d.ts +34 -0
  116. package/apps/app-companion/src/ui.d.ts.map +1 -0
  117. package/apps/app-companion/src/ui.js +33 -0
  118. package/apps/app-elizamaker/src/drop-routes.d.ts +22 -0
  119. package/apps/app-elizamaker/src/drop-routes.d.ts.map +1 -0
  120. package/apps/app-elizamaker/src/drop-routes.js +155 -0
  121. package/apps/app-elizamaker/src/drop-service.d.ts +26 -0
  122. package/apps/app-elizamaker/src/drop-service.d.ts.map +1 -0
  123. package/apps/app-elizamaker/src/drop-service.js +134 -0
  124. package/apps/app-elizamaker/src/index.d.ts +8 -0
  125. package/apps/app-elizamaker/src/index.d.ts.map +1 -0
  126. package/apps/app-elizamaker/src/index.js +5 -0
  127. package/apps/app-elizamaker/src/merkle-tree.d.ts +90 -0
  128. package/apps/app-elizamaker/src/merkle-tree.d.ts.map +1 -0
  129. package/apps/app-elizamaker/src/merkle-tree.js +174 -0
  130. package/apps/app-elizamaker/src/og-tracker.d.ts +28 -0
  131. package/apps/app-elizamaker/src/og-tracker.d.ts.map +1 -0
  132. package/apps/app-elizamaker/src/og-tracker.js +60 -0
  133. package/apps/app-elizamaker/src/twitter-verify.d.ts +25 -0
  134. package/apps/app-elizamaker/src/twitter-verify.d.ts.map +1 -0
  135. package/apps/app-elizamaker/src/twitter-verify.js +168 -0
  136. package/apps/app-lifeops/src/action.d.ts +3 -0
  137. package/apps/app-lifeops/src/action.d.ts.map +1 -0
  138. package/apps/app-lifeops/src/action.js +351 -0
  139. package/apps/app-lifeops/src/actions/activity-report.d.ts +13 -0
  140. package/apps/app-lifeops/src/actions/activity-report.d.ts.map +1 -0
  141. package/apps/app-lifeops/src/actions/activity-report.js +287 -0
  142. package/apps/app-lifeops/src/actions/app-blocker.d.ts +7 -0
  143. package/apps/app-lifeops/src/actions/app-blocker.d.ts.map +1 -0
  144. package/apps/app-lifeops/src/actions/app-blocker.js +448 -0
  145. package/apps/app-lifeops/src/actions/autofill.d.ts +35 -0
  146. package/apps/app-lifeops/src/actions/autofill.d.ts.map +1 -0
  147. package/apps/app-lifeops/src/actions/autofill.js +340 -0
  148. package/apps/app-lifeops/src/actions/browser-extension.d.ts +19 -0
  149. package/apps/app-lifeops/src/actions/browser-extension.d.ts.map +1 -0
  150. package/apps/app-lifeops/src/actions/browser-extension.js +88 -0
  151. package/apps/app-lifeops/src/actions/calendar.d.ts +19 -0
  152. package/apps/app-lifeops/src/actions/calendar.d.ts.map +1 -0
  153. package/apps/app-lifeops/src/actions/calendar.js +2801 -0
  154. package/apps/app-lifeops/src/actions/calendly.d.ts +3 -0
  155. package/apps/app-lifeops/src/actions/calendly.d.ts.map +1 -0
  156. package/apps/app-lifeops/src/actions/calendly.js +242 -0
  157. package/apps/app-lifeops/src/actions/checkin.d.ts +4 -0
  158. package/apps/app-lifeops/src/actions/checkin.d.ts.map +1 -0
  159. package/apps/app-lifeops/src/actions/checkin.js +72 -0
  160. package/apps/app-lifeops/src/actions/computer-use.d.ts +14 -0
  161. package/apps/app-lifeops/src/actions/computer-use.d.ts.map +1 -0
  162. package/apps/app-lifeops/src/actions/computer-use.js +380 -0
  163. package/apps/app-lifeops/src/actions/cross-channel-send.d.ts +24 -0
  164. package/apps/app-lifeops/src/actions/cross-channel-send.d.ts.map +1 -0
  165. package/apps/app-lifeops/src/actions/cross-channel-send.js +563 -0
  166. package/apps/app-lifeops/src/actions/device-bus.d.ts +19 -0
  167. package/apps/app-lifeops/src/actions/device-bus.d.ts.map +1 -0
  168. package/apps/app-lifeops/src/actions/device-bus.js +274 -0
  169. package/apps/app-lifeops/src/actions/dossier.d.ts +5 -0
  170. package/apps/app-lifeops/src/actions/dossier.d.ts.map +1 -0
  171. package/apps/app-lifeops/src/actions/dossier.js +212 -0
  172. package/apps/app-lifeops/src/actions/gmail.d.ts +33 -0
  173. package/apps/app-lifeops/src/actions/gmail.d.ts.map +1 -0
  174. package/apps/app-lifeops/src/actions/gmail.js +1775 -0
  175. package/apps/app-lifeops/src/actions/health.d.ts +9 -0
  176. package/apps/app-lifeops/src/actions/health.d.ts.map +1 -0
  177. package/apps/app-lifeops/src/actions/health.js +376 -0
  178. package/apps/app-lifeops/src/actions/inbox.d.ts +5 -0
  179. package/apps/app-lifeops/src/actions/inbox.d.ts.map +1 -0
  180. package/apps/app-lifeops/src/actions/inbox.js +990 -0
  181. package/apps/app-lifeops/src/actions/intent-sync.d.ts +3 -0
  182. package/apps/app-lifeops/src/actions/intent-sync.d.ts.map +1 -0
  183. package/apps/app-lifeops/src/actions/intent-sync.js +258 -0
  184. package/apps/app-lifeops/src/actions/life-goal-extractor.d.ts +69 -0
  185. package/apps/app-lifeops/src/actions/life-goal-extractor.d.ts.map +1 -0
  186. package/apps/app-lifeops/src/actions/life-goal-extractor.js +354 -0
  187. package/apps/app-lifeops/src/actions/life-param-extractor.d.ts +78 -0
  188. package/apps/app-lifeops/src/actions/life-param-extractor.d.ts.map +1 -0
  189. package/apps/app-lifeops/src/actions/life-param-extractor.js +423 -0
  190. package/apps/app-lifeops/src/actions/life-recent-context.d.ts +9 -0
  191. package/apps/app-lifeops/src/actions/life-recent-context.d.ts.map +1 -0
  192. package/apps/app-lifeops/src/actions/life-recent-context.js +84 -0
  193. package/apps/app-lifeops/src/actions/life-update-extractor.d.ts +27 -0
  194. package/apps/app-lifeops/src/actions/life-update-extractor.d.ts.map +1 -0
  195. package/apps/app-lifeops/src/actions/life-update-extractor.js +195 -0
  196. package/apps/app-lifeops/src/actions/life.d.ts +5 -0
  197. package/apps/app-lifeops/src/actions/life.d.ts.map +1 -0
  198. package/apps/app-lifeops/src/actions/life.extractor.d.ts +18 -0
  199. package/apps/app-lifeops/src/actions/life.extractor.d.ts.map +1 -0
  200. package/apps/app-lifeops/src/actions/life.extractor.js +363 -0
  201. package/apps/app-lifeops/src/actions/life.js +3323 -0
  202. package/apps/app-lifeops/src/actions/lifeops-extraction-config.d.ts +16 -0
  203. package/apps/app-lifeops/src/actions/lifeops-extraction-config.d.ts.map +1 -0
  204. package/apps/app-lifeops/src/actions/lifeops-extraction-config.js +25 -0
  205. package/apps/app-lifeops/src/actions/lifeops-google-helpers.d.ts +62 -0
  206. package/apps/app-lifeops/src/actions/lifeops-google-helpers.d.ts.map +1 -0
  207. package/apps/app-lifeops/src/actions/lifeops-google-helpers.js +615 -0
  208. package/apps/app-lifeops/src/actions/list-remote-sessions.d.ts +6 -0
  209. package/apps/app-lifeops/src/actions/list-remote-sessions.d.ts.map +1 -0
  210. package/apps/app-lifeops/src/actions/list-remote-sessions.js +45 -0
  211. package/apps/app-lifeops/src/actions/non-actionable-request.d.ts +6 -0
  212. package/apps/app-lifeops/src/actions/non-actionable-request.d.ts.map +1 -0
  213. package/apps/app-lifeops/src/actions/non-actionable-request.js +33 -0
  214. package/apps/app-lifeops/src/actions/password-manager.d.ts +3 -0
  215. package/apps/app-lifeops/src/actions/password-manager.d.ts.map +1 -0
  216. package/apps/app-lifeops/src/actions/password-manager.js +233 -0
  217. package/apps/app-lifeops/src/actions/relationships.d.ts +11 -0
  218. package/apps/app-lifeops/src/actions/relationships.d.ts.map +1 -0
  219. package/apps/app-lifeops/src/actions/relationships.js +660 -0
  220. package/apps/app-lifeops/src/actions/remote-desktop.d.ts +3 -0
  221. package/apps/app-lifeops/src/actions/remote-desktop.d.ts.map +1 -0
  222. package/apps/app-lifeops/src/actions/remote-desktop.js +283 -0
  223. package/apps/app-lifeops/src/actions/revoke-remote-session.d.ts +6 -0
  224. package/apps/app-lifeops/src/actions/revoke-remote-session.d.ts.map +1 -0
  225. package/apps/app-lifeops/src/actions/revoke-remote-session.js +73 -0
  226. package/apps/app-lifeops/src/actions/scheduling.d.ts +55 -0
  227. package/apps/app-lifeops/src/actions/scheduling.d.ts.map +1 -0
  228. package/apps/app-lifeops/src/actions/scheduling.js +922 -0
  229. package/apps/app-lifeops/src/actions/screen-time.d.ts +8 -0
  230. package/apps/app-lifeops/src/actions/screen-time.d.ts.map +1 -0
  231. package/apps/app-lifeops/src/actions/screen-time.js +237 -0
  232. package/apps/app-lifeops/src/actions/search-across-channels.d.ts +13 -0
  233. package/apps/app-lifeops/src/actions/search-across-channels.d.ts.map +1 -0
  234. package/apps/app-lifeops/src/actions/search-across-channels.js +340 -0
  235. package/apps/app-lifeops/src/actions/start-remote-session.d.ts +14 -0
  236. package/apps/app-lifeops/src/actions/start-remote-session.d.ts.map +1 -0
  237. package/apps/app-lifeops/src/actions/start-remote-session.js +138 -0
  238. package/apps/app-lifeops/src/actions/subscriptions.d.ts +5 -0
  239. package/apps/app-lifeops/src/actions/subscriptions.d.ts.map +1 -0
  240. package/apps/app-lifeops/src/actions/subscriptions.js +251 -0
  241. package/apps/app-lifeops/src/actions/timezone-normalization.d.ts +3 -0
  242. package/apps/app-lifeops/src/actions/timezone-normalization.d.ts.map +1 -0
  243. package/apps/app-lifeops/src/actions/timezone-normalization.js +105 -0
  244. package/apps/app-lifeops/src/actions/twilio-call.d.ts +20 -0
  245. package/apps/app-lifeops/src/actions/twilio-call.d.ts.map +1 -0
  246. package/apps/app-lifeops/src/actions/twilio-call.js +555 -0
  247. package/apps/app-lifeops/src/actions/update-owner-profile.d.ts +5 -0
  248. package/apps/app-lifeops/src/actions/update-owner-profile.d.ts.map +1 -0
  249. package/apps/app-lifeops/src/actions/update-owner-profile.js +153 -0
  250. package/apps/app-lifeops/src/actions/website-blocker.d.ts +14 -0
  251. package/apps/app-lifeops/src/actions/website-blocker.d.ts.map +1 -0
  252. package/apps/app-lifeops/src/actions/website-blocker.js +626 -0
  253. package/apps/app-lifeops/src/actions/x-read.d.ts +3 -0
  254. package/apps/app-lifeops/src/actions/x-read.d.ts.map +1 -0
  255. package/apps/app-lifeops/src/actions/x-read.js +391 -0
  256. package/apps/app-lifeops/src/activity-profile/activity-tracker-repo.d.ts +28 -0
  257. package/apps/app-lifeops/src/activity-profile/activity-tracker-repo.d.ts.map +1 -0
  258. package/apps/app-lifeops/src/activity-profile/activity-tracker-repo.js +62 -0
  259. package/apps/app-lifeops/src/activity-profile/activity-tracker-reporting.d.ts +45 -0
  260. package/apps/app-lifeops/src/activity-profile/activity-tracker-reporting.d.ts.map +1 -0
  261. package/apps/app-lifeops/src/activity-profile/activity-tracker-reporting.js +112 -0
  262. package/apps/app-lifeops/src/activity-profile/activity-tracker-service.d.ts +26 -0
  263. package/apps/app-lifeops/src/activity-profile/activity-tracker-service.d.ts.map +1 -0
  264. package/apps/app-lifeops/src/activity-profile/activity-tracker-service.js +84 -0
  265. package/apps/app-lifeops/src/activity-profile/analyzer.d.ts +23 -0
  266. package/apps/app-lifeops/src/activity-profile/analyzer.d.ts.map +1 -0
  267. package/apps/app-lifeops/src/activity-profile/analyzer.js +544 -0
  268. package/apps/app-lifeops/src/activity-profile/proactive-planner.d.ts +49 -0
  269. package/apps/app-lifeops/src/activity-profile/proactive-planner.d.ts.map +1 -0
  270. package/apps/app-lifeops/src/activity-profile/proactive-planner.js +458 -0
  271. package/apps/app-lifeops/src/activity-profile/proactive-worker.d.ts +32 -0
  272. package/apps/app-lifeops/src/activity-profile/proactive-worker.d.ts.map +1 -0
  273. package/apps/app-lifeops/src/activity-profile/proactive-worker.js +571 -0
  274. package/apps/app-lifeops/src/activity-profile/profile-metadata.d.ts +10 -0
  275. package/apps/app-lifeops/src/activity-profile/profile-metadata.d.ts.map +1 -0
  276. package/apps/app-lifeops/src/activity-profile/profile-metadata.js +25 -0
  277. package/apps/app-lifeops/src/activity-profile/redactor.d.ts +18 -0
  278. package/apps/app-lifeops/src/activity-profile/redactor.d.ts.map +1 -0
  279. package/apps/app-lifeops/src/activity-profile/redactor.js +39 -0
  280. package/apps/app-lifeops/src/activity-profile/service.d.ts +11 -0
  281. package/apps/app-lifeops/src/activity-profile/service.d.ts.map +1 -0
  282. package/apps/app-lifeops/src/activity-profile/service.js +229 -0
  283. package/apps/app-lifeops/src/activity-profile/types.d.ts +89 -0
  284. package/apps/app-lifeops/src/activity-profile/types.d.ts.map +1 -0
  285. package/apps/app-lifeops/src/activity-profile/types.js +29 -0
  286. package/apps/app-lifeops/src/app-blocker/access.d.ts +8 -0
  287. package/apps/app-lifeops/src/app-blocker/access.d.ts.map +1 -0
  288. package/apps/app-lifeops/src/app-blocker/access.js +28 -0
  289. package/apps/app-lifeops/src/app-blocker/engine.d.ts +10 -0
  290. package/apps/app-lifeops/src/app-blocker/engine.d.ts.map +1 -0
  291. package/apps/app-lifeops/src/app-blocker/engine.js +43 -0
  292. package/apps/app-lifeops/src/dossier/action.d.ts +9 -0
  293. package/apps/app-lifeops/src/dossier/action.d.ts.map +1 -0
  294. package/apps/app-lifeops/src/dossier/action.js +88 -0
  295. package/apps/app-lifeops/src/dossier/service.d.ts +145 -0
  296. package/apps/app-lifeops/src/dossier/service.d.ts.map +1 -0
  297. package/apps/app-lifeops/src/dossier/service.js +346 -0
  298. package/apps/app-lifeops/src/followup/actions/listOverdueFollowups.d.ts +3 -0
  299. package/apps/app-lifeops/src/followup/actions/listOverdueFollowups.d.ts.map +1 -0
  300. package/apps/app-lifeops/src/followup/actions/listOverdueFollowups.js +48 -0
  301. package/apps/app-lifeops/src/followup/actions/markFollowupDone.d.ts +3 -0
  302. package/apps/app-lifeops/src/followup/actions/markFollowupDone.d.ts.map +1 -0
  303. package/apps/app-lifeops/src/followup/actions/markFollowupDone.js +173 -0
  304. package/apps/app-lifeops/src/followup/actions/setFollowupThreshold.d.ts +3 -0
  305. package/apps/app-lifeops/src/followup/actions/setFollowupThreshold.d.ts.map +1 -0
  306. package/apps/app-lifeops/src/followup/actions/setFollowupThreshold.js +172 -0
  307. package/apps/app-lifeops/src/followup/followup-tracker.d.ts +81 -0
  308. package/apps/app-lifeops/src/followup/followup-tracker.d.ts.map +1 -0
  309. package/apps/app-lifeops/src/followup/followup-tracker.js +251 -0
  310. package/apps/app-lifeops/src/followup/index.d.ts +5 -0
  311. package/apps/app-lifeops/src/followup/index.d.ts.map +1 -0
  312. package/apps/app-lifeops/src/followup/index.js +4 -0
  313. package/apps/app-lifeops/src/inbox/channel-deep-links.d.ts +20 -0
  314. package/apps/app-lifeops/src/inbox/channel-deep-links.d.ts.map +1 -0
  315. package/apps/app-lifeops/src/inbox/channel-deep-links.js +185 -0
  316. package/apps/app-lifeops/src/inbox/config.d.ts +7 -0
  317. package/apps/app-lifeops/src/inbox/config.d.ts.map +1 -0
  318. package/apps/app-lifeops/src/inbox/config.js +59 -0
  319. package/apps/app-lifeops/src/inbox/message-fetcher.d.ts +33 -0
  320. package/apps/app-lifeops/src/inbox/message-fetcher.d.ts.map +1 -0
  321. package/apps/app-lifeops/src/inbox/message-fetcher.js +252 -0
  322. package/apps/app-lifeops/src/inbox/reflection.d.ts +40 -0
  323. package/apps/app-lifeops/src/inbox/reflection.d.ts.map +1 -0
  324. package/apps/app-lifeops/src/inbox/reflection.js +115 -0
  325. package/apps/app-lifeops/src/inbox/repository.d.ts +52 -0
  326. package/apps/app-lifeops/src/inbox/repository.d.ts.map +1 -0
  327. package/apps/app-lifeops/src/inbox/repository.js +262 -0
  328. package/apps/app-lifeops/src/inbox/triage-classifier.d.ts +15 -0
  329. package/apps/app-lifeops/src/inbox/triage-classifier.d.ts.map +1 -0
  330. package/apps/app-lifeops/src/inbox/triage-classifier.js +176 -0
  331. package/apps/app-lifeops/src/inbox/types.d.ts +92 -0
  332. package/apps/app-lifeops/src/inbox/types.d.ts.map +1 -0
  333. package/apps/app-lifeops/src/inbox/types.js +1 -0
  334. package/apps/app-lifeops/src/lifeops/app-state.d.ts +11 -0
  335. package/apps/app-lifeops/src/lifeops/app-state.d.ts.map +1 -0
  336. package/apps/app-lifeops/src/lifeops/app-state.js +35 -0
  337. package/apps/app-lifeops/src/lifeops/apple-reminders.d.ts +58 -0
  338. package/apps/app-lifeops/src/lifeops/apple-reminders.d.ts.map +1 -0
  339. package/apps/app-lifeops/src/lifeops/apple-reminders.js +325 -0
  340. package/apps/app-lifeops/src/lifeops/approval-queue.types.d.ts +162 -0
  341. package/apps/app-lifeops/src/lifeops/approval-queue.types.d.ts.map +1 -0
  342. package/apps/app-lifeops/src/lifeops/approval-queue.types.js +41 -0
  343. package/apps/app-lifeops/src/lifeops/autofill-whitelist.d.ts +24 -0
  344. package/apps/app-lifeops/src/lifeops/autofill-whitelist.d.ts.map +1 -0
  345. package/apps/app-lifeops/src/lifeops/autofill-whitelist.js +125 -0
  346. package/apps/app-lifeops/src/lifeops/background-planner-dispatch.d.ts +59 -0
  347. package/apps/app-lifeops/src/lifeops/background-planner-dispatch.d.ts.map +1 -0
  348. package/apps/app-lifeops/src/lifeops/background-planner-dispatch.js +129 -0
  349. package/apps/app-lifeops/src/lifeops/background-planner.d.ts +141 -0
  350. package/apps/app-lifeops/src/lifeops/background-planner.d.ts.map +1 -0
  351. package/apps/app-lifeops/src/lifeops/background-planner.js +308 -0
  352. package/apps/app-lifeops/src/lifeops/browser-extension-store.d.ts +61 -0
  353. package/apps/app-lifeops/src/lifeops/browser-extension-store.d.ts.map +1 -0
  354. package/apps/app-lifeops/src/lifeops/browser-extension-store.js +181 -0
  355. package/apps/app-lifeops/src/lifeops/calendly-client.d.ts +61 -0
  356. package/apps/app-lifeops/src/lifeops/calendly-client.d.ts.map +1 -0
  357. package/apps/app-lifeops/src/lifeops/calendly-client.js +220 -0
  358. package/apps/app-lifeops/src/lifeops/checkin/checkin-service.d.ts +24 -0
  359. package/apps/app-lifeops/src/lifeops/checkin/checkin-service.d.ts.map +1 -0
  360. package/apps/app-lifeops/src/lifeops/checkin/checkin-service.js +216 -0
  361. package/apps/app-lifeops/src/lifeops/checkin/schedule-resolver.d.ts +14 -0
  362. package/apps/app-lifeops/src/lifeops/checkin/schedule-resolver.d.ts.map +1 -0
  363. package/apps/app-lifeops/src/lifeops/checkin/schedule-resolver.js +33 -0
  364. package/apps/app-lifeops/src/lifeops/checkin/types.d.ts +42 -0
  365. package/apps/app-lifeops/src/lifeops/checkin/types.d.ts.map +1 -0
  366. package/apps/app-lifeops/src/lifeops/checkin/types.js +7 -0
  367. package/apps/app-lifeops/src/lifeops/defaults.d.ts +24 -0
  368. package/apps/app-lifeops/src/lifeops/defaults.d.ts.map +1 -0
  369. package/apps/app-lifeops/src/lifeops/defaults.js +212 -0
  370. package/apps/app-lifeops/src/lifeops/discord-browser-scraper.d.ts +106 -0
  371. package/apps/app-lifeops/src/lifeops/discord-browser-scraper.d.ts.map +1 -0
  372. package/apps/app-lifeops/src/lifeops/discord-browser-scraper.js +489 -0
  373. package/apps/app-lifeops/src/lifeops/enforcement-windows.d.ts +34 -0
  374. package/apps/app-lifeops/src/lifeops/enforcement-windows.d.ts.map +1 -0
  375. package/apps/app-lifeops/src/lifeops/enforcement-windows.js +110 -0
  376. package/apps/app-lifeops/src/lifeops/engine.d.ts +8 -0
  377. package/apps/app-lifeops/src/lifeops/engine.d.ts.map +1 -0
  378. package/apps/app-lifeops/src/lifeops/engine.js +389 -0
  379. package/apps/app-lifeops/src/lifeops/goal-grounding.d.ts +54 -0
  380. package/apps/app-lifeops/src/lifeops/goal-grounding.d.ts.map +1 -0
  381. package/apps/app-lifeops/src/lifeops/goal-grounding.js +147 -0
  382. package/apps/app-lifeops/src/lifeops/goal-semantic-evaluator.d.ts +12 -0
  383. package/apps/app-lifeops/src/lifeops/goal-semantic-evaluator.d.ts.map +1 -0
  384. package/apps/app-lifeops/src/lifeops/goal-semantic-evaluator.js +154 -0
  385. package/apps/app-lifeops/src/lifeops/google-api-error.d.ts +7 -0
  386. package/apps/app-lifeops/src/lifeops/google-api-error.d.ts.map +1 -0
  387. package/apps/app-lifeops/src/lifeops/google-api-error.js +35 -0
  388. package/apps/app-lifeops/src/lifeops/google-calendar.d.ts +53 -0
  389. package/apps/app-lifeops/src/lifeops/google-calendar.d.ts.map +1 -0
  390. package/apps/app-lifeops/src/lifeops/google-calendar.js +268 -0
  391. package/apps/app-lifeops/src/lifeops/google-connector-gateway.d.ts +32 -0
  392. package/apps/app-lifeops/src/lifeops/google-connector-gateway.d.ts.map +1 -0
  393. package/apps/app-lifeops/src/lifeops/google-connector-gateway.js +88 -0
  394. package/apps/app-lifeops/src/lifeops/google-drive.d.ts +103 -0
  395. package/apps/app-lifeops/src/lifeops/google-drive.d.ts.map +1 -0
  396. package/apps/app-lifeops/src/lifeops/google-drive.js +265 -0
  397. package/apps/app-lifeops/src/lifeops/google-fetch.d.ts +16 -0
  398. package/apps/app-lifeops/src/lifeops/google-fetch.d.ts.map +1 -0
  399. package/apps/app-lifeops/src/lifeops/google-fetch.js +96 -0
  400. package/apps/app-lifeops/src/lifeops/google-gmail.d.ts +54 -0
  401. package/apps/app-lifeops/src/lifeops/google-gmail.d.ts.map +1 -0
  402. package/apps/app-lifeops/src/lifeops/google-gmail.js +456 -0
  403. package/apps/app-lifeops/src/lifeops/google-managed-client.d.ts +138 -0
  404. package/apps/app-lifeops/src/lifeops/google-managed-client.d.ts.map +1 -0
  405. package/apps/app-lifeops/src/lifeops/google-managed-client.js +314 -0
  406. package/apps/app-lifeops/src/lifeops/google-oauth.d.ts +65 -0
  407. package/apps/app-lifeops/src/lifeops/google-oauth.d.ts.map +1 -0
  408. package/apps/app-lifeops/src/lifeops/google-oauth.js +577 -0
  409. package/apps/app-lifeops/src/lifeops/google-scopes.d.ts +13 -0
  410. package/apps/app-lifeops/src/lifeops/google-scopes.d.ts.map +1 -0
  411. package/apps/app-lifeops/src/lifeops/google-scopes.js +96 -0
  412. package/apps/app-lifeops/src/lifeops/health-bridge.d.ts +57 -0
  413. package/apps/app-lifeops/src/lifeops/health-bridge.d.ts.map +1 -0
  414. package/apps/app-lifeops/src/lifeops/health-bridge.js +514 -0
  415. package/apps/app-lifeops/src/lifeops/imessage-bridge.d.ts +98 -0
  416. package/apps/app-lifeops/src/lifeops/imessage-bridge.d.ts.map +1 -0
  417. package/apps/app-lifeops/src/lifeops/imessage-bridge.js +537 -0
  418. package/apps/app-lifeops/src/lifeops/intent-sync.d.ts +56 -0
  419. package/apps/app-lifeops/src/lifeops/intent-sync.d.ts.map +1 -0
  420. package/apps/app-lifeops/src/lifeops/intent-sync.js +223 -0
  421. package/apps/app-lifeops/src/lifeops/notifications-push.d.ts +37 -0
  422. package/apps/app-lifeops/src/lifeops/notifications-push.d.ts.map +1 -0
  423. package/apps/app-lifeops/src/lifeops/notifications-push.js +90 -0
  424. package/apps/app-lifeops/src/lifeops/owner-profile.d.ts +43 -0
  425. package/apps/app-lifeops/src/lifeops/owner-profile.d.ts.map +1 -0
  426. package/apps/app-lifeops/src/lifeops/owner-profile.js +300 -0
  427. package/apps/app-lifeops/src/lifeops/password-manager-bridge.d.ts +49 -0
  428. package/apps/app-lifeops/src/lifeops/password-manager-bridge.d.ts.map +1 -0
  429. package/apps/app-lifeops/src/lifeops/password-manager-bridge.js +452 -0
  430. package/apps/app-lifeops/src/lifeops/remote-desktop.d.ts +37 -0
  431. package/apps/app-lifeops/src/lifeops/remote-desktop.d.ts.map +1 -0
  432. package/apps/app-lifeops/src/lifeops/remote-desktop.js +371 -0
  433. package/apps/app-lifeops/src/lifeops/repository.d.ts +290 -0
  434. package/apps/app-lifeops/src/lifeops/repository.d.ts.map +1 -0
  435. package/apps/app-lifeops/src/lifeops/repository.js +3958 -0
  436. package/apps/app-lifeops/src/lifeops/runtime.d.ts +15 -0
  437. package/apps/app-lifeops/src/lifeops/runtime.d.ts.map +1 -0
  438. package/apps/app-lifeops/src/lifeops/runtime.js +230 -0
  439. package/apps/app-lifeops/src/lifeops/schema.d.ts +5022 -0
  440. package/apps/app-lifeops/src/lifeops/schema.d.ts.map +1 -0
  441. package/apps/app-lifeops/src/lifeops/schema.js +207 -0
  442. package/apps/app-lifeops/src/lifeops/screen-context.d.ts +52 -0
  443. package/apps/app-lifeops/src/lifeops/screen-context.d.ts.map +1 -0
  444. package/apps/app-lifeops/src/lifeops/screen-context.js +332 -0
  445. package/apps/app-lifeops/src/lifeops/seed-routines.d.ts +20 -0
  446. package/apps/app-lifeops/src/lifeops/seed-routines.d.ts.map +1 -0
  447. package/apps/app-lifeops/src/lifeops/seed-routines.js +111 -0
  448. package/apps/app-lifeops/src/lifeops/service-constants.d.ts +51 -0
  449. package/apps/app-lifeops/src/lifeops/service-constants.d.ts.map +1 -0
  450. package/apps/app-lifeops/src/lifeops/service-constants.js +111 -0
  451. package/apps/app-lifeops/src/lifeops/service-helpers-browser.d.ts +40 -0
  452. package/apps/app-lifeops/src/lifeops/service-helpers-browser.d.ts.map +1 -0
  453. package/apps/app-lifeops/src/lifeops/service-helpers-browser.js +288 -0
  454. package/apps/app-lifeops/src/lifeops/service-helpers-misc.d.ts +68 -0
  455. package/apps/app-lifeops/src/lifeops/service-helpers-misc.d.ts.map +1 -0
  456. package/apps/app-lifeops/src/lifeops/service-helpers-misc.js +493 -0
  457. package/apps/app-lifeops/src/lifeops/service-helpers-occurrence.d.ts +17 -0
  458. package/apps/app-lifeops/src/lifeops/service-helpers-occurrence.d.ts.map +1 -0
  459. package/apps/app-lifeops/src/lifeops/service-helpers-occurrence.js +214 -0
  460. package/apps/app-lifeops/src/lifeops/service-helpers-reminder.d.ts +24 -0
  461. package/apps/app-lifeops/src/lifeops/service-helpers-reminder.d.ts.map +1 -0
  462. package/apps/app-lifeops/src/lifeops/service-helpers-reminder.js +170 -0
  463. package/apps/app-lifeops/src/lifeops/service-mixin-browser.d.ts +2 -0
  464. package/apps/app-lifeops/src/lifeops/service-mixin-browser.d.ts.map +1 -0
  465. package/apps/app-lifeops/src/lifeops/service-mixin-browser.js +769 -0
  466. package/apps/app-lifeops/src/lifeops/service-mixin-calendar.d.ts +2 -0
  467. package/apps/app-lifeops/src/lifeops/service-mixin-calendar.d.ts.map +1 -0
  468. package/apps/app-lifeops/src/lifeops/service-mixin-calendar.js +513 -0
  469. package/apps/app-lifeops/src/lifeops/service-mixin-core.d.ts +49 -0
  470. package/apps/app-lifeops/src/lifeops/service-mixin-core.d.ts.map +1 -0
  471. package/apps/app-lifeops/src/lifeops/service-mixin-core.js +433 -0
  472. package/apps/app-lifeops/src/lifeops/service-mixin-definitions.d.ts +2 -0
  473. package/apps/app-lifeops/src/lifeops/service-mixin-definitions.d.ts.map +1 -0
  474. package/apps/app-lifeops/src/lifeops/service-mixin-definitions.js +353 -0
  475. package/apps/app-lifeops/src/lifeops/service-mixin-discord.d.ts +2 -0
  476. package/apps/app-lifeops/src/lifeops/service-mixin-discord.d.ts.map +1 -0
  477. package/apps/app-lifeops/src/lifeops/service-mixin-discord.js +783 -0
  478. package/apps/app-lifeops/src/lifeops/service-mixin-dossier.d.ts +2 -0
  479. package/apps/app-lifeops/src/lifeops/service-mixin-dossier.d.ts.map +1 -0
  480. package/apps/app-lifeops/src/lifeops/service-mixin-dossier.js +262 -0
  481. package/apps/app-lifeops/src/lifeops/service-mixin-drive.d.ts +12 -0
  482. package/apps/app-lifeops/src/lifeops/service-mixin-drive.d.ts.map +1 -0
  483. package/apps/app-lifeops/src/lifeops/service-mixin-drive.js +230 -0
  484. package/apps/app-lifeops/src/lifeops/service-mixin-gmail.d.ts +2 -0
  485. package/apps/app-lifeops/src/lifeops/service-mixin-gmail.d.ts.map +1 -0
  486. package/apps/app-lifeops/src/lifeops/service-mixin-gmail.js +1013 -0
  487. package/apps/app-lifeops/src/lifeops/service-mixin-goals.d.ts +2 -0
  488. package/apps/app-lifeops/src/lifeops/service-mixin-goals.d.ts.map +1 -0
  489. package/apps/app-lifeops/src/lifeops/service-mixin-goals.js +714 -0
  490. package/apps/app-lifeops/src/lifeops/service-mixin-google.d.ts +2 -0
  491. package/apps/app-lifeops/src/lifeops/service-mixin-google.d.ts.map +1 -0
  492. package/apps/app-lifeops/src/lifeops/service-mixin-google.js +793 -0
  493. package/apps/app-lifeops/src/lifeops/service-mixin-health.d.ts +2 -0
  494. package/apps/app-lifeops/src/lifeops/service-mixin-health.d.ts.map +1 -0
  495. package/apps/app-lifeops/src/lifeops/service-mixin-health.js +55 -0
  496. package/apps/app-lifeops/src/lifeops/service-mixin-imessage.d.ts +3 -0
  497. package/apps/app-lifeops/src/lifeops/service-mixin-imessage.d.ts.map +1 -0
  498. package/apps/app-lifeops/src/lifeops/service-mixin-imessage.js +106 -0
  499. package/apps/app-lifeops/src/lifeops/service-mixin-relationships.d.ts +2 -0
  500. package/apps/app-lifeops/src/lifeops/service-mixin-relationships.d.ts.map +1 -0
  501. package/apps/app-lifeops/src/lifeops/service-mixin-relationships.js +109 -0
  502. package/apps/app-lifeops/src/lifeops/service-mixin-reminders.d.ts +37 -0
  503. package/apps/app-lifeops/src/lifeops/service-mixin-reminders.d.ts.map +1 -0
  504. package/apps/app-lifeops/src/lifeops/service-mixin-reminders.js +2436 -0
  505. package/apps/app-lifeops/src/lifeops/service-mixin-scheduling.d.ts +2 -0
  506. package/apps/app-lifeops/src/lifeops/service-mixin-scheduling.d.ts.map +1 -0
  507. package/apps/app-lifeops/src/lifeops/service-mixin-scheduling.js +149 -0
  508. package/apps/app-lifeops/src/lifeops/service-mixin-screentime.d.ts +2 -0
  509. package/apps/app-lifeops/src/lifeops/service-mixin-screentime.d.ts.map +1 -0
  510. package/apps/app-lifeops/src/lifeops/service-mixin-screentime.js +97 -0
  511. package/apps/app-lifeops/src/lifeops/service-mixin-signal.d.ts +2 -0
  512. package/apps/app-lifeops/src/lifeops/service-mixin-signal.d.ts.map +1 -0
  513. package/apps/app-lifeops/src/lifeops/service-mixin-signal.js +264 -0
  514. package/apps/app-lifeops/src/lifeops/service-mixin-subscriptions.d.ts +2 -0
  515. package/apps/app-lifeops/src/lifeops/service-mixin-subscriptions.d.ts.map +1 -0
  516. package/apps/app-lifeops/src/lifeops/service-mixin-subscriptions.js +763 -0
  517. package/apps/app-lifeops/src/lifeops/service-mixin-telegram.d.ts +2 -0
  518. package/apps/app-lifeops/src/lifeops/service-mixin-telegram.d.ts.map +1 -0
  519. package/apps/app-lifeops/src/lifeops/service-mixin-telegram.js +270 -0
  520. package/apps/app-lifeops/src/lifeops/service-mixin-whatsapp.d.ts +2 -0
  521. package/apps/app-lifeops/src/lifeops/service-mixin-whatsapp.d.ts.map +1 -0
  522. package/apps/app-lifeops/src/lifeops/service-mixin-whatsapp.js +56 -0
  523. package/apps/app-lifeops/src/lifeops/service-mixin-workflows.d.ts +2 -0
  524. package/apps/app-lifeops/src/lifeops/service-mixin-workflows.d.ts.map +1 -0
  525. package/apps/app-lifeops/src/lifeops/service-mixin-workflows.js +411 -0
  526. package/apps/app-lifeops/src/lifeops/service-mixin-x-read.d.ts +2 -0
  527. package/apps/app-lifeops/src/lifeops/service-mixin-x-read.d.ts.map +1 -0
  528. package/apps/app-lifeops/src/lifeops/service-mixin-x-read.js +190 -0
  529. package/apps/app-lifeops/src/lifeops/service-mixin-x.d.ts +2 -0
  530. package/apps/app-lifeops/src/lifeops/service-mixin-x.d.ts.map +1 -0
  531. package/apps/app-lifeops/src/lifeops/service-mixin-x.js +120 -0
  532. package/apps/app-lifeops/src/lifeops/service-normalize-calendar.d.ts +42 -0
  533. package/apps/app-lifeops/src/lifeops/service-normalize-calendar.d.ts.map +1 -0
  534. package/apps/app-lifeops/src/lifeops/service-normalize-calendar.js +294 -0
  535. package/apps/app-lifeops/src/lifeops/service-normalize-connector.d.ts +18 -0
  536. package/apps/app-lifeops/src/lifeops/service-normalize-connector.d.ts.map +1 -0
  537. package/apps/app-lifeops/src/lifeops/service-normalize-connector.js +317 -0
  538. package/apps/app-lifeops/src/lifeops/service-normalize-gmail.d.ts +63 -0
  539. package/apps/app-lifeops/src/lifeops/service-normalize-gmail.d.ts.map +1 -0
  540. package/apps/app-lifeops/src/lifeops/service-normalize-gmail.js +553 -0
  541. package/apps/app-lifeops/src/lifeops/service-normalize-task.d.ts +8 -0
  542. package/apps/app-lifeops/src/lifeops/service-normalize-task.d.ts.map +1 -0
  543. package/apps/app-lifeops/src/lifeops/service-normalize-task.js +333 -0
  544. package/apps/app-lifeops/src/lifeops/service-normalize.d.ts +27 -0
  545. package/apps/app-lifeops/src/lifeops/service-normalize.d.ts.map +1 -0
  546. package/apps/app-lifeops/src/lifeops/service-normalize.js +193 -0
  547. package/apps/app-lifeops/src/lifeops/service-types.d.ts +43 -0
  548. package/apps/app-lifeops/src/lifeops/service-types.d.ts.map +1 -0
  549. package/apps/app-lifeops/src/lifeops/service-types.js +8 -0
  550. package/apps/app-lifeops/src/lifeops/service.d.ts +1632 -0
  551. package/apps/app-lifeops/src/lifeops/service.d.ts.map +1 -0
  552. package/apps/app-lifeops/src/lifeops/service.js +43 -0
  553. package/apps/app-lifeops/src/lifeops/signal-auth.d.ts +26 -0
  554. package/apps/app-lifeops/src/lifeops/signal-auth.d.ts.map +1 -0
  555. package/apps/app-lifeops/src/lifeops/signal-auth.js +300 -0
  556. package/apps/app-lifeops/src/lifeops/signal-runtime-config.d.ts +13 -0
  557. package/apps/app-lifeops/src/lifeops/signal-runtime-config.d.ts.map +1 -0
  558. package/apps/app-lifeops/src/lifeops/signal-runtime-config.js +42 -0
  559. package/apps/app-lifeops/src/lifeops/sql.d.ts +26 -0
  560. package/apps/app-lifeops/src/lifeops/sql.d.ts.map +1 -0
  561. package/apps/app-lifeops/src/lifeops/sql.js +127 -0
  562. package/apps/app-lifeops/src/lifeops/subscriptions-playbooks.d.ts +54 -0
  563. package/apps/app-lifeops/src/lifeops/subscriptions-playbooks.d.ts.map +1 -0
  564. package/apps/app-lifeops/src/lifeops/subscriptions-playbooks.js +213 -0
  565. package/apps/app-lifeops/src/lifeops/subscriptions-types.d.ts +80 -0
  566. package/apps/app-lifeops/src/lifeops/subscriptions-types.d.ts.map +1 -0
  567. package/apps/app-lifeops/src/lifeops/subscriptions-types.js +1 -0
  568. package/apps/app-lifeops/src/lifeops/telegram-auth.d.ts +62 -0
  569. package/apps/app-lifeops/src/lifeops/telegram-auth.d.ts.map +1 -0
  570. package/apps/app-lifeops/src/lifeops/telegram-auth.js +496 -0
  571. package/apps/app-lifeops/src/lifeops/telegram-local-client.d.ts +118 -0
  572. package/apps/app-lifeops/src/lifeops/telegram-local-client.d.ts.map +1 -0
  573. package/apps/app-lifeops/src/lifeops/telegram-local-client.js +376 -0
  574. package/apps/app-lifeops/src/lifeops/time.d.ts +17 -0
  575. package/apps/app-lifeops/src/lifeops/time.d.ts.map +1 -0
  576. package/apps/app-lifeops/src/lifeops/time.js +132 -0
  577. package/apps/app-lifeops/src/lifeops/twilio.d.ts +25 -0
  578. package/apps/app-lifeops/src/lifeops/twilio.d.ts.map +1 -0
  579. package/apps/app-lifeops/src/lifeops/twilio.js +160 -0
  580. package/apps/app-lifeops/src/lifeops/unified-search.d.ts +88 -0
  581. package/apps/app-lifeops/src/lifeops/unified-search.d.ts.map +1 -0
  582. package/apps/app-lifeops/src/lifeops/unified-search.js +431 -0
  583. package/apps/app-lifeops/src/lifeops/whatsapp-client.d.ts +47 -0
  584. package/apps/app-lifeops/src/lifeops/whatsapp-client.d.ts.map +1 -0
  585. package/apps/app-lifeops/src/lifeops/whatsapp-client.js +200 -0
  586. package/apps/app-lifeops/src/lifeops/x-poster.d.ts +41 -0
  587. package/apps/app-lifeops/src/lifeops/x-poster.d.ts.map +1 -0
  588. package/apps/app-lifeops/src/lifeops/x-poster.js +218 -0
  589. package/apps/app-lifeops/src/lifeops/x-reader.d.ts +70 -0
  590. package/apps/app-lifeops/src/lifeops/x-reader.d.ts.map +1 -0
  591. package/apps/app-lifeops/src/lifeops/x-reader.js +262 -0
  592. package/apps/app-lifeops/src/plugin.d.ts +33 -0
  593. package/apps/app-lifeops/src/plugin.d.ts.map +1 -0
  594. package/apps/app-lifeops/src/plugin.js +318 -0
  595. package/apps/app-lifeops/src/provider.d.ts +3 -0
  596. package/apps/app-lifeops/src/provider.d.ts.map +1 -0
  597. package/apps/app-lifeops/src/provider.js +76 -0
  598. package/apps/app-lifeops/src/providers/activity-profile.d.ts +3 -0
  599. package/apps/app-lifeops/src/providers/activity-profile.d.ts.map +1 -0
  600. package/apps/app-lifeops/src/providers/activity-profile.js +140 -0
  601. package/apps/app-lifeops/src/providers/app-blocker.d.ts +3 -0
  602. package/apps/app-lifeops/src/providers/app-blocker.d.ts.map +1 -0
  603. package/apps/app-lifeops/src/providers/app-blocker.js +86 -0
  604. package/apps/app-lifeops/src/providers/cross-channel-context.d.ts +29 -0
  605. package/apps/app-lifeops/src/providers/cross-channel-context.d.ts.map +1 -0
  606. package/apps/app-lifeops/src/providers/cross-channel-context.js +193 -0
  607. package/apps/app-lifeops/src/providers/inbox-triage.d.ts +3 -0
  608. package/apps/app-lifeops/src/providers/inbox-triage.d.ts.map +1 -0
  609. package/apps/app-lifeops/src/providers/inbox-triage.js +90 -0
  610. package/apps/app-lifeops/src/providers/lifeops.d.ts +3 -0
  611. package/apps/app-lifeops/src/providers/lifeops.d.ts.map +1 -0
  612. package/apps/app-lifeops/src/providers/lifeops.js +194 -0
  613. package/apps/app-lifeops/src/providers/website-blocker.d.ts +4 -0
  614. package/apps/app-lifeops/src/providers/website-blocker.d.ts.map +1 -0
  615. package/apps/app-lifeops/src/providers/website-blocker.js +117 -0
  616. package/apps/app-lifeops/src/public.d.ts +4 -0
  617. package/apps/app-lifeops/src/public.d.ts.map +1 -0
  618. package/apps/app-lifeops/src/public.js +3 -0
  619. package/apps/app-lifeops/src/remote/pairing-code.d.ts +39 -0
  620. package/apps/app-lifeops/src/remote/pairing-code.d.ts.map +1 -0
  621. package/apps/app-lifeops/src/remote/pairing-code.js +76 -0
  622. package/apps/app-lifeops/src/remote/remote-session-service.d.ts +107 -0
  623. package/apps/app-lifeops/src/remote/remote-session-service.d.ts.map +1 -0
  624. package/apps/app-lifeops/src/remote/remote-session-service.js +253 -0
  625. package/apps/app-lifeops/src/routes/lifeops-browser-packaging.d.ts +16 -0
  626. package/apps/app-lifeops/src/routes/lifeops-browser-packaging.d.ts.map +1 -0
  627. package/apps/app-lifeops/src/routes/lifeops-browser-packaging.js +311 -0
  628. package/apps/app-lifeops/src/routes/lifeops-routes.d.ts +20 -0
  629. package/apps/app-lifeops/src/routes/lifeops-routes.d.ts.map +1 -0
  630. package/apps/app-lifeops/src/routes/lifeops-routes.js +1409 -0
  631. package/apps/app-lifeops/src/routes/plugin.d.ts +18 -0
  632. package/apps/app-lifeops/src/routes/plugin.d.ts.map +1 -0
  633. package/apps/app-lifeops/src/routes/plugin.js +270 -0
  634. package/apps/app-lifeops/src/routes/website-blocker-routes.d.ts +7 -0
  635. package/apps/app-lifeops/src/routes/website-blocker-routes.d.ts.map +1 -0
  636. package/apps/app-lifeops/src/routes/website-blocker-routes.js +170 -0
  637. package/apps/app-lifeops/src/service.d.ts +8 -0
  638. package/apps/app-lifeops/src/service.d.ts.map +1 -0
  639. package/apps/app-lifeops/src/service.js +11 -0
  640. package/apps/app-lifeops/src/travel-time/action.d.ts +6 -0
  641. package/apps/app-lifeops/src/travel-time/action.d.ts.map +1 -0
  642. package/apps/app-lifeops/src/travel-time/action.js +81 -0
  643. package/apps/app-lifeops/src/travel-time/service.d.ts +61 -0
  644. package/apps/app-lifeops/src/travel-time/service.d.ts.map +1 -0
  645. package/apps/app-lifeops/src/travel-time/service.js +145 -0
  646. package/apps/app-lifeops/src/website-blocker/access.d.ts +8 -0
  647. package/apps/app-lifeops/src/website-blocker/access.d.ts.map +1 -0
  648. package/apps/app-lifeops/src/website-blocker/access.js +32 -0
  649. package/apps/app-lifeops/src/website-blocker/chat-integration/actions/blockUntilTaskComplete.d.ts +3 -0
  650. package/apps/app-lifeops/src/website-blocker/chat-integration/actions/blockUntilTaskComplete.d.ts.map +1 -0
  651. package/apps/app-lifeops/src/website-blocker/chat-integration/actions/blockUntilTaskComplete.js +228 -0
  652. package/apps/app-lifeops/src/website-blocker/chat-integration/actions/listActiveBlocks.d.ts +3 -0
  653. package/apps/app-lifeops/src/website-blocker/chat-integration/actions/listActiveBlocks.d.ts.map +1 -0
  654. package/apps/app-lifeops/src/website-blocker/chat-integration/actions/listActiveBlocks.js +57 -0
  655. package/apps/app-lifeops/src/website-blocker/chat-integration/actions/releaseBlock.d.ts +3 -0
  656. package/apps/app-lifeops/src/website-blocker/chat-integration/actions/releaseBlock.d.ts.map +1 -0
  657. package/apps/app-lifeops/src/website-blocker/chat-integration/actions/releaseBlock.js +98 -0
  658. package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-reconciler.d.ts +7 -0
  659. package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-reconciler.d.ts.map +1 -0
  660. package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-reconciler.js +111 -0
  661. package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-schema.d.ts +39 -0
  662. package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-schema.d.ts.map +1 -0
  663. package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-schema.js +123 -0
  664. package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-service.d.ts +21 -0
  665. package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-service.d.ts.map +1 -0
  666. package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-service.js +268 -0
  667. package/apps/app-lifeops/src/website-blocker/chat-integration/index.d.ts +8 -0
  668. package/apps/app-lifeops/src/website-blocker/chat-integration/index.d.ts.map +1 -0
  669. package/apps/app-lifeops/src/website-blocker/chat-integration/index.js +6 -0
  670. package/apps/app-lifeops/src/website-blocker/engine.d.ts +116 -0
  671. package/apps/app-lifeops/src/website-blocker/engine.d.ts.map +1 -0
  672. package/apps/app-lifeops/src/website-blocker/engine.js +934 -0
  673. package/apps/app-lifeops/src/website-blocker/permissions.d.ts +9 -0
  674. package/apps/app-lifeops/src/website-blocker/permissions.d.ts.map +1 -0
  675. package/apps/app-lifeops/src/website-blocker/permissions.js +1 -0
  676. package/apps/app-lifeops/src/website-blocker/public.d.ts +13 -0
  677. package/apps/app-lifeops/src/website-blocker/public.d.ts.map +1 -0
  678. package/apps/app-lifeops/src/website-blocker/public.js +10 -0
  679. package/apps/app-lifeops/src/website-blocker/roles.d.ts +13 -0
  680. package/apps/app-lifeops/src/website-blocker/roles.d.ts.map +1 -0
  681. package/apps/app-lifeops/src/website-blocker/roles.js +20 -0
  682. package/apps/app-lifeops/src/website-blocker/service.d.ts +21 -0
  683. package/apps/app-lifeops/src/website-blocker/service.d.ts.map +1 -0
  684. package/apps/app-lifeops/src/website-blocker/service.js +268 -0
  685. package/apps/app-steward/src/ApprovalQueue.d.ts +18 -0
  686. package/apps/app-steward/src/ApprovalQueue.d.ts.map +1 -0
  687. package/apps/app-steward/src/ApprovalQueue.js +139 -0
  688. package/apps/app-steward/src/StewardLogo.d.ts +11 -0
  689. package/apps/app-steward/src/StewardLogo.d.ts.map +1 -0
  690. package/apps/app-steward/src/StewardLogo.js +4 -0
  691. package/apps/app-steward/src/TransactionHistory.d.ts +22 -0
  692. package/apps/app-steward/src/TransactionHistory.d.ts.map +1 -0
  693. package/apps/app-steward/src/TransactionHistory.js +100 -0
  694. package/apps/app-steward/src/api/tx-service.d.ts +47 -0
  695. package/apps/app-steward/src/api/tx-service.d.ts.map +1 -0
  696. package/apps/app-steward/src/api/tx-service.js +156 -0
  697. package/apps/app-steward/src/api/wallet-capability.d.ts +28 -0
  698. package/apps/app-steward/src/api/wallet-capability.d.ts.map +1 -0
  699. package/apps/app-steward/src/api/wallet-capability.js +94 -0
  700. package/apps/app-steward/src/api/wallet-dex-prices.d.ts +43 -0
  701. package/apps/app-steward/src/api/wallet-dex-prices.d.ts.map +1 -0
  702. package/apps/app-steward/src/api/wallet-dex-prices.js +149 -0
  703. package/apps/app-steward/src/api/wallet-evm-balance.d.ts +66 -0
  704. package/apps/app-steward/src/api/wallet-evm-balance.d.ts.map +1 -0
  705. package/apps/app-steward/src/api/wallet-evm-balance.js +666 -0
  706. package/apps/app-steward/src/api/wallet-routes.d.ts +27 -0
  707. package/apps/app-steward/src/api/wallet-routes.d.ts.map +1 -0
  708. package/apps/app-steward/src/api/wallet-routes.js +470 -0
  709. package/apps/app-steward/src/api/wallet-rpc.d.ts +67 -0
  710. package/apps/app-steward/src/api/wallet-rpc.d.ts.map +1 -0
  711. package/apps/app-steward/src/api/wallet-rpc.js +453 -0
  712. package/apps/app-steward/src/api/wallet.d.ts +60 -0
  713. package/apps/app-steward/src/api/wallet.d.ts.map +1 -0
  714. package/apps/app-steward/src/api/wallet.js +639 -0
  715. package/apps/app-steward/src/browser-workspace-wallet.d.ts +66 -0
  716. package/apps/app-steward/src/browser-workspace-wallet.d.ts.map +1 -0
  717. package/apps/app-steward/src/browser-workspace-wallet.js +129 -0
  718. package/apps/app-steward/src/chain-utils.d.ts +10 -0
  719. package/apps/app-steward/src/chain-utils.d.ts.map +1 -0
  720. package/apps/app-steward/src/chain-utils.js +83 -0
  721. package/apps/app-steward/src/routes/server-wallet-trade.d.ts +27 -0
  722. package/apps/app-steward/src/routes/server-wallet-trade.d.ts.map +1 -0
  723. package/apps/app-steward/src/routes/server-wallet-trade.js +69 -0
  724. package/apps/app-steward/src/routes/wallet-core-routes.d.ts +16 -0
  725. package/apps/app-steward/src/routes/wallet-core-routes.d.ts.map +1 -0
  726. package/apps/app-steward/src/routes/wallet-core-routes.js +46 -0
  727. package/apps/app-steward/src/routes/wallet-export-guard.d.ts +44 -0
  728. package/apps/app-steward/src/routes/wallet-export-guard.d.ts.map +1 -0
  729. package/apps/app-steward/src/routes/wallet-export-guard.js +248 -0
  730. package/apps/app-steward/src/services/steward-evm-account.d.ts +58 -0
  731. package/apps/app-steward/src/services/steward-evm-account.d.ts.map +1 -0
  732. package/apps/app-steward/src/services/steward-evm-account.js +302 -0
  733. package/apps/app-steward/src/services/steward-evm-bridge.d.ts +35 -0
  734. package/apps/app-steward/src/services/steward-evm-bridge.d.ts.map +1 -0
  735. package/apps/app-steward/src/services/steward-evm-bridge.js +99 -0
  736. package/apps/app-steward/src/services/steward-sidecar/health-check.d.ts +9 -0
  737. package/apps/app-steward/src/services/steward-sidecar/health-check.d.ts.map +1 -0
  738. package/apps/app-steward/src/services/steward-sidecar/health-check.js +34 -0
  739. package/apps/app-steward/src/services/steward-sidecar/helpers.d.ts +12 -0
  740. package/apps/app-steward/src/services/steward-sidecar/helpers.d.ts.map +1 -0
  741. package/apps/app-steward/src/services/steward-sidecar/helpers.js +59 -0
  742. package/apps/app-steward/src/services/steward-sidecar/process-management.d.ts +19 -0
  743. package/apps/app-steward/src/services/steward-sidecar/process-management.d.ts.map +1 -0
  744. package/apps/app-steward/src/services/steward-sidecar/process-management.js +144 -0
  745. package/apps/app-steward/src/services/steward-sidecar/types.d.ts +60 -0
  746. package/apps/app-steward/src/services/steward-sidecar/types.d.ts.map +1 -0
  747. package/apps/app-steward/src/services/steward-sidecar/types.js +17 -0
  748. package/apps/app-steward/src/services/steward-sidecar/wallet-setup.d.ts +9 -0
  749. package/apps/app-steward/src/services/steward-sidecar/wallet-setup.d.ts.map +1 -0
  750. package/apps/app-steward/src/services/steward-sidecar/wallet-setup.js +118 -0
  751. package/apps/app-steward/src/services/steward-sidecar.d.ts +69 -0
  752. package/apps/app-steward/src/services/steward-sidecar.d.ts.map +1 -0
  753. package/apps/app-steward/src/services/steward-sidecar.js +381 -0
  754. package/apps/app-steward/src/types/bsc-trade.d.ts +181 -0
  755. package/apps/app-steward/src/types/bsc-trade.d.ts.map +1 -0
  756. package/apps/app-steward/src/types/bsc-trade.js +8 -0
  757. package/apps/app-steward/src/types/index.d.ts +3 -0
  758. package/apps/app-steward/src/types/index.d.ts.map +1 -0
  759. package/apps/app-steward/src/types/index.js +2 -0
  760. package/apps/app-steward/src/types/steward.d.ts +85 -0
  761. package/apps/app-steward/src/types/steward.d.ts.map +1 -0
  762. package/apps/app-steward/src/types/steward.js +9 -0
  763. package/apps/app-task-coordinator/src/AgentTabsSection.d.ts +18 -0
  764. package/apps/app-task-coordinator/src/AgentTabsSection.d.ts.map +1 -0
  765. package/apps/app-task-coordinator/src/AgentTabsSection.js +52 -0
  766. package/apps/app-task-coordinator/src/CodingAgentControlChip.d.ts +6 -0
  767. package/apps/app-task-coordinator/src/CodingAgentControlChip.d.ts.map +1 -0
  768. package/apps/app-task-coordinator/src/CodingAgentControlChip.js +26 -0
  769. package/apps/app-task-coordinator/src/CodingAgentSettingsSection.d.ts +2 -0
  770. package/apps/app-task-coordinator/src/CodingAgentSettingsSection.d.ts.map +1 -0
  771. package/apps/app-task-coordinator/src/CodingAgentSettingsSection.js +343 -0
  772. package/apps/app-task-coordinator/src/CodingAgentTasksPanel.d.ts +4 -0
  773. package/apps/app-task-coordinator/src/CodingAgentTasksPanel.d.ts.map +1 -0
  774. package/apps/app-task-coordinator/src/CodingAgentTasksPanel.js +294 -0
  775. package/apps/app-task-coordinator/src/GlobalPrefsSection.d.ts +10 -0
  776. package/apps/app-task-coordinator/src/GlobalPrefsSection.d.ts.map +1 -0
  777. package/apps/app-task-coordinator/src/GlobalPrefsSection.js +47 -0
  778. package/apps/app-task-coordinator/src/LlmProviderSection.d.ts +10 -0
  779. package/apps/app-task-coordinator/src/LlmProviderSection.d.ts.map +1 -0
  780. package/apps/app-task-coordinator/src/LlmProviderSection.js +42 -0
  781. package/apps/app-task-coordinator/src/ModelConfigSection.d.ts +16 -0
  782. package/apps/app-task-coordinator/src/ModelConfigSection.d.ts.map +1 -0
  783. package/apps/app-task-coordinator/src/ModelConfigSection.js +10 -0
  784. package/apps/app-task-coordinator/src/PtyConsoleBase.d.ts +15 -0
  785. package/apps/app-task-coordinator/src/PtyConsoleBase.d.ts.map +1 -0
  786. package/apps/app-task-coordinator/src/PtyConsoleBase.js +37 -0
  787. package/apps/app-task-coordinator/src/PtyConsoleDrawer.d.ts +16 -0
  788. package/apps/app-task-coordinator/src/PtyConsoleDrawer.d.ts.map +1 -0
  789. package/apps/app-task-coordinator/src/PtyConsoleDrawer.js +18 -0
  790. package/apps/app-task-coordinator/src/PtyConsoleSidePanel.d.ts +9 -0
  791. package/apps/app-task-coordinator/src/PtyConsoleSidePanel.d.ts.map +1 -0
  792. package/apps/app-task-coordinator/src/PtyConsoleSidePanel.js +6 -0
  793. package/apps/app-task-coordinator/src/PtyTerminalPane.d.ts +10 -0
  794. package/apps/app-task-coordinator/src/PtyTerminalPane.d.ts.map +1 -0
  795. package/apps/app-task-coordinator/src/PtyTerminalPane.js +174 -0
  796. package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.d.ts +23 -0
  797. package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.d.ts.map +1 -0
  798. package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.js +39 -0
  799. package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.d.ts +29 -0
  800. package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.d.ts.map +1 -0
  801. package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.js +45 -0
  802. package/apps/app-task-coordinator/src/api/coordinator-types.d.ts +47 -0
  803. package/apps/app-task-coordinator/src/api/coordinator-types.d.ts.map +1 -0
  804. package/apps/app-task-coordinator/src/api/coordinator-types.js +1 -0
  805. package/apps/app-task-coordinator/src/api/coordinator-wiring.d.ts +46 -0
  806. package/apps/app-task-coordinator/src/api/coordinator-wiring.d.ts.map +1 -0
  807. package/apps/app-task-coordinator/src/api/coordinator-wiring.js +108 -0
  808. package/apps/app-task-coordinator/src/api/task-agent-message-routing.d.ts +10 -0
  809. package/apps/app-task-coordinator/src/api/task-agent-message-routing.d.ts.map +1 -0
  810. package/apps/app-task-coordinator/src/api/task-agent-message-routing.js +62 -0
  811. package/apps/app-task-coordinator/src/coding-agent-settings-shared.d.ts +38 -0
  812. package/apps/app-task-coordinator/src/coding-agent-settings-shared.d.ts.map +1 -0
  813. package/apps/app-task-coordinator/src/coding-agent-settings-shared.js +92 -0
  814. package/apps/app-task-coordinator/src/index.d.ts +15 -0
  815. package/apps/app-task-coordinator/src/index.d.ts.map +1 -0
  816. package/apps/app-task-coordinator/src/index.js +14 -0
  817. package/apps/app-task-coordinator/src/pty-status-dots.d.ts +2 -0
  818. package/apps/app-task-coordinator/src/pty-status-dots.d.ts.map +1 -0
  819. package/apps/app-task-coordinator/src/pty-status-dots.js +1 -0
  820. package/apps/app-task-coordinator/src/session-hydration.d.ts +2 -0
  821. package/apps/app-task-coordinator/src/session-hydration.d.ts.map +1 -0
  822. package/apps/app-task-coordinator/src/session-hydration.js +1 -0
  823. package/apps/app-training/src/ui/FineTuningView.d.ts +5 -0
  824. package/apps/app-training/src/ui/FineTuningView.d.ts.map +1 -0
  825. package/apps/app-training/src/ui/FineTuningView.js +388 -0
  826. package/apps/app-training/src/ui/fine-tuning-panels.d.ts +111 -0
  827. package/apps/app-training/src/ui/fine-tuning-panels.d.ts.map +1 -0
  828. package/apps/app-training/src/ui/fine-tuning-panels.js +130 -0
  829. package/apps/app-vincent/src/client.d.ts +29 -0
  830. package/apps/app-vincent/src/client.d.ts.map +1 -0
  831. package/apps/app-vincent/src/client.js +30 -0
  832. package/apps/app-vincent/src/useVincentState.d.ts +26 -0
  833. package/apps/app-vincent/src/useVincentState.d.ts.map +1 -0
  834. package/apps/app-vincent/src/useVincentState.js +124 -0
  835. package/package.json +78 -51
  836. package/packages/agent/src/actions/app-control.d.ts +17 -0
  837. package/packages/agent/src/actions/app-control.d.ts.map +1 -0
  838. package/packages/agent/src/actions/app-control.js +212 -0
  839. package/packages/agent/src/actions/browser-session.d.ts +3 -0
  840. package/packages/agent/src/actions/browser-session.d.ts.map +1 -0
  841. package/packages/agent/src/actions/browser-session.js +207 -0
  842. package/packages/agent/src/actions/connector-resolver.d.ts +75 -0
  843. package/packages/agent/src/actions/connector-resolver.d.ts.map +1 -0
  844. package/packages/agent/src/actions/connector-resolver.js +255 -0
  845. package/packages/agent/src/actions/context-signal-lexicon.d.ts +17 -0
  846. package/packages/agent/src/actions/context-signal-lexicon.d.ts.map +1 -0
  847. package/packages/agent/src/actions/context-signal-lexicon.js +213 -0
  848. package/packages/agent/src/actions/context-signal.d.ts +46 -0
  849. package/packages/agent/src/actions/context-signal.d.ts.map +1 -0
  850. package/packages/agent/src/actions/context-signal.js +134 -0
  851. package/packages/agent/src/actions/entity-actions.d.ts +5 -0
  852. package/packages/agent/src/actions/entity-actions.d.ts.map +1 -0
  853. package/packages/agent/src/actions/entity-actions.js +576 -0
  854. package/packages/agent/src/actions/extract-page.d.ts +3 -0
  855. package/packages/agent/src/actions/extract-page.d.ts.map +1 -0
  856. package/packages/agent/src/actions/extract-page.js +124 -0
  857. package/packages/agent/src/actions/grounded-action-reply.d.ts +22 -0
  858. package/packages/agent/src/actions/grounded-action-reply.d.ts.map +1 -0
  859. package/packages/agent/src/actions/grounded-action-reply.js +309 -0
  860. package/packages/agent/src/actions/manage-tasks.d.ts +8 -0
  861. package/packages/agent/src/actions/manage-tasks.d.ts.map +1 -0
  862. package/packages/agent/src/actions/manage-tasks.js +289 -0
  863. package/packages/agent/src/actions/read-channel.d.ts +3 -0
  864. package/packages/agent/src/actions/read-channel.d.ts.map +1 -0
  865. package/packages/agent/src/actions/read-channel.js +224 -0
  866. package/packages/agent/src/actions/recent-conversation-texts.d.ts +9 -0
  867. package/packages/agent/src/actions/recent-conversation-texts.d.ts.map +1 -0
  868. package/packages/agent/src/actions/recent-conversation-texts.js +81 -0
  869. package/packages/agent/src/actions/restart.d.ts +19 -0
  870. package/packages/agent/src/actions/restart.d.ts.map +1 -0
  871. package/packages/agent/src/actions/restart.js +109 -0
  872. package/packages/agent/src/actions/search-conversations.d.ts +3 -0
  873. package/packages/agent/src/actions/search-conversations.d.ts.map +1 -0
  874. package/packages/agent/src/actions/search-conversations.js +181 -0
  875. package/packages/agent/src/actions/send-admin-message.d.ts +3 -0
  876. package/packages/agent/src/actions/send-admin-message.d.ts.map +1 -0
  877. package/packages/agent/src/actions/send-admin-message.js +106 -0
  878. package/packages/agent/src/actions/send-message.d.ts +4 -0
  879. package/packages/agent/src/actions/send-message.d.ts.map +1 -0
  880. package/packages/agent/src/actions/send-message.js +364 -0
  881. package/packages/agent/src/actions/set-user-name.d.ts +13 -0
  882. package/packages/agent/src/actions/set-user-name.d.ts.map +1 -0
  883. package/packages/agent/src/actions/set-user-name.js +82 -0
  884. package/packages/agent/src/actions/skill-command.d.ts +20 -0
  885. package/packages/agent/src/actions/skill-command.d.ts.map +1 -0
  886. package/packages/agent/src/actions/skill-command.js +141 -0
  887. package/packages/agent/src/actions/terminal.d.ts +15 -0
  888. package/packages/agent/src/actions/terminal.d.ts.map +1 -0
  889. package/packages/agent/src/actions/terminal.js +453 -0
  890. package/packages/agent/src/actions/web-search.d.ts +10 -0
  891. package/packages/agent/src/actions/web-search.d.ts.map +1 -0
  892. package/packages/agent/src/actions/web-search.js +266 -0
  893. package/packages/agent/src/api/agent-admin-routes.d.ts +39 -0
  894. package/packages/agent/src/api/agent-admin-routes.d.ts.map +1 -0
  895. package/packages/agent/src/api/agent-admin-routes.js +155 -0
  896. package/packages/agent/src/api/agent-lifecycle-routes.d.ts +16 -0
  897. package/packages/agent/src/api/agent-lifecycle-routes.d.ts.map +1 -0
  898. package/packages/agent/src/api/agent-lifecycle-routes.js +94 -0
  899. package/packages/agent/src/api/agent-model.d.ts +5 -0
  900. package/packages/agent/src/api/agent-model.d.ts.map +1 -0
  901. package/packages/agent/src/api/agent-model.js +154 -0
  902. package/packages/agent/src/api/agent-status-routes.d.ts +96 -0
  903. package/packages/agent/src/api/agent-status-routes.d.ts.map +1 -0
  904. package/packages/agent/src/api/agent-status-routes.js +274 -0
  905. package/packages/agent/src/api/agent-transfer-routes.d.ts +16 -0
  906. package/packages/agent/src/api/agent-transfer-routes.d.ts.map +1 -0
  907. package/packages/agent/src/api/agent-transfer-routes.js +124 -0
  908. package/packages/agent/src/api/app-package-routes.d.ts +7 -0
  909. package/packages/agent/src/api/app-package-routes.d.ts.map +1 -0
  910. package/packages/agent/src/api/app-package-routes.js +59 -0
  911. package/packages/agent/src/api/apps-routes.d.ts +25 -0
  912. package/packages/agent/src/api/apps-routes.d.ts.map +1 -0
  913. package/packages/agent/src/api/apps-routes.js +627 -0
  914. package/packages/agent/src/api/auth-routes.d.ts +11 -0
  915. package/packages/agent/src/api/auth-routes.d.ts.map +1 -0
  916. package/packages/agent/src/api/auth-routes.js +74 -0
  917. package/packages/agent/src/api/avatar-routes.d.ts +11 -0
  918. package/packages/agent/src/api/avatar-routes.d.ts.map +1 -0
  919. package/packages/agent/src/api/avatar-routes.js +205 -0
  920. package/packages/agent/src/api/binance-skill-helpers.d.ts +26 -0
  921. package/packages/agent/src/api/binance-skill-helpers.d.ts.map +1 -0
  922. package/packages/agent/src/api/binance-skill-helpers.js +781 -0
  923. package/packages/agent/src/api/bluebubbles-routes.d.ts +10 -0
  924. package/packages/agent/src/api/bluebubbles-routes.d.ts.map +1 -0
  925. package/packages/agent/src/api/bluebubbles-routes.js +129 -0
  926. package/packages/agent/src/api/browser-workspace-routes.d.ts +5 -0
  927. package/packages/agent/src/api/browser-workspace-routes.d.ts.map +1 -0
  928. package/packages/agent/src/api/browser-workspace-routes.js +100 -0
  929. package/packages/agent/src/api/bug-report-routes.d.ts +10 -0
  930. package/packages/agent/src/api/bug-report-routes.d.ts.map +1 -0
  931. package/packages/agent/src/api/bug-report-routes.js +264 -0
  932. package/packages/agent/src/api/character-routes.d.ts +52 -0
  933. package/packages/agent/src/api/character-routes.d.ts.map +1 -0
  934. package/packages/agent/src/api/character-routes.js +367 -0
  935. package/packages/agent/src/api/chat-augmentation.d.ts +70 -0
  936. package/packages/agent/src/api/chat-augmentation.d.ts.map +1 -0
  937. package/packages/agent/src/api/chat-augmentation.js +288 -0
  938. package/packages/agent/src/api/chat-routes.d.ts +106 -0
  939. package/packages/agent/src/api/chat-routes.d.ts.map +1 -0
  940. package/packages/agent/src/api/chat-routes.js +1415 -0
  941. package/packages/agent/src/api/chat-text-helpers.d.ts +11 -0
  942. package/packages/agent/src/api/chat-text-helpers.d.ts.map +1 -0
  943. package/packages/agent/src/api/chat-text-helpers.js +183 -0
  944. package/packages/agent/src/api/cloud-billing-routes.d.ts +9 -0
  945. package/packages/agent/src/api/cloud-billing-routes.d.ts.map +1 -0
  946. package/packages/agent/src/api/cloud-billing-routes.js +388 -0
  947. package/packages/agent/src/api/cloud-compat-routes.d.ts +10 -0
  948. package/packages/agent/src/api/cloud-compat-routes.d.ts.map +1 -0
  949. package/packages/agent/src/api/cloud-compat-routes.js +212 -0
  950. package/packages/agent/src/api/cloud-provisioning.d.ts +14 -0
  951. package/packages/agent/src/api/cloud-provisioning.d.ts.map +1 -0
  952. package/packages/agent/src/api/cloud-provisioning.js +30 -0
  953. package/packages/agent/src/api/cloud-relay-routes.d.ts +22 -0
  954. package/packages/agent/src/api/cloud-relay-routes.d.ts.map +1 -0
  955. package/packages/agent/src/api/cloud-relay-routes.js +52 -0
  956. package/packages/agent/src/api/cloud-routes.d.ts +80 -0
  957. package/packages/agent/src/api/cloud-routes.d.ts.map +1 -0
  958. package/packages/agent/src/api/cloud-routes.js +582 -0
  959. package/packages/agent/src/api/cloud-status-routes.d.ts +15 -0
  960. package/packages/agent/src/api/cloud-status-routes.d.ts.map +1 -0
  961. package/packages/agent/src/api/cloud-status-routes.js +143 -0
  962. package/packages/agent/src/api/compat-utils.d.ts +49 -0
  963. package/packages/agent/src/api/compat-utils.d.ts.map +1 -0
  964. package/packages/agent/src/api/compat-utils.js +126 -0
  965. package/packages/agent/src/api/config-env.d.ts +43 -0
  966. package/packages/agent/src/api/config-env.d.ts.map +1 -0
  967. package/packages/agent/src/api/config-env.js +284 -0
  968. package/packages/agent/src/api/config-routes.d.ts +33 -0
  969. package/packages/agent/src/api/config-routes.d.ts.map +1 -0
  970. package/packages/agent/src/api/config-routes.js +253 -0
  971. package/packages/agent/src/api/connector-health.d.ts +42 -0
  972. package/packages/agent/src/api/connector-health.d.ts.map +1 -0
  973. package/packages/agent/src/api/connector-health.js +132 -0
  974. package/packages/agent/src/api/connector-routes.d.ts +21 -0
  975. package/packages/agent/src/api/connector-routes.d.ts.map +1 -0
  976. package/packages/agent/src/api/connector-routes.js +79 -0
  977. package/packages/agent/src/api/conversation-metadata.d.ts +9 -0
  978. package/packages/agent/src/api/conversation-metadata.d.ts.map +1 -0
  979. package/packages/agent/src/api/conversation-metadata.js +98 -0
  980. package/packages/agent/src/api/conversation-routes.d.ts +42 -0
  981. package/packages/agent/src/api/conversation-routes.d.ts.map +1 -0
  982. package/packages/agent/src/api/conversation-routes.js +1159 -0
  983. package/packages/agent/src/api/credit-detection.d.ts +9 -0
  984. package/packages/agent/src/api/credit-detection.d.ts.map +1 -0
  985. package/packages/agent/src/api/credit-detection.js +41 -0
  986. package/packages/agent/src/api/curated-skills-routes.d.ts +22 -0
  987. package/packages/agent/src/api/curated-skills-routes.d.ts.map +1 -0
  988. package/packages/agent/src/api/curated-skills-routes.js +300 -0
  989. package/packages/agent/src/api/database.d.ts +33 -0
  990. package/packages/agent/src/api/database.d.ts.map +1 -0
  991. package/packages/agent/src/api/database.js +1027 -0
  992. package/packages/agent/src/api/diagnostics-routes.d.ts +53 -0
  993. package/packages/agent/src/api/diagnostics-routes.d.ts.map +1 -0
  994. package/packages/agent/src/api/diagnostics-routes.js +250 -0
  995. package/packages/agent/src/api/discord-avatar-cache.d.ts +10 -0
  996. package/packages/agent/src/api/discord-avatar-cache.d.ts.map +1 -0
  997. package/packages/agent/src/api/discord-avatar-cache.js +149 -0
  998. package/packages/agent/src/api/discord-profiles.d.ts +26 -0
  999. package/packages/agent/src/api/discord-profiles.d.ts.map +1 -0
  1000. package/packages/agent/src/api/discord-profiles.js +279 -0
  1001. package/packages/agent/src/api/early-logs.d.ts +29 -0
  1002. package/packages/agent/src/api/early-logs.d.ts.map +1 -0
  1003. package/packages/agent/src/api/early-logs.js +96 -0
  1004. package/packages/agent/src/api/health-routes.d.ts +44 -0
  1005. package/packages/agent/src/api/health-routes.d.ts.map +1 -0
  1006. package/packages/agent/src/api/health-routes.js +449 -0
  1007. package/packages/agent/src/api/http-helpers.d.ts +50 -0
  1008. package/packages/agent/src/api/http-helpers.d.ts.map +1 -0
  1009. package/packages/agent/src/api/http-helpers.js +148 -0
  1010. package/packages/agent/src/api/inbox-routes.d.ts +48 -0
  1011. package/packages/agent/src/api/inbox-routes.d.ts.map +1 -0
  1012. package/packages/agent/src/api/inbox-routes.js +1547 -0
  1013. package/packages/agent/src/api/knowledge-service-loader.d.ts +2 -0
  1014. package/packages/agent/src/api/knowledge-service-loader.d.ts.map +1 -0
  1015. package/packages/agent/src/api/knowledge-service-loader.js +2 -0
  1016. package/packages/agent/src/api/mcp-routes.d.ts +33 -0
  1017. package/packages/agent/src/api/mcp-routes.d.ts.map +1 -0
  1018. package/packages/agent/src/api/mcp-routes.js +186 -0
  1019. package/packages/agent/src/api/memory-bounds.d.ts +51 -0
  1020. package/packages/agent/src/api/memory-bounds.d.ts.map +1 -0
  1021. package/packages/agent/src/api/memory-bounds.js +81 -0
  1022. package/packages/agent/src/api/memory-routes.d.ts +9 -0
  1023. package/packages/agent/src/api/memory-routes.d.ts.map +1 -0
  1024. package/packages/agent/src/api/memory-routes.js +420 -0
  1025. package/packages/agent/src/api/misc-routes.d.ts +64 -0
  1026. package/packages/agent/src/api/misc-routes.d.ts.map +1 -0
  1027. package/packages/agent/src/api/misc-routes.js +594 -0
  1028. package/packages/agent/src/api/model-provider-helpers.d.ts +84 -0
  1029. package/packages/agent/src/api/model-provider-helpers.d.ts.map +1 -0
  1030. package/packages/agent/src/api/model-provider-helpers.js +588 -0
  1031. package/packages/agent/src/api/models-routes.d.ts +14 -0
  1032. package/packages/agent/src/api/models-routes.d.ts.map +1 -0
  1033. package/packages/agent/src/api/models-routes.js +37 -0
  1034. package/packages/agent/src/api/music-player-route-fallback.d.ts +16 -0
  1035. package/packages/agent/src/api/music-player-route-fallback.d.ts.map +1 -0
  1036. package/packages/agent/src/api/music-player-route-fallback.js +65 -0
  1037. package/packages/agent/src/api/onboarding-routes.d.ts +50 -0
  1038. package/packages/agent/src/api/onboarding-routes.d.ts.map +1 -0
  1039. package/packages/agent/src/api/onboarding-routes.js +561 -0
  1040. package/packages/agent/src/api/owner-contact-helpers.d.ts +39 -0
  1041. package/packages/agent/src/api/owner-contact-helpers.d.ts.map +1 -0
  1042. package/packages/agent/src/api/owner-contact-helpers.js +47 -0
  1043. package/packages/agent/src/api/parse-action-block.d.ts +35 -0
  1044. package/packages/agent/src/api/parse-action-block.d.ts.map +1 -0
  1045. package/packages/agent/src/api/parse-action-block.js +110 -0
  1046. package/packages/agent/src/api/permissions-routes-extra.d.ts +30 -0
  1047. package/packages/agent/src/api/permissions-routes-extra.d.ts.map +1 -0
  1048. package/packages/agent/src/api/permissions-routes-extra.js +78 -0
  1049. package/packages/agent/src/api/permissions-routes.d.ts +28 -0
  1050. package/packages/agent/src/api/permissions-routes.d.ts.map +1 -0
  1051. package/packages/agent/src/api/permissions-routes.js +180 -0
  1052. package/packages/agent/src/api/plugin-discovery-helpers.d.ts +147 -0
  1053. package/packages/agent/src/api/plugin-discovery-helpers.d.ts.map +1 -0
  1054. package/packages/agent/src/api/plugin-discovery-helpers.js +1015 -0
  1055. package/packages/agent/src/api/plugin-routes.d.ts +127 -0
  1056. package/packages/agent/src/api/plugin-routes.d.ts.map +1 -0
  1057. package/packages/agent/src/api/plugin-routes.js +1199 -0
  1058. package/packages/agent/src/api/plugin-runtime-apply.d.ts +31 -0
  1059. package/packages/agent/src/api/plugin-runtime-apply.d.ts.map +1 -0
  1060. package/packages/agent/src/api/plugin-runtime-apply.js +217 -0
  1061. package/packages/agent/src/api/plugin-validation.d.ts +86 -0
  1062. package/packages/agent/src/api/plugin-validation.d.ts.map +1 -0
  1063. package/packages/agent/src/api/plugin-validation.js +259 -0
  1064. package/packages/agent/src/api/provider-switch-config.d.ts +60 -0
  1065. package/packages/agent/src/api/provider-switch-config.d.ts.map +1 -0
  1066. package/packages/agent/src/api/provider-switch-config.js +718 -0
  1067. package/packages/agent/src/api/provider-switch-routes.d.ts +22 -0
  1068. package/packages/agent/src/api/provider-switch-routes.d.ts.map +1 -0
  1069. package/packages/agent/src/api/provider-switch-routes.js +92 -0
  1070. package/packages/agent/src/api/rate-limiter.d.ts +29 -0
  1071. package/packages/agent/src/api/rate-limiter.d.ts.map +1 -0
  1072. package/packages/agent/src/api/rate-limiter.js +54 -0
  1073. package/packages/agent/src/api/registry-routes.d.ts +29 -0
  1074. package/packages/agent/src/api/registry-routes.d.ts.map +1 -0
  1075. package/packages/agent/src/api/registry-routes.js +98 -0
  1076. package/packages/agent/src/api/registry-service.d.ts +77 -0
  1077. package/packages/agent/src/api/registry-service.d.ts.map +1 -0
  1078. package/packages/agent/src/api/registry-service.js +190 -0
  1079. package/packages/agent/src/api/relationships-routes.d.ts +7 -0
  1080. package/packages/agent/src/api/relationships-routes.d.ts.map +1 -0
  1081. package/packages/agent/src/api/relationships-routes.js +248 -0
  1082. package/packages/agent/src/api/route-helpers.d.ts +16 -0
  1083. package/packages/agent/src/api/route-helpers.d.ts.map +1 -0
  1084. package/packages/agent/src/api/route-helpers.js +1 -0
  1085. package/packages/agent/src/api/runtime-plugin-routes.d.ts +21 -0
  1086. package/packages/agent/src/api/runtime-plugin-routes.d.ts.map +1 -0
  1087. package/packages/agent/src/api/runtime-plugin-routes.js +132 -0
  1088. package/packages/agent/src/api/sandbox-routes.d.ts +12 -0
  1089. package/packages/agent/src/api/sandbox-routes.d.ts.map +1 -0
  1090. package/packages/agent/src/api/sandbox-routes.js +1334 -0
  1091. package/packages/agent/src/api/server-auth.d.ts +45 -0
  1092. package/packages/agent/src/api/server-auth.d.ts.map +1 -0
  1093. package/packages/agent/src/api/server-auth.js +332 -0
  1094. package/packages/agent/src/api/server-helpers-auth.d.ts +39 -0
  1095. package/packages/agent/src/api/server-helpers-auth.d.ts.map +1 -0
  1096. package/packages/agent/src/api/server-helpers-auth.js +432 -0
  1097. package/packages/agent/src/api/server-helpers-config.d.ts +37 -0
  1098. package/packages/agent/src/api/server-helpers-config.d.ts.map +1 -0
  1099. package/packages/agent/src/api/server-helpers-config.js +295 -0
  1100. package/packages/agent/src/api/server-helpers-mcp.d.ts +12 -0
  1101. package/packages/agent/src/api/server-helpers-mcp.d.ts.map +1 -0
  1102. package/packages/agent/src/api/server-helpers-mcp.js +315 -0
  1103. package/packages/agent/src/api/server-helpers-plugin.d.ts +13 -0
  1104. package/packages/agent/src/api/server-helpers-plugin.d.ts.map +1 -0
  1105. package/packages/agent/src/api/server-helpers-plugin.js +158 -0
  1106. package/packages/agent/src/api/server-helpers-swarm.d.ts +57 -0
  1107. package/packages/agent/src/api/server-helpers-swarm.d.ts.map +1 -0
  1108. package/packages/agent/src/api/server-helpers-swarm.js +325 -0
  1109. package/packages/agent/src/api/server-helpers-wallet.d.ts +18 -0
  1110. package/packages/agent/src/api/server-helpers-wallet.d.ts.map +1 -0
  1111. package/packages/agent/src/api/server-helpers-wallet.js +178 -0
  1112. package/packages/agent/src/api/server-helpers.d.ts +96 -0
  1113. package/packages/agent/src/api/server-helpers.d.ts.map +1 -0
  1114. package/packages/agent/src/api/server-helpers.js +600 -0
  1115. package/packages/agent/src/api/server-types.d.ts +269 -0
  1116. package/packages/agent/src/api/server-types.d.ts.map +1 -0
  1117. package/packages/agent/src/api/server-types.js +6 -0
  1118. package/packages/agent/src/api/server.d.ts +98 -0
  1119. package/packages/agent/src/api/server.d.ts.map +1 -0
  1120. package/packages/agent/src/api/server.js +4156 -0
  1121. package/packages/agent/src/api/signal-routes.d.ts +42 -0
  1122. package/packages/agent/src/api/signal-routes.d.ts.map +1 -0
  1123. package/packages/agent/src/api/signal-routes.js +231 -0
  1124. package/packages/agent/src/api/skill-discovery-helpers.d.ts +80 -0
  1125. package/packages/agent/src/api/skill-discovery-helpers.d.ts.map +1 -0
  1126. package/packages/agent/src/api/skill-discovery-helpers.js +383 -0
  1127. package/packages/agent/src/api/skills-routes.d.ts +32 -0
  1128. package/packages/agent/src/api/skills-routes.d.ts.map +1 -0
  1129. package/packages/agent/src/api/skills-routes.js +1016 -0
  1130. package/packages/agent/src/api/static-file-server.d.ts +19 -0
  1131. package/packages/agent/src/api/static-file-server.d.ts.map +1 -0
  1132. package/packages/agent/src/api/static-file-server.js +233 -0
  1133. package/packages/agent/src/api/stream-persistence.d.ts +64 -0
  1134. package/packages/agent/src/api/stream-persistence.d.ts.map +1 -0
  1135. package/packages/agent/src/api/stream-persistence.js +231 -0
  1136. package/packages/agent/src/api/stream-route-state.d.ts +56 -0
  1137. package/packages/agent/src/api/stream-route-state.d.ts.map +1 -0
  1138. package/packages/agent/src/api/stream-route-state.js +1 -0
  1139. package/packages/agent/src/api/stream-routes.d.ts +24 -0
  1140. package/packages/agent/src/api/stream-routes.d.ts.map +1 -0
  1141. package/packages/agent/src/api/stream-routes.js +728 -0
  1142. package/packages/agent/src/api/streaming-text.d.ts +9 -0
  1143. package/packages/agent/src/api/streaming-text.d.ts.map +1 -0
  1144. package/packages/agent/src/api/streaming-text.js +85 -0
  1145. package/packages/agent/src/api/streaming-types.d.ts +30 -0
  1146. package/packages/agent/src/api/streaming-types.d.ts.map +1 -0
  1147. package/packages/agent/src/api/streaming-types.js +1 -0
  1148. package/packages/agent/src/api/subscription-routes.d.ts +20 -0
  1149. package/packages/agent/src/api/subscription-routes.d.ts.map +1 -0
  1150. package/packages/agent/src/api/subscription-routes.js +213 -0
  1151. package/packages/agent/src/api/telegram-account-routes.d.ts +26 -0
  1152. package/packages/agent/src/api/telegram-account-routes.d.ts.map +1 -0
  1153. package/packages/agent/src/api/telegram-account-routes.js +229 -0
  1154. package/packages/agent/src/api/terminal-run-limits.d.ts +5 -0
  1155. package/packages/agent/src/api/terminal-run-limits.d.ts.map +1 -0
  1156. package/packages/agent/src/api/terminal-run-limits.js +22 -0
  1157. package/packages/agent/src/api/trade-safety.d.ts +35 -0
  1158. package/packages/agent/src/api/trade-safety.d.ts.map +1 -0
  1159. package/packages/agent/src/api/trade-safety.js +62 -0
  1160. package/packages/agent/src/api/trigger-routes.d.ts +63 -0
  1161. package/packages/agent/src/api/trigger-routes.d.ts.map +1 -0
  1162. package/packages/agent/src/api/trigger-routes.js +379 -0
  1163. package/packages/agent/src/api/tts-routes.d.ts +24 -0
  1164. package/packages/agent/src/api/tts-routes.d.ts.map +1 -0
  1165. package/packages/agent/src/api/tts-routes.js +200 -0
  1166. package/packages/agent/src/api/update-routes.d.ts +19 -0
  1167. package/packages/agent/src/api/update-routes.d.ts.map +1 -0
  1168. package/packages/agent/src/api/update-routes.js +54 -0
  1169. package/packages/agent/src/api/wallet-capability.d.ts +28 -0
  1170. package/packages/agent/src/api/wallet-capability.d.ts.map +1 -0
  1171. package/packages/agent/src/api/wallet-capability.js +119 -0
  1172. package/packages/agent/src/api/wallet-dex-prices.d.ts +43 -0
  1173. package/packages/agent/src/api/wallet-dex-prices.d.ts.map +1 -0
  1174. package/packages/agent/src/api/wallet-dex-prices.js +149 -0
  1175. package/packages/agent/src/api/wallet-env-sync.d.ts +2 -0
  1176. package/packages/agent/src/api/wallet-env-sync.d.ts.map +1 -0
  1177. package/packages/agent/src/api/wallet-env-sync.js +108 -0
  1178. package/packages/agent/src/api/wallet-evm-balance.d.ts +66 -0
  1179. package/packages/agent/src/api/wallet-evm-balance.d.ts.map +1 -0
  1180. package/packages/agent/src/api/wallet-evm-balance.js +663 -0
  1181. package/packages/agent/src/api/wallet-routes.d.ts +42 -0
  1182. package/packages/agent/src/api/wallet-routes.d.ts.map +1 -0
  1183. package/packages/agent/src/api/wallet-routes.js +827 -0
  1184. package/packages/agent/src/api/wallet-rpc.d.ts +73 -0
  1185. package/packages/agent/src/api/wallet-rpc.d.ts.map +1 -0
  1186. package/packages/agent/src/api/wallet-rpc.js +471 -0
  1187. package/packages/agent/src/api/wallet.d.ts +64 -0
  1188. package/packages/agent/src/api/wallet.d.ts.map +1 -0
  1189. package/packages/agent/src/api/wallet.js +670 -0
  1190. package/packages/agent/src/api/whatsapp-routes.d.ts +39 -0
  1191. package/packages/agent/src/api/whatsapp-routes.d.ts.map +1 -0
  1192. package/packages/agent/src/api/whatsapp-routes.js +225 -0
  1193. package/packages/agent/src/api/workbench-helpers.d.ts +39 -0
  1194. package/packages/agent/src/api/workbench-helpers.d.ts.map +1 -0
  1195. package/packages/agent/src/api/workbench-helpers.js +134 -0
  1196. package/packages/agent/src/api/workbench-routes.d.ts +53 -0
  1197. package/packages/agent/src/api/workbench-routes.d.ts.map +1 -0
  1198. package/packages/agent/src/api/workbench-routes.js +391 -0
  1199. package/packages/agent/src/auth/anthropic.d.ts +24 -0
  1200. package/packages/agent/src/auth/anthropic.d.ts.map +1 -0
  1201. package/packages/agent/src/auth/anthropic.js +38 -0
  1202. package/packages/agent/src/auth/claude-code-stealth.d.ts +2 -0
  1203. package/packages/agent/src/auth/claude-code-stealth.d.ts.map +1 -0
  1204. package/packages/agent/src/auth/claude-code-stealth.js +114 -0
  1205. package/packages/agent/src/auth/credentials.d.ts +74 -0
  1206. package/packages/agent/src/auth/credentials.d.ts.map +1 -0
  1207. package/packages/agent/src/auth/credentials.js +387 -0
  1208. package/packages/agent/src/auth/index.d.ts +6 -0
  1209. package/packages/agent/src/auth/index.d.ts.map +1 -0
  1210. package/packages/agent/src/auth/index.js +5 -0
  1211. package/packages/agent/src/auth/openai-codex.d.ts +27 -0
  1212. package/packages/agent/src/auth/openai-codex.d.ts.map +1 -0
  1213. package/packages/agent/src/auth/openai-codex.js +76 -0
  1214. package/packages/agent/src/auth/types.d.ts +18 -0
  1215. package/packages/agent/src/auth/types.d.ts.map +1 -0
  1216. package/packages/agent/src/auth/types.js +8 -0
  1217. package/packages/agent/src/auth/vendor/pi-oauth/anthropic-login.d.ts +16 -0
  1218. package/packages/agent/src/auth/vendor/pi-oauth/anthropic-login.d.ts.map +1 -0
  1219. package/packages/agent/src/auth/vendor/pi-oauth/anthropic-login.js +78 -0
  1220. package/packages/agent/src/auth/vendor/pi-oauth/openai-codex-login.d.ts +26 -0
  1221. package/packages/agent/src/auth/vendor/pi-oauth/openai-codex-login.d.ts.map +1 -0
  1222. package/packages/agent/src/auth/vendor/pi-oauth/openai-codex-login.js +342 -0
  1223. package/packages/agent/src/auth/vendor/pi-oauth/pkce.d.ts +9 -0
  1224. package/packages/agent/src/auth/vendor/pi-oauth/pkce.d.ts.map +1 -0
  1225. package/packages/agent/src/auth/vendor/pi-oauth/pkce.js +21 -0
  1226. package/packages/agent/src/awareness/registry.d.ts +27 -0
  1227. package/packages/agent/src/awareness/registry.d.ts.map +1 -0
  1228. package/packages/agent/src/awareness/registry.js +161 -0
  1229. package/packages/agent/src/cli/parse-duration.d.ts +5 -0
  1230. package/packages/agent/src/cli/parse-duration.d.ts.map +1 -0
  1231. package/packages/agent/src/cli/parse-duration.js +27 -0
  1232. package/packages/agent/src/cloud/auth.d.ts +19 -0
  1233. package/packages/agent/src/cloud/auth.d.ts.map +1 -0
  1234. package/packages/agent/src/cloud/auth.js +110 -0
  1235. package/packages/agent/src/cloud/backup.d.ts +18 -0
  1236. package/packages/agent/src/cloud/backup.d.ts.map +1 -0
  1237. package/packages/agent/src/cloud/backup.js +42 -0
  1238. package/packages/agent/src/cloud/base-url.d.ts +3 -0
  1239. package/packages/agent/src/cloud/base-url.d.ts.map +1 -0
  1240. package/packages/agent/src/cloud/base-url.js +52 -0
  1241. package/packages/agent/src/cloud/bridge-client.d.ts +126 -0
  1242. package/packages/agent/src/cloud/bridge-client.d.ts.map +1 -0
  1243. package/packages/agent/src/cloud/bridge-client.js +380 -0
  1244. package/packages/agent/src/cloud/cloud-manager.d.ts +32 -0
  1245. package/packages/agent/src/cloud/cloud-manager.d.ts.map +1 -0
  1246. package/packages/agent/src/cloud/cloud-manager.js +121 -0
  1247. package/packages/agent/src/cloud/cloud-proxy.d.ts +20 -0
  1248. package/packages/agent/src/cloud/cloud-proxy.d.ts.map +1 -0
  1249. package/packages/agent/src/cloud/cloud-proxy.js +34 -0
  1250. package/packages/agent/src/cloud/cloud-wallet.d.ts +92 -0
  1251. package/packages/agent/src/cloud/cloud-wallet.d.ts.map +1 -0
  1252. package/packages/agent/src/cloud/cloud-wallet.js +199 -0
  1253. package/packages/agent/src/cloud/reconnect.d.ts +26 -0
  1254. package/packages/agent/src/cloud/reconnect.d.ts.map +1 -0
  1255. package/packages/agent/src/cloud/reconnect.js +89 -0
  1256. package/packages/agent/src/cloud/validate-url.d.ts +2 -0
  1257. package/packages/agent/src/cloud/validate-url.d.ts.map +1 -0
  1258. package/packages/agent/src/cloud/validate-url.js +162 -0
  1259. package/packages/agent/src/config/character-schema.d.ts +25 -0
  1260. package/packages/agent/src/config/character-schema.d.ts.map +1 -0
  1261. package/packages/agent/src/config/character-schema.js +39 -0
  1262. package/packages/agent/src/config/config.d.ts +6 -0
  1263. package/packages/agent/src/config/config.d.ts.map +1 -0
  1264. package/packages/agent/src/config/config.js +277 -0
  1265. package/packages/agent/src/config/env-vars.d.ts +9 -0
  1266. package/packages/agent/src/config/env-vars.d.ts.map +1 -0
  1267. package/packages/agent/src/config/env-vars.js +284 -0
  1268. package/packages/agent/src/config/feature-flags.d.ts +17 -0
  1269. package/packages/agent/src/config/feature-flags.d.ts.map +1 -0
  1270. package/packages/agent/src/config/feature-flags.js +37 -0
  1271. package/packages/agent/src/config/includes.d.ts +26 -0
  1272. package/packages/agent/src/config/includes.d.ts.map +1 -0
  1273. package/packages/agent/src/config/includes.js +148 -0
  1274. package/packages/agent/src/config/object-utils.d.ts +2 -0
  1275. package/packages/agent/src/config/object-utils.d.ts.map +1 -0
  1276. package/packages/agent/src/config/object-utils.js +6 -0
  1277. package/packages/agent/src/config/owner-contacts.d.ts +42 -0
  1278. package/packages/agent/src/config/owner-contacts.d.ts.map +1 -0
  1279. package/packages/agent/src/config/owner-contacts.js +223 -0
  1280. package/packages/agent/src/config/paths.d.ts +13 -0
  1281. package/packages/agent/src/config/paths.d.ts.map +1 -0
  1282. package/packages/agent/src/config/paths.js +106 -0
  1283. package/packages/agent/src/config/plugin-auto-enable.d.ts +44 -0
  1284. package/packages/agent/src/config/plugin-auto-enable.d.ts.map +1 -0
  1285. package/packages/agent/src/config/plugin-auto-enable.js +547 -0
  1286. package/packages/agent/src/config/plugin-widgets.d.ts +29 -0
  1287. package/packages/agent/src/config/plugin-widgets.d.ts.map +1 -0
  1288. package/packages/agent/src/config/plugin-widgets.js +70 -0
  1289. package/packages/agent/src/config/schema.d.ts +87 -0
  1290. package/packages/agent/src/config/schema.d.ts.map +1 -0
  1291. package/packages/agent/src/config/schema.js +922 -0
  1292. package/packages/agent/src/config/telegram-custom-commands.d.ts +25 -0
  1293. package/packages/agent/src/config/telegram-custom-commands.d.ts.map +1 -0
  1294. package/packages/agent/src/config/telegram-custom-commands.js +71 -0
  1295. package/packages/agent/src/config/types.agent-defaults.d.ts +363 -0
  1296. package/packages/agent/src/config/types.agent-defaults.d.ts.map +1 -0
  1297. package/packages/agent/src/config/types.agent-defaults.js +1 -0
  1298. package/packages/agent/src/config/types.agents.d.ts +114 -0
  1299. package/packages/agent/src/config/types.agents.d.ts.map +1 -0
  1300. package/packages/agent/src/config/types.agents.js +1 -0
  1301. package/packages/agent/src/config/types.d.ts +8 -0
  1302. package/packages/agent/src/config/types.d.ts.map +1 -0
  1303. package/packages/agent/src/config/types.eliza.d.ts +706 -0
  1304. package/packages/agent/src/config/types.eliza.d.ts.map +1 -0
  1305. package/packages/agent/src/config/types.eliza.js +1 -0
  1306. package/packages/agent/src/config/types.gateway.d.ts +216 -0
  1307. package/packages/agent/src/config/types.gateway.d.ts.map +1 -0
  1308. package/packages/agent/src/config/types.gateway.js +1 -0
  1309. package/packages/agent/src/config/types.hooks.d.ts +107 -0
  1310. package/packages/agent/src/config/types.hooks.d.ts.map +1 -0
  1311. package/packages/agent/src/config/types.hooks.js +1 -0
  1312. package/packages/agent/src/config/types.js +7 -0
  1313. package/packages/agent/src/config/types.messages.d.ts +176 -0
  1314. package/packages/agent/src/config/types.messages.d.ts.map +1 -0
  1315. package/packages/agent/src/config/types.messages.js +1 -0
  1316. package/packages/agent/src/config/types.tools.d.ts +400 -0
  1317. package/packages/agent/src/config/types.tools.d.ts.map +1 -0
  1318. package/packages/agent/src/config/types.tools.js +1 -0
  1319. package/packages/agent/src/config/zod-schema.agent-runtime.d.ts +1137 -0
  1320. package/packages/agent/src/config/zod-schema.agent-runtime.d.ts.map +1 -0
  1321. package/packages/agent/src/config/zod-schema.agent-runtime.js +782 -0
  1322. package/packages/agent/src/config/zod-schema.core.d.ts +1021 -0
  1323. package/packages/agent/src/config/zod-schema.core.d.ts.map +1 -0
  1324. package/packages/agent/src/config/zod-schema.core.js +694 -0
  1325. package/packages/agent/src/config/zod-schema.d.ts +3185 -0
  1326. package/packages/agent/src/config/zod-schema.d.ts.map +1 -0
  1327. package/packages/agent/src/config/zod-schema.hooks.d.ts +88 -0
  1328. package/packages/agent/src/config/zod-schema.hooks.d.ts.map +1 -0
  1329. package/packages/agent/src/config/zod-schema.hooks.js +133 -0
  1330. package/packages/agent/src/config/zod-schema.js +850 -0
  1331. package/packages/agent/src/config/zod-schema.providers-core.d.ts +2746 -0
  1332. package/packages/agent/src/config/zod-schema.providers-core.d.ts.map +1 -0
  1333. package/packages/agent/src/config/zod-schema.providers-core.js +961 -0
  1334. package/packages/agent/src/config/zod-schema.session.d.ts +183 -0
  1335. package/packages/agent/src/config/zod-schema.session.d.ts.map +1 -0
  1336. package/packages/agent/src/config/zod-schema.session.js +86 -0
  1337. package/packages/agent/src/contracts/apps.d.ts +2 -0
  1338. package/packages/agent/src/contracts/apps.d.ts.map +1 -0
  1339. package/packages/agent/src/contracts/apps.js +1 -0
  1340. package/packages/agent/src/contracts/awareness.d.ts +38 -0
  1341. package/packages/agent/src/contracts/awareness.d.ts.map +1 -0
  1342. package/packages/agent/src/contracts/awareness.js +7 -0
  1343. package/packages/agent/src/contracts/config.d.ts +148 -0
  1344. package/packages/agent/src/contracts/config.d.ts.map +1 -0
  1345. package/packages/agent/src/contracts/config.js +4 -0
  1346. package/packages/agent/src/contracts/drop.d.ts +2 -0
  1347. package/packages/agent/src/contracts/drop.d.ts.map +1 -0
  1348. package/packages/agent/src/contracts/drop.js +1 -0
  1349. package/packages/agent/src/contracts/onboarding.d.ts +2 -0
  1350. package/packages/agent/src/contracts/onboarding.d.ts.map +1 -0
  1351. package/packages/agent/src/contracts/onboarding.js +1 -0
  1352. package/packages/agent/src/contracts/permissions.d.ts +2 -0
  1353. package/packages/agent/src/contracts/permissions.d.ts.map +1 -0
  1354. package/packages/agent/src/contracts/permissions.js +1 -0
  1355. package/packages/agent/src/contracts/service-routing.d.ts +2 -0
  1356. package/packages/agent/src/contracts/service-routing.d.ts.map +1 -0
  1357. package/packages/agent/src/contracts/service-routing.js +1 -0
  1358. package/packages/agent/src/contracts/verification.d.ts +2 -0
  1359. package/packages/agent/src/contracts/verification.d.ts.map +1 -0
  1360. package/packages/agent/src/contracts/verification.js +1 -0
  1361. package/packages/agent/src/contracts/wallet.d.ts +2 -0
  1362. package/packages/agent/src/contracts/wallet.d.ts.map +1 -0
  1363. package/packages/agent/src/contracts/wallet.js +1 -0
  1364. package/packages/agent/src/diagnostics/integration-observability.d.ts +40 -0
  1365. package/packages/agent/src/diagnostics/integration-observability.d.ts.map +1 -0
  1366. package/packages/agent/src/diagnostics/integration-observability.js +75 -0
  1367. package/packages/agent/src/evaluators/late-join-whitelist.d.ts +16 -0
  1368. package/packages/agent/src/evaluators/late-join-whitelist.d.ts.map +1 -0
  1369. package/packages/agent/src/evaluators/late-join-whitelist.js +67 -0
  1370. package/packages/agent/src/hooks/discovery.d.ts +13 -0
  1371. package/packages/agent/src/hooks/discovery.d.ts.map +1 -0
  1372. package/packages/agent/src/hooks/discovery.js +191 -0
  1373. package/packages/agent/src/hooks/eligibility.d.ts +12 -0
  1374. package/packages/agent/src/hooks/eligibility.d.ts.map +1 -0
  1375. package/packages/agent/src/hooks/eligibility.js +105 -0
  1376. package/packages/agent/src/hooks/index.d.ts +3 -0
  1377. package/packages/agent/src/hooks/index.d.ts.map +1 -0
  1378. package/packages/agent/src/hooks/index.js +2 -0
  1379. package/packages/agent/src/hooks/loader.d.ts +34 -0
  1380. package/packages/agent/src/hooks/loader.d.ts.map +1 -0
  1381. package/packages/agent/src/hooks/loader.js +214 -0
  1382. package/packages/agent/src/hooks/registry.d.ts +11 -0
  1383. package/packages/agent/src/hooks/registry.d.ts.map +1 -0
  1384. package/packages/agent/src/hooks/registry.js +58 -0
  1385. package/packages/agent/src/hooks/types.d.ts +104 -0
  1386. package/packages/agent/src/hooks/types.d.ts.map +1 -0
  1387. package/packages/agent/src/hooks/types.js +8 -0
  1388. package/packages/agent/src/plugins/custom-rtmp/index.d.ts +12 -0
  1389. package/packages/agent/src/plugins/custom-rtmp/index.d.ts.map +1 -0
  1390. package/packages/agent/src/plugins/custom-rtmp/index.js +26 -0
  1391. package/packages/agent/src/providers/admin-panel.d.ts +4 -0
  1392. package/packages/agent/src/providers/admin-panel.d.ts.map +1 -0
  1393. package/packages/agent/src/providers/admin-panel.js +83 -0
  1394. package/packages/agent/src/providers/admin-trust.d.ts +4 -0
  1395. package/packages/agent/src/providers/admin-trust.d.ts.map +1 -0
  1396. package/packages/agent/src/providers/admin-trust.js +34 -0
  1397. package/packages/agent/src/providers/automation-terminal-bridge.d.ts +3 -0
  1398. package/packages/agent/src/providers/automation-terminal-bridge.d.ts.map +1 -0
  1399. package/packages/agent/src/providers/automation-terminal-bridge.js +71 -0
  1400. package/packages/agent/src/providers/conversation-utils.d.ts +11 -0
  1401. package/packages/agent/src/providers/conversation-utils.d.ts.map +1 -0
  1402. package/packages/agent/src/providers/conversation-utils.js +78 -0
  1403. package/packages/agent/src/providers/escalation-trigger.d.ts +15 -0
  1404. package/packages/agent/src/providers/escalation-trigger.d.ts.map +1 -0
  1405. package/packages/agent/src/providers/escalation-trigger.js +165 -0
  1406. package/packages/agent/src/providers/recent-conversations.d.ts +3 -0
  1407. package/packages/agent/src/providers/recent-conversations.d.ts.map +1 -0
  1408. package/packages/agent/src/providers/recent-conversations.js +92 -0
  1409. package/packages/agent/src/providers/relevant-conversations.d.ts +3 -0
  1410. package/packages/agent/src/providers/relevant-conversations.d.ts.map +1 -0
  1411. package/packages/agent/src/providers/relevant-conversations.js +93 -0
  1412. package/packages/agent/src/providers/role-backfill.d.ts +18 -0
  1413. package/packages/agent/src/providers/role-backfill.d.ts.map +1 -0
  1414. package/packages/agent/src/providers/role-backfill.js +84 -0
  1415. package/packages/agent/src/providers/rolodex.d.ts +3 -0
  1416. package/packages/agent/src/providers/rolodex.d.ts.map +1 -0
  1417. package/packages/agent/src/providers/rolodex.js +77 -0
  1418. package/packages/agent/src/providers/session-bridge.d.ts +24 -0
  1419. package/packages/agent/src/providers/session-bridge.d.ts.map +1 -0
  1420. package/packages/agent/src/providers/session-bridge.js +85 -0
  1421. package/packages/agent/src/providers/session-utils.d.ts +20 -0
  1422. package/packages/agent/src/providers/session-utils.d.ts.map +1 -0
  1423. package/packages/agent/src/providers/session-utils.js +33 -0
  1424. package/packages/agent/src/providers/simple-mode.d.ts +4 -0
  1425. package/packages/agent/src/providers/simple-mode.d.ts.map +1 -0
  1426. package/packages/agent/src/providers/simple-mode.js +85 -0
  1427. package/packages/agent/src/providers/skill-provider.d.ts +16 -0
  1428. package/packages/agent/src/providers/skill-provider.d.ts.map +1 -0
  1429. package/packages/agent/src/providers/skill-provider.js +336 -0
  1430. package/packages/agent/src/providers/tasks.d.ts +9 -0
  1431. package/packages/agent/src/providers/tasks.d.ts.map +1 -0
  1432. package/packages/agent/src/providers/tasks.js +113 -0
  1433. package/packages/agent/src/providers/ui-catalog.d.ts +3 -0
  1434. package/packages/agent/src/providers/ui-catalog.d.ts.map +1 -0
  1435. package/packages/agent/src/providers/ui-catalog.js +95 -0
  1436. package/packages/agent/src/providers/user-name.d.ts +11 -0
  1437. package/packages/agent/src/providers/user-name.d.ts.map +1 -0
  1438. package/packages/agent/src/providers/user-name.js +40 -0
  1439. package/packages/agent/src/providers/workspace-provider.d.ts +14 -0
  1440. package/packages/agent/src/providers/workspace-provider.d.ts.map +1 -0
  1441. package/packages/agent/src/providers/workspace-provider.js +177 -0
  1442. package/packages/agent/src/providers/workspace.d.ts +54 -0
  1443. package/packages/agent/src/providers/workspace.d.ts.map +1 -0
  1444. package/packages/agent/src/providers/workspace.js +481 -0
  1445. package/packages/agent/src/runtime/agent-event-service.d.ts +35 -0
  1446. package/packages/agent/src/runtime/agent-event-service.d.ts.map +1 -0
  1447. package/packages/agent/src/runtime/agent-event-service.js +16 -0
  1448. package/packages/agent/src/runtime/cloud-onboarding.d.ts +35 -0
  1449. package/packages/agent/src/runtime/cloud-onboarding.d.ts.map +1 -0
  1450. package/packages/agent/src/runtime/cloud-onboarding.js +279 -0
  1451. package/packages/agent/src/runtime/core-plugins.d.ts +19 -0
  1452. package/packages/agent/src/runtime/core-plugins.d.ts.map +1 -0
  1453. package/packages/agent/src/runtime/core-plugins.js +63 -0
  1454. package/packages/agent/src/runtime/custom-actions.d.ts +43 -0
  1455. package/packages/agent/src/runtime/custom-actions.d.ts.map +1 -0
  1456. package/packages/agent/src/runtime/custom-actions.js +507 -0
  1457. package/packages/agent/src/runtime/default-knowledge.d.ts +20 -0
  1458. package/packages/agent/src/runtime/default-knowledge.d.ts.map +1 -0
  1459. package/packages/agent/src/runtime/default-knowledge.js +256 -0
  1460. package/packages/agent/src/runtime/discord-local-plugin.d.ts +86 -0
  1461. package/packages/agent/src/runtime/discord-local-plugin.d.ts.map +1 -0
  1462. package/packages/agent/src/runtime/discord-local-plugin.js +884 -0
  1463. package/packages/agent/src/runtime/eliza-plugin.d.ts +16 -0
  1464. package/packages/agent/src/runtime/eliza-plugin.d.ts.map +1 -0
  1465. package/packages/agent/src/runtime/eliza-plugin.js +172 -0
  1466. package/packages/agent/src/runtime/eliza.d.ts +91 -0
  1467. package/packages/agent/src/runtime/eliza.d.ts.map +1 -0
  1468. package/packages/agent/src/runtime/eliza.js +3383 -0
  1469. package/packages/agent/src/runtime/embedding-presets.d.ts +19 -0
  1470. package/packages/agent/src/runtime/embedding-presets.d.ts.map +1 -0
  1471. package/packages/agent/src/runtime/embedding-presets.js +60 -0
  1472. package/packages/agent/src/runtime/first-time-setup.d.ts +45 -0
  1473. package/packages/agent/src/runtime/first-time-setup.d.ts.map +1 -0
  1474. package/packages/agent/src/runtime/first-time-setup.js +692 -0
  1475. package/packages/agent/src/runtime/index.d.ts +13 -0
  1476. package/packages/agent/src/runtime/index.d.ts.map +1 -0
  1477. package/packages/agent/src/runtime/index.js +12 -0
  1478. package/packages/agent/src/runtime/native-runtime-features.d.ts +4 -0
  1479. package/packages/agent/src/runtime/native-runtime-features.d.ts.map +1 -0
  1480. package/packages/agent/src/runtime/native-runtime-features.js +10 -0
  1481. package/packages/agent/src/runtime/onboarding-names.d.ts +11 -0
  1482. package/packages/agent/src/runtime/onboarding-names.d.ts.map +1 -0
  1483. package/packages/agent/src/runtime/onboarding-names.js +74 -0
  1484. package/packages/agent/src/runtime/owner-entity.d.ts +4 -0
  1485. package/packages/agent/src/runtime/owner-entity.d.ts.map +1 -0
  1486. package/packages/agent/src/runtime/owner-entity.js +30 -0
  1487. package/packages/agent/src/runtime/pglite-error-compat.d.ts +28 -0
  1488. package/packages/agent/src/runtime/pglite-error-compat.d.ts.map +1 -0
  1489. package/packages/agent/src/runtime/pglite-error-compat.js +54 -0
  1490. package/packages/agent/src/runtime/plugin-collector.d.ts +26 -0
  1491. package/packages/agent/src/runtime/plugin-collector.d.ts.map +1 -0
  1492. package/packages/agent/src/runtime/plugin-collector.js +397 -0
  1493. package/packages/agent/src/runtime/plugin-lifecycle.d.ts +44 -0
  1494. package/packages/agent/src/runtime/plugin-lifecycle.d.ts.map +1 -0
  1495. package/packages/agent/src/runtime/plugin-lifecycle.js +578 -0
  1496. package/packages/agent/src/runtime/plugin-resolver.d.ts +31 -0
  1497. package/packages/agent/src/runtime/plugin-resolver.d.ts.map +1 -0
  1498. package/packages/agent/src/runtime/plugin-resolver.js +942 -0
  1499. package/packages/agent/src/runtime/plugin-role-gating.d.ts +34 -0
  1500. package/packages/agent/src/runtime/plugin-role-gating.d.ts.map +1 -0
  1501. package/packages/agent/src/runtime/plugin-role-gating.js +232 -0
  1502. package/packages/agent/src/runtime/plugin-types.d.ts +65 -0
  1503. package/packages/agent/src/runtime/plugin-types.d.ts.map +1 -0
  1504. package/packages/agent/src/runtime/plugin-types.js +318 -0
  1505. package/packages/agent/src/runtime/prompt-compaction.d.ts +80 -0
  1506. package/packages/agent/src/runtime/prompt-compaction.d.ts.map +1 -0
  1507. package/packages/agent/src/runtime/prompt-compaction.js +307 -0
  1508. package/packages/agent/src/runtime/prompt-optimization.d.ts +11 -0
  1509. package/packages/agent/src/runtime/prompt-optimization.d.ts.map +1 -0
  1510. package/packages/agent/src/runtime/prompt-optimization.js +421 -0
  1511. package/packages/agent/src/runtime/release-plugin-policy.d.ts +20 -0
  1512. package/packages/agent/src/runtime/release-plugin-policy.d.ts.map +1 -0
  1513. package/packages/agent/src/runtime/release-plugin-policy.js +85 -0
  1514. package/packages/agent/src/runtime/restart.d.ts +45 -0
  1515. package/packages/agent/src/runtime/restart.d.ts.map +1 -0
  1516. package/packages/agent/src/runtime/restart.js +45 -0
  1517. package/packages/agent/src/runtime/roles/src/action.d.ts +11 -0
  1518. package/packages/agent/src/runtime/roles/src/action.d.ts.map +1 -0
  1519. package/packages/agent/src/runtime/roles/src/action.js +676 -0
  1520. package/packages/agent/src/runtime/roles/src/index.d.ts +24 -0
  1521. package/packages/agent/src/runtime/roles/src/index.d.ts.map +1 -0
  1522. package/packages/agent/src/runtime/roles/src/index.js +243 -0
  1523. package/packages/agent/src/runtime/roles/src/intent.d.ts +18 -0
  1524. package/packages/agent/src/runtime/roles/src/intent.d.ts.map +1 -0
  1525. package/packages/agent/src/runtime/roles/src/intent.js +299 -0
  1526. package/packages/agent/src/runtime/roles/src/provider.d.ts +7 -0
  1527. package/packages/agent/src/runtime/roles/src/provider.d.ts.map +1 -0
  1528. package/packages/agent/src/runtime/roles/src/provider.js +133 -0
  1529. package/packages/agent/src/runtime/roles/src/types.d.ts +3 -0
  1530. package/packages/agent/src/runtime/roles/src/types.d.ts.map +1 -0
  1531. package/packages/agent/src/runtime/roles/src/types.js +1 -0
  1532. package/packages/agent/src/runtime/roles/src/utils.d.ts +2 -0
  1533. package/packages/agent/src/runtime/roles/src/utils.d.ts.map +1 -0
  1534. package/packages/agent/src/runtime/roles/src/utils.js +1 -0
  1535. package/packages/agent/src/runtime/roles.d.ts +3 -0
  1536. package/packages/agent/src/runtime/roles.d.ts.map +1 -0
  1537. package/packages/agent/src/runtime/roles.js +5 -0
  1538. package/packages/agent/src/runtime/subagent-output.d.ts +51 -0
  1539. package/packages/agent/src/runtime/subagent-output.d.ts.map +1 -0
  1540. package/packages/agent/src/runtime/subagent-output.js +173 -0
  1541. package/packages/agent/src/runtime/task-heartbeat.d.ts +22 -0
  1542. package/packages/agent/src/runtime/task-heartbeat.d.ts.map +1 -0
  1543. package/packages/agent/src/runtime/task-heartbeat.js +84 -0
  1544. package/packages/agent/src/runtime/trajectory-internals.d.ts +224 -0
  1545. package/packages/agent/src/runtime/trajectory-internals.d.ts.map +1 -0
  1546. package/packages/agent/src/runtime/trajectory-internals.js +1322 -0
  1547. package/packages/agent/src/runtime/trajectory-persistence.d.ts +15 -0
  1548. package/packages/agent/src/runtime/trajectory-persistence.d.ts.map +1 -0
  1549. package/packages/agent/src/runtime/trajectory-persistence.js +29 -0
  1550. package/packages/agent/src/runtime/trajectory-query.d.ts +8 -0
  1551. package/packages/agent/src/runtime/trajectory-query.d.ts.map +1 -0
  1552. package/packages/agent/src/runtime/trajectory-query.js +27 -0
  1553. package/packages/agent/src/runtime/trajectory-storage.d.ts +91 -0
  1554. package/packages/agent/src/runtime/trajectory-storage.d.ts.map +1 -0
  1555. package/packages/agent/src/runtime/trajectory-storage.js +1149 -0
  1556. package/packages/agent/src/runtime/version.d.ts +2 -0
  1557. package/packages/agent/src/runtime/version.d.ts.map +1 -0
  1558. package/packages/agent/src/runtime/version.js +5 -0
  1559. package/packages/agent/src/runtime/web-search-tools.d.ts +22 -0
  1560. package/packages/agent/src/runtime/web-search-tools.d.ts.map +1 -0
  1561. package/packages/agent/src/runtime/web-search-tools.js +149 -0
  1562. package/packages/agent/src/security/access.d.ts +17 -0
  1563. package/packages/agent/src/security/access.d.ts.map +1 -0
  1564. package/packages/agent/src/security/access.js +129 -0
  1565. package/packages/agent/src/security/audit-log.d.ts +47 -0
  1566. package/packages/agent/src/security/audit-log.d.ts.map +1 -0
  1567. package/packages/agent/src/security/audit-log.js +161 -0
  1568. package/packages/agent/src/security/network-policy.d.ts +6 -0
  1569. package/packages/agent/src/security/network-policy.d.ts.map +1 -0
  1570. package/packages/agent/src/security/network-policy.js +85 -0
  1571. package/packages/agent/src/services/agent-export.d.ts +100 -0
  1572. package/packages/agent/src/services/agent-export.d.ts.map +1 -0
  1573. package/packages/agent/src/services/agent-export.js +729 -0
  1574. package/packages/agent/src/services/app-manager.d.ts +108 -0
  1575. package/packages/agent/src/services/app-manager.d.ts.map +1 -0
  1576. package/packages/agent/src/services/app-manager.js +2223 -0
  1577. package/packages/agent/src/services/app-package-modules.d.ts +21 -0
  1578. package/packages/agent/src/services/app-package-modules.d.ts.map +1 -0
  1579. package/packages/agent/src/services/app-package-modules.js +415 -0
  1580. package/packages/agent/src/services/app-run-store.d.ts +6 -0
  1581. package/packages/agent/src/services/app-run-store.d.ts.map +1 -0
  1582. package/packages/agent/src/services/app-run-store.js +490 -0
  1583. package/packages/agent/src/services/app-session-gate.d.ts +15 -0
  1584. package/packages/agent/src/services/app-session-gate.d.ts.map +1 -0
  1585. package/packages/agent/src/services/app-session-gate.js +71 -0
  1586. package/packages/agent/src/services/browser-capture.d.ts +41 -0
  1587. package/packages/agent/src/services/browser-capture.d.ts.map +1 -0
  1588. package/packages/agent/src/services/browser-capture.js +173 -0
  1589. package/packages/agent/src/services/browser-workspace-desktop.d.ts +22 -0
  1590. package/packages/agent/src/services/browser-workspace-desktop.d.ts.map +1 -0
  1591. package/packages/agent/src/services/browser-workspace-desktop.js +1379 -0
  1592. package/packages/agent/src/services/browser-workspace-elements.d.ts +42 -0
  1593. package/packages/agent/src/services/browser-workspace-elements.d.ts.map +1 -0
  1594. package/packages/agent/src/services/browser-workspace-elements.js +508 -0
  1595. package/packages/agent/src/services/browser-workspace-forms.d.ts +19 -0
  1596. package/packages/agent/src/services/browser-workspace-forms.d.ts.map +1 -0
  1597. package/packages/agent/src/services/browser-workspace-forms.js +244 -0
  1598. package/packages/agent/src/services/browser-workspace-helpers.d.ts +20 -0
  1599. package/packages/agent/src/services/browser-workspace-helpers.d.ts.map +1 -0
  1600. package/packages/agent/src/services/browser-workspace-helpers.js +121 -0
  1601. package/packages/agent/src/services/browser-workspace-jsdom.d.ts +16 -0
  1602. package/packages/agent/src/services/browser-workspace-jsdom.d.ts.map +1 -0
  1603. package/packages/agent/src/services/browser-workspace-jsdom.js +223 -0
  1604. package/packages/agent/src/services/browser-workspace-network.d.ts +7 -0
  1605. package/packages/agent/src/services/browser-workspace-network.d.ts.map +1 -0
  1606. package/packages/agent/src/services/browser-workspace-network.js +137 -0
  1607. package/packages/agent/src/services/browser-workspace-snapshots.d.ts +14 -0
  1608. package/packages/agent/src/services/browser-workspace-snapshots.d.ts.map +1 -0
  1609. package/packages/agent/src/services/browser-workspace-snapshots.js +144 -0
  1610. package/packages/agent/src/services/browser-workspace-state.d.ts +22 -0
  1611. package/packages/agent/src/services/browser-workspace-state.d.ts.map +1 -0
  1612. package/packages/agent/src/services/browser-workspace-state.js +129 -0
  1613. package/packages/agent/src/services/browser-workspace-types.d.ts +266 -0
  1614. package/packages/agent/src/services/browser-workspace-types.d.ts.map +1 -0
  1615. package/packages/agent/src/services/browser-workspace-types.js +1 -0
  1616. package/packages/agent/src/services/browser-workspace-web.d.ts +8 -0
  1617. package/packages/agent/src/services/browser-workspace-web.d.ts.map +1 -0
  1618. package/packages/agent/src/services/browser-workspace-web.js +1141 -0
  1619. package/packages/agent/src/services/browser-workspace.d.ts +36 -0
  1620. package/packages/agent/src/services/browser-workspace.d.ts.map +1 -0
  1621. package/packages/agent/src/services/browser-workspace.js +806 -0
  1622. package/packages/agent/src/services/character-persistence.d.ts +39 -0
  1623. package/packages/agent/src/services/character-persistence.d.ts.map +1 -0
  1624. package/packages/agent/src/services/character-persistence.js +158 -0
  1625. package/packages/agent/src/services/client-chat-sender.d.ts +19 -0
  1626. package/packages/agent/src/services/client-chat-sender.d.ts.map +1 -0
  1627. package/packages/agent/src/services/client-chat-sender.js +88 -0
  1628. package/packages/agent/src/services/coding-agent-context.d.ts +310 -0
  1629. package/packages/agent/src/services/coding-agent-context.d.ts.map +1 -0
  1630. package/packages/agent/src/services/coding-agent-context.js +281 -0
  1631. package/packages/agent/src/services/config-plugin-manager.d.ts +6 -0
  1632. package/packages/agent/src/services/config-plugin-manager.d.ts.map +1 -0
  1633. package/packages/agent/src/services/config-plugin-manager.js +53 -0
  1634. package/packages/agent/src/services/connector-setup-service.d.ts +48 -0
  1635. package/packages/agent/src/services/connector-setup-service.d.ts.map +1 -0
  1636. package/packages/agent/src/services/connector-setup-service.js +60 -0
  1637. package/packages/agent/src/services/conversation-proximity.d.ts +27 -0
  1638. package/packages/agent/src/services/conversation-proximity.d.ts.map +1 -0
  1639. package/packages/agent/src/services/conversation-proximity.js +124 -0
  1640. package/packages/agent/src/services/credential-words.d.ts +26 -0
  1641. package/packages/agent/src/services/credential-words.d.ts.map +1 -0
  1642. package/packages/agent/src/services/credential-words.js +116 -0
  1643. package/packages/agent/src/services/escalation.d.ts +35 -0
  1644. package/packages/agent/src/services/escalation.d.ts.map +1 -0
  1645. package/packages/agent/src/services/escalation.js +376 -0
  1646. package/packages/agent/src/services/hosted-tools.d.ts +70 -0
  1647. package/packages/agent/src/services/hosted-tools.d.ts.map +1 -0
  1648. package/packages/agent/src/services/hosted-tools.js +87 -0
  1649. package/packages/agent/src/services/mcp-marketplace.d.ts +89 -0
  1650. package/packages/agent/src/services/mcp-marketplace.d.ts.map +1 -0
  1651. package/packages/agent/src/services/mcp-marketplace.js +200 -0
  1652. package/packages/agent/src/services/overlay-app-presence.d.ts +9 -0
  1653. package/packages/agent/src/services/overlay-app-presence.d.ts.map +1 -0
  1654. package/packages/agent/src/services/overlay-app-presence.js +18 -0
  1655. package/packages/agent/src/services/owner-name.d.ts +4 -0
  1656. package/packages/agent/src/services/owner-name.d.ts.map +1 -0
  1657. package/packages/agent/src/services/owner-name.js +46 -0
  1658. package/packages/agent/src/services/plugin-manager-types.d.ts +114 -0
  1659. package/packages/agent/src/services/plugin-manager-types.d.ts.map +1 -0
  1660. package/packages/agent/src/services/plugin-manager-types.js +18 -0
  1661. package/packages/agent/src/services/privy-wallets.d.ts +18 -0
  1662. package/packages/agent/src/services/privy-wallets.d.ts.map +1 -0
  1663. package/packages/agent/src/services/privy-wallets.js +225 -0
  1664. package/packages/agent/src/services/registry-client-app-meta.d.ts +6 -0
  1665. package/packages/agent/src/services/registry-client-app-meta.d.ts.map +1 -0
  1666. package/packages/agent/src/services/registry-client-app-meta.js +226 -0
  1667. package/packages/agent/src/services/registry-client-endpoints.d.ts +7 -0
  1668. package/packages/agent/src/services/registry-client-endpoints.d.ts.map +1 -0
  1669. package/packages/agent/src/services/registry-client-endpoints.js +190 -0
  1670. package/packages/agent/src/services/registry-client-local.d.ts +4 -0
  1671. package/packages/agent/src/services/registry-client-local.d.ts.map +1 -0
  1672. package/packages/agent/src/services/registry-client-local.js +546 -0
  1673. package/packages/agent/src/services/registry-client-network.d.ts +9 -0
  1674. package/packages/agent/src/services/registry-client-network.d.ts.map +1 -0
  1675. package/packages/agent/src/services/registry-client-network.js +120 -0
  1676. package/packages/agent/src/services/registry-client-queries.d.ts +26 -0
  1677. package/packages/agent/src/services/registry-client-queries.d.ts.map +1 -0
  1678. package/packages/agent/src/services/registry-client-queries.js +195 -0
  1679. package/packages/agent/src/services/registry-client-types.d.ts +101 -0
  1680. package/packages/agent/src/services/registry-client-types.d.ts.map +1 -0
  1681. package/packages/agent/src/services/registry-client-types.js +1 -0
  1682. package/packages/agent/src/services/registry-client.d.ts +39 -0
  1683. package/packages/agent/src/services/registry-client.d.ts.map +1 -0
  1684. package/packages/agent/src/services/registry-client.js +332 -0
  1685. package/packages/agent/src/services/relationships-graph.d.ts +195 -0
  1686. package/packages/agent/src/services/relationships-graph.d.ts.map +1 -0
  1687. package/packages/agent/src/services/relationships-graph.js +1442 -0
  1688. package/packages/agent/src/services/remote-signing-service.d.ts +58 -0
  1689. package/packages/agent/src/services/remote-signing-service.d.ts.map +1 -0
  1690. package/packages/agent/src/services/remote-signing-service.js +185 -0
  1691. package/packages/agent/src/services/sandbox-engine.d.ts +96 -0
  1692. package/packages/agent/src/services/sandbox-engine.d.ts.map +1 -0
  1693. package/packages/agent/src/services/sandbox-engine.js +604 -0
  1694. package/packages/agent/src/services/sandbox-manager.d.ts +106 -0
  1695. package/packages/agent/src/services/sandbox-manager.d.ts.map +1 -0
  1696. package/packages/agent/src/services/sandbox-manager.js +380 -0
  1697. package/packages/agent/src/services/self-updater.d.ts +21 -0
  1698. package/packages/agent/src/services/self-updater.d.ts.map +1 -0
  1699. package/packages/agent/src/services/self-updater.js +162 -0
  1700. package/packages/agent/src/services/send-handler-availability.d.ts +5 -0
  1701. package/packages/agent/src/services/send-handler-availability.d.ts.map +1 -0
  1702. package/packages/agent/src/services/send-handler-availability.js +20 -0
  1703. package/packages/agent/src/services/signal-pairing.d.ts +57 -0
  1704. package/packages/agent/src/services/signal-pairing.d.ts.map +1 -0
  1705. package/packages/agent/src/services/signal-pairing.js +407 -0
  1706. package/packages/agent/src/services/signing-policy.d.ts +44 -0
  1707. package/packages/agent/src/services/signing-policy.d.ts.map +1 -0
  1708. package/packages/agent/src/services/signing-policy.js +165 -0
  1709. package/packages/agent/src/services/skill-catalog-client.d.ts +47 -0
  1710. package/packages/agent/src/services/skill-catalog-client.d.ts.map +1 -0
  1711. package/packages/agent/src/services/skill-catalog-client.js +130 -0
  1712. package/packages/agent/src/services/skill-marketplace.d.ts +42 -0
  1713. package/packages/agent/src/services/skill-marketplace.d.ts.map +1 -0
  1714. package/packages/agent/src/services/skill-marketplace.js +689 -0
  1715. package/packages/agent/src/services/steward-evm-account.d.ts +58 -0
  1716. package/packages/agent/src/services/steward-evm-account.d.ts.map +1 -0
  1717. package/packages/agent/src/services/steward-evm-account.js +304 -0
  1718. package/packages/agent/src/services/steward-evm-bridge.d.ts +35 -0
  1719. package/packages/agent/src/services/steward-evm-bridge.d.ts.map +1 -0
  1720. package/packages/agent/src/services/steward-evm-bridge.js +99 -0
  1721. package/packages/agent/src/services/stream-manager.d.ts +121 -0
  1722. package/packages/agent/src/services/stream-manager.d.ts.map +1 -0
  1723. package/packages/agent/src/services/stream-manager.js +609 -0
  1724. package/packages/agent/src/services/telegram-account-auth.d.ts +99 -0
  1725. package/packages/agent/src/services/telegram-account-auth.d.ts.map +1 -0
  1726. package/packages/agent/src/services/telegram-account-auth.js +611 -0
  1727. package/packages/agent/src/services/tts-stream-bridge.d.ts +83 -0
  1728. package/packages/agent/src/services/tts-stream-bridge.d.ts.map +1 -0
  1729. package/packages/agent/src/services/tts-stream-bridge.js +360 -0
  1730. package/packages/agent/src/services/update-checker.d.ts +29 -0
  1731. package/packages/agent/src/services/update-checker.d.ts.map +1 -0
  1732. package/packages/agent/src/services/update-checker.js +134 -0
  1733. package/packages/agent/src/services/version-compat.d.ts +99 -0
  1734. package/packages/agent/src/services/version-compat.d.ts.map +1 -0
  1735. package/packages/agent/src/services/version-compat.js +203 -0
  1736. package/packages/agent/src/services/whatsapp-pairing.d.ts +41 -0
  1737. package/packages/agent/src/services/whatsapp-pairing.d.ts.map +1 -0
  1738. package/packages/agent/src/services/whatsapp-pairing.js +209 -0
  1739. package/packages/agent/src/shared/ui-catalog-prompt.d.ts +52 -0
  1740. package/packages/agent/src/shared/ui-catalog-prompt.d.ts.map +1 -0
  1741. package/packages/agent/src/shared/ui-catalog-prompt.js +1028 -0
  1742. package/packages/agent/src/triggers/action.d.ts +4 -0
  1743. package/packages/agent/src/triggers/action.d.ts.map +1 -0
  1744. package/packages/agent/src/triggers/action.js +316 -0
  1745. package/packages/agent/src/triggers/runtime.d.ts +26 -0
  1746. package/packages/agent/src/triggers/runtime.d.ts.map +1 -0
  1747. package/packages/agent/src/triggers/runtime.js +507 -0
  1748. package/packages/agent/src/triggers/scheduling.d.ts +76 -0
  1749. package/packages/agent/src/triggers/scheduling.d.ts.map +1 -0
  1750. package/packages/agent/src/triggers/scheduling.js +401 -0
  1751. package/packages/agent/src/triggers/types.d.ts +92 -0
  1752. package/packages/agent/src/triggers/types.d.ts.map +1 -0
  1753. package/packages/agent/src/triggers/types.js +1 -0
  1754. package/packages/agent/src/types/agent-skills.d.ts +19 -0
  1755. package/packages/agent/src/types/agent-skills.d.ts.map +1 -0
  1756. package/packages/agent/src/types/agent-skills.js +7 -0
  1757. package/packages/agent/src/types/config-like.d.ts +17 -0
  1758. package/packages/agent/src/types/config-like.d.ts.map +1 -0
  1759. package/packages/agent/src/types/config-like.js +7 -0
  1760. package/packages/agent/src/types/trajectory.d.ts +147 -0
  1761. package/packages/agent/src/types/trajectory.d.ts.map +1 -0
  1762. package/packages/agent/src/types/trajectory.js +8 -0
  1763. package/packages/agent/src/utils/exec-safety.d.ts +2 -0
  1764. package/packages/agent/src/utils/exec-safety.d.ts.map +1 -0
  1765. package/packages/agent/src/utils/exec-safety.js +21 -0
  1766. package/packages/agent/src/utils/number-parsing.d.ts +26 -0
  1767. package/packages/agent/src/utils/number-parsing.d.ts.map +1 -0
  1768. package/packages/agent/src/utils/number-parsing.js +52 -0
  1769. package/packages/agent/src/version-resolver.d.ts +2 -0
  1770. package/packages/agent/src/version-resolver.d.ts.map +1 -0
  1771. package/packages/agent/src/version-resolver.js +50 -0
  1772. package/packages/app-core/src/App.d.ts +5 -0
  1773. package/packages/app-core/src/App.d.ts.map +1 -0
  1774. package/packages/app-core/src/App.js +374 -0
  1775. package/packages/app-core/src/api/auth.d.ts +46 -0
  1776. package/packages/app-core/src/api/auth.d.ts.map +1 -0
  1777. package/packages/app-core/src/api/auth.js +149 -0
  1778. package/packages/app-core/src/api/client-agent.d.ts +506 -0
  1779. package/packages/app-core/src/api/client-agent.d.ts.map +1 -0
  1780. package/packages/app-core/src/api/client-agent.js +1112 -0
  1781. package/packages/app-core/src/api/client-automations.d.ts +8 -0
  1782. package/packages/app-core/src/api/client-automations.d.ts.map +1 -0
  1783. package/packages/app-core/src/api/client-automations.js +7 -0
  1784. package/packages/app-core/src/api/client-base.d.ts +82 -0
  1785. package/packages/app-core/src/api/client-base.d.ts.map +1 -0
  1786. package/packages/app-core/src/api/client-base.js +684 -0
  1787. package/packages/app-core/src/api/client-browser-workspace.d.ts +25 -0
  1788. package/packages/app-core/src/api/client-browser-workspace.d.ts.map +1 -0
  1789. package/packages/app-core/src/api/client-browser-workspace.js +34 -0
  1790. package/packages/app-core/src/api/client-chat.d.ts +333 -0
  1791. package/packages/app-core/src/api/client-chat.d.ts.map +1 -0
  1792. package/packages/app-core/src/api/client-chat.js +534 -0
  1793. package/packages/app-core/src/api/client-cloud.d.ts +281 -0
  1794. package/packages/app-core/src/api/client-cloud.d.ts.map +1 -0
  1795. package/packages/app-core/src/api/client-cloud.js +397 -0
  1796. package/packages/app-core/src/api/client-computeruse.d.ts +32 -0
  1797. package/packages/app-core/src/api/client-computeruse.d.ts.map +1 -0
  1798. package/packages/app-core/src/api/client-computeruse.js +16 -0
  1799. package/packages/app-core/src/api/client-local-inference.d.ts +62 -0
  1800. package/packages/app-core/src/api/client-local-inference.d.ts.map +1 -0
  1801. package/packages/app-core/src/api/client-local-inference.js +87 -0
  1802. package/packages/app-core/src/api/client-n8n.d.ts +23 -0
  1803. package/packages/app-core/src/api/client-n8n.d.ts.map +1 -0
  1804. package/packages/app-core/src/api/client-n8n.js +34 -0
  1805. package/packages/app-core/src/api/client-skills.d.ts +463 -0
  1806. package/packages/app-core/src/api/client-skills.d.ts.map +1 -0
  1807. package/packages/app-core/src/api/client-skills.js +605 -0
  1808. package/packages/app-core/src/api/client-types-babylon.d.ts +254 -0
  1809. package/packages/app-core/src/api/client-types-babylon.d.ts.map +1 -0
  1810. package/packages/app-core/src/api/client-types-babylon.js +2 -0
  1811. package/packages/app-core/src/api/client-types-chat.d.ts +318 -0
  1812. package/packages/app-core/src/api/client-types-chat.d.ts.map +1 -0
  1813. package/packages/app-core/src/api/client-types-chat.js +5 -0
  1814. package/packages/app-core/src/api/client-types-cloud.d.ts +799 -0
  1815. package/packages/app-core/src/api/client-types-cloud.d.ts.map +1 -0
  1816. package/packages/app-core/src/api/client-types-cloud.js +57 -0
  1817. package/packages/app-core/src/api/client-types-config.d.ts +554 -0
  1818. package/packages/app-core/src/api/client-types-config.d.ts.map +1 -0
  1819. package/packages/app-core/src/api/client-types-config.js +5 -0
  1820. package/packages/app-core/src/api/client-types-core.d.ts +334 -0
  1821. package/packages/app-core/src/api/client-types-core.d.ts.map +1 -0
  1822. package/packages/app-core/src/api/client-types-core.js +22 -0
  1823. package/packages/app-core/src/api/client-types-relationships.d.ts +133 -0
  1824. package/packages/app-core/src/api/client-types-relationships.d.ts.map +1 -0
  1825. package/packages/app-core/src/api/client-types-relationships.js +1 -0
  1826. package/packages/app-core/src/api/client-types.d.ts +7 -0
  1827. package/packages/app-core/src/api/client-types.d.ts.map +1 -0
  1828. package/packages/app-core/src/api/client-types.js +10 -0
  1829. package/packages/app-core/src/api/client-wallet.d.ts +125 -0
  1830. package/packages/app-core/src/api/client-wallet.d.ts.map +1 -0
  1831. package/packages/app-core/src/api/client-wallet.js +219 -0
  1832. package/packages/app-core/src/api/client.d.ts +40 -0
  1833. package/packages/app-core/src/api/client.d.ts.map +1 -0
  1834. package/packages/app-core/src/api/client.js +36 -0
  1835. package/packages/app-core/src/api/cloud-secrets.d.ts +23 -0
  1836. package/packages/app-core/src/api/cloud-secrets.d.ts.map +1 -0
  1837. package/packages/app-core/src/api/cloud-secrets.js +50 -0
  1838. package/packages/app-core/src/api/compat-route-shared.d.ts +16 -0
  1839. package/packages/app-core/src/api/compat-route-shared.d.ts.map +1 -0
  1840. package/packages/app-core/src/api/compat-route-shared.js +99 -0
  1841. package/packages/app-core/src/api/index.d.ts +2 -0
  1842. package/packages/app-core/src/api/index.d.ts.map +1 -0
  1843. package/packages/app-core/src/api/index.js +1 -0
  1844. package/packages/app-core/src/api/response.d.ts +12 -0
  1845. package/packages/app-core/src/api/response.d.ts.map +1 -0
  1846. package/packages/app-core/src/api/response.js +18 -0
  1847. package/packages/app-core/src/api/server-cloud-tts.d.ts +41 -0
  1848. package/packages/app-core/src/api/server-cloud-tts.d.ts.map +1 -0
  1849. package/packages/app-core/src/api/server-cloud-tts.js +469 -0
  1850. package/packages/app-core/src/autonomy/index.d.ts +48 -0
  1851. package/packages/app-core/src/autonomy/index.d.ts.map +1 -0
  1852. package/packages/app-core/src/autonomy/index.js +330 -0
  1853. package/packages/app-core/src/bridge/capacitor-bridge.d.ts +153 -0
  1854. package/packages/app-core/src/bridge/capacitor-bridge.d.ts.map +1 -0
  1855. package/packages/app-core/src/bridge/capacitor-bridge.js +195 -0
  1856. package/packages/app-core/src/bridge/electrobun-rpc.d.ts +57 -0
  1857. package/packages/app-core/src/bridge/electrobun-rpc.d.ts.map +1 -0
  1858. package/packages/app-core/src/bridge/electrobun-rpc.js +87 -0
  1859. package/packages/app-core/src/bridge/electrobun-runtime.d.ts +3 -0
  1860. package/packages/app-core/src/bridge/electrobun-runtime.d.ts.map +1 -0
  1861. package/packages/app-core/src/bridge/electrobun-runtime.js +34 -0
  1862. package/packages/app-core/src/bridge/gateway-discovery.d.ts +17 -0
  1863. package/packages/app-core/src/bridge/gateway-discovery.d.ts.map +1 -0
  1864. package/packages/app-core/src/bridge/gateway-discovery.js +49 -0
  1865. package/packages/app-core/src/bridge/index.d.ts +6 -0
  1866. package/packages/app-core/src/bridge/index.d.ts.map +1 -0
  1867. package/packages/app-core/src/bridge/index.js +5 -0
  1868. package/packages/app-core/src/bridge/native-plugins.d.ts +290 -0
  1869. package/packages/app-core/src/bridge/native-plugins.d.ts.map +1 -0
  1870. package/packages/app-core/src/bridge/native-plugins.js +55 -0
  1871. package/packages/app-core/src/bridge/plugin-bridge.d.ts +109 -0
  1872. package/packages/app-core/src/bridge/plugin-bridge.d.ts.map +1 -0
  1873. package/packages/app-core/src/bridge/plugin-bridge.js +201 -0
  1874. package/packages/app-core/src/bridge/storage-bridge.d.ts +39 -0
  1875. package/packages/app-core/src/bridge/storage-bridge.d.ts.map +1 -0
  1876. package/packages/app-core/src/bridge/storage-bridge.js +140 -0
  1877. package/packages/app-core/src/character/character-draft-helpers.d.ts +35 -0
  1878. package/packages/app-core/src/character/character-draft-helpers.d.ts.map +1 -0
  1879. package/packages/app-core/src/character/character-draft-helpers.js +245 -0
  1880. package/packages/app-core/src/character-catalog.d.ts +17 -0
  1881. package/packages/app-core/src/character-catalog.d.ts.map +1 -0
  1882. package/packages/app-core/src/character-catalog.js +39 -0
  1883. package/packages/app-core/src/chat/coding-agent-session-state.d.ts +16 -0
  1884. package/packages/app-core/src/chat/coding-agent-session-state.d.ts.map +1 -0
  1885. package/packages/app-core/src/chat/coding-agent-session-state.js +27 -0
  1886. package/packages/app-core/src/chat/index.d.ts +66 -0
  1887. package/packages/app-core/src/chat/index.d.ts.map +1 -0
  1888. package/packages/app-core/src/chat/index.js +239 -0
  1889. package/packages/app-core/src/components/apps/AppsCatalogGrid.d.ts +16 -0
  1890. package/packages/app-core/src/components/apps/AppsCatalogGrid.d.ts.map +1 -0
  1891. package/packages/app-core/src/components/apps/AppsCatalogGrid.js +26 -0
  1892. package/packages/app-core/src/components/apps/GameView.d.ts +18 -0
  1893. package/packages/app-core/src/components/apps/GameView.d.ts.map +1 -0
  1894. package/packages/app-core/src/components/apps/GameView.js +1055 -0
  1895. package/packages/app-core/src/components/apps/GameViewOverlay.d.ts +2 -0
  1896. package/packages/app-core/src/components/apps/GameViewOverlay.d.ts.map +1 -0
  1897. package/packages/app-core/src/components/apps/GameViewOverlay.js +120 -0
  1898. package/packages/app-core/src/components/apps/RunningAppsRow.d.ts +12 -0
  1899. package/packages/app-core/src/components/apps/RunningAppsRow.d.ts.map +1 -0
  1900. package/packages/app-core/src/components/apps/RunningAppsRow.js +34 -0
  1901. package/packages/app-core/src/components/apps/app-identity.d.ts +32 -0
  1902. package/packages/app-core/src/components/apps/app-identity.d.ts.map +1 -0
  1903. package/packages/app-core/src/components/apps/app-identity.js +133 -0
  1904. package/packages/app-core/src/components/apps/helpers.d.ts +39 -0
  1905. package/packages/app-core/src/components/apps/helpers.d.ts.map +1 -0
  1906. package/packages/app-core/src/components/apps/helpers.js +242 -0
  1907. package/packages/app-core/src/components/apps/internal-tool-apps.d.ts +7 -0
  1908. package/packages/app-core/src/components/apps/internal-tool-apps.d.ts.map +1 -0
  1909. package/packages/app-core/src/components/apps/internal-tool-apps.js +116 -0
  1910. package/packages/app-core/src/components/apps/overlay-app-api.d.ts +53 -0
  1911. package/packages/app-core/src/components/apps/overlay-app-api.d.ts.map +1 -0
  1912. package/packages/app-core/src/components/apps/overlay-app-api.js +8 -0
  1913. package/packages/app-core/src/components/apps/overlay-app-registry.d.ts +19 -0
  1914. package/packages/app-core/src/components/apps/overlay-app-registry.d.ts.map +1 -0
  1915. package/packages/app-core/src/components/apps/overlay-app-registry.js +47 -0
  1916. package/packages/app-core/src/components/apps/run-attention.d.ts +3 -0
  1917. package/packages/app-core/src/components/apps/run-attention.d.ts.map +1 -0
  1918. package/packages/app-core/src/components/apps/run-attention.js +77 -0
  1919. package/packages/app-core/src/components/apps/surfaces/registry.d.ts +11 -0
  1920. package/packages/app-core/src/components/apps/surfaces/registry.d.ts.map +1 -0
  1921. package/packages/app-core/src/components/apps/surfaces/registry.js +23 -0
  1922. package/packages/app-core/src/components/apps/surfaces/types.d.ts +10 -0
  1923. package/packages/app-core/src/components/apps/surfaces/types.d.ts.map +1 -0
  1924. package/packages/app-core/src/components/apps/surfaces/types.js +1 -0
  1925. package/packages/app-core/src/components/apps/viewer-auth.d.ts +7 -0
  1926. package/packages/app-core/src/components/apps/viewer-auth.d.ts.map +1 -0
  1927. package/packages/app-core/src/components/apps/viewer-auth.js +55 -0
  1928. package/packages/app-core/src/components/character/CharacterEditor.d.ts +12 -0
  1929. package/packages/app-core/src/components/character/CharacterEditor.d.ts.map +1 -0
  1930. package/packages/app-core/src/components/character/CharacterEditor.js +1034 -0
  1931. package/packages/app-core/src/components/character/CharacterEditorPanels.d.ts +66 -0
  1932. package/packages/app-core/src/components/character/CharacterEditorPanels.d.ts.map +1 -0
  1933. package/packages/app-core/src/components/character/CharacterEditorPanels.js +310 -0
  1934. package/packages/app-core/src/components/character/CharacterRoster.d.ts +32 -0
  1935. package/packages/app-core/src/components/character/CharacterRoster.d.ts.map +1 -0
  1936. package/packages/app-core/src/components/character/CharacterRoster.js +111 -0
  1937. package/packages/app-core/src/components/character/character-editor-helpers.d.ts +42 -0
  1938. package/packages/app-core/src/components/character/character-editor-helpers.d.ts.map +1 -0
  1939. package/packages/app-core/src/components/character/character-editor-helpers.js +58 -0
  1940. package/packages/app-core/src/components/character/character-greeting.d.ts +5 -0
  1941. package/packages/app-core/src/components/character/character-greeting.d.ts.map +1 -0
  1942. package/packages/app-core/src/components/character/character-greeting.js +22 -0
  1943. package/packages/app-core/src/components/character/character-voice-config.d.ts +33 -0
  1944. package/packages/app-core/src/components/character/character-voice-config.d.ts.map +1 -0
  1945. package/packages/app-core/src/components/character/character-voice-config.js +95 -0
  1946. package/packages/app-core/src/components/chat/AgentActivityBox.d.ts +8 -0
  1947. package/packages/app-core/src/components/chat/AgentActivityBox.d.ts.map +1 -0
  1948. package/packages/app-core/src/components/chat/AgentActivityBox.js +33 -0
  1949. package/packages/app-core/src/components/chat/AppsSection.d.ts +8 -0
  1950. package/packages/app-core/src/components/chat/AppsSection.d.ts.map +1 -0
  1951. package/packages/app-core/src/components/chat/AppsSection.js +133 -0
  1952. package/packages/app-core/src/components/chat/MessageContent.d.ts +41 -0
  1953. package/packages/app-core/src/components/chat/MessageContent.d.ts.map +1 -0
  1954. package/packages/app-core/src/components/chat/MessageContent.js +666 -0
  1955. package/packages/app-core/src/components/chat/SaveCommandModal.d.ts +9 -0
  1956. package/packages/app-core/src/components/chat/SaveCommandModal.d.ts.map +1 -0
  1957. package/packages/app-core/src/components/chat/SaveCommandModal.js +59 -0
  1958. package/packages/app-core/src/components/chat/TasksEventsPanel.d.ts +20 -0
  1959. package/packages/app-core/src/components/chat/TasksEventsPanel.d.ts.map +1 -0
  1960. package/packages/app-core/src/components/chat/TasksEventsPanel.js +11 -0
  1961. package/packages/app-core/src/components/chat/widgets/plugins/agent-orchestrator.d.ts +3 -0
  1962. package/packages/app-core/src/components/chat/widgets/plugins/agent-orchestrator.d.ts.map +1 -0
  1963. package/packages/app-core/src/components/chat/widgets/plugins/agent-orchestrator.js +165 -0
  1964. package/packages/app-core/src/components/chat/widgets/plugins/todo.d.ts +3 -0
  1965. package/packages/app-core/src/components/chat/widgets/plugins/todo.d.ts.map +1 -0
  1966. package/packages/app-core/src/components/chat/widgets/plugins/todo.js +109 -0
  1967. package/packages/app-core/src/components/chat/widgets/shared.d.ts +15 -0
  1968. package/packages/app-core/src/components/chat/widgets/shared.d.ts.map +1 -0
  1969. package/packages/app-core/src/components/chat/widgets/shared.js +7 -0
  1970. package/packages/app-core/src/components/chat/widgets/types.d.ts +16 -0
  1971. package/packages/app-core/src/components/chat/widgets/types.d.ts.map +1 -0
  1972. package/packages/app-core/src/components/chat/widgets/types.js +1 -0
  1973. package/packages/app-core/src/components/cloud/CloudSourceControls.d.ts +13 -0
  1974. package/packages/app-core/src/components/cloud/CloudSourceControls.d.ts.map +1 -0
  1975. package/packages/app-core/src/components/cloud/CloudSourceControls.js +18 -0
  1976. package/packages/app-core/src/components/cloud/CloudStatusBadge.d.ts +33 -0
  1977. package/packages/app-core/src/components/cloud/CloudStatusBadge.d.ts.map +1 -0
  1978. package/packages/app-core/src/components/cloud/CloudStatusBadge.js +93 -0
  1979. package/packages/app-core/src/components/cloud/FlaminaGuide.d.ts +10 -0
  1980. package/packages/app-core/src/components/cloud/FlaminaGuide.d.ts.map +1 -0
  1981. package/packages/app-core/src/components/cloud/FlaminaGuide.js +86 -0
  1982. package/packages/app-core/src/components/cloud/StripeEmbeddedCheckout.d.ts +24 -0
  1983. package/packages/app-core/src/components/cloud/StripeEmbeddedCheckout.d.ts.map +1 -0
  1984. package/packages/app-core/src/components/cloud/StripeEmbeddedCheckout.js +101 -0
  1985. package/packages/app-core/src/components/config-ui/config-control-primitives.d.ts +14 -0
  1986. package/packages/app-core/src/components/config-ui/config-control-primitives.d.ts.map +1 -0
  1987. package/packages/app-core/src/components/config-ui/config-control-primitives.js +22 -0
  1988. package/packages/app-core/src/components/config-ui/config-field.d.ts +58 -0
  1989. package/packages/app-core/src/components/config-ui/config-field.d.ts.map +1 -0
  1990. package/packages/app-core/src/components/config-ui/config-field.js +873 -0
  1991. package/packages/app-core/src/components/config-ui/config-renderer.d.ts +164 -0
  1992. package/packages/app-core/src/components/config-ui/config-renderer.d.ts.map +1 -0
  1993. package/packages/app-core/src/components/config-ui/config-renderer.js +397 -0
  1994. package/packages/app-core/src/components/config-ui/index.d.ts +5 -0
  1995. package/packages/app-core/src/components/config-ui/index.d.ts.map +1 -0
  1996. package/packages/app-core/src/components/config-ui/index.js +4 -0
  1997. package/packages/app-core/src/components/config-ui/ui-renderer.d.ts +15 -0
  1998. package/packages/app-core/src/components/config-ui/ui-renderer.d.ts.map +1 -0
  1999. package/packages/app-core/src/components/config-ui/ui-renderer.js +824 -0
  2000. package/packages/app-core/src/components/connectors/BlueBubblesStatusPanel.d.ts +2 -0
  2001. package/packages/app-core/src/components/connectors/BlueBubblesStatusPanel.d.ts.map +1 -0
  2002. package/packages/app-core/src/components/connectors/BlueBubblesStatusPanel.js +61 -0
  2003. package/packages/app-core/src/components/connectors/ConnectorSetupPanel.d.ts +12 -0
  2004. package/packages/app-core/src/components/connectors/ConnectorSetupPanel.d.ts.map +1 -0
  2005. package/packages/app-core/src/components/connectors/ConnectorSetupPanel.js +90 -0
  2006. package/packages/app-core/src/components/connectors/DiscordLocalConnectorPanel.d.ts +2 -0
  2007. package/packages/app-core/src/components/connectors/DiscordLocalConnectorPanel.d.ts.map +1 -0
  2008. package/packages/app-core/src/components/connectors/DiscordLocalConnectorPanel.js +249 -0
  2009. package/packages/app-core/src/components/connectors/IMessageStatusPanel.d.ts +2 -0
  2010. package/packages/app-core/src/components/connectors/IMessageStatusPanel.d.ts.map +1 -0
  2011. package/packages/app-core/src/components/connectors/IMessageStatusPanel.js +44 -0
  2012. package/packages/app-core/src/components/connectors/SignalQrOverlay.d.ts +7 -0
  2013. package/packages/app-core/src/components/connectors/SignalQrOverlay.d.ts.map +1 -0
  2014. package/packages/app-core/src/components/connectors/SignalQrOverlay.js +63 -0
  2015. package/packages/app-core/src/components/connectors/TelegramAccountConnectorPanel.d.ts +2 -0
  2016. package/packages/app-core/src/components/connectors/TelegramAccountConnectorPanel.d.ts.map +1 -0
  2017. package/packages/app-core/src/components/connectors/TelegramAccountConnectorPanel.js +202 -0
  2018. package/packages/app-core/src/components/connectors/TelegramBotSetupPanel.d.ts +2 -0
  2019. package/packages/app-core/src/components/connectors/TelegramBotSetupPanel.d.ts.map +1 -0
  2020. package/packages/app-core/src/components/connectors/TelegramBotSetupPanel.js +81 -0
  2021. package/packages/app-core/src/components/connectors/WhatsAppQrOverlay.d.ts +8 -0
  2022. package/packages/app-core/src/components/connectors/WhatsAppQrOverlay.d.ts.map +1 -0
  2023. package/packages/app-core/src/components/connectors/WhatsAppQrOverlay.js +52 -0
  2024. package/packages/app-core/src/components/conversations/ConversationRenameDialog.d.ts +9 -0
  2025. package/packages/app-core/src/components/conversations/ConversationRenameDialog.d.ts.map +1 -0
  2026. package/packages/app-core/src/components/conversations/ConversationRenameDialog.js +46 -0
  2027. package/packages/app-core/src/components/conversations/ConversationsSidebar.d.ts +9 -0
  2028. package/packages/app-core/src/components/conversations/ConversationsSidebar.d.ts.map +1 -0
  2029. package/packages/app-core/src/components/conversations/ConversationsSidebar.js +348 -0
  2030. package/packages/app-core/src/components/conversations/conversation-sidebar-model.d.ts +67 -0
  2031. package/packages/app-core/src/components/conversations/conversation-sidebar-model.d.ts.map +1 -0
  2032. package/packages/app-core/src/components/conversations/conversation-sidebar-model.js +227 -0
  2033. package/packages/app-core/src/components/conversations/conversation-utils.d.ts +9 -0
  2034. package/packages/app-core/src/components/conversations/conversation-utils.d.ts.map +1 -0
  2035. package/packages/app-core/src/components/conversations/conversation-utils.js +138 -0
  2036. package/packages/app-core/src/components/custom-actions/CustomActionEditor.d.ts +10 -0
  2037. package/packages/app-core/src/components/custom-actions/CustomActionEditor.d.ts.map +1 -0
  2038. package/packages/app-core/src/components/custom-actions/CustomActionEditor.js +385 -0
  2039. package/packages/app-core/src/components/custom-actions/CustomActionsPanel.d.ts +9 -0
  2040. package/packages/app-core/src/components/custom-actions/CustomActionsPanel.d.ts.map +1 -0
  2041. package/packages/app-core/src/components/custom-actions/CustomActionsPanel.js +158 -0
  2042. package/packages/app-core/src/components/custom-actions/CustomActionsView.d.ts +2 -0
  2043. package/packages/app-core/src/components/custom-actions/CustomActionsView.d.ts.map +1 -0
  2044. package/packages/app-core/src/components/custom-actions/CustomActionsView.js +144 -0
  2045. package/packages/app-core/src/components/custom-actions/custom-action-form.d.ts +44 -0
  2046. package/packages/app-core/src/components/custom-actions/custom-action-form.d.ts.map +1 -0
  2047. package/packages/app-core/src/components/custom-actions/custom-action-form.js +236 -0
  2048. package/packages/app-core/src/components/index.d.ts +92 -0
  2049. package/packages/app-core/src/components/index.d.ts.map +1 -0
  2050. package/packages/app-core/src/components/index.js +92 -0
  2051. package/packages/app-core/src/components/inventory/BscTradePanel.d.ts +17 -0
  2052. package/packages/app-core/src/components/inventory/BscTradePanel.d.ts.map +1 -0
  2053. package/packages/app-core/src/components/inventory/BscTradePanel.js +279 -0
  2054. package/packages/app-core/src/components/inventory/ChainIcon.d.ts +21 -0
  2055. package/packages/app-core/src/components/inventory/ChainIcon.d.ts.map +1 -0
  2056. package/packages/app-core/src/components/inventory/ChainIcon.js +69 -0
  2057. package/packages/app-core/src/components/inventory/CopyableAddress.d.ts +5 -0
  2058. package/packages/app-core/src/components/inventory/CopyableAddress.d.ts.map +1 -0
  2059. package/packages/app-core/src/components/inventory/CopyableAddress.js +14 -0
  2060. package/packages/app-core/src/components/inventory/InventoryToolbar.d.ts +29 -0
  2061. package/packages/app-core/src/components/inventory/InventoryToolbar.d.ts.map +1 -0
  2062. package/packages/app-core/src/components/inventory/InventoryToolbar.js +30 -0
  2063. package/packages/app-core/src/components/inventory/NftGrid.d.ts +10 -0
  2064. package/packages/app-core/src/components/inventory/NftGrid.d.ts.map +1 -0
  2065. package/packages/app-core/src/components/inventory/NftGrid.js +29 -0
  2066. package/packages/app-core/src/components/inventory/TokenLogo.d.ts +12 -0
  2067. package/packages/app-core/src/components/inventory/TokenLogo.d.ts.map +1 -0
  2068. package/packages/app-core/src/components/inventory/TokenLogo.js +33 -0
  2069. package/packages/app-core/src/components/inventory/TokensTable.d.ts +14 -0
  2070. package/packages/app-core/src/components/inventory/TokensTable.d.ts.map +1 -0
  2071. package/packages/app-core/src/components/inventory/TokensTable.js +25 -0
  2072. package/packages/app-core/src/components/inventory/chainConfig.d.ts +89 -0
  2073. package/packages/app-core/src/components/inventory/chainConfig.d.ts.map +1 -0
  2074. package/packages/app-core/src/components/inventory/chainConfig.js +287 -0
  2075. package/packages/app-core/src/components/inventory/constants.d.ts +52 -0
  2076. package/packages/app-core/src/components/inventory/constants.d.ts.map +1 -0
  2077. package/packages/app-core/src/components/inventory/constants.js +121 -0
  2078. package/packages/app-core/src/components/inventory/index.d.ts +9 -0
  2079. package/packages/app-core/src/components/inventory/index.d.ts.map +1 -0
  2080. package/packages/app-core/src/components/inventory/index.js +8 -0
  2081. package/packages/app-core/src/components/inventory/inventory-chain-filters.d.ts +11 -0
  2082. package/packages/app-core/src/components/inventory/inventory-chain-filters.d.ts.map +1 -0
  2083. package/packages/app-core/src/components/inventory/inventory-chain-filters.js +34 -0
  2084. package/packages/app-core/src/components/inventory/media-url.d.ts +6 -0
  2085. package/packages/app-core/src/components/inventory/media-url.d.ts.map +1 -0
  2086. package/packages/app-core/src/components/inventory/media-url.js +28 -0
  2087. package/packages/app-core/src/components/inventory/useInventoryData.d.ts +40 -0
  2088. package/packages/app-core/src/components/inventory/useInventoryData.d.ts.map +1 -0
  2089. package/packages/app-core/src/components/inventory/useInventoryData.js +355 -0
  2090. package/packages/app-core/src/components/local-inference/ActiveModelBar.d.ts +15 -0
  2091. package/packages/app-core/src/components/local-inference/ActiveModelBar.d.ts.map +1 -0
  2092. package/packages/app-core/src/components/local-inference/ActiveModelBar.js +14 -0
  2093. package/packages/app-core/src/components/local-inference/DeviceBridgeStatus.d.ts +10 -0
  2094. package/packages/app-core/src/components/local-inference/DeviceBridgeStatus.d.ts.map +1 -0
  2095. package/packages/app-core/src/components/local-inference/DeviceBridgeStatus.js +47 -0
  2096. package/packages/app-core/src/components/local-inference/DevicesPanel.d.ts +8 -0
  2097. package/packages/app-core/src/components/local-inference/DevicesPanel.d.ts.map +1 -0
  2098. package/packages/app-core/src/components/local-inference/DevicesPanel.js +44 -0
  2099. package/packages/app-core/src/components/local-inference/DownloadProgress.d.ts +7 -0
  2100. package/packages/app-core/src/components/local-inference/DownloadProgress.d.ts.map +1 -0
  2101. package/packages/app-core/src/components/local-inference/DownloadProgress.js +8 -0
  2102. package/packages/app-core/src/components/local-inference/DownloadQueue.d.ts +15 -0
  2103. package/packages/app-core/src/components/local-inference/DownloadQueue.d.ts.map +1 -0
  2104. package/packages/app-core/src/components/local-inference/DownloadQueue.js +21 -0
  2105. package/packages/app-core/src/components/local-inference/FirstRunOffer.d.ts +17 -0
  2106. package/packages/app-core/src/components/local-inference/FirstRunOffer.d.ts.map +1 -0
  2107. package/packages/app-core/src/components/local-inference/FirstRunOffer.js +57 -0
  2108. package/packages/app-core/src/components/local-inference/HardwareBadge.d.ts +12 -0
  2109. package/packages/app-core/src/components/local-inference/HardwareBadge.d.ts.map +1 -0
  2110. package/packages/app-core/src/components/local-inference/HardwareBadge.js +14 -0
  2111. package/packages/app-core/src/components/local-inference/HuggingFaceSearch.d.ts +22 -0
  2112. package/packages/app-core/src/components/local-inference/HuggingFaceSearch.d.ts.map +1 -0
  2113. package/packages/app-core/src/components/local-inference/HuggingFaceSearch.js +68 -0
  2114. package/packages/app-core/src/components/local-inference/LocalInferencePanel.d.ts +8 -0
  2115. package/packages/app-core/src/components/local-inference/LocalInferencePanel.d.ts.map +1 -0
  2116. package/packages/app-core/src/components/local-inference/LocalInferencePanel.js +240 -0
  2117. package/packages/app-core/src/components/local-inference/ModelCard.d.ts +20 -0
  2118. package/packages/app-core/src/components/local-inference/ModelCard.d.ts.map +1 -0
  2119. package/packages/app-core/src/components/local-inference/ModelCard.js +21 -0
  2120. package/packages/app-core/src/components/local-inference/ModelHubView.d.ts +24 -0
  2121. package/packages/app-core/src/components/local-inference/ModelHubView.d.ts.map +1 -0
  2122. package/packages/app-core/src/components/local-inference/ModelHubView.js +21 -0
  2123. package/packages/app-core/src/components/local-inference/ProvidersList.d.ts +15 -0
  2124. package/packages/app-core/src/components/local-inference/ProvidersList.d.ts.map +1 -0
  2125. package/packages/app-core/src/components/local-inference/ProvidersList.js +62 -0
  2126. package/packages/app-core/src/components/local-inference/RoutingMatrix.d.ts +13 -0
  2127. package/packages/app-core/src/components/local-inference/RoutingMatrix.d.ts.map +1 -0
  2128. package/packages/app-core/src/components/local-inference/RoutingMatrix.js +105 -0
  2129. package/packages/app-core/src/components/local-inference/SlotAssignments.d.ts +15 -0
  2130. package/packages/app-core/src/components/local-inference/SlotAssignments.d.ts.map +1 -0
  2131. package/packages/app-core/src/components/local-inference/SlotAssignments.js +58 -0
  2132. package/packages/app-core/src/components/local-inference/hub-utils.d.ts +27 -0
  2133. package/packages/app-core/src/components/local-inference/hub-utils.d.ts.map +1 -0
  2134. package/packages/app-core/src/components/local-inference/hub-utils.js +86 -0
  2135. package/packages/app-core/src/components/music/MusicPlayerGlobal.d.ts +19 -0
  2136. package/packages/app-core/src/components/music/MusicPlayerGlobal.d.ts.map +1 -0
  2137. package/packages/app-core/src/components/music/MusicPlayerGlobal.js +128 -0
  2138. package/packages/app-core/src/components/onboarding/ConnectionStep.d.ts +2 -0
  2139. package/packages/app-core/src/components/onboarding/ConnectionStep.d.ts.map +1 -0
  2140. package/packages/app-core/src/components/onboarding/ConnectionStep.js +265 -0
  2141. package/packages/app-core/src/components/onboarding/DeploymentStep.d.ts +6 -0
  2142. package/packages/app-core/src/components/onboarding/DeploymentStep.d.ts.map +1 -0
  2143. package/packages/app-core/src/components/onboarding/DeploymentStep.js +374 -0
  2144. package/packages/app-core/src/components/onboarding/FeaturesStep.d.ts +2 -0
  2145. package/packages/app-core/src/components/onboarding/FeaturesStep.d.ts.map +1 -0
  2146. package/packages/app-core/src/components/onboarding/FeaturesStep.js +136 -0
  2147. package/packages/app-core/src/components/onboarding/OnboardingPanel.d.ts +10 -0
  2148. package/packages/app-core/src/components/onboarding/OnboardingPanel.d.ts.map +1 -0
  2149. package/packages/app-core/src/components/onboarding/OnboardingPanel.js +30 -0
  2150. package/packages/app-core/src/components/onboarding/OnboardingStepNav.d.ts +2 -0
  2151. package/packages/app-core/src/components/onboarding/OnboardingStepNav.d.ts.map +1 -0
  2152. package/packages/app-core/src/components/onboarding/OnboardingStepNav.js +45 -0
  2153. package/packages/app-core/src/components/onboarding/OnboardingTabs.d.ts +10 -0
  2154. package/packages/app-core/src/components/onboarding/OnboardingTabs.d.ts.map +1 -0
  2155. package/packages/app-core/src/components/onboarding/OnboardingTabs.js +10 -0
  2156. package/packages/app-core/src/components/onboarding/OnboardingWizard.d.ts +2 -0
  2157. package/packages/app-core/src/components/onboarding/OnboardingWizard.d.ts.map +1 -0
  2158. package/packages/app-core/src/components/onboarding/OnboardingWizard.js +63 -0
  2159. package/packages/app-core/src/components/onboarding/connection/ConnectionElizaCloudPreProviderScreen.d.ts +5 -0
  2160. package/packages/app-core/src/components/onboarding/connection/ConnectionElizaCloudPreProviderScreen.d.ts.map +1 -0
  2161. package/packages/app-core/src/components/onboarding/connection/ConnectionElizaCloudPreProviderScreen.js +48 -0
  2162. package/packages/app-core/src/components/onboarding/connection/ConnectionHostingScreen.d.ts +6 -0
  2163. package/packages/app-core/src/components/onboarding/connection/ConnectionHostingScreen.d.ts.map +1 -0
  2164. package/packages/app-core/src/components/onboarding/connection/ConnectionHostingScreen.js +13 -0
  2165. package/packages/app-core/src/components/onboarding/connection/ConnectionProviderDetailScreen.d.ts +5 -0
  2166. package/packages/app-core/src/components/onboarding/connection/ConnectionProviderDetailScreen.d.ts.map +1 -0
  2167. package/packages/app-core/src/components/onboarding/connection/ConnectionProviderDetailScreen.js +504 -0
  2168. package/packages/app-core/src/components/onboarding/connection/ConnectionProviderGridScreen.d.ts +17 -0
  2169. package/packages/app-core/src/components/onboarding/connection/ConnectionProviderGridScreen.d.ts.map +1 -0
  2170. package/packages/app-core/src/components/onboarding/connection/ConnectionProviderGridScreen.js +38 -0
  2171. package/packages/app-core/src/components/onboarding/connection/ConnectionRemoteBackendScreen.d.ts +6 -0
  2172. package/packages/app-core/src/components/onboarding/connection/ConnectionRemoteBackendScreen.d.ts.map +1 -0
  2173. package/packages/app-core/src/components/onboarding/connection/ConnectionRemoteBackendScreen.js +25 -0
  2174. package/packages/app-core/src/components/onboarding/connection/ConnectionUiRoot.d.ts +30 -0
  2175. package/packages/app-core/src/components/onboarding/connection/ConnectionUiRoot.d.ts.map +1 -0
  2176. package/packages/app-core/src/components/onboarding/connection/ConnectionUiRoot.js +19 -0
  2177. package/packages/app-core/src/components/onboarding/connection/useAdvanceOnboardingWhenElizaCloudOAuthConnected.d.ts +23 -0
  2178. package/packages/app-core/src/components/onboarding/connection/useAdvanceOnboardingWhenElizaCloudOAuthConnected.d.ts.map +1 -0
  2179. package/packages/app-core/src/components/onboarding/connection/useAdvanceOnboardingWhenElizaCloudOAuthConnected.js +31 -0
  2180. package/packages/app-core/src/components/onboarding/features/FeatureCard.d.ts +14 -0
  2181. package/packages/app-core/src/components/onboarding/features/FeatureCard.d.ts.map +1 -0
  2182. package/packages/app-core/src/components/onboarding/features/FeatureCard.js +17 -0
  2183. package/packages/app-core/src/components/onboarding/onboarding-form-primitives.d.ts +54 -0
  2184. package/packages/app-core/src/components/onboarding/onboarding-form-primitives.d.ts.map +1 -0
  2185. package/packages/app-core/src/components/onboarding/onboarding-form-primitives.js +55 -0
  2186. package/packages/app-core/src/components/onboarding/onboarding-step-chrome.d.ts +40 -0
  2187. package/packages/app-core/src/components/onboarding/onboarding-step-chrome.d.ts.map +1 -0
  2188. package/packages/app-core/src/components/onboarding/onboarding-step-chrome.js +74 -0
  2189. package/packages/app-core/src/components/pages/AdvancedPageView.d.ts +4 -0
  2190. package/packages/app-core/src/components/pages/AdvancedPageView.d.ts.map +1 -0
  2191. package/packages/app-core/src/components/pages/AdvancedPageView.js +72 -0
  2192. package/packages/app-core/src/components/pages/AppsPageView.d.ts +12 -0
  2193. package/packages/app-core/src/components/pages/AppsPageView.d.ts.map +1 -0
  2194. package/packages/app-core/src/components/pages/AppsPageView.js +59 -0
  2195. package/packages/app-core/src/components/pages/AppsView.d.ts +3 -0
  2196. package/packages/app-core/src/components/pages/AppsView.d.ts.map +1 -0
  2197. package/packages/app-core/src/components/pages/AppsView.js +328 -0
  2198. package/packages/app-core/src/components/pages/AutomationRoomChatPane.d.ts +16 -0
  2199. package/packages/app-core/src/components/pages/AutomationRoomChatPane.d.ts.map +1 -0
  2200. package/packages/app-core/src/components/pages/AutomationRoomChatPane.js +202 -0
  2201. package/packages/app-core/src/components/pages/AutomationsView.d.ts +6 -0
  2202. package/packages/app-core/src/components/pages/AutomationsView.d.ts.map +1 -0
  2203. package/packages/app-core/src/components/pages/AutomationsView.js +1024 -0
  2204. package/packages/app-core/src/components/pages/BrowserWorkspaceView.d.ts +3 -0
  2205. package/packages/app-core/src/components/pages/BrowserWorkspaceView.d.ts.map +1 -0
  2206. package/packages/app-core/src/components/pages/BrowserWorkspaceView.js +494 -0
  2207. package/packages/app-core/src/components/pages/ChatModalView.d.ts +12 -0
  2208. package/packages/app-core/src/components/pages/ChatModalView.d.ts.map +1 -0
  2209. package/packages/app-core/src/components/pages/ChatModalView.js +16 -0
  2210. package/packages/app-core/src/components/pages/ChatView.d.ts +11 -0
  2211. package/packages/app-core/src/components/pages/ChatView.d.ts.map +1 -0
  2212. package/packages/app-core/src/components/pages/ChatView.js +489 -0
  2213. package/packages/app-core/src/components/pages/ConfigPageView.d.ts +12 -0
  2214. package/packages/app-core/src/components/pages/ConfigPageView.d.ts.map +1 -0
  2215. package/packages/app-core/src/components/pages/ConfigPageView.js +279 -0
  2216. package/packages/app-core/src/components/pages/ConnectorsPageView.d.ts +8 -0
  2217. package/packages/app-core/src/components/pages/ConnectorsPageView.d.ts.map +1 -0
  2218. package/packages/app-core/src/components/pages/ConnectorsPageView.js +8 -0
  2219. package/packages/app-core/src/components/pages/DatabasePageView.d.ts +5 -0
  2220. package/packages/app-core/src/components/pages/DatabasePageView.d.ts.map +1 -0
  2221. package/packages/app-core/src/components/pages/DatabasePageView.js +33 -0
  2222. package/packages/app-core/src/components/pages/DatabaseView.d.ts +6 -0
  2223. package/packages/app-core/src/components/pages/DatabaseView.d.ts.map +1 -0
  2224. package/packages/app-core/src/components/pages/DatabaseView.js +250 -0
  2225. package/packages/app-core/src/components/pages/ElizaCloudDashboard.d.ts +12 -0
  2226. package/packages/app-core/src/components/pages/ElizaCloudDashboard.d.ts.map +1 -0
  2227. package/packages/app-core/src/components/pages/ElizaCloudDashboard.js +385 -0
  2228. package/packages/app-core/src/components/pages/HeartbeatForm.d.ts +48 -0
  2229. package/packages/app-core/src/components/pages/HeartbeatForm.d.ts.map +1 -0
  2230. package/packages/app-core/src/components/pages/HeartbeatForm.js +117 -0
  2231. package/packages/app-core/src/components/pages/HeartbeatsView.d.ts +3 -0
  2232. package/packages/app-core/src/components/pages/HeartbeatsView.d.ts.map +1 -0
  2233. package/packages/app-core/src/components/pages/HeartbeatsView.js +396 -0
  2234. package/packages/app-core/src/components/pages/InventoryView.d.ts +2 -0
  2235. package/packages/app-core/src/components/pages/InventoryView.d.ts.map +1 -0
  2236. package/packages/app-core/src/components/pages/InventoryView.js +490 -0
  2237. package/packages/app-core/src/components/pages/KnowledgeView.d.ts +6 -0
  2238. package/packages/app-core/src/components/pages/KnowledgeView.d.ts.map +1 -0
  2239. package/packages/app-core/src/components/pages/KnowledgeView.js +502 -0
  2240. package/packages/app-core/src/components/pages/LogsPageView.d.ts +6 -0
  2241. package/packages/app-core/src/components/pages/LogsPageView.d.ts.map +1 -0
  2242. package/packages/app-core/src/components/pages/LogsPageView.js +6 -0
  2243. package/packages/app-core/src/components/pages/LogsView.d.ts +2 -0
  2244. package/packages/app-core/src/components/pages/LogsView.d.ts.map +1 -0
  2245. package/packages/app-core/src/components/pages/LogsView.js +85 -0
  2246. package/packages/app-core/src/components/pages/MediaGalleryView.d.ts +6 -0
  2247. package/packages/app-core/src/components/pages/MediaGalleryView.d.ts.map +1 -0
  2248. package/packages/app-core/src/components/pages/MediaGalleryView.js +272 -0
  2249. package/packages/app-core/src/components/pages/MemoryDetailPanel.d.ts +5 -0
  2250. package/packages/app-core/src/components/pages/MemoryDetailPanel.d.ts.map +1 -0
  2251. package/packages/app-core/src/components/pages/MemoryDetailPanel.js +17 -0
  2252. package/packages/app-core/src/components/pages/MemoryViewerView.d.ts +5 -0
  2253. package/packages/app-core/src/components/pages/MemoryViewerView.d.ts.map +1 -0
  2254. package/packages/app-core/src/components/pages/MemoryViewerView.js +233 -0
  2255. package/packages/app-core/src/components/pages/PluginCard.d.ts +36 -0
  2256. package/packages/app-core/src/components/pages/PluginCard.d.ts.map +1 -0
  2257. package/packages/app-core/src/components/pages/PluginCard.js +128 -0
  2258. package/packages/app-core/src/components/pages/PluginConfigForm.d.ts +29 -0
  2259. package/packages/app-core/src/components/pages/PluginConfigForm.d.ts.map +1 -0
  2260. package/packages/app-core/src/components/pages/PluginConfigForm.js +133 -0
  2261. package/packages/app-core/src/components/pages/PluginsPageView.d.ts +9 -0
  2262. package/packages/app-core/src/components/pages/PluginsPageView.d.ts.map +1 -0
  2263. package/packages/app-core/src/components/pages/PluginsPageView.js +5 -0
  2264. package/packages/app-core/src/components/pages/PluginsView.d.ts +11 -0
  2265. package/packages/app-core/src/components/pages/PluginsView.d.ts.map +1 -0
  2266. package/packages/app-core/src/components/pages/PluginsView.js +839 -0
  2267. package/packages/app-core/src/components/pages/RelationshipsGraphPanel.d.ts +7 -0
  2268. package/packages/app-core/src/components/pages/RelationshipsGraphPanel.d.ts.map +1 -0
  2269. package/packages/app-core/src/components/pages/RelationshipsGraphPanel.js +395 -0
  2270. package/packages/app-core/src/components/pages/RelationshipsIdentityCluster.d.ts +5 -0
  2271. package/packages/app-core/src/components/pages/RelationshipsIdentityCluster.d.ts.map +1 -0
  2272. package/packages/app-core/src/components/pages/RelationshipsIdentityCluster.js +44 -0
  2273. package/packages/app-core/src/components/pages/RelationshipsView.d.ts +5 -0
  2274. package/packages/app-core/src/components/pages/RelationshipsView.d.ts.map +1 -0
  2275. package/packages/app-core/src/components/pages/RelationshipsView.js +391 -0
  2276. package/packages/app-core/src/components/pages/ReleaseCenterView.d.ts +2 -0
  2277. package/packages/app-core/src/components/pages/ReleaseCenterView.d.ts.map +1 -0
  2278. package/packages/app-core/src/components/pages/ReleaseCenterView.js +192 -0
  2279. package/packages/app-core/src/components/pages/RuntimeView.d.ts +5 -0
  2280. package/packages/app-core/src/components/pages/RuntimeView.d.ts.map +1 -0
  2281. package/packages/app-core/src/components/pages/RuntimeView.js +282 -0
  2282. package/packages/app-core/src/components/pages/SecretsView.d.ts +5 -0
  2283. package/packages/app-core/src/components/pages/SecretsView.d.ts.map +1 -0
  2284. package/packages/app-core/src/components/pages/SecretsView.js +245 -0
  2285. package/packages/app-core/src/components/pages/SettingsView.d.ts +6 -0
  2286. package/packages/app-core/src/components/pages/SettingsView.d.ts.map +1 -0
  2287. package/packages/app-core/src/components/pages/SettingsView.js +471 -0
  2288. package/packages/app-core/src/components/pages/SkillsView.d.ts +6 -0
  2289. package/packages/app-core/src/components/pages/SkillsView.d.ts.map +1 -0
  2290. package/packages/app-core/src/components/pages/SkillsView.js +198 -0
  2291. package/packages/app-core/src/components/pages/SqlEditorPanel.d.ts +13 -0
  2292. package/packages/app-core/src/components/pages/SqlEditorPanel.d.ts.map +1 -0
  2293. package/packages/app-core/src/components/pages/SqlEditorPanel.js +19 -0
  2294. package/packages/app-core/src/components/pages/StreamView.d.ts +4 -0
  2295. package/packages/app-core/src/components/pages/StreamView.d.ts.map +1 -0
  2296. package/packages/app-core/src/components/pages/StreamView.js +113 -0
  2297. package/packages/app-core/src/components/pages/TrajectoriesView.d.ts +9 -0
  2298. package/packages/app-core/src/components/pages/TrajectoriesView.d.ts.map +1 -0
  2299. package/packages/app-core/src/components/pages/TrajectoriesView.js +266 -0
  2300. package/packages/app-core/src/components/pages/TrajectoryDetailView.d.ts +7 -0
  2301. package/packages/app-core/src/components/pages/TrajectoryDetailView.d.ts.map +1 -0
  2302. package/packages/app-core/src/components/pages/TrajectoryDetailView.js +146 -0
  2303. package/packages/app-core/src/components/pages/TriggersView.d.ts +3 -0
  2304. package/packages/app-core/src/components/pages/TriggersView.d.ts.map +1 -0
  2305. package/packages/app-core/src/components/pages/TriggersView.js +2 -0
  2306. package/packages/app-core/src/components/pages/VectorBrowserView.d.ts +13 -0
  2307. package/packages/app-core/src/components/pages/VectorBrowserView.d.ts.map +1 -0
  2308. package/packages/app-core/src/components/pages/VectorBrowserView.js +842 -0
  2309. package/packages/app-core/src/components/pages/automation-conversations.d.ts +15 -0
  2310. package/packages/app-core/src/components/pages/automation-conversations.d.ts.map +1 -0
  2311. package/packages/app-core/src/components/pages/automation-conversations.js +190 -0
  2312. package/packages/app-core/src/components/pages/chat-view-hooks.d.ts +63 -0
  2313. package/packages/app-core/src/components/pages/chat-view-hooks.d.ts.map +1 -0
  2314. package/packages/app-core/src/components/pages/chat-view-hooks.js +531 -0
  2315. package/packages/app-core/src/components/pages/cloud-dashboard-utils.d.ts +93 -0
  2316. package/packages/app-core/src/components/pages/cloud-dashboard-utils.d.ts.map +1 -0
  2317. package/packages/app-core/src/components/pages/cloud-dashboard-utils.js +290 -0
  2318. package/packages/app-core/src/components/pages/config-page-sections.d.ts +90 -0
  2319. package/packages/app-core/src/components/pages/config-page-sections.d.ts.map +1 -0
  2320. package/packages/app-core/src/components/pages/config-page-sections.js +215 -0
  2321. package/packages/app-core/src/components/pages/database-utils.d.ts +30 -0
  2322. package/packages/app-core/src/components/pages/database-utils.d.ts.map +1 -0
  2323. package/packages/app-core/src/components/pages/database-utils.js +133 -0
  2324. package/packages/app-core/src/components/pages/heartbeat-utils.d.ts +80 -0
  2325. package/packages/app-core/src/components/pages/heartbeat-utils.d.ts.map +1 -0
  2326. package/packages/app-core/src/components/pages/heartbeat-utils.js +307 -0
  2327. package/packages/app-core/src/components/pages/knowledge-detail.d.ts +8 -0
  2328. package/packages/app-core/src/components/pages/knowledge-detail.d.ts.map +1 -0
  2329. package/packages/app-core/src/components/pages/knowledge-detail.js +84 -0
  2330. package/packages/app-core/src/components/pages/knowledge-upload.d.ts +25 -0
  2331. package/packages/app-core/src/components/pages/knowledge-upload.d.ts.map +1 -0
  2332. package/packages/app-core/src/components/pages/knowledge-upload.js +124 -0
  2333. package/packages/app-core/src/components/pages/plugin-list-utils.d.ts +82 -0
  2334. package/packages/app-core/src/components/pages/plugin-list-utils.d.ts.map +1 -0
  2335. package/packages/app-core/src/components/pages/plugin-list-utils.js +778 -0
  2336. package/packages/app-core/src/components/pages/plugin-view-connectors.d.ts +57 -0
  2337. package/packages/app-core/src/components/pages/plugin-view-connectors.d.ts.map +1 -0
  2338. package/packages/app-core/src/components/pages/plugin-view-connectors.js +272 -0
  2339. package/packages/app-core/src/components/pages/plugin-view-dialogs.d.ts +36 -0
  2340. package/packages/app-core/src/components/pages/plugin-view-dialogs.d.ts.map +1 -0
  2341. package/packages/app-core/src/components/pages/plugin-view-dialogs.js +63 -0
  2342. package/packages/app-core/src/components/pages/plugin-view-modal.d.ts +34 -0
  2343. package/packages/app-core/src/components/pages/plugin-view-modal.d.ts.map +1 -0
  2344. package/packages/app-core/src/components/pages/plugin-view-modal.js +29 -0
  2345. package/packages/app-core/src/components/pages/plugin-view-sidebar.d.ts +37 -0
  2346. package/packages/app-core/src/components/pages/plugin-view-sidebar.d.ts.map +1 -0
  2347. package/packages/app-core/src/components/pages/plugin-view-sidebar.js +48 -0
  2348. package/packages/app-core/src/components/pages/skill-detail-panel.d.ts +13 -0
  2349. package/packages/app-core/src/components/pages/skill-detail-panel.d.ts.map +1 -0
  2350. package/packages/app-core/src/components/pages/skill-detail-panel.js +161 -0
  2351. package/packages/app-core/src/components/pages/skill-marketplace.d.ts +38 -0
  2352. package/packages/app-core/src/components/pages/skill-marketplace.d.ts.map +1 -0
  2353. package/packages/app-core/src/components/pages/skill-marketplace.js +99 -0
  2354. package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.d.ts +43 -0
  2355. package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.d.ts.map +1 -0
  2356. package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.js +318 -0
  2357. package/packages/app-core/src/components/pages/vector-browser-utils.d.ts +53 -0
  2358. package/packages/app-core/src/components/pages/vector-browser-utils.d.ts.map +1 -0
  2359. package/packages/app-core/src/components/pages/vector-browser-utils.js +246 -0
  2360. package/packages/app-core/src/components/permissions/PermissionIcon.d.ts +4 -0
  2361. package/packages/app-core/src/components/permissions/PermissionIcon.d.ts.map +1 -0
  2362. package/packages/app-core/src/components/permissions/PermissionIcon.js +13 -0
  2363. package/packages/app-core/src/components/permissions/StreamingPermissions.d.ts +21 -0
  2364. package/packages/app-core/src/components/permissions/StreamingPermissions.d.ts.map +1 -0
  2365. package/packages/app-core/src/components/permissions/StreamingPermissions.js +198 -0
  2366. package/packages/app-core/src/components/plugins/showcase-data.d.ts +4 -0
  2367. package/packages/app-core/src/components/plugins/showcase-data.d.ts.map +1 -0
  2368. package/packages/app-core/src/components/plugins/showcase-data.js +461 -0
  2369. package/packages/app-core/src/components/policy-controls/ApprovedAddressesSection.d.ts +7 -0
  2370. package/packages/app-core/src/components/policy-controls/ApprovedAddressesSection.d.ts.map +1 -0
  2371. package/packages/app-core/src/components/policy-controls/ApprovedAddressesSection.js +73 -0
  2372. package/packages/app-core/src/components/policy-controls/AutoApproveSection.d.ts +7 -0
  2373. package/packages/app-core/src/components/policy-controls/AutoApproveSection.d.ts.map +1 -0
  2374. package/packages/app-core/src/components/policy-controls/AutoApproveSection.js +14 -0
  2375. package/packages/app-core/src/components/policy-controls/PolicyToggle.d.ts +15 -0
  2376. package/packages/app-core/src/components/policy-controls/PolicyToggle.d.ts.map +1 -0
  2377. package/packages/app-core/src/components/policy-controls/PolicyToggle.js +12 -0
  2378. package/packages/app-core/src/components/policy-controls/RateLimitSection.d.ts +7 -0
  2379. package/packages/app-core/src/components/policy-controls/RateLimitSection.d.ts.map +1 -0
  2380. package/packages/app-core/src/components/policy-controls/RateLimitSection.js +11 -0
  2381. package/packages/app-core/src/components/policy-controls/SpendingLimitSection.d.ts +7 -0
  2382. package/packages/app-core/src/components/policy-controls/SpendingLimitSection.d.ts.map +1 -0
  2383. package/packages/app-core/src/components/policy-controls/SpendingLimitSection.js +15 -0
  2384. package/packages/app-core/src/components/policy-controls/TimeWindowSection.d.ts +7 -0
  2385. package/packages/app-core/src/components/policy-controls/TimeWindowSection.d.ts.map +1 -0
  2386. package/packages/app-core/src/components/policy-controls/TimeWindowSection.js +40 -0
  2387. package/packages/app-core/src/components/policy-controls/constants.d.ts +11 -0
  2388. package/packages/app-core/src/components/policy-controls/constants.d.ts.map +1 -0
  2389. package/packages/app-core/src/components/policy-controls/constants.js +41 -0
  2390. package/packages/app-core/src/components/policy-controls/helpers.d.ts +12 -0
  2391. package/packages/app-core/src/components/policy-controls/helpers.d.ts.map +1 -0
  2392. package/packages/app-core/src/components/policy-controls/helpers.js +40 -0
  2393. package/packages/app-core/src/components/policy-controls/index.d.ts +10 -0
  2394. package/packages/app-core/src/components/policy-controls/index.d.ts.map +1 -0
  2395. package/packages/app-core/src/components/policy-controls/index.js +9 -0
  2396. package/packages/app-core/src/components/policy-controls/types.d.ts +58 -0
  2397. package/packages/app-core/src/components/policy-controls/types.d.ts.map +1 -0
  2398. package/packages/app-core/src/components/policy-controls/types.js +7 -0
  2399. package/packages/app-core/src/components/release-center/shared.d.ts +13 -0
  2400. package/packages/app-core/src/components/release-center/shared.d.ts.map +1 -0
  2401. package/packages/app-core/src/components/release-center/shared.js +38 -0
  2402. package/packages/app-core/src/components/release-center/types.d.ts +79 -0
  2403. package/packages/app-core/src/components/release-center/types.d.ts.map +1 -0
  2404. package/packages/app-core/src/components/release-center/types.js +5 -0
  2405. package/packages/app-core/src/components/settings/ApiKeyConfig.d.ts +21 -0
  2406. package/packages/app-core/src/components/settings/ApiKeyConfig.d.ts.map +1 -0
  2407. package/packages/app-core/src/components/settings/ApiKeyConfig.js +111 -0
  2408. package/packages/app-core/src/components/settings/AppearanceSettingsSection.d.ts +9 -0
  2409. package/packages/app-core/src/components/settings/AppearanceSettingsSection.d.ts.map +1 -0
  2410. package/packages/app-core/src/components/settings/AppearanceSettingsSection.js +232 -0
  2411. package/packages/app-core/src/components/settings/DesktopWorkspaceSection.d.ts +7 -0
  2412. package/packages/app-core/src/components/settings/DesktopWorkspaceSection.d.ts.map +1 -0
  2413. package/packages/app-core/src/components/settings/DesktopWorkspaceSection.js +502 -0
  2414. package/packages/app-core/src/components/settings/LearnedSkills.d.ts +16 -0
  2415. package/packages/app-core/src/components/settings/LearnedSkills.d.ts.map +1 -0
  2416. package/packages/app-core/src/components/settings/LearnedSkills.js +90 -0
  2417. package/packages/app-core/src/components/settings/MediaSettingsSection.d.ts +4 -0
  2418. package/packages/app-core/src/components/settings/MediaSettingsSection.d.ts.map +1 -0
  2419. package/packages/app-core/src/components/settings/MediaSettingsSection.js +163 -0
  2420. package/packages/app-core/src/components/settings/MusicPlayerSettingsPanel.d.ts +7 -0
  2421. package/packages/app-core/src/components/settings/MusicPlayerSettingsPanel.d.ts.map +1 -0
  2422. package/packages/app-core/src/components/settings/MusicPlayerSettingsPanel.js +94 -0
  2423. package/packages/app-core/src/components/settings/PermissionsSection.d.ts +8 -0
  2424. package/packages/app-core/src/components/settings/PermissionsSection.d.ts.map +1 -0
  2425. package/packages/app-core/src/components/settings/PermissionsSection.js +294 -0
  2426. package/packages/app-core/src/components/settings/PolicyControlsView.d.ts +2 -0
  2427. package/packages/app-core/src/components/settings/PolicyControlsView.d.ts.map +1 -0
  2428. package/packages/app-core/src/components/settings/PolicyControlsView.js +236 -0
  2429. package/packages/app-core/src/components/settings/ProviderSwitcher.d.ts +33 -0
  2430. package/packages/app-core/src/components/settings/ProviderSwitcher.d.ts.map +1 -0
  2431. package/packages/app-core/src/components/settings/ProviderSwitcher.js +426 -0
  2432. package/packages/app-core/src/components/settings/SubscriptionStatus.d.ts +26 -0
  2433. package/packages/app-core/src/components/settings/SubscriptionStatus.d.ts.map +1 -0
  2434. package/packages/app-core/src/components/settings/SubscriptionStatus.js +272 -0
  2435. package/packages/app-core/src/components/settings/TrainingSettings.d.ts +19 -0
  2436. package/packages/app-core/src/components/settings/TrainingSettings.d.ts.map +1 -0
  2437. package/packages/app-core/src/components/settings/TrainingSettings.js +184 -0
  2438. package/packages/app-core/src/components/settings/VoiceConfigView.d.ts +5 -0
  2439. package/packages/app-core/src/components/settings/VoiceConfigView.d.ts.map +1 -0
  2440. package/packages/app-core/src/components/settings/VoiceConfigView.js +509 -0
  2441. package/packages/app-core/src/components/settings/cloud-model-schema.d.ts +26 -0
  2442. package/packages/app-core/src/components/settings/cloud-model-schema.d.ts.map +1 -0
  2443. package/packages/app-core/src/components/settings/cloud-model-schema.js +103 -0
  2444. package/packages/app-core/src/components/settings/media-settings-providers.d.ts +13 -0
  2445. package/packages/app-core/src/components/settings/media-settings-providers.d.ts.map +1 -0
  2446. package/packages/app-core/src/components/settings/media-settings-providers.js +352 -0
  2447. package/packages/app-core/src/components/settings/media-settings-types.d.ts +33 -0
  2448. package/packages/app-core/src/components/settings/media-settings-types.d.ts.map +1 -0
  2449. package/packages/app-core/src/components/settings/media-settings-types.js +266 -0
  2450. package/packages/app-core/src/components/settings/permission-controls.d.ts +37 -0
  2451. package/packages/app-core/src/components/settings/permission-controls.d.ts.map +1 -0
  2452. package/packages/app-core/src/components/settings/permission-controls.js +403 -0
  2453. package/packages/app-core/src/components/settings/permission-types.d.ts +44 -0
  2454. package/packages/app-core/src/components/settings/permission-types.d.ts.map +1 -0
  2455. package/packages/app-core/src/components/settings/permission-types.js +215 -0
  2456. package/packages/app-core/src/components/shared/LanguageDropdown.d.ts +24 -0
  2457. package/packages/app-core/src/components/shared/LanguageDropdown.d.ts.map +1 -0
  2458. package/packages/app-core/src/components/shared/LanguageDropdown.js +29 -0
  2459. package/packages/app-core/src/components/shared/ThemeToggle.d.ts +14 -0
  2460. package/packages/app-core/src/components/shared/ThemeToggle.d.ts.map +1 -0
  2461. package/packages/app-core/src/components/shared/ThemeToggle.js +11 -0
  2462. package/packages/app-core/src/components/shared/confirm-delete-control.d.ts +19 -0
  2463. package/packages/app-core/src/components/shared/confirm-delete-control.d.ts.map +1 -0
  2464. package/packages/app-core/src/components/shared/confirm-delete-control.js +22 -0
  2465. package/packages/app-core/src/components/shell/BugReportModal.d.ts +2 -0
  2466. package/packages/app-core/src/components/shell/BugReportModal.d.ts.map +1 -0
  2467. package/packages/app-core/src/components/shell/BugReportModal.js +354 -0
  2468. package/packages/app-core/src/components/shell/CommandPalette.d.ts +2 -0
  2469. package/packages/app-core/src/components/shell/CommandPalette.d.ts.map +1 -0
  2470. package/packages/app-core/src/components/shell/CommandPalette.js +185 -0
  2471. package/packages/app-core/src/components/shell/ComputerUseApprovalOverlay.d.ts +2 -0
  2472. package/packages/app-core/src/components/shell/ComputerUseApprovalOverlay.d.ts.map +1 -0
  2473. package/packages/app-core/src/components/shell/ComputerUseApprovalOverlay.js +171 -0
  2474. package/packages/app-core/src/components/shell/ConnectionFailedBanner.d.ts +6 -0
  2475. package/packages/app-core/src/components/shell/ConnectionFailedBanner.d.ts.map +1 -0
  2476. package/packages/app-core/src/components/shell/ConnectionFailedBanner.js +23 -0
  2477. package/packages/app-core/src/components/shell/ConnectionLostOverlay.d.ts +2 -0
  2478. package/packages/app-core/src/components/shell/ConnectionLostOverlay.d.ts.map +1 -0
  2479. package/packages/app-core/src/components/shell/ConnectionLostOverlay.js +53 -0
  2480. package/packages/app-core/src/components/shell/Header.d.ts +2 -0
  2481. package/packages/app-core/src/components/shell/Header.d.ts.map +1 -0
  2482. package/packages/app-core/src/components/shell/Header.js +1 -0
  2483. package/packages/app-core/src/components/shell/LoadingScreen.d.ts +13 -0
  2484. package/packages/app-core/src/components/shell/LoadingScreen.d.ts.map +1 -0
  2485. package/packages/app-core/src/components/shell/LoadingScreen.js +86 -0
  2486. package/packages/app-core/src/components/shell/PairingView.d.ts +2 -0
  2487. package/packages/app-core/src/components/shell/PairingView.d.ts.map +1 -0
  2488. package/packages/app-core/src/components/shell/PairingView.js +41 -0
  2489. package/packages/app-core/src/components/shell/RestartBanner.d.ts +2 -0
  2490. package/packages/app-core/src/components/shell/RestartBanner.d.ts.map +1 -0
  2491. package/packages/app-core/src/components/shell/RestartBanner.js +39 -0
  2492. package/packages/app-core/src/components/shell/ShellOverlays.d.ts +5 -0
  2493. package/packages/app-core/src/components/shell/ShellOverlays.d.ts.map +1 -0
  2494. package/packages/app-core/src/components/shell/ShellOverlays.js +15 -0
  2495. package/packages/app-core/src/components/shell/ShortcutsOverlay.d.ts +2 -0
  2496. package/packages/app-core/src/components/shell/ShortcutsOverlay.d.ts.map +1 -0
  2497. package/packages/app-core/src/components/shell/ShortcutsOverlay.js +58 -0
  2498. package/packages/app-core/src/components/shell/StartupFailureView.d.ts +8 -0
  2499. package/packages/app-core/src/components/shell/StartupFailureView.d.ts.map +1 -0
  2500. package/packages/app-core/src/components/shell/StartupFailureView.js +148 -0
  2501. package/packages/app-core/src/components/shell/StartupShell.d.ts +12 -0
  2502. package/packages/app-core/src/components/shell/StartupShell.d.ts.map +1 -0
  2503. package/packages/app-core/src/components/shell/StartupShell.js +139 -0
  2504. package/packages/app-core/src/components/shell/SystemWarningBanner.d.ts +6 -0
  2505. package/packages/app-core/src/components/shell/SystemWarningBanner.d.ts.map +1 -0
  2506. package/packages/app-core/src/components/shell/SystemWarningBanner.js +44 -0
  2507. package/packages/app-core/src/components/stream/StatusBar.d.ts +10 -0
  2508. package/packages/app-core/src/components/stream/StatusBar.d.ts.map +1 -0
  2509. package/packages/app-core/src/components/stream/StatusBar.js +65 -0
  2510. package/packages/app-core/src/components/stream/helpers.d.ts +15 -0
  2511. package/packages/app-core/src/components/stream/helpers.d.ts.map +1 -0
  2512. package/packages/app-core/src/components/stream/helpers.js +16 -0
  2513. package/packages/app-core/src/config/app-config.d.ts +119 -0
  2514. package/packages/app-core/src/config/app-config.d.ts.map +1 -0
  2515. package/packages/app-core/src/config/app-config.js +44 -0
  2516. package/packages/app-core/src/config/boot-config-react.d.ts +5 -0
  2517. package/packages/app-core/src/config/boot-config-react.d.ts.map +1 -0
  2518. package/packages/app-core/src/config/boot-config-react.js +7 -0
  2519. package/packages/app-core/src/config/boot-config-store.d.ts +236 -0
  2520. package/packages/app-core/src/config/boot-config-store.d.ts.map +1 -0
  2521. package/packages/app-core/src/config/boot-config-store.js +144 -0
  2522. package/packages/app-core/src/config/boot-config.d.ts +6 -0
  2523. package/packages/app-core/src/config/boot-config.d.ts.map +1 -0
  2524. package/packages/app-core/src/config/boot-config.js +5 -0
  2525. package/packages/app-core/src/config/branding.d.ts +55 -0
  2526. package/packages/app-core/src/config/branding.d.ts.map +1 -0
  2527. package/packages/app-core/src/config/branding.js +23 -0
  2528. package/packages/app-core/src/config/cloud-only.d.ts +6 -0
  2529. package/packages/app-core/src/config/cloud-only.d.ts.map +1 -0
  2530. package/packages/app-core/src/config/cloud-only.js +15 -0
  2531. package/packages/app-core/src/config/config-catalog.d.ts +376 -0
  2532. package/packages/app-core/src/config/config-catalog.d.ts.map +1 -0
  2533. package/packages/app-core/src/config/config-catalog.js +724 -0
  2534. package/packages/app-core/src/config/index.d.ts +12 -0
  2535. package/packages/app-core/src/config/index.d.ts.map +1 -0
  2536. package/packages/app-core/src/config/index.js +11 -0
  2537. package/packages/app-core/src/config/plugin-auto-enable.d.ts +5 -0
  2538. package/packages/app-core/src/config/plugin-auto-enable.d.ts.map +1 -0
  2539. package/packages/app-core/src/config/plugin-auto-enable.js +47 -0
  2540. package/packages/app-core/src/config/plugin-ui-spec.d.ts +35 -0
  2541. package/packages/app-core/src/config/plugin-ui-spec.d.ts.map +1 -0
  2542. package/packages/app-core/src/config/plugin-ui-spec.js +256 -0
  2543. package/packages/app-core/src/config/ui-spec.d.ts +164 -0
  2544. package/packages/app-core/src/config/ui-spec.d.ts.map +1 -0
  2545. package/packages/app-core/src/config/ui-spec.js +13 -0
  2546. package/packages/app-core/src/config/wechat-config.d.ts +8 -0
  2547. package/packages/app-core/src/config/wechat-config.d.ts.map +1 -0
  2548. package/packages/app-core/src/config/wechat-config.js +23 -0
  2549. package/packages/app-core/src/content-packs/apply-pack.d.ts +33 -0
  2550. package/packages/app-core/src/content-packs/apply-pack.d.ts.map +1 -0
  2551. package/packages/app-core/src/content-packs/apply-pack.js +96 -0
  2552. package/packages/app-core/src/content-packs/bundled-packs.d.ts +14 -0
  2553. package/packages/app-core/src/content-packs/bundled-packs.d.ts.map +1 -0
  2554. package/packages/app-core/src/content-packs/bundled-packs.js +106 -0
  2555. package/packages/app-core/src/content-packs/index.d.ts +4 -0
  2556. package/packages/app-core/src/content-packs/index.d.ts.map +1 -0
  2557. package/packages/app-core/src/content-packs/index.js +3 -0
  2558. package/packages/app-core/src/content-packs/load-pack.d.ts +34 -0
  2559. package/packages/app-core/src/content-packs/load-pack.d.ts.map +1 -0
  2560. package/packages/app-core/src/content-packs/load-pack.js +151 -0
  2561. package/packages/app-core/src/events/index.d.ts +61 -0
  2562. package/packages/app-core/src/events/index.d.ts.map +1 -0
  2563. package/packages/app-core/src/events/index.js +50 -0
  2564. package/packages/app-core/src/hooks/index.d.ts +14 -0
  2565. package/packages/app-core/src/hooks/index.d.ts.map +1 -0
  2566. package/packages/app-core/src/hooks/index.js +13 -0
  2567. package/packages/app-core/src/hooks/useActivityEvents.d.ts +20 -0
  2568. package/packages/app-core/src/hooks/useActivityEvents.d.ts.map +1 -0
  2569. package/packages/app-core/src/hooks/useActivityEvents.js +126 -0
  2570. package/packages/app-core/src/hooks/useBugReport.d.ts +26 -0
  2571. package/packages/app-core/src/hooks/useBugReport.d.ts.map +1 -0
  2572. package/packages/app-core/src/hooks/useBugReport.js +28 -0
  2573. package/packages/app-core/src/hooks/useCanvasWindow.d.ts +38 -0
  2574. package/packages/app-core/src/hooks/useCanvasWindow.d.ts.map +1 -0
  2575. package/packages/app-core/src/hooks/useCanvasWindow.js +277 -0
  2576. package/packages/app-core/src/hooks/useChatAvatarVoiceBridge.d.ts +12 -0
  2577. package/packages/app-core/src/hooks/useChatAvatarVoiceBridge.d.ts.map +1 -0
  2578. package/packages/app-core/src/hooks/useChatAvatarVoiceBridge.js +21 -0
  2579. package/packages/app-core/src/hooks/useContextMenu.d.ts +17 -0
  2580. package/packages/app-core/src/hooks/useContextMenu.d.ts.map +1 -0
  2581. package/packages/app-core/src/hooks/useContextMenu.js +142 -0
  2582. package/packages/app-core/src/hooks/useKeyboardShortcuts.d.ts +5 -0
  2583. package/packages/app-core/src/hooks/useKeyboardShortcuts.d.ts.map +1 -0
  2584. package/packages/app-core/src/hooks/useKeyboardShortcuts.js +32 -0
  2585. package/packages/app-core/src/hooks/useMediaQuery.d.ts +4 -0
  2586. package/packages/app-core/src/hooks/useMediaQuery.d.ts.map +1 -0
  2587. package/packages/app-core/src/hooks/useMediaQuery.js +30 -0
  2588. package/packages/app-core/src/hooks/useMusicPlayer.d.ts +54 -0
  2589. package/packages/app-core/src/hooks/useMusicPlayer.d.ts.map +1 -0
  2590. package/packages/app-core/src/hooks/useMusicPlayer.js +117 -0
  2591. package/packages/app-core/src/hooks/useRenderGuard.d.ts +17 -0
  2592. package/packages/app-core/src/hooks/useRenderGuard.d.ts.map +1 -0
  2593. package/packages/app-core/src/hooks/useRenderGuard.js +36 -0
  2594. package/packages/app-core/src/hooks/useSignalPairing.d.ts +12 -0
  2595. package/packages/app-core/src/hooks/useSignalPairing.d.ts.map +1 -0
  2596. package/packages/app-core/src/hooks/useSignalPairing.js +129 -0
  2597. package/packages/app-core/src/hooks/useStreamPopoutNavigation.d.ts +3 -0
  2598. package/packages/app-core/src/hooks/useStreamPopoutNavigation.d.ts.map +1 -0
  2599. package/packages/app-core/src/hooks/useStreamPopoutNavigation.js +4 -0
  2600. package/packages/app-core/src/hooks/useVoiceChat.d.ts +37 -0
  2601. package/packages/app-core/src/hooks/useVoiceChat.d.ts.map +1 -0
  2602. package/packages/app-core/src/hooks/useVoiceChat.js +1310 -0
  2603. package/packages/app-core/src/hooks/useWhatsAppPairing.d.ts +12 -0
  2604. package/packages/app-core/src/hooks/useWhatsAppPairing.d.ts.map +1 -0
  2605. package/packages/app-core/src/hooks/useWhatsAppPairing.js +95 -0
  2606. package/packages/app-core/src/hooks/voice-chat-playback.d.ts +32 -0
  2607. package/packages/app-core/src/hooks/voice-chat-playback.d.ts.map +1 -0
  2608. package/packages/app-core/src/hooks/voice-chat-playback.js +201 -0
  2609. package/packages/app-core/src/hooks/voice-chat-recording.d.ts +6 -0
  2610. package/packages/app-core/src/hooks/voice-chat-recording.d.ts.map +1 -0
  2611. package/packages/app-core/src/hooks/voice-chat-recording.js +46 -0
  2612. package/packages/app-core/src/hooks/voice-chat-types.d.ts +193 -0
  2613. package/packages/app-core/src/hooks/voice-chat-types.d.ts.map +1 -0
  2614. package/packages/app-core/src/hooks/voice-chat-types.js +185 -0
  2615. package/packages/app-core/src/i18n/index.d.ts +7 -0
  2616. package/packages/app-core/src/i18n/index.d.ts.map +1 -0
  2617. package/packages/app-core/src/i18n/index.js +57 -0
  2618. package/packages/app-core/src/i18n/locales/en.json +2715 -0
  2619. package/packages/app-core/src/i18n/locales/es.json +2644 -0
  2620. package/packages/app-core/src/i18n/locales/ko.json +2644 -0
  2621. package/packages/app-core/src/i18n/locales/pt.json +2644 -0
  2622. package/packages/app-core/src/i18n/locales/tl.json +2644 -0
  2623. package/packages/app-core/src/i18n/locales/vi.json +2644 -0
  2624. package/packages/app-core/src/i18n/locales/zh-CN.json +2644 -0
  2625. package/packages/app-core/src/i18n/messages.d.ts +6 -0
  2626. package/packages/app-core/src/i18n/messages.d.ts.map +1 -0
  2627. package/packages/app-core/src/i18n/messages.js +26 -0
  2628. package/packages/app-core/src/index.d.ts +50 -0
  2629. package/packages/app-core/src/index.d.ts.map +1 -0
  2630. package/packages/app-core/src/index.js +48 -0
  2631. package/packages/app-core/src/navigation/index.d.ts +52 -0
  2632. package/packages/app-core/src/navigation/index.d.ts.map +1 -0
  2633. package/packages/app-core/src/navigation/index.js +354 -0
  2634. package/packages/app-core/src/onboarding/connection-flow.d.ts +80 -0
  2635. package/packages/app-core/src/onboarding/connection-flow.d.ts.map +1 -0
  2636. package/packages/app-core/src/onboarding/connection-flow.js +321 -0
  2637. package/packages/app-core/src/onboarding/flow.d.ts +66 -0
  2638. package/packages/app-core/src/onboarding/flow.d.ts.map +1 -0
  2639. package/packages/app-core/src/onboarding/flow.js +100 -0
  2640. package/packages/app-core/src/onboarding/server-target.d.ts +3 -0
  2641. package/packages/app-core/src/onboarding/server-target.d.ts.map +1 -0
  2642. package/packages/app-core/src/onboarding/server-target.js +10 -0
  2643. package/packages/app-core/src/onboarding/types.d.ts +95 -0
  2644. package/packages/app-core/src/onboarding/types.d.ts.map +1 -0
  2645. package/packages/app-core/src/onboarding/types.js +6 -0
  2646. package/packages/app-core/src/onboarding-config.d.ts +61 -0
  2647. package/packages/app-core/src/onboarding-config.d.ts.map +1 -0
  2648. package/packages/app-core/src/onboarding-config.js +163 -0
  2649. package/packages/app-core/src/platform/browser-launch.d.ts +2 -0
  2650. package/packages/app-core/src/platform/browser-launch.d.ts.map +1 -0
  2651. package/packages/app-core/src/platform/browser-launch.js +135 -0
  2652. package/packages/app-core/src/platform/cloud-preference-patch.d.ts +11 -0
  2653. package/packages/app-core/src/platform/cloud-preference-patch.d.ts.map +1 -0
  2654. package/packages/app-core/src/platform/cloud-preference-patch.js +86 -0
  2655. package/packages/app-core/src/platform/desktop-permissions-client.d.ts +3 -0
  2656. package/packages/app-core/src/platform/desktop-permissions-client.d.ts.map +1 -0
  2657. package/packages/app-core/src/platform/desktop-permissions-client.js +128 -0
  2658. package/packages/app-core/src/platform/index.d.ts +15 -0
  2659. package/packages/app-core/src/platform/index.d.ts.map +1 -0
  2660. package/packages/app-core/src/platform/index.js +23 -0
  2661. package/packages/app-core/src/platform/init.d.ts +38 -0
  2662. package/packages/app-core/src/platform/init.d.ts.map +1 -0
  2663. package/packages/app-core/src/platform/init.js +161 -0
  2664. package/packages/app-core/src/platform/is-native-server.d.ts +14 -0
  2665. package/packages/app-core/src/platform/is-native-server.d.ts.map +1 -0
  2666. package/packages/app-core/src/platform/is-native-server.js +16 -0
  2667. package/packages/app-core/src/platform/onboarding-reset.d.ts +11 -0
  2668. package/packages/app-core/src/platform/onboarding-reset.d.ts.map +1 -0
  2669. package/packages/app-core/src/platform/onboarding-reset.js +127 -0
  2670. package/packages/app-core/src/platform/types.d.ts +28 -0
  2671. package/packages/app-core/src/platform/types.d.ts.map +1 -0
  2672. package/packages/app-core/src/platform/types.js +1 -0
  2673. package/packages/app-core/src/platform/window-shell.d.ts +28 -0
  2674. package/packages/app-core/src/platform/window-shell.d.ts.map +1 -0
  2675. package/packages/app-core/src/platform/window-shell.js +73 -0
  2676. package/packages/app-core/src/providers/index.d.ts +26 -0
  2677. package/packages/app-core/src/providers/index.d.ts.map +1 -0
  2678. package/packages/app-core/src/providers/index.js +107 -0
  2679. package/packages/app-core/src/runtime/channel-plugin-map.d.ts +6 -0
  2680. package/packages/app-core/src/runtime/channel-plugin-map.d.ts.map +1 -0
  2681. package/packages/app-core/src/runtime/channel-plugin-map.js +10 -0
  2682. package/packages/app-core/src/runtime/plugin-manager-guard.d.ts +12 -0
  2683. package/packages/app-core/src/runtime/plugin-manager-guard.d.ts.map +1 -0
  2684. package/packages/app-core/src/runtime/plugin-manager-guard.js +82 -0
  2685. package/packages/app-core/src/security/agent-vault-id.d.ts +14 -0
  2686. package/packages/app-core/src/security/agent-vault-id.d.ts.map +1 -0
  2687. package/packages/app-core/src/security/agent-vault-id.js +32 -0
  2688. package/packages/app-core/src/security/platform-secure-store-node.d.ts +15 -0
  2689. package/packages/app-core/src/security/platform-secure-store-node.d.ts.map +1 -0
  2690. package/packages/app-core/src/security/platform-secure-store-node.js +296 -0
  2691. package/packages/app-core/src/security/platform-secure-store.d.ts +47 -0
  2692. package/packages/app-core/src/security/platform-secure-store.d.ts.map +1 -0
  2693. package/packages/app-core/src/security/platform-secure-store.js +10 -0
  2694. package/packages/app-core/src/services/local-inference/active-model.d.ts +45 -0
  2695. package/packages/app-core/src/services/local-inference/active-model.d.ts.map +1 -0
  2696. package/packages/app-core/src/services/local-inference/active-model.js +120 -0
  2697. package/packages/app-core/src/services/local-inference/device-bridge.d.ts +124 -0
  2698. package/packages/app-core/src/services/local-inference/device-bridge.d.ts.map +1 -0
  2699. package/packages/app-core/src/services/local-inference/device-bridge.js +643 -0
  2700. package/packages/app-core/src/services/local-inference/engine.d.ts +52 -0
  2701. package/packages/app-core/src/services/local-inference/engine.d.ts.map +1 -0
  2702. package/packages/app-core/src/services/local-inference/engine.js +138 -0
  2703. package/packages/app-core/src/services/local-inference/external-scanner.d.ts +17 -0
  2704. package/packages/app-core/src/services/local-inference/external-scanner.d.ts.map +1 -0
  2705. package/packages/app-core/src/services/local-inference/external-scanner.js +261 -0
  2706. package/packages/app-core/src/services/local-inference/handler-registry.d.ts +42 -0
  2707. package/packages/app-core/src/services/local-inference/handler-registry.d.ts.map +1 -0
  2708. package/packages/app-core/src/services/local-inference/handler-registry.js +127 -0
  2709. package/packages/app-core/src/services/local-inference/hardware.d.ts +26 -0
  2710. package/packages/app-core/src/services/local-inference/hardware.d.ts.map +1 -0
  2711. package/packages/app-core/src/services/local-inference/hardware.js +139 -0
  2712. package/packages/app-core/src/services/local-inference/paths.d.ts +17 -0
  2713. package/packages/app-core/src/services/local-inference/paths.d.ts.map +1 -0
  2714. package/packages/app-core/src/services/local-inference/paths.js +34 -0
  2715. package/packages/app-core/src/services/local-inference/providers.d.ts +61 -0
  2716. package/packages/app-core/src/services/local-inference/providers.d.ts.map +1 -0
  2717. package/packages/app-core/src/services/local-inference/providers.js +231 -0
  2718. package/packages/app-core/src/services/local-inference/registry.d.ts +35 -0
  2719. package/packages/app-core/src/services/local-inference/registry.d.ts.map +1 -0
  2720. package/packages/app-core/src/services/local-inference/registry.js +108 -0
  2721. package/packages/app-core/src/services/local-inference/routing-preferences.d.ts +29 -0
  2722. package/packages/app-core/src/services/local-inference/routing-preferences.d.ts.map +1 -0
  2723. package/packages/app-core/src/services/local-inference/routing-preferences.js +71 -0
  2724. package/packages/app-core/src/services/local-inference/types.d.ts +121 -0
  2725. package/packages/app-core/src/services/local-inference/types.d.ts.map +1 -0
  2726. package/packages/app-core/src/services/local-inference/types.js +14 -0
  2727. package/packages/app-core/src/services/local-inference/verify.d.ts +39 -0
  2728. package/packages/app-core/src/services/local-inference/verify.d.ts.map +1 -0
  2729. package/packages/app-core/src/services/local-inference/verify.js +104 -0
  2730. package/packages/app-core/src/services/plugin-installer.d.ts +93 -0
  2731. package/packages/app-core/src/services/plugin-installer.d.ts.map +1 -0
  2732. package/packages/app-core/src/services/plugin-installer.js +611 -0
  2733. package/packages/app-core/src/services/steward-sidecar.d.ts +6 -0
  2734. package/packages/app-core/src/services/steward-sidecar.d.ts.map +1 -0
  2735. package/packages/app-core/src/services/steward-sidecar.js +5 -0
  2736. package/packages/app-core/src/shell/DesktopOnboardingRuntime.d.ts +9 -0
  2737. package/packages/app-core/src/shell/DesktopOnboardingRuntime.d.ts.map +1 -0
  2738. package/packages/app-core/src/shell/DesktopOnboardingRuntime.js +10 -0
  2739. package/packages/app-core/src/shell/DesktopSurfaceNavigationRuntime.d.ts +2 -0
  2740. package/packages/app-core/src/shell/DesktopSurfaceNavigationRuntime.d.ts.map +1 -0
  2741. package/packages/app-core/src/shell/DesktopSurfaceNavigationRuntime.js +48 -0
  2742. package/packages/app-core/src/shell/DesktopTrayRuntime.d.ts +11 -0
  2743. package/packages/app-core/src/shell/DesktopTrayRuntime.d.ts.map +1 -0
  2744. package/packages/app-core/src/shell/DesktopTrayRuntime.js +277 -0
  2745. package/packages/app-core/src/shell/DetachedShellRoot.d.ts +10 -0
  2746. package/packages/app-core/src/shell/DetachedShellRoot.d.ts.map +1 -0
  2747. package/packages/app-core/src/shell/DetachedShellRoot.js +92 -0
  2748. package/packages/app-core/src/shell/index.d.ts +5 -0
  2749. package/packages/app-core/src/shell/index.d.ts.map +1 -0
  2750. package/packages/app-core/src/shell/index.js +4 -0
  2751. package/packages/app-core/src/state/AppContext.d.ts +13 -0
  2752. package/packages/app-core/src/state/AppContext.d.ts.map +1 -0
  2753. package/packages/app-core/src/state/AppContext.js +1852 -0
  2754. package/packages/app-core/src/state/ChatComposerContext.d.ts +28 -0
  2755. package/packages/app-core/src/state/ChatComposerContext.d.ts.map +1 -0
  2756. package/packages/app-core/src/state/ChatComposerContext.js +30 -0
  2757. package/packages/app-core/src/state/CompanionSceneConfigContext.d.ts +27 -0
  2758. package/packages/app-core/src/state/CompanionSceneConfigContext.d.ts.map +1 -0
  2759. package/packages/app-core/src/state/CompanionSceneConfigContext.js +32 -0
  2760. package/packages/app-core/src/state/PtySessionsContext.d.ts +15 -0
  2761. package/packages/app-core/src/state/PtySessionsContext.d.ts.map +1 -0
  2762. package/packages/app-core/src/state/PtySessionsContext.js +15 -0
  2763. package/packages/app-core/src/state/TranslationContext.d.ts +29 -0
  2764. package/packages/app-core/src/state/TranslationContext.d.ts.map +1 -0
  2765. package/packages/app-core/src/state/TranslationContext.js +61 -0
  2766. package/packages/app-core/src/state/action-notice.d.ts +7 -0
  2767. package/packages/app-core/src/state/action-notice.d.ts.map +1 -0
  2768. package/packages/app-core/src/state/action-notice.js +1 -0
  2769. package/packages/app-core/src/state/agent-profile-types.d.ts +29 -0
  2770. package/packages/app-core/src/state/agent-profile-types.d.ts.map +1 -0
  2771. package/packages/app-core/src/state/agent-profile-types.js +1 -0
  2772. package/packages/app-core/src/state/agent-profiles.d.ts +16 -0
  2773. package/packages/app-core/src/state/agent-profiles.d.ts.map +1 -0
  2774. package/packages/app-core/src/state/agent-profiles.js +119 -0
  2775. package/packages/app-core/src/state/agent-startup-timing.d.ts +15 -0
  2776. package/packages/app-core/src/state/agent-startup-timing.d.ts.map +1 -0
  2777. package/packages/app-core/src/state/agent-startup-timing.js +28 -0
  2778. package/packages/app-core/src/state/chat-conversation-guards.d.ts +4 -0
  2779. package/packages/app-core/src/state/chat-conversation-guards.d.ts.map +1 -0
  2780. package/packages/app-core/src/state/chat-conversation-guards.js +15 -0
  2781. package/packages/app-core/src/state/complete-reset-local-state-after-wipe.d.ts +30 -0
  2782. package/packages/app-core/src/state/complete-reset-local-state-after-wipe.d.ts.map +1 -0
  2783. package/packages/app-core/src/state/complete-reset-local-state-after-wipe.js +24 -0
  2784. package/packages/app-core/src/state/config-readers.d.ts +6 -0
  2785. package/packages/app-core/src/state/config-readers.d.ts.map +1 -0
  2786. package/packages/app-core/src/state/config-readers.js +16 -0
  2787. package/packages/app-core/src/state/handle-reset-applied-from-main.d.ts +31 -0
  2788. package/packages/app-core/src/state/handle-reset-applied-from-main.d.ts.map +1 -0
  2789. package/packages/app-core/src/state/handle-reset-applied-from-main.js +38 -0
  2790. package/packages/app-core/src/state/index.d.ts +14 -0
  2791. package/packages/app-core/src/state/index.d.ts.map +1 -0
  2792. package/packages/app-core/src/state/index.js +13 -0
  2793. package/packages/app-core/src/state/internal.d.ts +9 -0
  2794. package/packages/app-core/src/state/internal.d.ts.map +1 -0
  2795. package/packages/app-core/src/state/internal.js +9 -0
  2796. package/packages/app-core/src/state/navigation-events.d.ts +12 -0
  2797. package/packages/app-core/src/state/navigation-events.d.ts.map +1 -0
  2798. package/packages/app-core/src/state/navigation-events.js +25 -0
  2799. package/packages/app-core/src/state/onboarding-bootstrap.d.ts +28 -0
  2800. package/packages/app-core/src/state/onboarding-bootstrap.d.ts.map +1 -0
  2801. package/packages/app-core/src/state/onboarding-bootstrap.js +76 -0
  2802. package/packages/app-core/src/state/onboarding-resume.d.ts +9 -0
  2803. package/packages/app-core/src/state/onboarding-resume.d.ts.map +1 -0
  2804. package/packages/app-core/src/state/onboarding-resume.js +91 -0
  2805. package/packages/app-core/src/state/parsers.d.ts +33 -0
  2806. package/packages/app-core/src/state/parsers.d.ts.map +1 -0
  2807. package/packages/app-core/src/state/parsers.js +343 -0
  2808. package/packages/app-core/src/state/persistence.d.ts +90 -0
  2809. package/packages/app-core/src/state/persistence.d.ts.map +1 -0
  2810. package/packages/app-core/src/state/persistence.js +632 -0
  2811. package/packages/app-core/src/state/shell-routing.d.ts +12 -0
  2812. package/packages/app-core/src/state/shell-routing.d.ts.map +1 -0
  2813. package/packages/app-core/src/state/shell-routing.js +21 -0
  2814. package/packages/app-core/src/state/startup-coordinator.d.ts +137 -0
  2815. package/packages/app-core/src/state/startup-coordinator.d.ts.map +1 -0
  2816. package/packages/app-core/src/state/startup-coordinator.js +250 -0
  2817. package/packages/app-core/src/state/startup-phase-hydrate.d.ts +74 -0
  2818. package/packages/app-core/src/state/startup-phase-hydrate.d.ts.map +1 -0
  2819. package/packages/app-core/src/state/startup-phase-hydrate.js +503 -0
  2820. package/packages/app-core/src/state/startup-phase-poll.d.ts +60 -0
  2821. package/packages/app-core/src/state/startup-phase-poll.d.ts.map +1 -0
  2822. package/packages/app-core/src/state/startup-phase-poll.js +258 -0
  2823. package/packages/app-core/src/state/startup-phase-restore.d.ts +49 -0
  2824. package/packages/app-core/src/state/startup-phase-restore.d.ts.map +1 -0
  2825. package/packages/app-core/src/state/startup-phase-restore.js +146 -0
  2826. package/packages/app-core/src/state/startup-phase-runtime.d.ts +34 -0
  2827. package/packages/app-core/src/state/startup-phase-runtime.d.ts.map +1 -0
  2828. package/packages/app-core/src/state/startup-phase-runtime.js +126 -0
  2829. package/packages/app-core/src/state/types.d.ts +614 -0
  2830. package/packages/app-core/src/state/types.d.ts.map +1 -0
  2831. package/packages/app-core/src/state/types.js +62 -0
  2832. package/packages/app-core/src/state/ui-preferences.d.ts +3 -0
  2833. package/packages/app-core/src/state/ui-preferences.d.ts.map +1 -0
  2834. package/packages/app-core/src/state/ui-preferences.js +1 -0
  2835. package/packages/app-core/src/state/useApp.d.ts +4 -0
  2836. package/packages/app-core/src/state/useApp.d.ts.map +1 -0
  2837. package/packages/app-core/src/state/useApp.js +32 -0
  2838. package/packages/app-core/src/state/useCharacterState.d.ts +52 -0
  2839. package/packages/app-core/src/state/useCharacterState.d.ts.map +1 -0
  2840. package/packages/app-core/src/state/useCharacterState.js +205 -0
  2841. package/packages/app-core/src/state/useChatCallbacks.d.ts +168 -0
  2842. package/packages/app-core/src/state/useChatCallbacks.d.ts.map +1 -0
  2843. package/packages/app-core/src/state/useChatCallbacks.js +734 -0
  2844. package/packages/app-core/src/state/useChatLifecycle.d.ts +104 -0
  2845. package/packages/app-core/src/state/useChatLifecycle.d.ts.map +1 -0
  2846. package/packages/app-core/src/state/useChatLifecycle.js +582 -0
  2847. package/packages/app-core/src/state/useChatSend.d.ts +79 -0
  2848. package/packages/app-core/src/state/useChatSend.d.ts.map +1 -0
  2849. package/packages/app-core/src/state/useChatSend.js +791 -0
  2850. package/packages/app-core/src/state/useChatState.d.ts +144 -0
  2851. package/packages/app-core/src/state/useChatState.d.ts.map +1 -0
  2852. package/packages/app-core/src/state/useChatState.js +251 -0
  2853. package/packages/app-core/src/state/useCloudState.d.ts +71 -0
  2854. package/packages/app-core/src/state/useCloudState.d.ts.map +1 -0
  2855. package/packages/app-core/src/state/useCloudState.js +529 -0
  2856. package/packages/app-core/src/state/useDataLoaders.d.ts +88 -0
  2857. package/packages/app-core/src/state/useDataLoaders.d.ts.map +1 -0
  2858. package/packages/app-core/src/state/useDataLoaders.js +391 -0
  2859. package/packages/app-core/src/state/useDisplayPreferences.d.ts +23 -0
  2860. package/packages/app-core/src/state/useDisplayPreferences.d.ts.map +1 -0
  2861. package/packages/app-core/src/state/useDisplayPreferences.js +64 -0
  2862. package/packages/app-core/src/state/useExportImportState.d.ts +32 -0
  2863. package/packages/app-core/src/state/useExportImportState.d.ts.map +1 -0
  2864. package/packages/app-core/src/state/useExportImportState.js +140 -0
  2865. package/packages/app-core/src/state/useLifecycleState.d.ts +123 -0
  2866. package/packages/app-core/src/state/useLifecycleState.d.ts.map +1 -0
  2867. package/packages/app-core/src/state/useLifecycleState.js +258 -0
  2868. package/packages/app-core/src/state/useLogsState.d.ts +24 -0
  2869. package/packages/app-core/src/state/useLogsState.d.ts.map +1 -0
  2870. package/packages/app-core/src/state/useLogsState.js +87 -0
  2871. package/packages/app-core/src/state/useMiscUiState.d.ts +85 -0
  2872. package/packages/app-core/src/state/useMiscUiState.d.ts.map +1 -0
  2873. package/packages/app-core/src/state/useMiscUiState.js +144 -0
  2874. package/packages/app-core/src/state/useNavigationState.d.ts +29 -0
  2875. package/packages/app-core/src/state/useNavigationState.d.ts.map +1 -0
  2876. package/packages/app-core/src/state/useNavigationState.js +122 -0
  2877. package/packages/app-core/src/state/useOnboardingCallbacks.d.ts +99 -0
  2878. package/packages/app-core/src/state/useOnboardingCallbacks.d.ts.map +1 -0
  2879. package/packages/app-core/src/state/useOnboardingCallbacks.js +712 -0
  2880. package/packages/app-core/src/state/useOnboardingCompat.d.ts +60 -0
  2881. package/packages/app-core/src/state/useOnboardingCompat.d.ts.map +1 -0
  2882. package/packages/app-core/src/state/useOnboardingCompat.js +110 -0
  2883. package/packages/app-core/src/state/useOnboardingState.d.ts +126 -0
  2884. package/packages/app-core/src/state/useOnboardingState.d.ts.map +1 -0
  2885. package/packages/app-core/src/state/useOnboardingState.js +257 -0
  2886. package/packages/app-core/src/state/usePairingState.d.ts +21 -0
  2887. package/packages/app-core/src/state/usePairingState.d.ts.map +1 -0
  2888. package/packages/app-core/src/state/usePairingState.js +60 -0
  2889. package/packages/app-core/src/state/usePluginsSkillsState.d.ts +131 -0
  2890. package/packages/app-core/src/state/usePluginsSkillsState.d.ts.map +1 -0
  2891. package/packages/app-core/src/state/usePluginsSkillsState.js +570 -0
  2892. package/packages/app-core/src/state/useStartupCoordinator.d.ts +40 -0
  2893. package/packages/app-core/src/state/useStartupCoordinator.d.ts.map +1 -0
  2894. package/packages/app-core/src/state/useStartupCoordinator.js +177 -0
  2895. package/packages/app-core/src/state/useTriggersState.d.ts +29 -0
  2896. package/packages/app-core/src/state/useTriggersState.d.ts.map +1 -0
  2897. package/packages/app-core/src/state/useTriggersState.js +198 -0
  2898. package/packages/app-core/src/state/useWalletState.d.ts +97 -0
  2899. package/packages/app-core/src/state/useWalletState.d.ts.map +1 -0
  2900. package/packages/app-core/src/state/useWalletState.js +492 -0
  2901. package/packages/app-core/src/state/vrm.d.ts +16 -0
  2902. package/packages/app-core/src/state/vrm.d.ts.map +1 -0
  2903. package/packages/app-core/src/state/vrm.js +88 -0
  2904. package/packages/app-core/src/test-support/test-helpers.d.ts +111 -0
  2905. package/packages/app-core/src/test-support/test-helpers.d.ts.map +1 -0
  2906. package/packages/app-core/src/test-support/test-helpers.js +401 -0
  2907. package/packages/app-core/src/themes/apply-theme.d.ts +24 -0
  2908. package/packages/app-core/src/themes/apply-theme.d.ts.map +1 -0
  2909. package/packages/app-core/src/themes/apply-theme.js +131 -0
  2910. package/packages/app-core/src/types/index.d.ts +658 -0
  2911. package/packages/app-core/src/types/index.d.ts.map +1 -0
  2912. package/packages/app-core/src/types/index.js +4 -0
  2913. package/packages/app-core/src/utils/asset-url.d.ts +24 -0
  2914. package/packages/app-core/src/utils/asset-url.d.ts.map +1 -0
  2915. package/packages/app-core/src/utils/asset-url.js +137 -0
  2916. package/packages/app-core/src/utils/assistant-text.d.ts +2 -0
  2917. package/packages/app-core/src/utils/assistant-text.d.ts.map +1 -0
  2918. package/packages/app-core/src/utils/assistant-text.js +166 -0
  2919. package/packages/app-core/src/utils/character-message-examples.d.ts +7 -0
  2920. package/packages/app-core/src/utils/character-message-examples.d.ts.map +1 -0
  2921. package/packages/app-core/src/utils/character-message-examples.js +121 -0
  2922. package/packages/app-core/src/utils/clipboard.d.ts +2 -0
  2923. package/packages/app-core/src/utils/clipboard.d.ts.map +1 -0
  2924. package/packages/app-core/src/utils/clipboard.js +38 -0
  2925. package/packages/app-core/src/utils/desktop-bug-report.d.ts +35 -0
  2926. package/packages/app-core/src/utils/desktop-bug-report.d.ts.map +1 -0
  2927. package/packages/app-core/src/utils/desktop-bug-report.js +47 -0
  2928. package/packages/app-core/src/utils/desktop-dialogs.d.ts +24 -0
  2929. package/packages/app-core/src/utils/desktop-dialogs.d.ts.map +1 -0
  2930. package/packages/app-core/src/utils/desktop-dialogs.js +149 -0
  2931. package/packages/app-core/src/utils/desktop-workspace.d.ts +86 -0
  2932. package/packages/app-core/src/utils/desktop-workspace.d.ts.map +1 -0
  2933. package/packages/app-core/src/utils/desktop-workspace.js +162 -0
  2934. package/packages/app-core/src/utils/eliza-cloud-model-route.d.ts +3 -0
  2935. package/packages/app-core/src/utils/eliza-cloud-model-route.d.ts.map +1 -0
  2936. package/packages/app-core/src/utils/eliza-cloud-model-route.js +9 -0
  2937. package/packages/app-core/src/utils/eliza-globals.d.ts +15 -0
  2938. package/packages/app-core/src/utils/eliza-globals.d.ts.map +1 -0
  2939. package/packages/app-core/src/utils/eliza-globals.js +50 -0
  2940. package/packages/app-core/src/utils/env.d.ts +31 -0
  2941. package/packages/app-core/src/utils/env.d.ts.map +1 -0
  2942. package/packages/app-core/src/utils/env.js +51 -0
  2943. package/packages/app-core/src/utils/format.d.ts +66 -0
  2944. package/packages/app-core/src/utils/format.d.ts.map +1 -0
  2945. package/packages/app-core/src/utils/format.js +121 -0
  2946. package/packages/app-core/src/utils/index.d.ts +14 -0
  2947. package/packages/app-core/src/utils/index.d.ts.map +1 -0
  2948. package/packages/app-core/src/utils/index.js +13 -0
  2949. package/packages/app-core/src/utils/knowledge-upload-image.d.ts +27 -0
  2950. package/packages/app-core/src/utils/knowledge-upload-image.d.ts.map +1 -0
  2951. package/packages/app-core/src/utils/knowledge-upload-image.js +146 -0
  2952. package/packages/app-core/src/utils/labels.d.ts +6 -0
  2953. package/packages/app-core/src/utils/labels.d.ts.map +1 -0
  2954. package/packages/app-core/src/utils/labels.js +41 -0
  2955. package/packages/app-core/src/utils/name-tokens.d.ts +6 -0
  2956. package/packages/app-core/src/utils/name-tokens.d.ts.map +1 -0
  2957. package/packages/app-core/src/utils/name-tokens.js +9 -0
  2958. package/packages/app-core/src/utils/number-parsing.d.ts +44 -0
  2959. package/packages/app-core/src/utils/number-parsing.d.ts.map +1 -0
  2960. package/packages/app-core/src/utils/number-parsing.js +56 -0
  2961. package/packages/app-core/src/utils/openExternalUrl.d.ts +21 -0
  2962. package/packages/app-core/src/utils/openExternalUrl.d.ts.map +1 -0
  2963. package/packages/app-core/src/utils/openExternalUrl.js +67 -0
  2964. package/packages/app-core/src/utils/owner-name.d.ts +3 -0
  2965. package/packages/app-core/src/utils/owner-name.d.ts.map +1 -0
  2966. package/packages/app-core/src/utils/owner-name.js +7 -0
  2967. package/packages/app-core/src/utils/serialise.d.ts +12 -0
  2968. package/packages/app-core/src/utils/serialise.d.ts.map +1 -0
  2969. package/packages/app-core/src/utils/serialise.js +21 -0
  2970. package/packages/app-core/src/utils/streaming-text.d.ts +9 -0
  2971. package/packages/app-core/src/utils/streaming-text.d.ts.map +1 -0
  2972. package/packages/app-core/src/utils/streaming-text.js +112 -0
  2973. package/packages/app-core/src/utils/subscription-auth.d.ts +9 -0
  2974. package/packages/app-core/src/utils/subscription-auth.d.ts.map +1 -0
  2975. package/packages/app-core/src/utils/subscription-auth.js +48 -0
  2976. package/packages/app-core/src/utils/trajectory-format.d.ts +6 -0
  2977. package/packages/app-core/src/utils/trajectory-format.d.ts.map +1 -0
  2978. package/packages/app-core/src/utils/trajectory-format.js +43 -0
  2979. package/packages/app-core/src/utils/tts-debug.d.ts +9 -0
  2980. package/packages/app-core/src/utils/tts-debug.d.ts.map +1 -0
  2981. package/packages/app-core/src/utils/tts-debug.js +68 -0
  2982. package/packages/app-core/src/voice/character-voice-config.d.ts +9 -0
  2983. package/packages/app-core/src/voice/character-voice-config.d.ts.map +1 -0
  2984. package/packages/app-core/src/voice/character-voice-config.js +83 -0
  2985. package/packages/app-core/src/voice/index.d.ts +3 -0
  2986. package/packages/app-core/src/voice/index.d.ts.map +1 -0
  2987. package/packages/app-core/src/voice/index.js +2 -0
  2988. package/packages/app-core/src/voice/types.d.ts +40 -0
  2989. package/packages/app-core/src/voice/types.d.ts.map +1 -0
  2990. package/packages/app-core/src/voice/types.js +295 -0
  2991. package/packages/app-core/src/wallet-rpc.d.ts +9 -0
  2992. package/packages/app-core/src/wallet-rpc.d.ts.map +1 -0
  2993. package/packages/app-core/src/wallet-rpc.js +133 -0
  2994. package/packages/app-core/src/widgets/WidgetHost.d.ts +27 -0
  2995. package/packages/app-core/src/widgets/WidgetHost.d.ts.map +1 -0
  2996. package/packages/app-core/src/widgets/WidgetHost.js +54 -0
  2997. package/packages/app-core/src/widgets/index.d.ts +6 -0
  2998. package/packages/app-core/src/widgets/index.d.ts.map +1 -0
  2999. package/packages/app-core/src/widgets/index.js +2 -0
  3000. package/packages/app-core/src/widgets/registry.d.ts +58 -0
  3001. package/packages/app-core/src/widgets/registry.d.ts.map +1 -0
  3002. package/packages/app-core/src/widgets/registry.js +170 -0
  3003. package/packages/app-core/src/widgets/types.d.ts +50 -0
  3004. package/packages/app-core/src/widgets/types.d.ts.map +1 -0
  3005. package/packages/app-core/src/widgets/types.js +1 -0
  3006. package/packages/shared/src/connectors.d.ts +13 -0
  3007. package/packages/shared/src/connectors.d.ts.map +1 -0
  3008. package/packages/shared/src/connectors.js +96 -0
  3009. package/packages/shared/src/contracts/apps.d.ts +257 -0
  3010. package/packages/shared/src/contracts/apps.d.ts.map +1 -0
  3011. package/packages/shared/src/contracts/apps.js +188 -0
  3012. package/packages/shared/src/contracts/awareness.d.ts +38 -0
  3013. package/packages/shared/src/contracts/awareness.d.ts.map +1 -0
  3014. package/packages/shared/src/contracts/awareness.js +7 -0
  3015. package/packages/shared/src/contracts/cloud-topology.d.ts +13 -0
  3016. package/packages/shared/src/contracts/cloud-topology.d.ts.map +1 -0
  3017. package/packages/shared/src/contracts/cloud-topology.js +71 -0
  3018. package/packages/shared/src/contracts/config.d.ts +146 -0
  3019. package/packages/shared/src/contracts/config.d.ts.map +1 -0
  3020. package/packages/shared/src/contracts/config.js +4 -0
  3021. package/packages/shared/src/contracts/content-pack.d.ts +131 -0
  3022. package/packages/shared/src/contracts/content-pack.d.ts.map +1 -0
  3023. package/packages/shared/src/contracts/content-pack.js +102 -0
  3024. package/packages/shared/src/contracts/drop.d.ts +20 -0
  3025. package/packages/shared/src/contracts/drop.d.ts.map +1 -0
  3026. package/packages/shared/src/contracts/drop.js +4 -0
  3027. package/packages/shared/src/contracts/index.d.ts +13 -0
  3028. package/packages/shared/src/contracts/index.d.ts.map +1 -0
  3029. package/packages/shared/src/contracts/index.js +12 -0
  3030. package/packages/shared/src/contracts/lifeops-extensions.d.ts +181 -0
  3031. package/packages/shared/src/contracts/lifeops-extensions.d.ts.map +1 -0
  3032. package/packages/shared/src/contracts/lifeops-extensions.js +30 -0
  3033. package/packages/shared/src/contracts/lifeops.d.ts +1622 -0
  3034. package/packages/shared/src/contracts/lifeops.d.ts.map +1 -0
  3035. package/packages/shared/src/contracts/lifeops.js +368 -0
  3036. package/packages/shared/src/contracts/onboarding.d.ts +448 -0
  3037. package/packages/shared/src/contracts/onboarding.d.ts.map +1 -0
  3038. package/packages/shared/src/contracts/onboarding.js +1021 -0
  3039. package/packages/shared/src/contracts/permissions.d.ts +38 -0
  3040. package/packages/shared/src/contracts/permissions.d.ts.map +1 -0
  3041. package/packages/shared/src/contracts/permissions.js +4 -0
  3042. package/packages/shared/src/contracts/service-routing.d.ts +77 -0
  3043. package/packages/shared/src/contracts/service-routing.d.ts.map +1 -0
  3044. package/packages/shared/src/contracts/service-routing.js +225 -0
  3045. package/packages/shared/src/contracts/theme.d.ts +136 -0
  3046. package/packages/shared/src/contracts/theme.d.ts.map +1 -0
  3047. package/packages/shared/src/contracts/theme.js +133 -0
  3048. package/packages/shared/src/contracts/verification.d.ts +9 -0
  3049. package/packages/shared/src/contracts/verification.d.ts.map +1 -0
  3050. package/packages/shared/src/contracts/verification.js +4 -0
  3051. package/packages/shared/src/contracts/wallet.d.ts +553 -0
  3052. package/packages/shared/src/contracts/wallet.d.ts.map +1 -0
  3053. package/packages/shared/src/contracts/wallet.js +60 -0
  3054. package/packages/shared/src/env-utils.d.ts +5 -0
  3055. package/packages/shared/src/env-utils.d.ts.map +1 -0
  3056. package/packages/shared/src/env-utils.impl.d.ts +2 -0
  3057. package/packages/shared/src/env-utils.impl.d.ts.map +1 -0
  3058. package/packages/shared/src/env-utils.impl.js +9 -0
  3059. package/packages/shared/src/env-utils.js +4 -0
  3060. package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts +1054 -0
  3061. package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts.map +1 -0
  3062. package/packages/shared/src/i18n/generated/validation-keyword-data.js +1057 -0
  3063. package/packages/shared/src/i18n/keyword-matching.d.ts +23 -0
  3064. package/packages/shared/src/i18n/keyword-matching.d.ts.map +1 -0
  3065. package/packages/shared/src/i18n/keyword-matching.js +112 -0
  3066. package/packages/shared/src/i18n/validation-keywords.d.ts +13 -0
  3067. package/packages/shared/src/i18n/validation-keywords.d.ts.map +1 -0
  3068. package/packages/shared/src/i18n/validation-keywords.js +12 -0
  3069. package/packages/shared/src/index.d.ts +13 -0
  3070. package/packages/shared/src/index.d.ts.map +1 -0
  3071. package/packages/shared/src/index.js +12 -0
  3072. package/packages/shared/src/onboarding-presets.characters.d.ts +22 -0
  3073. package/packages/shared/src/onboarding-presets.characters.d.ts.map +1 -0
  3074. package/packages/shared/src/onboarding-presets.characters.js +2616 -0
  3075. package/packages/shared/src/onboarding-presets.d.ts +40 -0
  3076. package/packages/shared/src/onboarding-presets.d.ts.map +1 -0
  3077. package/packages/shared/src/onboarding-presets.js +180 -0
  3078. package/packages/shared/src/onboarding-presets.shared.d.ts +2 -0
  3079. package/packages/shared/src/onboarding-presets.shared.d.ts.map +1 -0
  3080. package/packages/shared/src/onboarding-presets.shared.js +7 -0
  3081. package/packages/shared/src/restart.d.ts +27 -0
  3082. package/packages/shared/src/restart.d.ts.map +1 -0
  3083. package/packages/shared/src/restart.js +28 -0
  3084. package/packages/shared/src/runtime-env.d.ts +82 -0
  3085. package/packages/shared/src/runtime-env.d.ts.map +1 -0
  3086. package/packages/shared/src/runtime-env.js +241 -0
  3087. package/packages/shared/src/settings-debug.d.ts +20 -0
  3088. package/packages/shared/src/settings-debug.d.ts.map +1 -0
  3089. package/packages/shared/src/settings-debug.js +114 -0
  3090. package/packages/shared/src/spoken-text.d.ts +2 -0
  3091. package/packages/shared/src/spoken-text.d.ts.map +1 -0
  3092. package/packages/shared/src/spoken-text.js +56 -0
  3093. package/packages/shared/src/themes/presets.d.ts +15 -0
  3094. package/packages/shared/src/themes/presets.d.ts.map +1 -0
  3095. package/packages/shared/src/themes/presets.js +788 -0
  3096. package/packages/shared/src/types.d.ts +27 -0
  3097. package/packages/shared/src/types.d.ts.map +1 -0
  3098. package/packages/shared/src/types.js +1 -0
  3099. package/packages/shared/src/validation-keywords.d.ts +2 -0
  3100. package/packages/shared/src/validation-keywords.d.ts.map +1 -0
  3101. package/packages/shared/src/validation-keywords.js +1 -0
  3102. package/packages/skills/src/formatter.d.ts +44 -0
  3103. package/packages/skills/src/formatter.d.ts.map +1 -0
  3104. package/packages/skills/src/formatter.js +181 -0
  3105. package/packages/skills/src/frontmatter.d.ts +51 -0
  3106. package/packages/skills/src/frontmatter.d.ts.map +1 -0
  3107. package/packages/skills/src/frontmatter.js +155 -0
  3108. package/packages/skills/src/index.d.ts +29 -0
  3109. package/packages/skills/src/index.d.ts.map +1 -0
  3110. package/packages/skills/src/index.js +31 -0
  3111. package/packages/skills/src/loader.d.ts +33 -0
  3112. package/packages/skills/src/loader.d.ts.map +1 -0
  3113. package/packages/skills/src/loader.js +369 -0
  3114. package/packages/skills/src/resolver.d.ts +35 -0
  3115. package/packages/skills/src/resolver.d.ts.map +1 -0
  3116. package/packages/skills/src/resolver.js +146 -0
  3117. package/packages/skills/src/types.d.ts +238 -0
  3118. package/packages/skills/src/types.d.ts.map +1 -0
  3119. package/packages/skills/src/types.js +1 -0
  3120. package/packages/typescript/src/action-docs.d.ts +22 -0
  3121. package/packages/typescript/src/action-docs.d.ts.map +1 -0
  3122. package/packages/typescript/src/action-docs.js +95 -0
  3123. package/packages/typescript/src/actions.d.ts +29 -0
  3124. package/packages/typescript/src/actions.d.ts.map +1 -0
  3125. package/packages/typescript/src/actions.js +473 -0
  3126. package/packages/typescript/src/character-utils.d.ts +138 -0
  3127. package/packages/typescript/src/character-utils.d.ts.map +1 -0
  3128. package/packages/typescript/src/character-utils.js +271 -0
  3129. package/packages/typescript/src/character.d.ts +68 -0
  3130. package/packages/typescript/src/character.d.ts.map +1 -0
  3131. package/packages/typescript/src/character.js +155 -0
  3132. package/packages/typescript/src/connection.d.ts +45 -0
  3133. package/packages/typescript/src/connection.d.ts.map +1 -0
  3134. package/packages/typescript/src/connection.js +149 -0
  3135. package/packages/typescript/src/constants/index.d.ts +7 -0
  3136. package/packages/typescript/src/constants/index.d.ts.map +1 -0
  3137. package/packages/typescript/src/constants/index.js +6 -0
  3138. package/packages/typescript/src/constants/secrets.d.ts +99 -0
  3139. package/packages/typescript/src/constants/secrets.d.ts.map +1 -0
  3140. package/packages/typescript/src/constants/secrets.js +239 -0
  3141. package/packages/typescript/src/database/inMemoryAdapter.d.ts +285 -0
  3142. package/packages/typescript/src/database/inMemoryAdapter.d.ts.map +1 -0
  3143. package/packages/typescript/src/database/inMemoryAdapter.js +1149 -0
  3144. package/packages/typescript/src/database.d.ts +426 -0
  3145. package/packages/typescript/src/database.d.ts.map +1 -0
  3146. package/packages/typescript/src/database.js +24 -0
  3147. package/packages/typescript/src/entities.d.ts +11 -0
  3148. package/packages/typescript/src/entities.d.ts.map +1 -0
  3149. package/packages/typescript/src/entities.js +437 -0
  3150. package/packages/typescript/src/features/advanced-capabilities/actions/addContact.d.ts +3 -0
  3151. package/packages/typescript/src/features/advanced-capabilities/actions/addContact.d.ts.map +1 -0
  3152. package/packages/typescript/src/features/advanced-capabilities/actions/addContact.js +142 -0
  3153. package/packages/typescript/src/features/advanced-capabilities/actions/followRoom.d.ts +3 -0
  3154. package/packages/typescript/src/features/advanced-capabilities/actions/followRoom.d.ts.map +1 -0
  3155. package/packages/typescript/src/features/advanced-capabilities/actions/followRoom.js +183 -0
  3156. package/packages/typescript/src/features/advanced-capabilities/actions/imageGeneration.d.ts +3 -0
  3157. package/packages/typescript/src/features/advanced-capabilities/actions/imageGeneration.d.ts.map +1 -0
  3158. package/packages/typescript/src/features/advanced-capabilities/actions/imageGeneration.js +148 -0
  3159. package/packages/typescript/src/features/advanced-capabilities/actions/index.d.ts +21 -0
  3160. package/packages/typescript/src/features/advanced-capabilities/actions/index.d.ts.map +1 -0
  3161. package/packages/typescript/src/features/advanced-capabilities/actions/index.js +20 -0
  3162. package/packages/typescript/src/features/advanced-capabilities/actions/muteRoom.d.ts +3 -0
  3163. package/packages/typescript/src/features/advanced-capabilities/actions/muteRoom.d.ts.map +1 -0
  3164. package/packages/typescript/src/features/advanced-capabilities/actions/muteRoom.js +181 -0
  3165. package/packages/typescript/src/features/advanced-capabilities/actions/removeContact.d.ts +3 -0
  3166. package/packages/typescript/src/features/advanced-capabilities/actions/removeContact.d.ts.map +1 -0
  3167. package/packages/typescript/src/features/advanced-capabilities/actions/removeContact.js +102 -0
  3168. package/packages/typescript/src/features/advanced-capabilities/actions/roles.d.ts +13 -0
  3169. package/packages/typescript/src/features/advanced-capabilities/actions/roles.d.ts.map +1 -0
  3170. package/packages/typescript/src/features/advanced-capabilities/actions/roles.js +317 -0
  3171. package/packages/typescript/src/features/advanced-capabilities/actions/scheduleFollowUp.d.ts +3 -0
  3172. package/packages/typescript/src/features/advanced-capabilities/actions/scheduleFollowUp.d.ts.map +1 -0
  3173. package/packages/typescript/src/features/advanced-capabilities/actions/scheduleFollowUp.js +135 -0
  3174. package/packages/typescript/src/features/advanced-capabilities/actions/searchContacts.d.ts +3 -0
  3175. package/packages/typescript/src/features/advanced-capabilities/actions/searchContacts.d.ts.map +1 -0
  3176. package/packages/typescript/src/features/advanced-capabilities/actions/searchContacts.js +176 -0
  3177. package/packages/typescript/src/features/advanced-capabilities/actions/sendMessage.d.ts +15 -0
  3178. package/packages/typescript/src/features/advanced-capabilities/actions/sendMessage.d.ts.map +1 -0
  3179. package/packages/typescript/src/features/advanced-capabilities/actions/sendMessage.js +476 -0
  3180. package/packages/typescript/src/features/advanced-capabilities/actions/settings.d.ts +22 -0
  3181. package/packages/typescript/src/features/advanced-capabilities/actions/settings.d.ts.map +1 -0
  3182. package/packages/typescript/src/features/advanced-capabilities/actions/settings.js +823 -0
  3183. package/packages/typescript/src/features/advanced-capabilities/actions/think.d.ts +3 -0
  3184. package/packages/typescript/src/features/advanced-capabilities/actions/think.d.ts.map +1 -0
  3185. package/packages/typescript/src/features/advanced-capabilities/actions/think.js +84 -0
  3186. package/packages/typescript/src/features/advanced-capabilities/actions/unfollowRoom.d.ts +3 -0
  3187. package/packages/typescript/src/features/advanced-capabilities/actions/unfollowRoom.d.ts.map +1 -0
  3188. package/packages/typescript/src/features/advanced-capabilities/actions/unfollowRoom.js +134 -0
  3189. package/packages/typescript/src/features/advanced-capabilities/actions/unmuteRoom.d.ts +3 -0
  3190. package/packages/typescript/src/features/advanced-capabilities/actions/unmuteRoom.d.ts.map +1 -0
  3191. package/packages/typescript/src/features/advanced-capabilities/actions/unmuteRoom.js +193 -0
  3192. package/packages/typescript/src/features/advanced-capabilities/actions/updateContact.d.ts +3 -0
  3193. package/packages/typescript/src/features/advanced-capabilities/actions/updateContact.d.ts.map +1 -0
  3194. package/packages/typescript/src/features/advanced-capabilities/actions/updateContact.js +199 -0
  3195. package/packages/typescript/src/features/advanced-capabilities/actions/updateEntity.d.ts +43 -0
  3196. package/packages/typescript/src/features/advanced-capabilities/actions/updateEntity.d.ts.map +1 -0
  3197. package/packages/typescript/src/features/advanced-capabilities/actions/updateEntity.js +372 -0
  3198. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/append.d.ts +4 -0
  3199. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/append.d.ts.map +1 -0
  3200. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/append.js +150 -0
  3201. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/delete.d.ts +4 -0
  3202. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/delete.d.ts.map +1 -0
  3203. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/delete.js +136 -0
  3204. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/list.d.ts +4 -0
  3205. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/list.d.ts.map +1 -0
  3206. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/list.js +84 -0
  3207. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-attachment.d.ts +4 -0
  3208. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-attachment.d.ts.map +1 -0
  3209. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-attachment.js +112 -0
  3210. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-file.d.ts +16 -0
  3211. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-file.d.ts.map +1 -0
  3212. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-file.js +192 -0
  3213. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read.d.ts +4 -0
  3214. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read.d.ts.map +1 -0
  3215. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read.js +138 -0
  3216. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/remove-from-clipboard.d.ts +4 -0
  3217. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/remove-from-clipboard.d.ts.map +1 -0
  3218. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/remove-from-clipboard.js +96 -0
  3219. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/search.d.ts +4 -0
  3220. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/search.d.ts.map +1 -0
  3221. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/search.js +139 -0
  3222. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/write.d.ts +4 -0
  3223. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/write.d.ts.map +1 -0
  3224. package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/write.js +138 -0
  3225. package/packages/typescript/src/features/advanced-capabilities/clipboard/index.d.ts +39 -0
  3226. package/packages/typescript/src/features/advanced-capabilities/clipboard/index.d.ts.map +1 -0
  3227. package/packages/typescript/src/features/advanced-capabilities/clipboard/index.js +78 -0
  3228. package/packages/typescript/src/features/advanced-capabilities/clipboard/providers/clipboard.d.ts +4 -0
  3229. package/packages/typescript/src/features/advanced-capabilities/clipboard/providers/clipboard.d.ts.map +1 -0
  3230. package/packages/typescript/src/features/advanced-capabilities/clipboard/providers/clipboard.js +62 -0
  3231. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/attachmentContext.d.ts +16 -0
  3232. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/attachmentContext.d.ts.map +1 -0
  3233. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/attachmentContext.js +162 -0
  3234. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/clipboardService.d.ts +65 -0
  3235. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/clipboardService.d.ts.map +1 -0
  3236. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/clipboardService.js +352 -0
  3237. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardPersistence.d.ts +24 -0
  3238. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardPersistence.d.ts.map +1 -0
  3239. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardPersistence.js +63 -0
  3240. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardService.d.ts +29 -0
  3241. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardService.d.ts.map +1 -0
  3242. package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardService.js +195 -0
  3243. package/packages/typescript/src/features/advanced-capabilities/clipboard/specs.d.ts +15 -0
  3244. package/packages/typescript/src/features/advanced-capabilities/clipboard/specs.d.ts.map +1 -0
  3245. package/packages/typescript/src/features/advanced-capabilities/clipboard/specs.js +164 -0
  3246. package/packages/typescript/src/features/advanced-capabilities/clipboard/types.d.ts +92 -0
  3247. package/packages/typescript/src/features/advanced-capabilities/clipboard/types.d.ts.map +1 -0
  3248. package/packages/typescript/src/features/advanced-capabilities/clipboard/types.js +4 -0
  3249. package/packages/typescript/src/features/advanced-capabilities/evaluators/factRefinement.d.ts +20 -0
  3250. package/packages/typescript/src/features/advanced-capabilities/evaluators/factRefinement.d.ts.map +1 -0
  3251. package/packages/typescript/src/features/advanced-capabilities/evaluators/factRefinement.js +362 -0
  3252. package/packages/typescript/src/features/advanced-capabilities/evaluators/index.d.ts +11 -0
  3253. package/packages/typescript/src/features/advanced-capabilities/evaluators/index.d.ts.map +1 -0
  3254. package/packages/typescript/src/features/advanced-capabilities/evaluators/index.js +10 -0
  3255. package/packages/typescript/src/features/advanced-capabilities/evaluators/reflection.d.ts +3 -0
  3256. package/packages/typescript/src/features/advanced-capabilities/evaluators/reflection.d.ts.map +1 -0
  3257. package/packages/typescript/src/features/advanced-capabilities/evaluators/reflection.js +633 -0
  3258. package/packages/typescript/src/features/advanced-capabilities/evaluators/relationshipExtraction.d.ts +3 -0
  3259. package/packages/typescript/src/features/advanced-capabilities/evaluators/relationshipExtraction.d.ts.map +1 -0
  3260. package/packages/typescript/src/features/advanced-capabilities/evaluators/relationshipExtraction.js +640 -0
  3261. package/packages/typescript/src/features/advanced-capabilities/evaluators/skillExtraction.d.ts +25 -0
  3262. package/packages/typescript/src/features/advanced-capabilities/evaluators/skillExtraction.d.ts.map +1 -0
  3263. package/packages/typescript/src/features/advanced-capabilities/evaluators/skillExtraction.js +367 -0
  3264. package/packages/typescript/src/features/advanced-capabilities/evaluators/skillRefinement.d.ts +21 -0
  3265. package/packages/typescript/src/features/advanced-capabilities/evaluators/skillRefinement.d.ts.map +1 -0
  3266. package/packages/typescript/src/features/advanced-capabilities/evaluators/skillRefinement.js +545 -0
  3267. package/packages/typescript/src/features/advanced-capabilities/evaluators/task-completion.d.ts +12 -0
  3268. package/packages/typescript/src/features/advanced-capabilities/evaluators/task-completion.d.ts.map +1 -0
  3269. package/packages/typescript/src/features/advanced-capabilities/evaluators/task-completion.js +14 -0
  3270. package/packages/typescript/src/features/advanced-capabilities/experience/actions/record-experience.d.ts +3 -0
  3271. package/packages/typescript/src/features/advanced-capabilities/experience/actions/record-experience.d.ts.map +1 -0
  3272. package/packages/typescript/src/features/advanced-capabilities/experience/actions/record-experience.js +70 -0
  3273. package/packages/typescript/src/features/advanced-capabilities/experience/evaluators/experienceEvaluator.d.ts +3 -0
  3274. package/packages/typescript/src/features/advanced-capabilities/experience/evaluators/experienceEvaluator.d.ts.map +1 -0
  3275. package/packages/typescript/src/features/advanced-capabilities/experience/evaluators/experienceEvaluator.js +256 -0
  3276. package/packages/typescript/src/features/advanced-capabilities/experience/generated/prompts/typescript/prompts.d.ts +12 -0
  3277. package/packages/typescript/src/features/advanced-capabilities/experience/generated/prompts/typescript/prompts.d.ts.map +1 -0
  3278. package/packages/typescript/src/features/advanced-capabilities/experience/generated/prompts/typescript/prompts.js +41 -0
  3279. package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/spec-helpers.d.ts +49 -0
  3280. package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/spec-helpers.d.ts.map +1 -0
  3281. package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/spec-helpers.js +78 -0
  3282. package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/specs.d.ts +159 -0
  3283. package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/specs.d.ts.map +1 -0
  3284. package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/specs.js +192 -0
  3285. package/packages/typescript/src/features/advanced-capabilities/experience/index.d.ts +10 -0
  3286. package/packages/typescript/src/features/advanced-capabilities/experience/index.d.ts.map +1 -0
  3287. package/packages/typescript/src/features/advanced-capabilities/experience/index.js +8 -0
  3288. package/packages/typescript/src/features/advanced-capabilities/experience/providers/experienceProvider.d.ts +3 -0
  3289. package/packages/typescript/src/features/advanced-capabilities/experience/providers/experienceProvider.d.ts.map +1 -0
  3290. package/packages/typescript/src/features/advanced-capabilities/experience/providers/experienceProvider.js +51 -0
  3291. package/packages/typescript/src/features/advanced-capabilities/experience/service.d.ts +46 -0
  3292. package/packages/typescript/src/features/advanced-capabilities/experience/service.d.ts.map +1 -0
  3293. package/packages/typescript/src/features/advanced-capabilities/experience/service.js +569 -0
  3294. package/packages/typescript/src/features/advanced-capabilities/experience/types.d.ts +95 -0
  3295. package/packages/typescript/src/features/advanced-capabilities/experience/types.d.ts.map +1 -0
  3296. package/packages/typescript/src/features/advanced-capabilities/experience/types.js +22 -0
  3297. package/packages/typescript/src/features/advanced-capabilities/experience/utils/confidenceDecay.d.ts +34 -0
  3298. package/packages/typescript/src/features/advanced-capabilities/experience/utils/confidenceDecay.d.ts.map +1 -0
  3299. package/packages/typescript/src/features/advanced-capabilities/experience/utils/confidenceDecay.js +106 -0
  3300. package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceRelationships.d.ts +25 -0
  3301. package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceRelationships.d.ts.map +1 -0
  3302. package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceRelationships.js +116 -0
  3303. package/packages/typescript/src/features/advanced-capabilities/form/actions/restore.d.ts +13 -0
  3304. package/packages/typescript/src/features/advanced-capabilities/form/actions/restore.d.ts.map +1 -0
  3305. package/packages/typescript/src/features/advanced-capabilities/form/actions/restore.js +152 -0
  3306. package/packages/typescript/src/features/advanced-capabilities/form/builder.d.ts +101 -0
  3307. package/packages/typescript/src/features/advanced-capabilities/form/builder.d.ts.map +1 -0
  3308. package/packages/typescript/src/features/advanced-capabilities/form/builder.js +362 -0
  3309. package/packages/typescript/src/features/advanced-capabilities/form/builtins.d.ts +16 -0
  3310. package/packages/typescript/src/features/advanced-capabilities/form/builtins.d.ts.map +1 -0
  3311. package/packages/typescript/src/features/advanced-capabilities/form/builtins.js +245 -0
  3312. package/packages/typescript/src/features/advanced-capabilities/form/defaults.d.ts +32 -0
  3313. package/packages/typescript/src/features/advanced-capabilities/form/defaults.d.ts.map +1 -0
  3314. package/packages/typescript/src/features/advanced-capabilities/form/defaults.js +98 -0
  3315. package/packages/typescript/src/features/advanced-capabilities/form/evaluators/extractor.d.ts +12 -0
  3316. package/packages/typescript/src/features/advanced-capabilities/form/evaluators/extractor.d.ts.map +1 -0
  3317. package/packages/typescript/src/features/advanced-capabilities/form/evaluators/extractor.js +231 -0
  3318. package/packages/typescript/src/features/advanced-capabilities/form/extraction.d.ts +24 -0
  3319. package/packages/typescript/src/features/advanced-capabilities/form/extraction.d.ts.map +1 -0
  3320. package/packages/typescript/src/features/advanced-capabilities/form/extraction.js +319 -0
  3321. package/packages/typescript/src/features/advanced-capabilities/form/index.d.ts +22 -0
  3322. package/packages/typescript/src/features/advanced-capabilities/form/index.d.ts.map +1 -0
  3323. package/packages/typescript/src/features/advanced-capabilities/form/index.js +52 -0
  3324. package/packages/typescript/src/features/advanced-capabilities/form/intent.d.ts +41 -0
  3325. package/packages/typescript/src/features/advanced-capabilities/form/intent.d.ts.map +1 -0
  3326. package/packages/typescript/src/features/advanced-capabilities/form/intent.js +119 -0
  3327. package/packages/typescript/src/features/advanced-capabilities/form/providers/context.d.ts +11 -0
  3328. package/packages/typescript/src/features/advanced-capabilities/form/providers/context.d.ts.map +1 -0
  3329. package/packages/typescript/src/features/advanced-capabilities/form/providers/context.js +166 -0
  3330. package/packages/typescript/src/features/advanced-capabilities/form/service.d.ts +66 -0
  3331. package/packages/typescript/src/features/advanced-capabilities/form/service.d.ts.map +1 -0
  3332. package/packages/typescript/src/features/advanced-capabilities/form/service.js +912 -0
  3333. package/packages/typescript/src/features/advanced-capabilities/form/storage.d.ts +26 -0
  3334. package/packages/typescript/src/features/advanced-capabilities/form/storage.d.ts.map +1 -0
  3335. package/packages/typescript/src/features/advanced-capabilities/form/storage.js +228 -0
  3336. package/packages/typescript/src/features/advanced-capabilities/form/template.d.ts +10 -0
  3337. package/packages/typescript/src/features/advanced-capabilities/form/template.d.ts.map +1 -0
  3338. package/packages/typescript/src/features/advanced-capabilities/form/template.js +56 -0
  3339. package/packages/typescript/src/features/advanced-capabilities/form/ttl.d.ts +40 -0
  3340. package/packages/typescript/src/features/advanced-capabilities/form/ttl.d.ts.map +1 -0
  3341. package/packages/typescript/src/features/advanced-capabilities/form/ttl.js +107 -0
  3342. package/packages/typescript/src/features/advanced-capabilities/form/types.d.ts +589 -0
  3343. package/packages/typescript/src/features/advanced-capabilities/form/types.d.ts.map +1 -0
  3344. package/packages/typescript/src/features/advanced-capabilities/form/types.js +71 -0
  3345. package/packages/typescript/src/features/advanced-capabilities/form/validation.d.ts +24 -0
  3346. package/packages/typescript/src/features/advanced-capabilities/form/validation.d.ts.map +1 -0
  3347. package/packages/typescript/src/features/advanced-capabilities/form/validation.js +311 -0
  3348. package/packages/typescript/src/features/advanced-capabilities/index.d.ts +47 -0
  3349. package/packages/typescript/src/features/advanced-capabilities/index.d.ts.map +1 -0
  3350. package/packages/typescript/src/features/advanced-capabilities/index.js +114 -0
  3351. package/packages/typescript/src/features/advanced-capabilities/personality/actions/modify-character.d.ts +7 -0
  3352. package/packages/typescript/src/features/advanced-capabilities/personality/actions/modify-character.d.ts.map +1 -0
  3353. package/packages/typescript/src/features/advanced-capabilities/personality/actions/modify-character.js +1299 -0
  3354. package/packages/typescript/src/features/advanced-capabilities/personality/evaluators/character-evolution.d.ts +53 -0
  3355. package/packages/typescript/src/features/advanced-capabilities/personality/evaluators/character-evolution.d.ts.map +1 -0
  3356. package/packages/typescript/src/features/advanced-capabilities/personality/evaluators/character-evolution.js +429 -0
  3357. package/packages/typescript/src/features/advanced-capabilities/personality/index.d.ts +10 -0
  3358. package/packages/typescript/src/features/advanced-capabilities/personality/index.d.ts.map +1 -0
  3359. package/packages/typescript/src/features/advanced-capabilities/personality/index.js +8 -0
  3360. package/packages/typescript/src/features/advanced-capabilities/personality/providers/user-personality.d.ts +8 -0
  3361. package/packages/typescript/src/features/advanced-capabilities/personality/providers/user-personality.d.ts.map +1 -0
  3362. package/packages/typescript/src/features/advanced-capabilities/personality/providers/user-personality.js +57 -0
  3363. package/packages/typescript/src/features/advanced-capabilities/personality/services/character-file-manager.d.ts +71 -0
  3364. package/packages/typescript/src/features/advanced-capabilities/personality/services/character-file-manager.d.ts.map +1 -0
  3365. package/packages/typescript/src/features/advanced-capabilities/personality/services/character-file-manager.js +498 -0
  3366. package/packages/typescript/src/features/advanced-capabilities/personality/types.d.ts +18 -0
  3367. package/packages/typescript/src/features/advanced-capabilities/personality/types.d.ts.map +1 -0
  3368. package/packages/typescript/src/features/advanced-capabilities/personality/types.js +8 -0
  3369. package/packages/typescript/src/features/advanced-capabilities/providers/contacts.d.ts +3 -0
  3370. package/packages/typescript/src/features/advanced-capabilities/providers/contacts.d.ts.map +1 -0
  3371. package/packages/typescript/src/features/advanced-capabilities/providers/contacts.js +77 -0
  3372. package/packages/typescript/src/features/advanced-capabilities/providers/facts.d.ts +11 -0
  3373. package/packages/typescript/src/features/advanced-capabilities/providers/facts.d.ts.map +1 -0
  3374. package/packages/typescript/src/features/advanced-capabilities/providers/facts.js +162 -0
  3375. package/packages/typescript/src/features/advanced-capabilities/providers/followUps.d.ts +3 -0
  3376. package/packages/typescript/src/features/advanced-capabilities/providers/followUps.d.ts.map +1 -0
  3377. package/packages/typescript/src/features/advanced-capabilities/providers/followUps.js +112 -0
  3378. package/packages/typescript/src/features/advanced-capabilities/providers/index.d.ts +13 -0
  3379. package/packages/typescript/src/features/advanced-capabilities/providers/index.d.ts.map +1 -0
  3380. package/packages/typescript/src/features/advanced-capabilities/providers/index.js +12 -0
  3381. package/packages/typescript/src/features/advanced-capabilities/providers/knowledge.d.ts +9 -0
  3382. package/packages/typescript/src/features/advanced-capabilities/providers/knowledge.d.ts.map +1 -0
  3383. package/packages/typescript/src/features/advanced-capabilities/providers/knowledge.js +83 -0
  3384. package/packages/typescript/src/features/advanced-capabilities/providers/relationships.d.ts +15 -0
  3385. package/packages/typescript/src/features/advanced-capabilities/providers/relationships.d.ts.map +1 -0
  3386. package/packages/typescript/src/features/advanced-capabilities/providers/relationships.js +125 -0
  3387. package/packages/typescript/src/features/advanced-capabilities/providers/roles.d.ts +19 -0
  3388. package/packages/typescript/src/features/advanced-capabilities/providers/roles.d.ts.map +1 -0
  3389. package/packages/typescript/src/features/advanced-capabilities/providers/roles.js +180 -0
  3390. package/packages/typescript/src/features/advanced-capabilities/providers/settings.d.ts +7 -0
  3391. package/packages/typescript/src/features/advanced-capabilities/providers/settings.d.ts.map +1 -0
  3392. package/packages/typescript/src/features/advanced-capabilities/providers/settings.js +294 -0
  3393. package/packages/typescript/src/features/advanced-memory/evaluators/index.d.ts +3 -0
  3394. package/packages/typescript/src/features/advanced-memory/evaluators/index.d.ts.map +1 -0
  3395. package/packages/typescript/src/features/advanced-memory/evaluators/index.js +2 -0
  3396. package/packages/typescript/src/features/advanced-memory/evaluators/long-term-extraction.d.ts +3 -0
  3397. package/packages/typescript/src/features/advanced-memory/evaluators/long-term-extraction.d.ts.map +1 -0
  3398. package/packages/typescript/src/features/advanced-memory/evaluators/long-term-extraction.js +198 -0
  3399. package/packages/typescript/src/features/advanced-memory/evaluators/summarization.d.ts +3 -0
  3400. package/packages/typescript/src/features/advanced-memory/evaluators/summarization.d.ts.map +1 -0
  3401. package/packages/typescript/src/features/advanced-memory/evaluators/summarization.js +240 -0
  3402. package/packages/typescript/src/features/advanced-memory/index.d.ts +16 -0
  3403. package/packages/typescript/src/features/advanced-memory/index.d.ts.map +1 -0
  3404. package/packages/typescript/src/features/advanced-memory/index.js +26 -0
  3405. package/packages/typescript/src/features/advanced-memory/prompts.d.ts +2 -0
  3406. package/packages/typescript/src/features/advanced-memory/prompts.d.ts.map +1 -0
  3407. package/packages/typescript/src/features/advanced-memory/prompts.js +1 -0
  3408. package/packages/typescript/src/features/advanced-memory/providers/context-summary.d.ts +3 -0
  3409. package/packages/typescript/src/features/advanced-memory/providers/context-summary.d.ts.map +1 -0
  3410. package/packages/typescript/src/features/advanced-memory/providers/context-summary.js +85 -0
  3411. package/packages/typescript/src/features/advanced-memory/providers/index.d.ts +3 -0
  3412. package/packages/typescript/src/features/advanced-memory/providers/index.d.ts.map +1 -0
  3413. package/packages/typescript/src/features/advanced-memory/providers/index.js +2 -0
  3414. package/packages/typescript/src/features/advanced-memory/providers/long-term-memory.d.ts +3 -0
  3415. package/packages/typescript/src/features/advanced-memory/providers/long-term-memory.d.ts.map +1 -0
  3416. package/packages/typescript/src/features/advanced-memory/providers/long-term-memory.js +92 -0
  3417. package/packages/typescript/src/features/advanced-memory/schemas/index.d.ts +5 -0
  3418. package/packages/typescript/src/features/advanced-memory/schemas/index.d.ts.map +1 -0
  3419. package/packages/typescript/src/features/advanced-memory/schemas/index.js +3 -0
  3420. package/packages/typescript/src/features/advanced-memory/schemas/long-term-memories.d.ts +10 -0
  3421. package/packages/typescript/src/features/advanced-memory/schemas/long-term-memories.d.ts.map +1 -0
  3422. package/packages/typescript/src/features/advanced-memory/schemas/long-term-memories.js +65 -0
  3423. package/packages/typescript/src/features/advanced-memory/schemas/memory-access-logs.d.ts +10 -0
  3424. package/packages/typescript/src/features/advanced-memory/schemas/memory-access-logs.d.ts.map +1 -0
  3425. package/packages/typescript/src/features/advanced-memory/schemas/memory-access-logs.js +45 -0
  3426. package/packages/typescript/src/features/advanced-memory/schemas/session-summaries.d.ts +10 -0
  3427. package/packages/typescript/src/features/advanced-memory/schemas/session-summaries.d.ts.map +1 -0
  3428. package/packages/typescript/src/features/advanced-memory/schemas/session-summaries.js +66 -0
  3429. package/packages/typescript/src/features/advanced-memory/services/memory-service.d.ts +38 -0
  3430. package/packages/typescript/src/features/advanced-memory/services/memory-service.d.ts.map +1 -0
  3431. package/packages/typescript/src/features/advanced-memory/services/memory-service.js +367 -0
  3432. package/packages/typescript/src/features/advanced-memory/trajectory.d.ts +10 -0
  3433. package/packages/typescript/src/features/advanced-memory/trajectory.d.ts.map +1 -0
  3434. package/packages/typescript/src/features/advanced-memory/trajectory.js +33 -0
  3435. package/packages/typescript/src/features/advanced-memory/types.d.ts +68 -0
  3436. package/packages/typescript/src/features/advanced-memory/types.d.ts.map +1 -0
  3437. package/packages/typescript/src/features/advanced-memory/types.js +6 -0
  3438. package/packages/typescript/src/features/advanced-planning/actions/chain-example.d.ts +6 -0
  3439. package/packages/typescript/src/features/advanced-planning/actions/chain-example.d.ts.map +1 -0
  3440. package/packages/typescript/src/features/advanced-planning/actions/chain-example.js +181 -0
  3441. package/packages/typescript/src/features/advanced-planning/index.d.ts +5 -0
  3442. package/packages/typescript/src/features/advanced-planning/index.d.ts.map +1 -0
  3443. package/packages/typescript/src/features/advanced-planning/index.js +20 -0
  3444. package/packages/typescript/src/features/advanced-planning/providers/message-classifier.d.ts +3 -0
  3445. package/packages/typescript/src/features/advanced-planning/providers/message-classifier.d.ts.map +1 -0
  3446. package/packages/typescript/src/features/advanced-planning/providers/message-classifier.js +105 -0
  3447. package/packages/typescript/src/features/advanced-planning/services/planning-service.d.ts +77 -0
  3448. package/packages/typescript/src/features/advanced-planning/services/planning-service.d.ts.map +1 -0
  3449. package/packages/typescript/src/features/advanced-planning/services/planning-service.js +875 -0
  3450. package/packages/typescript/src/features/advanced-planning/types.d.ts +78 -0
  3451. package/packages/typescript/src/features/advanced-planning/types.d.ts.map +1 -0
  3452. package/packages/typescript/src/features/advanced-planning/types.js +1 -0
  3453. package/packages/typescript/src/features/autonomy/action.d.ts +14 -0
  3454. package/packages/typescript/src/features/autonomy/action.d.ts.map +1 -0
  3455. package/packages/typescript/src/features/autonomy/action.js +177 -0
  3456. package/packages/typescript/src/features/autonomy/execution-facade.d.ts +22 -0
  3457. package/packages/typescript/src/features/autonomy/execution-facade.d.ts.map +1 -0
  3458. package/packages/typescript/src/features/autonomy/execution-facade.js +150 -0
  3459. package/packages/typescript/src/features/autonomy/index.d.ts +11 -0
  3460. package/packages/typescript/src/features/autonomy/index.d.ts.map +1 -0
  3461. package/packages/typescript/src/features/autonomy/index.js +13 -0
  3462. package/packages/typescript/src/features/autonomy/providers.d.ts +21 -0
  3463. package/packages/typescript/src/features/autonomy/providers.d.ts.map +1 -0
  3464. package/packages/typescript/src/features/autonomy/providers.js +154 -0
  3465. package/packages/typescript/src/features/autonomy/routes.d.ts +11 -0
  3466. package/packages/typescript/src/features/autonomy/routes.d.ts.map +1 -0
  3467. package/packages/typescript/src/features/autonomy/routes.js +158 -0
  3468. package/packages/typescript/src/features/autonomy/service.d.ts +138 -0
  3469. package/packages/typescript/src/features/autonomy/service.d.ts.map +1 -0
  3470. package/packages/typescript/src/features/autonomy/service.js +813 -0
  3471. package/packages/typescript/src/features/autonomy/types.d.ts +31 -0
  3472. package/packages/typescript/src/features/autonomy/types.d.ts.map +1 -0
  3473. package/packages/typescript/src/features/autonomy/types.js +6 -0
  3474. package/packages/typescript/src/features/basic-capabilities/actions/choice.d.ts +4 -0
  3475. package/packages/typescript/src/features/basic-capabilities/actions/choice.d.ts.map +1 -0
  3476. package/packages/typescript/src/features/basic-capabilities/actions/choice.js +278 -0
  3477. package/packages/typescript/src/features/basic-capabilities/actions/ignore.d.ts +3 -0
  3478. package/packages/typescript/src/features/basic-capabilities/actions/ignore.d.ts.map +1 -0
  3479. package/packages/typescript/src/features/basic-capabilities/actions/ignore.js +23 -0
  3480. package/packages/typescript/src/features/basic-capabilities/actions/index.d.ts +10 -0
  3481. package/packages/typescript/src/features/basic-capabilities/actions/index.d.ts.map +1 -0
  3482. package/packages/typescript/src/features/basic-capabilities/actions/index.js +9 -0
  3483. package/packages/typescript/src/features/basic-capabilities/actions/none.d.ts +3 -0
  3484. package/packages/typescript/src/features/basic-capabilities/actions/none.d.ts.map +1 -0
  3485. package/packages/typescript/src/features/basic-capabilities/actions/none.js +26 -0
  3486. package/packages/typescript/src/features/basic-capabilities/actions/reply.d.ts +3 -0
  3487. package/packages/typescript/src/features/basic-capabilities/actions/reply.d.ts.map +1 -0
  3488. package/packages/typescript/src/features/basic-capabilities/actions/reply.js +80 -0
  3489. package/packages/typescript/src/features/basic-capabilities/index.d.ts +108 -0
  3490. package/packages/typescript/src/features/basic-capabilities/index.d.ts.map +1 -0
  3491. package/packages/typescript/src/features/basic-capabilities/index.js +1026 -0
  3492. package/packages/typescript/src/features/basic-capabilities/providers/actionState.d.ts +7 -0
  3493. package/packages/typescript/src/features/basic-capabilities/providers/actionState.d.ts.map +1 -0
  3494. package/packages/typescript/src/features/basic-capabilities/providers/actionState.js +232 -0
  3495. package/packages/typescript/src/features/basic-capabilities/providers/actions.d.ts +35 -0
  3496. package/packages/typescript/src/features/basic-capabilities/providers/actions.d.ts.map +1 -0
  3497. package/packages/typescript/src/features/basic-capabilities/providers/actions.js +104 -0
  3498. package/packages/typescript/src/features/basic-capabilities/providers/attachments.d.ts +20 -0
  3499. package/packages/typescript/src/features/basic-capabilities/providers/attachments.d.ts.map +1 -0
  3500. package/packages/typescript/src/features/basic-capabilities/providers/attachments.js +94 -0
  3501. package/packages/typescript/src/features/basic-capabilities/providers/character.d.ts +17 -0
  3502. package/packages/typescript/src/features/basic-capabilities/providers/character.d.ts.map +1 -0
  3503. package/packages/typescript/src/features/basic-capabilities/providers/character.js +190 -0
  3504. package/packages/typescript/src/features/basic-capabilities/providers/choice.d.ts +11 -0
  3505. package/packages/typescript/src/features/basic-capabilities/providers/choice.d.ts.map +1 -0
  3506. package/packages/typescript/src/features/basic-capabilities/providers/choice.js +86 -0
  3507. package/packages/typescript/src/features/basic-capabilities/providers/contextBench.d.ts +12 -0
  3508. package/packages/typescript/src/features/basic-capabilities/providers/contextBench.d.ts.map +1 -0
  3509. package/packages/typescript/src/features/basic-capabilities/providers/contextBench.js +50 -0
  3510. package/packages/typescript/src/features/basic-capabilities/providers/currentTime.d.ts +11 -0
  3511. package/packages/typescript/src/features/basic-capabilities/providers/currentTime.d.ts.map +1 -0
  3512. package/packages/typescript/src/features/basic-capabilities/providers/currentTime.js +56 -0
  3513. package/packages/typescript/src/features/basic-capabilities/providers/entities.d.ts +7 -0
  3514. package/packages/typescript/src/features/basic-capabilities/providers/entities.d.ts.map +1 -0
  3515. package/packages/typescript/src/features/basic-capabilities/providers/entities.js +39 -0
  3516. package/packages/typescript/src/features/basic-capabilities/providers/evaluators.d.ts +27 -0
  3517. package/packages/typescript/src/features/basic-capabilities/providers/evaluators.d.ts.map +1 -0
  3518. package/packages/typescript/src/features/basic-capabilities/providers/evaluators.js +107 -0
  3519. package/packages/typescript/src/features/basic-capabilities/providers/index.d.ts +19 -0
  3520. package/packages/typescript/src/features/basic-capabilities/providers/index.d.ts.map +1 -0
  3521. package/packages/typescript/src/features/basic-capabilities/providers/index.js +18 -0
  3522. package/packages/typescript/src/features/basic-capabilities/providers/non-actionable-chatter.d.ts +5 -0
  3523. package/packages/typescript/src/features/basic-capabilities/providers/non-actionable-chatter.d.ts.map +1 -0
  3524. package/packages/typescript/src/features/basic-capabilities/providers/non-actionable-chatter.js +22 -0
  3525. package/packages/typescript/src/features/basic-capabilities/providers/providers.d.ts +18 -0
  3526. package/packages/typescript/src/features/basic-capabilities/providers/providers.d.ts.map +1 -0
  3527. package/packages/typescript/src/features/basic-capabilities/providers/providers.js +75 -0
  3528. package/packages/typescript/src/features/basic-capabilities/providers/recentMessages.d.ts +14 -0
  3529. package/packages/typescript/src/features/basic-capabilities/providers/recentMessages.d.ts.map +1 -0
  3530. package/packages/typescript/src/features/basic-capabilities/providers/recentMessages.js +323 -0
  3531. package/packages/typescript/src/features/basic-capabilities/providers/time.d.ts +12 -0
  3532. package/packages/typescript/src/features/basic-capabilities/providers/time.d.ts.map +1 -0
  3533. package/packages/typescript/src/features/basic-capabilities/providers/time.js +36 -0
  3534. package/packages/typescript/src/features/basic-capabilities/providers/world.d.ts +8 -0
  3535. package/packages/typescript/src/features/basic-capabilities/providers/world.d.ts.map +1 -0
  3536. package/packages/typescript/src/features/basic-capabilities/providers/world.js +212 -0
  3537. package/packages/typescript/src/features/index.d.ts +58 -0
  3538. package/packages/typescript/src/features/index.d.ts.map +1 -0
  3539. package/packages/typescript/src/features/index.js +155 -0
  3540. package/packages/typescript/src/features/knowledge/actions.d.ts +5 -0
  3541. package/packages/typescript/src/features/knowledge/actions.d.ts.map +1 -0
  3542. package/packages/typescript/src/features/knowledge/actions.js +269 -0
  3543. package/packages/typescript/src/features/knowledge/config.d.ts +5 -0
  3544. package/packages/typescript/src/features/knowledge/config.d.ts.map +1 -0
  3545. package/packages/typescript/src/features/knowledge/config.js +147 -0
  3546. package/packages/typescript/src/features/knowledge/ctx-embeddings.d.ts +53 -0
  3547. package/packages/typescript/src/features/knowledge/ctx-embeddings.d.ts.map +1 -0
  3548. package/packages/typescript/src/features/knowledge/ctx-embeddings.js +412 -0
  3549. package/packages/typescript/src/features/knowledge/docs-loader.d.ts +9 -0
  3550. package/packages/typescript/src/features/knowledge/docs-loader.d.ts.map +1 -0
  3551. package/packages/typescript/src/features/knowledge/docs-loader.js +202 -0
  3552. package/packages/typescript/src/features/knowledge/document-processor.d.ts +26 -0
  3553. package/packages/typescript/src/features/knowledge/document-processor.d.ts.map +1 -0
  3554. package/packages/typescript/src/features/knowledge/document-processor.js +618 -0
  3555. package/packages/typescript/src/features/knowledge/documents-provider.d.ts +3 -0
  3556. package/packages/typescript/src/features/knowledge/documents-provider.d.ts.map +1 -0
  3557. package/packages/typescript/src/features/knowledge/documents-provider.js +107 -0
  3558. package/packages/typescript/src/features/knowledge/index.d.ts +16 -0
  3559. package/packages/typescript/src/features/knowledge/index.d.ts.map +1 -0
  3560. package/packages/typescript/src/features/knowledge/index.js +29 -0
  3561. package/packages/typescript/src/features/knowledge/llm.d.ts +27 -0
  3562. package/packages/typescript/src/features/knowledge/llm.d.ts.map +1 -0
  3563. package/packages/typescript/src/features/knowledge/llm.js +444 -0
  3564. package/packages/typescript/src/features/knowledge/provider.d.ts +3 -0
  3565. package/packages/typescript/src/features/knowledge/provider.d.ts.map +1 -0
  3566. package/packages/typescript/src/features/knowledge/provider.js +62 -0
  3567. package/packages/typescript/src/features/knowledge/service.d.ts +76 -0
  3568. package/packages/typescript/src/features/knowledge/service.d.ts.map +1 -0
  3569. package/packages/typescript/src/features/knowledge/service.js +511 -0
  3570. package/packages/typescript/src/features/knowledge/types.d.ts +144 -0
  3571. package/packages/typescript/src/features/knowledge/types.d.ts.map +1 -0
  3572. package/packages/typescript/src/features/knowledge/types.js +57 -0
  3573. package/packages/typescript/src/features/knowledge/utils.d.ts +17 -0
  3574. package/packages/typescript/src/features/knowledge/utils.d.ts.map +1 -0
  3575. package/packages/typescript/src/features/knowledge/utils.js +313 -0
  3576. package/packages/typescript/src/features/plugin-manager/actions/coreStatusAction.d.ts +3 -0
  3577. package/packages/typescript/src/features/plugin-manager/actions/coreStatusAction.d.ts.map +1 -0
  3578. package/packages/typescript/src/features/plugin-manager/actions/coreStatusAction.js +65 -0
  3579. package/packages/typescript/src/features/plugin-manager/actions/listEjectedPluginsAction.d.ts +3 -0
  3580. package/packages/typescript/src/features/plugin-manager/actions/listEjectedPluginsAction.d.ts.map +1 -0
  3581. package/packages/typescript/src/features/plugin-manager/actions/listEjectedPluginsAction.js +63 -0
  3582. package/packages/typescript/src/features/plugin-manager/actions/searchPluginAction.d.ts +4 -0
  3583. package/packages/typescript/src/features/plugin-manager/actions/searchPluginAction.d.ts.map +1 -0
  3584. package/packages/typescript/src/features/plugin-manager/actions/searchPluginAction.js +232 -0
  3585. package/packages/typescript/src/features/plugin-manager/coreExtensions.d.ts +28 -0
  3586. package/packages/typescript/src/features/plugin-manager/coreExtensions.d.ts.map +1 -0
  3587. package/packages/typescript/src/features/plugin-manager/coreExtensions.js +54 -0
  3588. package/packages/typescript/src/features/plugin-manager/index.d.ts +25 -0
  3589. package/packages/typescript/src/features/plugin-manager/index.d.ts.map +1 -0
  3590. package/packages/typescript/src/features/plugin-manager/index.js +53 -0
  3591. package/packages/typescript/src/features/plugin-manager/providers/pluginConfigurationStatus.d.ts +5 -0
  3592. package/packages/typescript/src/features/plugin-manager/providers/pluginConfigurationStatus.d.ts.map +1 -0
  3593. package/packages/typescript/src/features/plugin-manager/providers/pluginConfigurationStatus.js +104 -0
  3594. package/packages/typescript/src/features/plugin-manager/providers/pluginStateProvider.d.ts +5 -0
  3595. package/packages/typescript/src/features/plugin-manager/providers/pluginStateProvider.d.ts.map +1 -0
  3596. package/packages/typescript/src/features/plugin-manager/providers/pluginStateProvider.js +105 -0
  3597. package/packages/typescript/src/features/plugin-manager/providers/registryPluginsProvider.d.ts +5 -0
  3598. package/packages/typescript/src/features/plugin-manager/providers/registryPluginsProvider.d.ts.map +1 -0
  3599. package/packages/typescript/src/features/plugin-manager/providers/registryPluginsProvider.js +93 -0
  3600. package/packages/typescript/src/features/plugin-manager/providers/relevance.d.ts +9 -0
  3601. package/packages/typescript/src/features/plugin-manager/providers/relevance.d.ts.map +1 -0
  3602. package/packages/typescript/src/features/plugin-manager/providers/relevance.js +224 -0
  3603. package/packages/typescript/src/features/plugin-manager/services/coreManagerService.d.ts +76 -0
  3604. package/packages/typescript/src/features/plugin-manager/services/coreManagerService.d.ts.map +1 -0
  3605. package/packages/typescript/src/features/plugin-manager/services/coreManagerService.js +479 -0
  3606. package/packages/typescript/src/features/plugin-manager/services/pluginConfigurationService.d.ts +31 -0
  3607. package/packages/typescript/src/features/plugin-manager/services/pluginConfigurationService.d.ts.map +1 -0
  3608. package/packages/typescript/src/features/plugin-manager/services/pluginConfigurationService.js +57 -0
  3609. package/packages/typescript/src/features/plugin-manager/services/pluginManagerService.d.ts +68 -0
  3610. package/packages/typescript/src/features/plugin-manager/services/pluginManagerService.d.ts.map +1 -0
  3611. package/packages/typescript/src/features/plugin-manager/services/pluginManagerService.js +1007 -0
  3612. package/packages/typescript/src/features/plugin-manager/services/pluginRegistryService.d.ts +84 -0
  3613. package/packages/typescript/src/features/plugin-manager/services/pluginRegistryService.d.ts.map +1 -0
  3614. package/packages/typescript/src/features/plugin-manager/services/pluginRegistryService.js +402 -0
  3615. package/packages/typescript/src/features/plugin-manager/types.d.ts +142 -0
  3616. package/packages/typescript/src/features/plugin-manager/types.d.ts.map +1 -0
  3617. package/packages/typescript/src/features/plugin-manager/types.js +13 -0
  3618. package/packages/typescript/src/features/plugin-manager/utils/paths.d.ts +4 -0
  3619. package/packages/typescript/src/features/plugin-manager/utils/paths.d.ts.map +1 -0
  3620. package/packages/typescript/src/features/plugin-manager/utils/paths.js +32 -0
  3621. package/packages/typescript/src/features/secrets/actions/index.d.ts +7 -0
  3622. package/packages/typescript/src/features/secrets/actions/index.d.ts.map +1 -0
  3623. package/packages/typescript/src/features/secrets/actions/index.js +6 -0
  3624. package/packages/typescript/src/features/secrets/actions/manage-secret.d.ts +12 -0
  3625. package/packages/typescript/src/features/secrets/actions/manage-secret.d.ts.map +1 -0
  3626. package/packages/typescript/src/features/secrets/actions/manage-secret.js +278 -0
  3627. package/packages/typescript/src/features/secrets/actions/request-secret.d.ts +3 -0
  3628. package/packages/typescript/src/features/secrets/actions/request-secret.d.ts.map +1 -0
  3629. package/packages/typescript/src/features/secrets/actions/request-secret.js +105 -0
  3630. package/packages/typescript/src/features/secrets/actions/set-secret.d.ts +12 -0
  3631. package/packages/typescript/src/features/secrets/actions/set-secret.d.ts.map +1 -0
  3632. package/packages/typescript/src/features/secrets/actions/set-secret.js +223 -0
  3633. package/packages/typescript/src/features/secrets/crypto/encryption.d.ts +184 -0
  3634. package/packages/typescript/src/features/secrets/crypto/encryption.d.ts.map +1 -0
  3635. package/packages/typescript/src/features/secrets/crypto/encryption.js +373 -0
  3636. package/packages/typescript/src/features/secrets/crypto/index.d.ts +5 -0
  3637. package/packages/typescript/src/features/secrets/crypto/index.d.ts.map +1 -0
  3638. package/packages/typescript/src/features/secrets/crypto/index.js +16 -0
  3639. package/packages/typescript/src/features/secrets/onboarding/action.d.ts +12 -0
  3640. package/packages/typescript/src/features/secrets/onboarding/action.d.ts.map +1 -0
  3641. package/packages/typescript/src/features/secrets/onboarding/action.js +337 -0
  3642. package/packages/typescript/src/features/secrets/onboarding/config.d.ts +99 -0
  3643. package/packages/typescript/src/features/secrets/onboarding/config.d.ts.map +1 -0
  3644. package/packages/typescript/src/features/secrets/onboarding/config.js +240 -0
  3645. package/packages/typescript/src/features/secrets/onboarding/index.d.ts +13 -0
  3646. package/packages/typescript/src/features/secrets/onboarding/index.d.ts.map +1 -0
  3647. package/packages/typescript/src/features/secrets/onboarding/index.js +12 -0
  3648. package/packages/typescript/src/features/secrets/onboarding/provider.d.ts +16 -0
  3649. package/packages/typescript/src/features/secrets/onboarding/provider.d.ts.map +1 -0
  3650. package/packages/typescript/src/features/secrets/onboarding/provider.js +231 -0
  3651. package/packages/typescript/src/features/secrets/onboarding/service.d.ts +134 -0
  3652. package/packages/typescript/src/features/secrets/onboarding/service.d.ts.map +1 -0
  3653. package/packages/typescript/src/features/secrets/onboarding/service.js +436 -0
  3654. package/packages/typescript/src/features/secrets/providers/index.d.ts +5 -0
  3655. package/packages/typescript/src/features/secrets/providers/index.d.ts.map +1 -0
  3656. package/packages/typescript/src/features/secrets/providers/index.js +4 -0
  3657. package/packages/typescript/src/features/secrets/providers/secrets-status.d.ts +22 -0
  3658. package/packages/typescript/src/features/secrets/providers/secrets-status.d.ts.map +1 -0
  3659. package/packages/typescript/src/features/secrets/providers/secrets-status.js +160 -0
  3660. package/packages/typescript/src/features/secrets/services/plugin-activator.d.ts +182 -0
  3661. package/packages/typescript/src/features/secrets/services/plugin-activator.d.ts.map +1 -0
  3662. package/packages/typescript/src/features/secrets/services/plugin-activator.js +617 -0
  3663. package/packages/typescript/src/features/secrets/services/secrets.d.ts +183 -0
  3664. package/packages/typescript/src/features/secrets/services/secrets.d.ts.map +1 -0
  3665. package/packages/typescript/src/features/secrets/services/secrets.js +566 -0
  3666. package/packages/typescript/src/features/secrets/storage/character-store.d.ts +63 -0
  3667. package/packages/typescript/src/features/secrets/storage/character-store.d.ts.map +1 -0
  3668. package/packages/typescript/src/features/secrets/storage/character-store.js +265 -0
  3669. package/packages/typescript/src/features/secrets/storage/component-store.d.ts +47 -0
  3670. package/packages/typescript/src/features/secrets/storage/component-store.d.ts.map +1 -0
  3671. package/packages/typescript/src/features/secrets/storage/component-store.js +264 -0
  3672. package/packages/typescript/src/features/secrets/storage/index.d.ts +10 -0
  3673. package/packages/typescript/src/features/secrets/storage/index.d.ts.map +1 -0
  3674. package/packages/typescript/src/features/secrets/storage/index.js +8 -0
  3675. package/packages/typescript/src/features/secrets/storage/interface.d.ts +52 -0
  3676. package/packages/typescript/src/features/secrets/storage/interface.d.ts.map +1 -0
  3677. package/packages/typescript/src/features/secrets/storage/interface.js +92 -0
  3678. package/packages/typescript/src/features/secrets/storage/memory-store.d.ts +44 -0
  3679. package/packages/typescript/src/features/secrets/storage/memory-store.d.ts.map +1 -0
  3680. package/packages/typescript/src/features/secrets/storage/memory-store.js +142 -0
  3681. package/packages/typescript/src/features/secrets/storage/world-store.d.ts +52 -0
  3682. package/packages/typescript/src/features/secrets/storage/world-store.d.ts.map +1 -0
  3683. package/packages/typescript/src/features/secrets/storage/world-store.js +292 -0
  3684. package/packages/typescript/src/features/secrets/types.d.ts +438 -0
  3685. package/packages/typescript/src/features/secrets/types.d.ts.map +1 -0
  3686. package/packages/typescript/src/features/secrets/types.js +57 -0
  3687. package/packages/typescript/src/features/secrets/validation.d.ts +33 -0
  3688. package/packages/typescript/src/features/secrets/validation.d.ts.map +1 -0
  3689. package/packages/typescript/src/features/secrets/validation.js +389 -0
  3690. package/packages/typescript/src/features/shared/schedule-follow-up-response.d.ts +10 -0
  3691. package/packages/typescript/src/features/shared/schedule-follow-up-response.d.ts.map +1 -0
  3692. package/packages/typescript/src/features/shared/schedule-follow-up-response.js +49 -0
  3693. package/packages/typescript/src/features/trajectories/TrajectoriesService.d.ts +289 -0
  3694. package/packages/typescript/src/features/trajectories/TrajectoriesService.d.ts.map +1 -0
  3695. package/packages/typescript/src/features/trajectories/TrajectoriesService.js +1423 -0
  3696. package/packages/typescript/src/features/trajectories/action-interceptor.d.ts +23 -0
  3697. package/packages/typescript/src/features/trajectories/action-interceptor.d.ts.map +1 -0
  3698. package/packages/typescript/src/features/trajectories/action-interceptor.js +178 -0
  3699. package/packages/typescript/src/features/trajectories/art-format.d.ts +32 -0
  3700. package/packages/typescript/src/features/trajectories/art-format.d.ts.map +1 -0
  3701. package/packages/typescript/src/features/trajectories/art-format.js +221 -0
  3702. package/packages/typescript/src/features/trajectories/export.d.ts +40 -0
  3703. package/packages/typescript/src/features/trajectories/export.d.ts.map +1 -0
  3704. package/packages/typescript/src/features/trajectories/export.js +99 -0
  3705. package/packages/typescript/src/features/trajectories/game-rewards.d.ts +14 -0
  3706. package/packages/typescript/src/features/trajectories/game-rewards.d.ts.map +1 -0
  3707. package/packages/typescript/src/features/trajectories/game-rewards.js +20 -0
  3708. package/packages/typescript/src/features/trajectories/index.d.ts +24 -0
  3709. package/packages/typescript/src/features/trajectories/index.d.ts.map +1 -0
  3710. package/packages/typescript/src/features/trajectories/index.js +253 -0
  3711. package/packages/typescript/src/features/trajectories/integration.d.ts +59 -0
  3712. package/packages/typescript/src/features/trajectories/integration.d.ts.map +1 -0
  3713. package/packages/typescript/src/features/trajectories/integration.js +83 -0
  3714. package/packages/typescript/src/features/trajectories/reward-service.d.ts +24 -0
  3715. package/packages/typescript/src/features/trajectories/reward-service.d.ts.map +1 -0
  3716. package/packages/typescript/src/features/trajectories/reward-service.js +89 -0
  3717. package/packages/typescript/src/features/trajectories/types.d.ts +261 -0
  3718. package/packages/typescript/src/features/trajectories/types.d.ts.map +1 -0
  3719. package/packages/typescript/src/features/trajectories/types.js +1 -0
  3720. package/packages/typescript/src/features/trust/actions/evaluateTrust.d.ts +3 -0
  3721. package/packages/typescript/src/features/trust/actions/evaluateTrust.d.ts.map +1 -0
  3722. package/packages/typescript/src/features/trust/actions/evaluateTrust.js +225 -0
  3723. package/packages/typescript/src/features/trust/actions/hasTrustEngine.d.ts +3 -0
  3724. package/packages/typescript/src/features/trust/actions/hasTrustEngine.d.ts.map +1 -0
  3725. package/packages/typescript/src/features/trust/actions/hasTrustEngine.js +3 -0
  3726. package/packages/typescript/src/features/trust/actions/index.d.ts +6 -0
  3727. package/packages/typescript/src/features/trust/actions/index.d.ts.map +1 -0
  3728. package/packages/typescript/src/features/trust/actions/index.js +5 -0
  3729. package/packages/typescript/src/features/trust/actions/recordTrustInteraction.d.ts +3 -0
  3730. package/packages/typescript/src/features/trust/actions/recordTrustInteraction.d.ts.map +1 -0
  3731. package/packages/typescript/src/features/trust/actions/recordTrustInteraction.js +189 -0
  3732. package/packages/typescript/src/features/trust/actions/requestElevation.d.ts +3 -0
  3733. package/packages/typescript/src/features/trust/actions/requestElevation.d.ts.map +1 -0
  3734. package/packages/typescript/src/features/trust/actions/requestElevation.js +165 -0
  3735. package/packages/typescript/src/features/trust/actions/roles.d.ts +3 -0
  3736. package/packages/typescript/src/features/trust/actions/roles.d.ts.map +1 -0
  3737. package/packages/typescript/src/features/trust/actions/roles.js +295 -0
  3738. package/packages/typescript/src/features/trust/actions/settings.d.ts +5 -0
  3739. package/packages/typescript/src/features/trust/actions/settings.d.ts.map +1 -0
  3740. package/packages/typescript/src/features/trust/actions/settings.js +603 -0
  3741. package/packages/typescript/src/features/trust/evaluators/index.d.ts +4 -0
  3742. package/packages/typescript/src/features/trust/evaluators/index.d.ts.map +1 -0
  3743. package/packages/typescript/src/features/trust/evaluators/index.js +3 -0
  3744. package/packages/typescript/src/features/trust/evaluators/reflection.d.ts +3 -0
  3745. package/packages/typescript/src/features/trust/evaluators/reflection.d.ts.map +1 -0
  3746. package/packages/typescript/src/features/trust/evaluators/reflection.js +290 -0
  3747. package/packages/typescript/src/features/trust/evaluators/securityEvaluator.d.ts +3 -0
  3748. package/packages/typescript/src/features/trust/evaluators/securityEvaluator.d.ts.map +1 -0
  3749. package/packages/typescript/src/features/trust/evaluators/securityEvaluator.js +270 -0
  3750. package/packages/typescript/src/features/trust/evaluators/trustChangeEvaluator.d.ts +3 -0
  3751. package/packages/typescript/src/features/trust/evaluators/trustChangeEvaluator.d.ts.map +1 -0
  3752. package/packages/typescript/src/features/trust/evaluators/trustChangeEvaluator.js +201 -0
  3753. package/packages/typescript/src/features/trust/index.d.ts +23 -0
  3754. package/packages/typescript/src/features/trust/index.d.ts.map +1 -0
  3755. package/packages/typescript/src/features/trust/index.js +96 -0
  3756. package/packages/typescript/src/features/trust/providers/adminTrust.d.ts +3 -0
  3757. package/packages/typescript/src/features/trust/providers/adminTrust.d.ts.map +1 -0
  3758. package/packages/typescript/src/features/trust/providers/adminTrust.js +49 -0
  3759. package/packages/typescript/src/features/trust/providers/index.d.ts +6 -0
  3760. package/packages/typescript/src/features/trust/providers/index.d.ts.map +1 -0
  3761. package/packages/typescript/src/features/trust/providers/index.js +5 -0
  3762. package/packages/typescript/src/features/trust/providers/roles.d.ts +4 -0
  3763. package/packages/typescript/src/features/trust/providers/roles.d.ts.map +1 -0
  3764. package/packages/typescript/src/features/trust/providers/roles.js +142 -0
  3765. package/packages/typescript/src/features/trust/providers/securityStatus.d.ts +3 -0
  3766. package/packages/typescript/src/features/trust/providers/securityStatus.d.ts.map +1 -0
  3767. package/packages/typescript/src/features/trust/providers/securityStatus.js +110 -0
  3768. package/packages/typescript/src/features/trust/providers/settings.d.ts +3 -0
  3769. package/packages/typescript/src/features/trust/providers/settings.d.ts.map +1 -0
  3770. package/packages/typescript/src/features/trust/providers/settings.js +222 -0
  3771. package/packages/typescript/src/features/trust/providers/trustProfile.d.ts +3 -0
  3772. package/packages/typescript/src/features/trust/providers/trustProfile.d.ts.map +1 -0
  3773. package/packages/typescript/src/features/trust/providers/trustProfile.js +68 -0
  3774. package/packages/typescript/src/features/trust/schema.d.ts +1170 -0
  3775. package/packages/typescript/src/features/trust/schema.d.ts.map +1 -0
  3776. package/packages/typescript/src/features/trust/schema.js +108 -0
  3777. package/packages/typescript/src/features/trust/services/ContextualPermissionSystem.d.ts +40 -0
  3778. package/packages/typescript/src/features/trust/services/ContextualPermissionSystem.d.ts.map +1 -0
  3779. package/packages/typescript/src/features/trust/services/ContextualPermissionSystem.js +317 -0
  3780. package/packages/typescript/src/features/trust/services/CredentialProtector.d.ts +62 -0
  3781. package/packages/typescript/src/features/trust/services/CredentialProtector.d.ts.map +1 -0
  3782. package/packages/typescript/src/features/trust/services/CredentialProtector.js +417 -0
  3783. package/packages/typescript/src/features/trust/services/SecurityModule.d.ts +142 -0
  3784. package/packages/typescript/src/features/trust/services/SecurityModule.d.ts.map +1 -0
  3785. package/packages/typescript/src/features/trust/services/SecurityModule.js +1057 -0
  3786. package/packages/typescript/src/features/trust/services/SecurityStore.d.ts +53 -0
  3787. package/packages/typescript/src/features/trust/services/SecurityStore.d.ts.map +1 -0
  3788. package/packages/typescript/src/features/trust/services/SecurityStore.js +123 -0
  3789. package/packages/typescript/src/features/trust/services/TrustEngine.d.ts +81 -0
  3790. package/packages/typescript/src/features/trust/services/TrustEngine.d.ts.map +1 -0
  3791. package/packages/typescript/src/features/trust/services/TrustEngine.js +621 -0
  3792. package/packages/typescript/src/features/trust/services/adminContext.d.ts +3 -0
  3793. package/packages/typescript/src/features/trust/services/adminContext.d.ts.map +1 -0
  3794. package/packages/typescript/src/features/trust/services/adminContext.js +32 -0
  3795. package/packages/typescript/src/features/trust/services/db.d.ts +12 -0
  3796. package/packages/typescript/src/features/trust/services/db.d.ts.map +1 -0
  3797. package/packages/typescript/src/features/trust/services/db.js +10 -0
  3798. package/packages/typescript/src/features/trust/services/wrappers.d.ts +56 -0
  3799. package/packages/typescript/src/features/trust/services/wrappers.d.ts.map +1 -0
  3800. package/packages/typescript/src/features/trust/services/wrappers.js +124 -0
  3801. package/packages/typescript/src/features/trust/types/permissions.d.ts +185 -0
  3802. package/packages/typescript/src/features/trust/types/permissions.d.ts.map +1 -0
  3803. package/packages/typescript/src/features/trust/types/permissions.js +58 -0
  3804. package/packages/typescript/src/features/trust/types/security.d.ts +114 -0
  3805. package/packages/typescript/src/features/trust/types/security.d.ts.map +1 -0
  3806. package/packages/typescript/src/features/trust/types/security.js +15 -0
  3807. package/packages/typescript/src/features/trust/types/trust.d.ts +179 -0
  3808. package/packages/typescript/src/features/trust/types/trust.d.ts.map +1 -0
  3809. package/packages/typescript/src/features/trust/types/trust.js +25 -0
  3810. package/packages/typescript/src/generated/action-docs.d.ts +2809 -0
  3811. package/packages/typescript/src/generated/action-docs.d.ts.map +1 -0
  3812. package/packages/typescript/src/generated/action-docs.js +4055 -0
  3813. package/packages/typescript/src/generated/spec-helpers.d.ts +49 -0
  3814. package/packages/typescript/src/generated/spec-helpers.d.ts.map +1 -0
  3815. package/packages/typescript/src/generated/spec-helpers.js +78 -0
  3816. package/packages/typescript/src/i18n/generated/validation-keyword-data.d.ts +1056 -0
  3817. package/packages/typescript/src/i18n/generated/validation-keyword-data.d.ts.map +1 -0
  3818. package/packages/typescript/src/i18n/generated/validation-keyword-data.js +1056 -0
  3819. package/packages/typescript/src/i18n/validation-keywords.d.ts +25 -0
  3820. package/packages/typescript/src/i18n/validation-keywords.d.ts.map +1 -0
  3821. package/packages/typescript/src/i18n/validation-keywords.js +112 -0
  3822. package/packages/typescript/src/index.d.ts +12 -0
  3823. package/packages/typescript/src/index.d.ts.map +1 -0
  3824. package/packages/typescript/src/index.js +13 -0
  3825. package/packages/typescript/src/index.node.d.ts +81 -0
  3826. package/packages/typescript/src/index.node.d.ts.map +1 -0
  3827. package/packages/typescript/src/index.node.js +113 -0
  3828. package/packages/typescript/src/logger.d.ts +121 -0
  3829. package/packages/typescript/src/logger.d.ts.map +1 -0
  3830. package/packages/typescript/src/logger.js +1023 -0
  3831. package/packages/typescript/src/markdown/chunk.d.ts +50 -0
  3832. package/packages/typescript/src/markdown/chunk.d.ts.map +1 -0
  3833. package/packages/typescript/src/markdown/chunk.js +268 -0
  3834. package/packages/typescript/src/markdown/code-spans.d.ts +42 -0
  3835. package/packages/typescript/src/markdown/code-spans.d.ts.map +1 -0
  3836. package/packages/typescript/src/markdown/code-spans.js +89 -0
  3837. package/packages/typescript/src/markdown/fences.d.ts +50 -0
  3838. package/packages/typescript/src/markdown/fences.d.ts.map +1 -0
  3839. package/packages/typescript/src/markdown/fences.js +90 -0
  3840. package/packages/typescript/src/markdown/frontmatter.d.ts +24 -0
  3841. package/packages/typescript/src/markdown/frontmatter.d.ts.map +1 -0
  3842. package/packages/typescript/src/markdown/frontmatter.js +151 -0
  3843. package/packages/typescript/src/markdown/index.d.ts +18 -0
  3844. package/packages/typescript/src/markdown/index.d.ts.map +1 -0
  3845. package/packages/typescript/src/markdown/index.js +17 -0
  3846. package/packages/typescript/src/markdown/ir.d.ts +101 -0
  3847. package/packages/typescript/src/markdown/ir.d.ts.map +1 -0
  3848. package/packages/typescript/src/markdown/ir.js +789 -0
  3849. package/packages/typescript/src/media/fetch.d.ts +39 -0
  3850. package/packages/typescript/src/media/fetch.d.ts.map +1 -0
  3851. package/packages/typescript/src/media/fetch.js +205 -0
  3852. package/packages/typescript/src/media/index.d.ts +8 -0
  3853. package/packages/typescript/src/media/index.d.ts.map +1 -0
  3854. package/packages/typescript/src/media/index.js +7 -0
  3855. package/packages/typescript/src/media/mime.d.ts +51 -0
  3856. package/packages/typescript/src/media/mime.d.ts.map +1 -0
  3857. package/packages/typescript/src/media/mime.js +225 -0
  3858. package/packages/typescript/src/memory.d.ts +40 -0
  3859. package/packages/typescript/src/memory.d.ts.map +1 -0
  3860. package/packages/typescript/src/memory.js +58 -0
  3861. package/packages/typescript/src/network/fetch-guard.d.ts +34 -0
  3862. package/packages/typescript/src/network/fetch-guard.d.ts.map +1 -0
  3863. package/packages/typescript/src/network/fetch-guard.js +136 -0
  3864. package/packages/typescript/src/network/index.d.ts +11 -0
  3865. package/packages/typescript/src/network/index.d.ts.map +1 -0
  3866. package/packages/typescript/src/network/index.js +10 -0
  3867. package/packages/typescript/src/network/ssrf.d.ts +58 -0
  3868. package/packages/typescript/src/network/ssrf.d.ts.map +1 -0
  3869. package/packages/typescript/src/network/ssrf.js +252 -0
  3870. package/packages/typescript/src/optimization/ab-analysis.d.ts +3 -0
  3871. package/packages/typescript/src/optimization/ab-analysis.d.ts.map +1 -0
  3872. package/packages/typescript/src/optimization/ab-analysis.js +8 -0
  3873. package/packages/typescript/src/optimization-root-dir.d.ts +8 -0
  3874. package/packages/typescript/src/optimization-root-dir.d.ts.map +1 -0
  3875. package/packages/typescript/src/optimization-root-dir.js +14 -0
  3876. package/packages/typescript/src/plugin-lifecycle.d.ts +16 -0
  3877. package/packages/typescript/src/plugin-lifecycle.d.ts.map +1 -0
  3878. package/packages/typescript/src/plugin-lifecycle.js +590 -0
  3879. package/packages/typescript/src/plugin.d.ts +13 -0
  3880. package/packages/typescript/src/plugin.d.ts.map +1 -0
  3881. package/packages/typescript/src/plugin.js +341 -0
  3882. package/packages/typescript/src/plugins/index.d.ts +9 -0
  3883. package/packages/typescript/src/plugins/index.d.ts.map +1 -0
  3884. package/packages/typescript/src/plugins/index.js +8 -0
  3885. package/packages/typescript/src/plugins/native-features.d.ts +14 -0
  3886. package/packages/typescript/src/plugins/native-features.d.ts.map +1 -0
  3887. package/packages/typescript/src/plugins/native-features.js +59 -0
  3888. package/packages/typescript/src/prompts.d.ts +88 -0
  3889. package/packages/typescript/src/prompts.d.ts.map +1 -0
  3890. package/packages/typescript/src/prompts.js +1134 -0
  3891. package/packages/typescript/src/providers/onboarding-progress.d.ts +19 -0
  3892. package/packages/typescript/src/providers/onboarding-progress.d.ts.map +1 -0
  3893. package/packages/typescript/src/providers/onboarding-progress.js +268 -0
  3894. package/packages/typescript/src/providers/skill-eligibility.d.ts +28 -0
  3895. package/packages/typescript/src/providers/skill-eligibility.d.ts.map +1 -0
  3896. package/packages/typescript/src/providers/skill-eligibility.js +179 -0
  3897. package/packages/typescript/src/provisioning.d.ts +54 -0
  3898. package/packages/typescript/src/provisioning.d.ts.map +1 -0
  3899. package/packages/typescript/src/provisioning.js +209 -0
  3900. package/packages/typescript/src/roles.d.ts +70 -0
  3901. package/packages/typescript/src/roles.d.ts.map +1 -0
  3902. package/packages/typescript/src/roles.js +544 -0
  3903. package/packages/typescript/src/runtime-composition.d.ts +129 -0
  3904. package/packages/typescript/src/runtime-composition.d.ts.map +1 -0
  3905. package/packages/typescript/src/runtime-composition.js +335 -0
  3906. package/packages/typescript/src/runtime.d.ts +918 -0
  3907. package/packages/typescript/src/runtime.d.ts.map +1 -0
  3908. package/packages/typescript/src/runtime.js +5962 -0
  3909. package/packages/typescript/src/schemas/agent.d.ts +7 -0
  3910. package/packages/typescript/src/schemas/agent.d.ts.map +1 -0
  3911. package/packages/typescript/src/schemas/agent.js +112 -0
  3912. package/packages/typescript/src/schemas/cache.d.ts +7 -0
  3913. package/packages/typescript/src/schemas/cache.d.ts.map +1 -0
  3914. package/packages/typescript/src/schemas/cache.js +55 -0
  3915. package/packages/typescript/src/schemas/channel-participant.d.ts +7 -0
  3916. package/packages/typescript/src/schemas/channel-participant.d.ts.map +1 -0
  3917. package/packages/typescript/src/schemas/channel-participant.js +49 -0
  3918. package/packages/typescript/src/schemas/channel.d.ts +7 -0
  3919. package/packages/typescript/src/schemas/channel.d.ts.map +1 -0
  3920. package/packages/typescript/src/schemas/channel.js +94 -0
  3921. package/packages/typescript/src/schemas/character.d.ts +445 -0
  3922. package/packages/typescript/src/schemas/character.d.ts.map +1 -0
  3923. package/packages/typescript/src/schemas/character.js +309 -0
  3924. package/packages/typescript/src/schemas/component.d.ts +7 -0
  3925. package/packages/typescript/src/schemas/component.d.ts.map +1 -0
  3926. package/packages/typescript/src/schemas/component.js +156 -0
  3927. package/packages/typescript/src/schemas/embedding.d.ts +7 -0
  3928. package/packages/typescript/src/schemas/embedding.d.ts.map +1 -0
  3929. package/packages/typescript/src/schemas/embedding.js +89 -0
  3930. package/packages/typescript/src/schemas/entity-identity.d.ts +29 -0
  3931. package/packages/typescript/src/schemas/entity-identity.d.ts.map +1 -0
  3932. package/packages/typescript/src/schemas/entity-identity.js +334 -0
  3933. package/packages/typescript/src/schemas/entity.d.ts +7 -0
  3934. package/packages/typescript/src/schemas/entity.d.ts.map +1 -0
  3935. package/packages/typescript/src/schemas/entity.js +69 -0
  3936. package/packages/typescript/src/schemas/index.d.ts +77 -0
  3937. package/packages/typescript/src/schemas/index.d.ts.map +1 -0
  3938. package/packages/typescript/src/schemas/index.js +75 -0
  3939. package/packages/typescript/src/schemas/log.d.ts +6 -0
  3940. package/packages/typescript/src/schemas/log.d.ts.map +1 -0
  3941. package/packages/typescript/src/schemas/log.js +93 -0
  3942. package/packages/typescript/src/schemas/memory.d.ts +7 -0
  3943. package/packages/typescript/src/schemas/memory.d.ts.map +1 -0
  3944. package/packages/typescript/src/schemas/memory.js +167 -0
  3945. package/packages/typescript/src/schemas/message-server-agent.d.ts +7 -0
  3946. package/packages/typescript/src/schemas/message-server-agent.d.ts.map +1 -0
  3947. package/packages/typescript/src/schemas/message-server-agent.js +58 -0
  3948. package/packages/typescript/src/schemas/message-server.d.ts +6 -0
  3949. package/packages/typescript/src/schemas/message-server.d.ts.map +1 -0
  3950. package/packages/typescript/src/schemas/message-server.js +62 -0
  3951. package/packages/typescript/src/schemas/message.d.ts +7 -0
  3952. package/packages/typescript/src/schemas/message.d.ts.map +1 -0
  3953. package/packages/typescript/src/schemas/message.js +106 -0
  3954. package/packages/typescript/src/schemas/pairing-allowlist.d.ts +7 -0
  3955. package/packages/typescript/src/schemas/pairing-allowlist.d.ts.map +1 -0
  3956. package/packages/typescript/src/schemas/pairing-allowlist.js +76 -0
  3957. package/packages/typescript/src/schemas/pairing-request.d.ts +7 -0
  3958. package/packages/typescript/src/schemas/pairing-request.d.ts.map +1 -0
  3959. package/packages/typescript/src/schemas/pairing-request.js +96 -0
  3960. package/packages/typescript/src/schemas/participant.d.ts +6 -0
  3961. package/packages/typescript/src/schemas/participant.d.ts.map +1 -0
  3962. package/packages/typescript/src/schemas/participant.js +91 -0
  3963. package/packages/typescript/src/schemas/relationship.d.ts +7 -0
  3964. package/packages/typescript/src/schemas/relationship.d.ts.map +1 -0
  3965. package/packages/typescript/src/schemas/relationship.js +102 -0
  3966. package/packages/typescript/src/schemas/room.d.ts +6 -0
  3967. package/packages/typescript/src/schemas/room.d.ts.map +1 -0
  3968. package/packages/typescript/src/schemas/room.js +86 -0
  3969. package/packages/typescript/src/schemas/server.d.ts +7 -0
  3970. package/packages/typescript/src/schemas/server.d.ts.map +1 -0
  3971. package/packages/typescript/src/schemas/server.js +33 -0
  3972. package/packages/typescript/src/schemas/task.d.ts +6 -0
  3973. package/packages/typescript/src/schemas/task.d.ts.map +1 -0
  3974. package/packages/typescript/src/schemas/task.js +95 -0
  3975. package/packages/typescript/src/schemas/world.d.ts +6 -0
  3976. package/packages/typescript/src/schemas/world.d.ts.map +1 -0
  3977. package/packages/typescript/src/schemas/world.js +64 -0
  3978. package/packages/typescript/src/search.d.ts +359 -0
  3979. package/packages/typescript/src/search.d.ts.map +1 -0
  3980. package/packages/typescript/src/search.js +1580 -0
  3981. package/packages/typescript/src/secrets.d.ts +6 -0
  3982. package/packages/typescript/src/secrets.d.ts.map +1 -0
  3983. package/packages/typescript/src/secrets.js +28 -0
  3984. package/packages/typescript/src/security/external-content.d.ts +96 -0
  3985. package/packages/typescript/src/security/external-content.d.ts.map +1 -0
  3986. package/packages/typescript/src/security/external-content.js +252 -0
  3987. package/packages/typescript/src/security/index.d.ts +12 -0
  3988. package/packages/typescript/src/security/index.d.ts.map +1 -0
  3989. package/packages/typescript/src/security/index.js +13 -0
  3990. package/packages/typescript/src/security/redact.d.ts +111 -0
  3991. package/packages/typescript/src/security/redact.d.ts.map +1 -0
  3992. package/packages/typescript/src/security/redact.js +254 -0
  3993. package/packages/typescript/src/services/agentEvent.d.ts +297 -0
  3994. package/packages/typescript/src/services/agentEvent.d.ts.map +1 -0
  3995. package/packages/typescript/src/services/agentEvent.js +422 -0
  3996. package/packages/typescript/src/services/approval.d.ts +169 -0
  3997. package/packages/typescript/src/services/approval.d.ts.map +1 -0
  3998. package/packages/typescript/src/services/approval.js +399 -0
  3999. package/packages/typescript/src/services/embedding.d.ts +29 -0
  4000. package/packages/typescript/src/services/embedding.d.ts.map +1 -0
  4001. package/packages/typescript/src/services/embedding.js +211 -0
  4002. package/packages/typescript/src/services/followUp.d.ts +48 -0
  4003. package/packages/typescript/src/services/followUp.d.ts.map +1 -0
  4004. package/packages/typescript/src/services/followUp.js +333 -0
  4005. package/packages/typescript/src/services/hook.d.ts +85 -0
  4006. package/packages/typescript/src/services/hook.d.ts.map +1 -0
  4007. package/packages/typescript/src/services/hook.js +396 -0
  4008. package/packages/typescript/src/services/message.d.ts +107 -0
  4009. package/packages/typescript/src/services/message.d.ts.map +1 -0
  4010. package/packages/typescript/src/services/message.js +3844 -0
  4011. package/packages/typescript/src/services/onboarding-cli.d.ts +240 -0
  4012. package/packages/typescript/src/services/onboarding-cli.d.ts.map +1 -0
  4013. package/packages/typescript/src/services/onboarding-cli.js +688 -0
  4014. package/packages/typescript/src/services/onboarding-rpc.d.ts +225 -0
  4015. package/packages/typescript/src/services/onboarding-rpc.d.ts.map +1 -0
  4016. package/packages/typescript/src/services/onboarding-rpc.js +318 -0
  4017. package/packages/typescript/src/services/onboarding-state.d.ts +155 -0
  4018. package/packages/typescript/src/services/onboarding-state.d.ts.map +1 -0
  4019. package/packages/typescript/src/services/onboarding-state.js +706 -0
  4020. package/packages/typescript/src/services/optimized-prompt-resolver.d.ts +23 -0
  4021. package/packages/typescript/src/services/optimized-prompt-resolver.d.ts.map +1 -0
  4022. package/packages/typescript/src/services/optimized-prompt-resolver.js +50 -0
  4023. package/packages/typescript/src/services/optimized-prompt.d.ts +117 -0
  4024. package/packages/typescript/src/services/optimized-prompt.d.ts.map +1 -0
  4025. package/packages/typescript/src/services/optimized-prompt.js +262 -0
  4026. package/packages/typescript/src/services/pairing-integration.d.ts +96 -0
  4027. package/packages/typescript/src/services/pairing-integration.d.ts.map +1 -0
  4028. package/packages/typescript/src/services/pairing-integration.js +145 -0
  4029. package/packages/typescript/src/services/pairing-migration.d.ts +105 -0
  4030. package/packages/typescript/src/services/pairing-migration.d.ts.map +1 -0
  4031. package/packages/typescript/src/services/pairing-migration.js +283 -0
  4032. package/packages/typescript/src/services/pairing.d.ts +80 -0
  4033. package/packages/typescript/src/services/pairing.d.ts.map +1 -0
  4034. package/packages/typescript/src/services/pairing.js +253 -0
  4035. package/packages/typescript/src/services/plugin-hooks.d.ts +112 -0
  4036. package/packages/typescript/src/services/plugin-hooks.d.ts.map +1 -0
  4037. package/packages/typescript/src/services/plugin-hooks.js +163 -0
  4038. package/packages/typescript/src/services/relationships.d.ts +350 -0
  4039. package/packages/typescript/src/services/relationships.d.ts.map +1 -0
  4040. package/packages/typescript/src/services/relationships.js +1613 -0
  4041. package/packages/typescript/src/services/task-scheduler.d.ts +28 -0
  4042. package/packages/typescript/src/services/task-scheduler.d.ts.map +1 -0
  4043. package/packages/typescript/src/services/task-scheduler.js +89 -0
  4044. package/packages/typescript/src/services/task.d.ts +130 -0
  4045. package/packages/typescript/src/services/task.d.ts.map +1 -0
  4046. package/packages/typescript/src/services/task.js +536 -0
  4047. package/packages/typescript/src/services/tool-policy.d.ts +186 -0
  4048. package/packages/typescript/src/services/tool-policy.d.ts.map +1 -0
  4049. package/packages/typescript/src/services/tool-policy.js +332 -0
  4050. package/packages/typescript/src/services/trajectories.d.ts +34 -0
  4051. package/packages/typescript/src/services/trajectories.d.ts.map +1 -0
  4052. package/packages/typescript/src/services/trajectories.js +1 -0
  4053. package/packages/typescript/src/services.d.ts +61 -0
  4054. package/packages/typescript/src/services.d.ts.map +1 -0
  4055. package/packages/typescript/src/services.js +99 -0
  4056. package/packages/typescript/src/sessions/index.d.ts +17 -0
  4057. package/packages/typescript/src/sessions/index.d.ts.map +1 -0
  4058. package/packages/typescript/src/sessions/index.js +29 -0
  4059. package/packages/typescript/src/sessions/provider.d.ts +71 -0
  4060. package/packages/typescript/src/sessions/provider.d.ts.map +1 -0
  4061. package/packages/typescript/src/sessions/provider.js +243 -0
  4062. package/packages/typescript/src/sessions/session-key.d.ts +201 -0
  4063. package/packages/typescript/src/sessions/session-key.d.ts.map +1 -0
  4064. package/packages/typescript/src/sessions/session-key.js +396 -0
  4065. package/packages/typescript/src/sessions/types.d.ts +197 -0
  4066. package/packages/typescript/src/sessions/types.d.ts.map +1 -0
  4067. package/packages/typescript/src/sessions/types.js +68 -0
  4068. package/packages/typescript/src/settings.d.ts +99 -0
  4069. package/packages/typescript/src/settings.d.ts.map +1 -0
  4070. package/packages/typescript/src/settings.js +409 -0
  4071. package/packages/typescript/src/should-respond.d.ts +2 -0
  4072. package/packages/typescript/src/should-respond.d.ts.map +1 -0
  4073. package/packages/typescript/src/should-respond.js +16 -0
  4074. package/packages/typescript/src/streaming-context.d.ts +88 -0
  4075. package/packages/typescript/src/streaming-context.d.ts.map +1 -0
  4076. package/packages/typescript/src/streaming-context.js +160 -0
  4077. package/packages/typescript/src/trajectory-context.d.ts +39 -0
  4078. package/packages/typescript/src/trajectory-context.d.ts.map +1 -0
  4079. package/packages/typescript/src/trajectory-context.js +85 -0
  4080. package/packages/typescript/src/trajectory-utils.d.ts +73 -0
  4081. package/packages/typescript/src/trajectory-utils.d.ts.map +1 -0
  4082. package/packages/typescript/src/trajectory-utils.js +124 -0
  4083. package/packages/typescript/src/types/agent.d.ts +62 -0
  4084. package/packages/typescript/src/types/agent.d.ts.map +1 -0
  4085. package/packages/typescript/src/types/agent.js +5 -0
  4086. package/packages/typescript/src/types/agentEvent.d.ts +258 -0
  4087. package/packages/typescript/src/types/agentEvent.d.ts.map +1 -0
  4088. package/packages/typescript/src/types/agentEvent.js +11 -0
  4089. package/packages/typescript/src/types/channel-config.d.ts +167 -0
  4090. package/packages/typescript/src/types/channel-config.d.ts.map +1 -0
  4091. package/packages/typescript/src/types/channel-config.js +7 -0
  4092. package/packages/typescript/src/types/components.d.ts +358 -0
  4093. package/packages/typescript/src/types/components.d.ts.map +1 -0
  4094. package/packages/typescript/src/types/components.js +1 -0
  4095. package/packages/typescript/src/types/database.d.ts +1079 -0
  4096. package/packages/typescript/src/types/database.d.ts.map +1 -0
  4097. package/packages/typescript/src/types/database.js +9 -0
  4098. package/packages/typescript/src/types/environment.d.ts +73 -0
  4099. package/packages/typescript/src/types/environment.d.ts.map +1 -0
  4100. package/packages/typescript/src/types/environment.js +16 -0
  4101. package/packages/typescript/src/types/events.d.ts +403 -0
  4102. package/packages/typescript/src/types/events.d.ts.map +1 -0
  4103. package/packages/typescript/src/types/events.js +85 -0
  4104. package/packages/typescript/src/types/generated/eliza/v1/agent_pb.d.ts +400 -0
  4105. package/packages/typescript/src/types/generated/eliza/v1/agent_pb.d.ts.map +1 -0
  4106. package/packages/typescript/src/types/generated/eliza/v1/agent_pb.js +72 -0
  4107. package/packages/typescript/src/types/generated/eliza/v1/components_pb.d.ts +364 -0
  4108. package/packages/typescript/src/types/generated/eliza/v1/components_pb.d.ts.map +1 -0
  4109. package/packages/typescript/src/types/generated/eliza/v1/components_pb.js +68 -0
  4110. package/packages/typescript/src/types/generated/eliza/v1/database_pb.d.ts +694 -0
  4111. package/packages/typescript/src/types/generated/eliza/v1/database_pb.d.ts.map +1 -0
  4112. package/packages/typescript/src/types/generated/eliza/v1/database_pb.js +172 -0
  4113. package/packages/typescript/src/types/generated/eliza/v1/environment_pb.d.ts +299 -0
  4114. package/packages/typescript/src/types/generated/eliza/v1/environment_pb.d.ts.map +1 -0
  4115. package/packages/typescript/src/types/generated/eliza/v1/environment_pb.js +52 -0
  4116. package/packages/typescript/src/types/generated/eliza/v1/events_pb.d.ts +746 -0
  4117. package/packages/typescript/src/types/generated/eliza/v1/events_pb.d.ts.map +1 -0
  4118. package/packages/typescript/src/types/generated/eliza/v1/events_pb.js +357 -0
  4119. package/packages/typescript/src/types/generated/eliza/v1/ipc_pb.d.ts +799 -0
  4120. package/packages/typescript/src/types/generated/eliza/v1/ipc_pb.d.ts.map +1 -0
  4121. package/packages/typescript/src/types/generated/eliza/v1/ipc_pb.js +172 -0
  4122. package/packages/typescript/src/types/generated/eliza/v1/knowledge_pb.d.ts +63 -0
  4123. package/packages/typescript/src/types/generated/eliza/v1/knowledge_pb.d.ts.map +1 -0
  4124. package/packages/typescript/src/types/generated/eliza/v1/knowledge_pb.js +18 -0
  4125. package/packages/typescript/src/types/generated/eliza/v1/memory_pb.d.ts +290 -0
  4126. package/packages/typescript/src/types/generated/eliza/v1/memory_pb.d.ts.map +1 -0
  4127. package/packages/typescript/src/types/generated/eliza/v1/memory_pb.js +53 -0
  4128. package/packages/typescript/src/types/generated/eliza/v1/message_service_pb.d.ts +160 -0
  4129. package/packages/typescript/src/types/generated/eliza/v1/message_service_pb.d.ts.map +1 -0
  4130. package/packages/typescript/src/types/generated/eliza/v1/message_service_pb.js +88 -0
  4131. package/packages/typescript/src/types/generated/eliza/v1/messaging_pb.d.ts +214 -0
  4132. package/packages/typescript/src/types/generated/eliza/v1/messaging_pb.d.ts.map +1 -0
  4133. package/packages/typescript/src/types/generated/eliza/v1/messaging_pb.js +78 -0
  4134. package/packages/typescript/src/types/generated/eliza/v1/model_pb.d.ts +653 -0
  4135. package/packages/typescript/src/types/generated/eliza/v1/model_pb.d.ts.map +1 -0
  4136. package/packages/typescript/src/types/generated/eliza/v1/model_pb.js +237 -0
  4137. package/packages/typescript/src/types/generated/eliza/v1/payment_pb.d.ts +147 -0
  4138. package/packages/typescript/src/types/generated/eliza/v1/payment_pb.d.ts.map +1 -0
  4139. package/packages/typescript/src/types/generated/eliza/v1/payment_pb.js +27 -0
  4140. package/packages/typescript/src/types/generated/eliza/v1/plugin_pb.d.ts +286 -0
  4141. package/packages/typescript/src/types/generated/eliza/v1/plugin_pb.d.ts.map +1 -0
  4142. package/packages/typescript/src/types/generated/eliza/v1/plugin_pb.js +86 -0
  4143. package/packages/typescript/src/types/generated/eliza/v1/primitives_pb.d.ts +263 -0
  4144. package/packages/typescript/src/types/generated/eliza/v1/primitives_pb.d.ts.map +1 -0
  4145. package/packages/typescript/src/types/generated/eliza/v1/primitives_pb.js +38 -0
  4146. package/packages/typescript/src/types/generated/eliza/v1/prompts_pb.d.ts +137 -0
  4147. package/packages/typescript/src/types/generated/eliza/v1/prompts_pb.d.ts.map +1 -0
  4148. package/packages/typescript/src/types/generated/eliza/v1/prompts_pb.js +27 -0
  4149. package/packages/typescript/src/types/generated/eliza/v1/service_interfaces_pb.d.ts +2687 -0
  4150. package/packages/typescript/src/types/generated/eliza/v1/service_interfaces_pb.d.ts.map +1 -0
  4151. package/packages/typescript/src/types/generated/eliza/v1/service_interfaces_pb.js +392 -0
  4152. package/packages/typescript/src/types/generated/eliza/v1/service_pb.d.ts +144 -0
  4153. package/packages/typescript/src/types/generated/eliza/v1/service_pb.d.ts.map +1 -0
  4154. package/packages/typescript/src/types/generated/eliza/v1/service_pb.js +99 -0
  4155. package/packages/typescript/src/types/generated/eliza/v1/settings_pb.d.ts +146 -0
  4156. package/packages/typescript/src/types/generated/eliza/v1/settings_pb.d.ts.map +1 -0
  4157. package/packages/typescript/src/types/generated/eliza/v1/settings_pb.js +32 -0
  4158. package/packages/typescript/src/types/generated/eliza/v1/state_pb.d.ts +259 -0
  4159. package/packages/typescript/src/types/generated/eliza/v1/state_pb.d.ts.map +1 -0
  4160. package/packages/typescript/src/types/generated/eliza/v1/state_pb.js +44 -0
  4161. package/packages/typescript/src/types/generated/eliza/v1/task_pb.d.ts +120 -0
  4162. package/packages/typescript/src/types/generated/eliza/v1/task_pb.d.ts.map +1 -0
  4163. package/packages/typescript/src/types/generated/eliza/v1/task_pb.js +53 -0
  4164. package/packages/typescript/src/types/generated/eliza/v1/tee_pb.d.ts +205 -0
  4165. package/packages/typescript/src/types/generated/eliza/v1/tee_pb.d.ts.map +1 -0
  4166. package/packages/typescript/src/types/generated/eliza/v1/tee_pb.js +89 -0
  4167. package/packages/typescript/src/types/generated/eliza/v1/testing_pb.d.ts +47 -0
  4168. package/packages/typescript/src/types/generated/eliza/v1/testing_pb.d.ts.map +1 -0
  4169. package/packages/typescript/src/types/generated/eliza/v1/testing_pb.js +16 -0
  4170. package/packages/typescript/src/types/hook.d.ts +338 -0
  4171. package/packages/typescript/src/types/hook.d.ts.map +1 -0
  4172. package/packages/typescript/src/types/hook.js +73 -0
  4173. package/packages/typescript/src/types/index.d.ts +42 -0
  4174. package/packages/typescript/src/types/index.d.ts.map +1 -0
  4175. package/packages/typescript/src/types/index.js +50 -0
  4176. package/packages/typescript/src/types/knowledge.d.ts +49 -0
  4177. package/packages/typescript/src/types/knowledge.d.ts.map +1 -0
  4178. package/packages/typescript/src/types/knowledge.js +1 -0
  4179. package/packages/typescript/src/types/memory-storage.d.ts +28 -0
  4180. package/packages/typescript/src/types/memory-storage.d.ts.map +1 -0
  4181. package/packages/typescript/src/types/memory-storage.js +13 -0
  4182. package/packages/typescript/src/types/memory.d.ts +438 -0
  4183. package/packages/typescript/src/types/memory.d.ts.map +1 -0
  4184. package/packages/typescript/src/types/memory.js +16 -0
  4185. package/packages/typescript/src/types/message-service.d.ts +169 -0
  4186. package/packages/typescript/src/types/message-service.d.ts.map +1 -0
  4187. package/packages/typescript/src/types/message-service.js +1 -0
  4188. package/packages/typescript/src/types/messaging.d.ts +358 -0
  4189. package/packages/typescript/src/types/messaging.d.ts.map +1 -0
  4190. package/packages/typescript/src/types/messaging.js +27 -0
  4191. package/packages/typescript/src/types/model.d.ts +697 -0
  4192. package/packages/typescript/src/types/model.d.ts.map +1 -0
  4193. package/packages/typescript/src/types/model.js +247 -0
  4194. package/packages/typescript/src/types/onboarding.d.ts +319 -0
  4195. package/packages/typescript/src/types/onboarding.d.ts.map +1 -0
  4196. package/packages/typescript/src/types/onboarding.js +97 -0
  4197. package/packages/typescript/src/types/pairing.d.ts +124 -0
  4198. package/packages/typescript/src/types/pairing.d.ts.map +1 -0
  4199. package/packages/typescript/src/types/pairing.js +32 -0
  4200. package/packages/typescript/src/types/payment.d.ts +45 -0
  4201. package/packages/typescript/src/types/payment.d.ts.map +1 -0
  4202. package/packages/typescript/src/types/payment.js +1 -0
  4203. package/packages/typescript/src/types/pipeline-hooks.d.ts +234 -0
  4204. package/packages/typescript/src/types/pipeline-hooks.d.ts.map +1 -0
  4205. package/packages/typescript/src/types/pipeline-hooks.js +111 -0
  4206. package/packages/typescript/src/types/plugin-manifest.d.ts +381 -0
  4207. package/packages/typescript/src/types/plugin-manifest.d.ts.map +1 -0
  4208. package/packages/typescript/src/types/plugin-manifest.js +10 -0
  4209. package/packages/typescript/src/types/plugin-store.d.ts +173 -0
  4210. package/packages/typescript/src/types/plugin-store.d.ts.map +1 -0
  4211. package/packages/typescript/src/types/plugin-store.js +1 -0
  4212. package/packages/typescript/src/types/plugin.d.ts +336 -0
  4213. package/packages/typescript/src/types/plugin.d.ts.map +1 -0
  4214. package/packages/typescript/src/types/plugin.js +1 -0
  4215. package/packages/typescript/src/types/primitives.d.ts +176 -0
  4216. package/packages/typescript/src/types/primitives.d.ts.map +1 -0
  4217. package/packages/typescript/src/types/primitives.js +41 -0
  4218. package/packages/typescript/src/types/prompt-batcher.d.ts +126 -0
  4219. package/packages/typescript/src/types/prompt-batcher.d.ts.map +1 -0
  4220. package/packages/typescript/src/types/prompt-batcher.js +6 -0
  4221. package/packages/typescript/src/types/prompt-optimization-hooks.d.ts +41 -0
  4222. package/packages/typescript/src/types/prompt-optimization-hooks.d.ts.map +1 -0
  4223. package/packages/typescript/src/types/prompt-optimization-hooks.js +1 -0
  4224. package/packages/typescript/src/types/prompt-optimization-score-card.d.ts +22 -0
  4225. package/packages/typescript/src/types/prompt-optimization-score-card.d.ts.map +1 -0
  4226. package/packages/typescript/src/types/prompt-optimization-score-card.js +72 -0
  4227. package/packages/typescript/src/types/prompt-optimization-trace.d.ts +53 -0
  4228. package/packages/typescript/src/types/prompt-optimization-trace.d.ts.map +1 -0
  4229. package/packages/typescript/src/types/prompt-optimization-trace.js +19 -0
  4230. package/packages/typescript/src/types/prompts.d.ts +39 -0
  4231. package/packages/typescript/src/types/prompts.d.ts.map +1 -0
  4232. package/packages/typescript/src/types/prompts.js +7 -0
  4233. package/packages/typescript/src/types/proto.d.ts +60 -0
  4234. package/packages/typescript/src/types/proto.d.ts.map +1 -0
  4235. package/packages/typescript/src/types/proto.js +53 -0
  4236. package/packages/typescript/src/types/runtime.d.ts +445 -0
  4237. package/packages/typescript/src/types/runtime.d.ts.map +1 -0
  4238. package/packages/typescript/src/types/runtime.js +1 -0
  4239. package/packages/typescript/src/types/schema-builder.d.ts +43 -0
  4240. package/packages/typescript/src/types/schema-builder.d.ts.map +1 -0
  4241. package/packages/typescript/src/types/schema-builder.js +16 -0
  4242. package/packages/typescript/src/types/schema.d.ts +99 -0
  4243. package/packages/typescript/src/types/schema.d.ts.map +1 -0
  4244. package/packages/typescript/src/types/schema.js +11 -0
  4245. package/packages/typescript/src/types/service-interfaces.d.ts +1200 -0
  4246. package/packages/typescript/src/types/service-interfaces.d.ts.map +1 -0
  4247. package/packages/typescript/src/types/service-interfaces.js +81 -0
  4248. package/packages/typescript/src/types/service.d.ts +175 -0
  4249. package/packages/typescript/src/types/service.d.ts.map +1 -0
  4250. package/packages/typescript/src/types/service.js +79 -0
  4251. package/packages/typescript/src/types/settings.d.ts +36 -0
  4252. package/packages/typescript/src/types/settings.d.ts.map +1 -0
  4253. package/packages/typescript/src/types/settings.js +1 -0
  4254. package/packages/typescript/src/types/state.d.ts +251 -0
  4255. package/packages/typescript/src/types/state.d.ts.map +1 -0
  4256. package/packages/typescript/src/types/state.js +1 -0
  4257. package/packages/typescript/src/types/streaming.d.ts +93 -0
  4258. package/packages/typescript/src/types/streaming.d.ts.map +1 -0
  4259. package/packages/typescript/src/types/streaming.js +21 -0
  4260. package/packages/typescript/src/types/task.d.ts +122 -0
  4261. package/packages/typescript/src/types/task.d.ts.map +1 -0
  4262. package/packages/typescript/src/types/task.js +1 -0
  4263. package/packages/typescript/src/types/tee.d.ts +3 -0
  4264. package/packages/typescript/src/types/tee.d.ts.map +1 -0
  4265. package/packages/typescript/src/types/tee.js +1 -0
  4266. package/packages/typescript/src/types/testing.d.ts +15 -0
  4267. package/packages/typescript/src/types/testing.d.ts.map +1 -0
  4268. package/packages/typescript/src/types/testing.js +1 -0
  4269. package/packages/typescript/src/types/tools.d.ts +166 -0
  4270. package/packages/typescript/src/types/tools.d.ts.map +1 -0
  4271. package/packages/typescript/src/types/tools.js +380 -0
  4272. package/packages/typescript/src/types/trigger.d.ts +42 -0
  4273. package/packages/typescript/src/types/trigger.d.ts.map +1 -0
  4274. package/packages/typescript/src/types/trigger.js +1 -0
  4275. package/packages/typescript/src/utils/batch-queue/batch-processor.d.ts +52 -0
  4276. package/packages/typescript/src/utils/batch-queue/batch-processor.d.ts.map +1 -0
  4277. package/packages/typescript/src/utils/batch-queue/batch-processor.js +126 -0
  4278. package/packages/typescript/src/utils/batch-queue/index.d.ts +97 -0
  4279. package/packages/typescript/src/utils/batch-queue/index.d.ts.map +1 -0
  4280. package/packages/typescript/src/utils/batch-queue/index.js +175 -0
  4281. package/packages/typescript/src/utils/batch-queue/priority-queue.d.ts +53 -0
  4282. package/packages/typescript/src/utils/batch-queue/priority-queue.d.ts.map +1 -0
  4283. package/packages/typescript/src/utils/batch-queue/priority-queue.js +128 -0
  4284. package/packages/typescript/src/utils/batch-queue/semaphore.d.ts +18 -0
  4285. package/packages/typescript/src/utils/batch-queue/semaphore.d.ts.map +1 -0
  4286. package/packages/typescript/src/utils/batch-queue/semaphore.js +34 -0
  4287. package/packages/typescript/src/utils/batch-queue/task-drain.d.ts +57 -0
  4288. package/packages/typescript/src/utils/batch-queue/task-drain.d.ts.map +1 -0
  4289. package/packages/typescript/src/utils/batch-queue/task-drain.js +150 -0
  4290. package/packages/typescript/src/utils/batch-queue.d.ts +20 -0
  4291. package/packages/typescript/src/utils/batch-queue.d.ts.map +1 -0
  4292. package/packages/typescript/src/utils/batch-queue.js +19 -0
  4293. package/packages/typescript/src/utils/boolean.d.ts +50 -0
  4294. package/packages/typescript/src/utils/boolean.d.ts.map +1 -0
  4295. package/packages/typescript/src/utils/boolean.js +73 -0
  4296. package/packages/typescript/src/utils/buffer.d.ts +107 -0
  4297. package/packages/typescript/src/utils/buffer.d.ts.map +1 -0
  4298. package/packages/typescript/src/utils/buffer.js +229 -0
  4299. package/packages/typescript/src/utils/channel-utils.d.ts +274 -0
  4300. package/packages/typescript/src/utils/channel-utils.d.ts.map +1 -0
  4301. package/packages/typescript/src/utils/channel-utils.js +337 -0
  4302. package/packages/typescript/src/utils/context-catalog.d.ts +6 -0
  4303. package/packages/typescript/src/utils/context-catalog.d.ts.map +1 -0
  4304. package/packages/typescript/src/utils/context-catalog.js +126 -0
  4305. package/packages/typescript/src/utils/context-routing.d.ts +25 -0
  4306. package/packages/typescript/src/utils/context-routing.d.ts.map +1 -0
  4307. package/packages/typescript/src/utils/context-routing.js +164 -0
  4308. package/packages/typescript/src/utils/crypto-compat.d.ts +83 -0
  4309. package/packages/typescript/src/utils/crypto-compat.d.ts.map +1 -0
  4310. package/packages/typescript/src/utils/crypto-compat.js +368 -0
  4311. package/packages/typescript/src/utils/deterministic.d.ts +9 -0
  4312. package/packages/typescript/src/utils/deterministic.d.ts.map +1 -0
  4313. package/packages/typescript/src/utils/deterministic.js +70 -0
  4314. package/packages/typescript/src/utils/environment.d.ts +125 -0
  4315. package/packages/typescript/src/utils/environment.d.ts.map +1 -0
  4316. package/packages/typescript/src/utils/environment.js +290 -0
  4317. package/packages/typescript/src/utils/example-names.d.ts +3 -0
  4318. package/packages/typescript/src/utils/example-names.d.ts.map +1 -0
  4319. package/packages/typescript/src/utils/example-names.js +30 -0
  4320. package/packages/typescript/src/utils/json-llm.d.ts +17 -0
  4321. package/packages/typescript/src/utils/json-llm.d.ts.map +1 -0
  4322. package/packages/typescript/src/utils/json-llm.js +32 -0
  4323. package/packages/typescript/src/utils/model-errors.d.ts +3 -0
  4324. package/packages/typescript/src/utils/model-errors.d.ts.map +1 -0
  4325. package/packages/typescript/src/utils/model-errors.js +23 -0
  4326. package/packages/typescript/src/utils/node.d.ts +8 -0
  4327. package/packages/typescript/src/utils/node.d.ts.map +1 -0
  4328. package/packages/typescript/src/utils/node.js +12 -0
  4329. package/packages/typescript/src/utils/paths.d.ts +97 -0
  4330. package/packages/typescript/src/utils/paths.d.ts.map +1 -0
  4331. package/packages/typescript/src/utils/paths.js +204 -0
  4332. package/packages/typescript/src/utils/prompt-batcher/batcher.d.ts +163 -0
  4333. package/packages/typescript/src/utils/prompt-batcher/batcher.d.ts.map +1 -0
  4334. package/packages/typescript/src/utils/prompt-batcher/batcher.js +896 -0
  4335. package/packages/typescript/src/utils/prompt-batcher/dispatcher.d.ts +15 -0
  4336. package/packages/typescript/src/utils/prompt-batcher/dispatcher.d.ts.map +1 -0
  4337. package/packages/typescript/src/utils/prompt-batcher/dispatcher.js +230 -0
  4338. package/packages/typescript/src/utils/prompt-batcher/shared.d.ts +66 -0
  4339. package/packages/typescript/src/utils/prompt-batcher/shared.d.ts.map +1 -0
  4340. package/packages/typescript/src/utils/prompt-batcher/shared.js +101 -0
  4341. package/packages/typescript/src/utils/prompt-batcher.d.ts +5 -0
  4342. package/packages/typescript/src/utils/prompt-batcher.d.ts.map +1 -0
  4343. package/packages/typescript/src/utils/prompt-batcher.js +4 -0
  4344. package/packages/typescript/src/utils/retry.d.ts +128 -0
  4345. package/packages/typescript/src/utils/retry.d.ts.map +1 -0
  4346. package/packages/typescript/src/utils/retry.js +190 -0
  4347. package/packages/typescript/src/utils/server-health.d.ts +35 -0
  4348. package/packages/typescript/src/utils/server-health.d.ts.map +1 -0
  4349. package/packages/typescript/src/utils/server-health.js +76 -0
  4350. package/packages/typescript/src/utils/slice-to-fit-budget.d.ts +12 -0
  4351. package/packages/typescript/src/utils/slice-to-fit-budget.d.ts.map +1 -0
  4352. package/packages/typescript/src/utils/slice-to-fit-budget.js +36 -0
  4353. package/packages/typescript/src/utils/streaming.d.ts +275 -0
  4354. package/packages/typescript/src/utils/streaming.d.ts.map +1 -0
  4355. package/packages/typescript/src/utils/streaming.js +774 -0
  4356. package/packages/typescript/src/utils/text-normalize.d.ts +23 -0
  4357. package/packages/typescript/src/utils/text-normalize.d.ts.map +1 -0
  4358. package/packages/typescript/src/utils/text-normalize.js +42 -0
  4359. package/packages/typescript/src/utils/text-splitting.d.ts +14 -0
  4360. package/packages/typescript/src/utils/text-splitting.d.ts.map +1 -0
  4361. package/packages/typescript/src/utils/text-splitting.js +66 -0
  4362. package/packages/typescript/src/utils/toon.d.ts +8 -0
  4363. package/packages/typescript/src/utils/toon.d.ts.map +1 -0
  4364. package/packages/typescript/src/utils/toon.js +346 -0
  4365. package/packages/typescript/src/utils/type-guards.d.ts +25 -0
  4366. package/packages/typescript/src/utils/type-guards.d.ts.map +1 -0
  4367. package/packages/typescript/src/utils/type-guards.js +73 -0
  4368. package/packages/typescript/src/utils/union-find.d.ts +30 -0
  4369. package/packages/typescript/src/utils/union-find.d.ts.map +1 -0
  4370. package/packages/typescript/src/utils/union-find.js +81 -0
  4371. package/packages/typescript/src/utils.d.ts +192 -0
  4372. package/packages/typescript/src/utils.d.ts.map +1 -0
  4373. package/packages/typescript/src/utils.js +1120 -0
  4374. package/packages/typescript/src/validation/index.d.ts +8 -0
  4375. package/packages/typescript/src/validation/index.d.ts.map +1 -0
  4376. package/packages/typescript/src/validation/index.js +7 -0
  4377. package/packages/typescript/src/validation/keywords.d.ts +26 -0
  4378. package/packages/typescript/src/validation/keywords.d.ts.map +1 -0
  4379. package/packages/typescript/src/validation/keywords.js +76 -0
  4380. package/packages/typescript/src/validation/secrets.d.ts +94 -0
  4381. package/packages/typescript/src/validation/secrets.d.ts.map +1 -0
  4382. package/packages/typescript/src/validation/secrets.js +399 -0
  4383. package/packages/ui/src/components/composites/chat/chat-attachment-strip.d.ts +9 -0
  4384. package/packages/ui/src/components/composites/chat/chat-attachment-strip.d.ts.map +1 -0
  4385. package/packages/ui/src/components/composites/chat/chat-attachment-strip.js +8 -0
  4386. package/packages/ui/src/components/composites/chat/chat-bubble.d.ts +14 -0
  4387. package/packages/ui/src/components/composites/chat/chat-bubble.d.ts.map +1 -0
  4388. package/packages/ui/src/components/composites/chat/chat-bubble.js +14 -0
  4389. package/packages/ui/src/components/composites/chat/chat-composer-shell.d.ts +10 -0
  4390. package/packages/ui/src/components/composites/chat/chat-composer-shell.d.ts.map +1 -0
  4391. package/packages/ui/src/components/composites/chat/chat-composer-shell.js +16 -0
  4392. package/packages/ui/src/components/composites/chat/chat-composer.d.ts +39 -0
  4393. package/packages/ui/src/components/composites/chat/chat-composer.d.ts.map +1 -0
  4394. package/packages/ui/src/components/composites/chat/chat-composer.js +148 -0
  4395. package/packages/ui/src/components/composites/chat/chat-conversation-item.d.ts +21 -0
  4396. package/packages/ui/src/components/composites/chat/chat-conversation-item.d.ts.map +1 -0
  4397. package/packages/ui/src/components/composites/chat/chat-conversation-item.js +120 -0
  4398. package/packages/ui/src/components/composites/chat/chat-conversation-rename-dialog.d.ts +22 -0
  4399. package/packages/ui/src/components/composites/chat/chat-conversation-rename-dialog.d.ts.map +1 -0
  4400. package/packages/ui/src/components/composites/chat/chat-conversation-rename-dialog.js +14 -0
  4401. package/packages/ui/src/components/composites/chat/chat-empty-state.d.ts +19 -0
  4402. package/packages/ui/src/components/composites/chat/chat-empty-state.d.ts.map +1 -0
  4403. package/packages/ui/src/components/composites/chat/chat-empty-state.js +8 -0
  4404. package/packages/ui/src/components/composites/chat/chat-message-actions.d.ts +14 -0
  4405. package/packages/ui/src/components/composites/chat/chat-message-actions.d.ts.map +1 -0
  4406. package/packages/ui/src/components/composites/chat/chat-message-actions.js +10 -0
  4407. package/packages/ui/src/components/composites/chat/chat-message.d.ts +18 -0
  4408. package/packages/ui/src/components/composites/chat/chat-message.d.ts.map +1 -0
  4409. package/packages/ui/src/components/composites/chat/chat-message.js +275 -0
  4410. package/packages/ui/src/components/composites/chat/chat-sidebar.d.ts +54 -0
  4411. package/packages/ui/src/components/composites/chat/chat-sidebar.d.ts.map +1 -0
  4412. package/packages/ui/src/components/composites/chat/chat-sidebar.js +64 -0
  4413. package/packages/ui/src/components/composites/chat/chat-source.d.ts +20 -0
  4414. package/packages/ui/src/components/composites/chat/chat-source.d.ts.map +1 -0
  4415. package/packages/ui/src/components/composites/chat/chat-source.js +132 -0
  4416. package/packages/ui/src/components/composites/chat/chat-thread-layout.d.ts +18 -0
  4417. package/packages/ui/src/components/composites/chat/chat-thread-layout.d.ts.map +1 -0
  4418. package/packages/ui/src/components/composites/chat/chat-thread-layout.js +28 -0
  4419. package/packages/ui/src/components/composites/chat/chat-transcript.d.ts +19 -0
  4420. package/packages/ui/src/components/composites/chat/chat-transcript.d.ts.map +1 -0
  4421. package/packages/ui/src/components/composites/chat/chat-transcript.js +82 -0
  4422. package/packages/ui/src/components/composites/chat/chat-types.d.ts +90 -0
  4423. package/packages/ui/src/components/composites/chat/chat-types.d.ts.map +1 -0
  4424. package/packages/ui/src/components/composites/chat/chat-types.js +1 -0
  4425. package/packages/ui/src/components/composites/chat/chat-typing-indicator.d.ts +10 -0
  4426. package/packages/ui/src/components/composites/chat/chat-typing-indicator.d.ts.map +1 -0
  4427. package/packages/ui/src/components/composites/chat/chat-typing-indicator.js +11 -0
  4428. package/packages/ui/src/components/composites/chat/create-task-popover.d.ts +8 -0
  4429. package/packages/ui/src/components/composites/chat/create-task-popover.d.ts.map +1 -0
  4430. package/packages/ui/src/components/composites/chat/create-task-popover.js +44 -0
  4431. package/packages/ui/src/components/composites/chat/index.d.ts +17 -0
  4432. package/packages/ui/src/components/composites/chat/index.d.ts.map +1 -0
  4433. package/packages/ui/src/components/composites/chat/index.js +16 -0
  4434. package/packages/ui/src/components/composites/form-field/form-field.d.ts +14 -0
  4435. package/packages/ui/src/components/composites/form-field/form-field.d.ts.map +1 -0
  4436. package/packages/ui/src/components/composites/form-field/form-field.js +8 -0
  4437. package/packages/ui/src/components/composites/form-field/index.d.ts +2 -0
  4438. package/packages/ui/src/components/composites/form-field/index.d.ts.map +1 -0
  4439. package/packages/ui/src/components/composites/form-field/index.js +1 -0
  4440. package/packages/ui/src/components/composites/index.d.ts +27 -0
  4441. package/packages/ui/src/components/composites/index.d.ts.map +1 -0
  4442. package/packages/ui/src/components/composites/index.js +26 -0
  4443. package/packages/ui/src/components/composites/page-panel/index.d.ts +29 -0
  4444. package/packages/ui/src/components/composites/page-panel/index.d.ts.map +1 -0
  4445. package/packages/ui/src/components/composites/page-panel/index.js +28 -0
  4446. package/packages/ui/src/components/composites/page-panel/page-panel-collapsible-section.d.ts +4 -0
  4447. package/packages/ui/src/components/composites/page-panel/page-panel-collapsible-section.d.ts.map +1 -0
  4448. package/packages/ui/src/components/composites/page-panel/page-panel-collapsible-section.js +60 -0
  4449. package/packages/ui/src/components/composites/page-panel/page-panel-empty.d.ts +3 -0
  4450. package/packages/ui/src/components/composites/page-panel/page-panel-empty.d.ts.map +1 -0
  4451. package/packages/ui/src/components/composites/page-panel/page-panel-empty.js +15 -0
  4452. package/packages/ui/src/components/composites/page-panel/page-panel-frame.d.ts +5 -0
  4453. package/packages/ui/src/components/composites/page-panel/page-panel-frame.d.ts.map +1 -0
  4454. package/packages/ui/src/components/composites/page-panel/page-panel-frame.js +9 -0
  4455. package/packages/ui/src/components/composites/page-panel/page-panel-header.d.ts +7 -0
  4456. package/packages/ui/src/components/composites/page-panel/page-panel-header.d.ts.map +1 -0
  4457. package/packages/ui/src/components/composites/page-panel/page-panel-header.js +30 -0
  4458. package/packages/ui/src/components/composites/page-panel/page-panel-loading.d.ts +3 -0
  4459. package/packages/ui/src/components/composites/page-panel/page-panel-loading.d.ts.map +1 -0
  4460. package/packages/ui/src/components/composites/page-panel/page-panel-loading.js +13 -0
  4461. package/packages/ui/src/components/composites/page-panel/page-panel-root.d.ts +7 -0
  4462. package/packages/ui/src/components/composites/page-panel/page-panel-root.d.ts.map +1 -0
  4463. package/packages/ui/src/components/composites/page-panel/page-panel-root.js +17 -0
  4464. package/packages/ui/src/components/composites/page-panel/page-panel-toolbar.d.ts +4 -0
  4465. package/packages/ui/src/components/composites/page-panel/page-panel-toolbar.d.ts.map +1 -0
  4466. package/packages/ui/src/components/composites/page-panel/page-panel-toolbar.js +6 -0
  4467. package/packages/ui/src/components/composites/page-panel/page-panel-types.d.ts +66 -0
  4468. package/packages/ui/src/components/composites/page-panel/page-panel-types.d.ts.map +1 -0
  4469. package/packages/ui/src/components/composites/page-panel/page-panel-types.js +1 -0
  4470. package/packages/ui/src/components/composites/search/index.d.ts +3 -0
  4471. package/packages/ui/src/components/composites/search/index.d.ts.map +1 -0
  4472. package/packages/ui/src/components/composites/search/index.js +2 -0
  4473. package/packages/ui/src/components/composites/search/search-input.d.ts.map +1 -0
  4474. package/packages/ui/src/components/composites/search/search-input.js +10 -0
  4475. package/packages/ui/src/components/composites/search/searchbar.d.ts +18 -0
  4476. package/packages/ui/src/components/composites/search/searchbar.d.ts.map +1 -0
  4477. package/packages/ui/src/components/composites/search/searchbar.js +25 -0
  4478. package/packages/ui/src/components/composites/sidebar/index.d.ts +11 -0
  4479. package/packages/ui/src/components/composites/sidebar/index.d.ts.map +1 -0
  4480. package/packages/ui/src/components/composites/sidebar/index.js +10 -0
  4481. package/packages/ui/src/components/composites/sidebar/sidebar-auto-rail.d.ts +15 -0
  4482. package/packages/ui/src/components/composites/sidebar/sidebar-auto-rail.d.ts.map +1 -0
  4483. package/packages/ui/src/components/composites/sidebar/sidebar-auto-rail.js +292 -0
  4484. package/packages/ui/src/components/composites/sidebar/sidebar-body.d.ts +4 -0
  4485. package/packages/ui/src/components/composites/sidebar/sidebar-body.d.ts.map +1 -0
  4486. package/packages/ui/src/components/composites/sidebar/sidebar-body.js +7 -0
  4487. package/packages/ui/src/components/composites/sidebar/sidebar-collapsed-rail.d.ts +11 -0
  4488. package/packages/ui/src/components/composites/sidebar/sidebar-collapsed-rail.d.ts.map +1 -0
  4489. package/packages/ui/src/components/composites/sidebar/sidebar-collapsed-rail.js +13 -0
  4490. package/packages/ui/src/components/composites/sidebar/sidebar-content.d.ts +78 -0
  4491. package/packages/ui/src/components/composites/sidebar/sidebar-content.d.ts.map +1 -0
  4492. package/packages/ui/src/components/composites/sidebar/sidebar-content.js +94 -0
  4493. package/packages/ui/src/components/composites/sidebar/sidebar-filter-bar.d.ts +3 -0
  4494. package/packages/ui/src/components/composites/sidebar/sidebar-filter-bar.d.ts.map +1 -0
  4495. package/packages/ui/src/components/composites/sidebar/sidebar-filter-bar.js +14 -0
  4496. package/packages/ui/src/components/composites/sidebar/sidebar-header-stack.d.ts +3 -0
  4497. package/packages/ui/src/components/composites/sidebar/sidebar-header-stack.d.ts.map +1 -0
  4498. package/packages/ui/src/components/composites/sidebar/sidebar-header-stack.js +6 -0
  4499. package/packages/ui/src/components/composites/sidebar/sidebar-header.d.ts +9 -0
  4500. package/packages/ui/src/components/composites/sidebar/sidebar-header.d.ts.map +1 -0
  4501. package/packages/ui/src/components/composites/sidebar/sidebar-header.js +6 -0
  4502. package/packages/ui/src/components/composites/sidebar/sidebar-panel.d.ts +3 -0
  4503. package/packages/ui/src/components/composites/sidebar/sidebar-panel.d.ts.map +1 -0
  4504. package/packages/ui/src/components/composites/sidebar/sidebar-panel.js +18 -0
  4505. package/packages/ui/src/components/composites/sidebar/sidebar-root.d.ts +4 -0
  4506. package/packages/ui/src/components/composites/sidebar/sidebar-root.d.ts.map +1 -0
  4507. package/packages/ui/src/components/composites/sidebar/sidebar-root.js +448 -0
  4508. package/packages/ui/src/components/composites/sidebar/sidebar-scroll-region.d.ts +3 -0
  4509. package/packages/ui/src/components/composites/sidebar/sidebar-scroll-region.d.ts.map +1 -0
  4510. package/packages/ui/src/components/composites/sidebar/sidebar-scroll-region.js +18 -0
  4511. package/packages/ui/src/components/composites/sidebar/sidebar-types.d.ts +59 -0
  4512. package/packages/ui/src/components/composites/sidebar/sidebar-types.d.ts.map +1 -0
  4513. package/packages/ui/src/components/composites/sidebar/sidebar-types.js +1 -0
  4514. package/packages/ui/src/components/composites/skills/index.d.ts +2 -0
  4515. package/packages/ui/src/components/composites/skills/index.d.ts.map +1 -0
  4516. package/packages/ui/src/components/composites/skills/index.js +1 -0
  4517. package/packages/ui/src/components/composites/skills/skill-sidebar-item.d.ts +16 -0
  4518. package/packages/ui/src/components/composites/skills/skill-sidebar-item.d.ts.map +1 -0
  4519. package/packages/ui/src/components/composites/skills/skill-sidebar-item.js +7 -0
  4520. package/packages/ui/src/components/composites/trajectories/index.d.ts +5 -0
  4521. package/packages/ui/src/components/composites/trajectories/index.d.ts.map +1 -0
  4522. package/packages/ui/src/components/composites/trajectories/index.js +4 -0
  4523. package/packages/ui/src/components/composites/trajectories/trajectory-code-block.d.ts +13 -0
  4524. package/packages/ui/src/components/composites/trajectories/trajectory-code-block.d.ts.map +1 -0
  4525. package/packages/ui/src/components/composites/trajectories/trajectory-code-block.js +13 -0
  4526. package/packages/ui/src/components/composites/trajectories/trajectory-llm-call-card.d.ts +34 -0
  4527. package/packages/ui/src/components/composites/trajectories/trajectory-llm-call-card.d.ts.map +1 -0
  4528. package/packages/ui/src/components/composites/trajectories/trajectory-llm-call-card.js +14 -0
  4529. package/packages/ui/src/components/composites/trajectories/trajectory-pipeline-graph.d.ts +26 -0
  4530. package/packages/ui/src/components/composites/trajectories/trajectory-pipeline-graph.d.ts.map +1 -0
  4531. package/packages/ui/src/components/composites/trajectories/trajectory-pipeline-graph.js +46 -0
  4532. package/packages/ui/src/components/composites/trajectories/trajectory-sidebar-item.d.ts +15 -0
  4533. package/packages/ui/src/components/composites/trajectories/trajectory-sidebar-item.d.ts.map +1 -0
  4534. package/packages/ui/src/components/composites/trajectories/trajectory-sidebar-item.js +8 -0
  4535. package/packages/ui/src/components/primitives/index.d.ts +26 -0
  4536. package/packages/ui/src/components/primitives/index.d.ts.map +1 -0
  4537. package/packages/ui/src/components/primitives/index.js +25 -0
  4538. package/packages/ui/src/components/shell/Header.d.ts +12 -0
  4539. package/packages/ui/src/components/shell/Header.d.ts.map +1 -0
  4540. package/packages/ui/src/components/shell/Header.js +133 -0
  4541. package/packages/ui/src/components/shell/ShellHeaderControls.d.ts +39 -0
  4542. package/packages/ui/src/components/shell/ShellHeaderControls.d.ts.map +1 -0
  4543. package/packages/ui/src/components/shell/ShellHeaderControls.js +70 -0
  4544. package/packages/ui/src/components/ui/admin-dialog.d.ts +50 -0
  4545. package/packages/ui/src/components/ui/admin-dialog.d.ts.map +1 -0
  4546. package/packages/ui/src/components/ui/admin-dialog.js +48 -0
  4547. package/packages/ui/src/components/ui/badge.d.ts +10 -0
  4548. package/packages/ui/src/components/ui/badge.d.ts.map +1 -0
  4549. package/packages/ui/src/components/ui/badge.js +21 -0
  4550. package/packages/ui/src/components/ui/banner.d.ts +17 -0
  4551. package/packages/ui/src/components/ui/banner.d.ts.map +1 -0
  4552. package/packages/ui/src/components/ui/banner.js +29 -0
  4553. package/packages/ui/src/components/ui/button.d.ts +13 -0
  4554. package/packages/ui/src/components/ui/button.d.ts.map +1 -0
  4555. package/packages/ui/src/components/ui/button.js +40 -0
  4556. package/packages/ui/src/components/ui/card.d.ts +15 -0
  4557. package/packages/ui/src/components/ui/card.d.ts.map +1 -0
  4558. package/packages/ui/src/components/ui/card.js +32 -0
  4559. package/packages/ui/src/components/ui/checkbox.d.ts.map +1 -0
  4560. package/packages/ui/src/components/ui/confirm-delete.d.ts +20 -0
  4561. package/packages/ui/src/components/ui/confirm-delete.d.ts.map +1 -0
  4562. package/packages/ui/src/components/ui/confirm-delete.js +16 -0
  4563. package/packages/ui/src/components/ui/confirm-dialog.d.ts +49 -0
  4564. package/packages/ui/src/components/ui/confirm-dialog.d.ts.map +1 -0
  4565. package/packages/ui/src/components/ui/confirm-dialog.js +90 -0
  4566. package/packages/ui/src/components/ui/connection-status.d.ts +15 -0
  4567. package/packages/ui/src/components/ui/connection-status.d.ts.map +1 -0
  4568. package/packages/ui/src/components/ui/connection-status.js +25 -0
  4569. package/packages/ui/src/components/ui/copy-button.d.ts.map +1 -0
  4570. package/packages/ui/src/components/ui/dialog.d.ts +25 -0
  4571. package/packages/ui/src/components/ui/dialog.d.ts.map +1 -0
  4572. package/packages/ui/src/components/ui/dialog.js +23 -0
  4573. package/packages/ui/src/components/ui/drawer-sheet.d.ts +19 -0
  4574. package/packages/ui/src/components/ui/drawer-sheet.d.ts.map +1 -0
  4575. package/packages/ui/src/components/ui/drawer-sheet.js +21 -0
  4576. package/packages/ui/src/components/ui/dropdown-menu.d.ts.map +1 -0
  4577. package/packages/ui/src/components/ui/dropdown-menu.js +35 -0
  4578. package/packages/ui/src/components/ui/empty-state.d.ts.map +1 -0
  4579. package/packages/ui/src/components/ui/error-boundary.d.ts +22 -0
  4580. package/packages/ui/src/components/ui/error-boundary.d.ts.map +1 -0
  4581. package/packages/ui/src/components/ui/error-boundary.js +27 -0
  4582. package/packages/ui/src/components/ui/field-switch.d.ts +8 -0
  4583. package/packages/ui/src/components/ui/field-switch.d.ts.map +1 -0
  4584. package/packages/ui/src/components/ui/field-switch.js +10 -0
  4585. package/packages/ui/src/components/ui/field.d.ts +12 -0
  4586. package/packages/ui/src/components/ui/field.d.ts.map +1 -0
  4587. package/packages/ui/src/components/ui/field.js +21 -0
  4588. package/packages/ui/src/components/ui/form-select.d.ts +14 -0
  4589. package/packages/ui/src/components/ui/form-select.d.ts.map +1 -0
  4590. package/packages/ui/src/components/ui/form-select.js +9 -0
  4591. package/packages/ui/src/components/ui/grid.d.ts +10 -0
  4592. package/packages/ui/src/components/ui/grid.d.ts.map +1 -0
  4593. package/packages/ui/src/components/ui/grid.js +31 -0
  4594. package/packages/ui/src/components/ui/input.d.ts +12 -0
  4595. package/packages/ui/src/components/ui/input.d.ts.map +1 -0
  4596. package/packages/ui/src/components/ui/input.js +29 -0
  4597. package/packages/ui/src/components/ui/label.d.ts +5 -0
  4598. package/packages/ui/src/components/ui/label.d.ts.map +1 -0
  4599. package/packages/ui/src/components/ui/label.js +10 -0
  4600. package/packages/ui/src/components/ui/new-action-button.d.ts +7 -0
  4601. package/packages/ui/src/components/ui/new-action-button.d.ts.map +1 -0
  4602. package/packages/ui/src/components/ui/new-action-button.js +13 -0
  4603. package/packages/ui/src/components/ui/popover.d.ts.map +1 -0
  4604. package/packages/ui/src/components/ui/save-footer.d.ts.map +1 -0
  4605. package/packages/ui/src/components/ui/save-footer.js +10 -0
  4606. package/packages/ui/src/components/ui/section-card.d.ts.map +1 -0
  4607. package/packages/ui/src/components/ui/section-card.js +10 -0
  4608. package/packages/ui/src/components/ui/segmented-control.d.ts +18 -0
  4609. package/packages/ui/src/components/ui/segmented-control.d.ts.map +1 -0
  4610. package/packages/ui/src/components/ui/segmented-control.js +10 -0
  4611. package/packages/ui/src/components/ui/select.d.ts.map +1 -0
  4612. package/packages/ui/src/components/ui/select.js +27 -0
  4613. package/packages/ui/src/components/ui/separator.d.ts.map +1 -0
  4614. package/packages/ui/src/components/ui/settings-controls.d.ts +41 -0
  4615. package/packages/ui/src/components/ui/settings-controls.d.ts.map +1 -0
  4616. package/packages/ui/src/components/ui/settings-controls.js +60 -0
  4617. package/packages/ui/src/components/ui/skeleton.d.ts.map +1 -0
  4618. package/packages/ui/src/components/ui/skeleton.js +24 -0
  4619. package/packages/ui/src/components/ui/slider.d.ts.map +1 -0
  4620. package/packages/ui/src/components/ui/slider.js +7 -0
  4621. package/packages/ui/src/components/ui/sonner.d.ts +2 -0
  4622. package/packages/ui/src/components/ui/sonner.d.ts.map +1 -0
  4623. package/packages/ui/src/components/ui/sonner.js +1 -0
  4624. package/packages/ui/src/components/ui/spinner.d.ts.map +1 -0
  4625. package/packages/ui/src/components/ui/stack.d.ts +11 -0
  4626. package/packages/ui/src/components/ui/stack.d.ts.map +1 -0
  4627. package/packages/ui/src/components/ui/stack.js +40 -0
  4628. package/packages/ui/src/components/ui/status-badge.d.ts +27 -0
  4629. package/packages/ui/src/components/ui/status-badge.d.ts.map +1 -0
  4630. package/packages/ui/src/components/ui/status-badge.js +70 -0
  4631. package/packages/ui/src/components/ui/switch.d.ts.map +1 -0
  4632. package/packages/ui/src/components/ui/switch.js +7 -0
  4633. package/packages/ui/src/components/ui/tabs.d.ts.map +1 -0
  4634. package/packages/ui/src/components/ui/tabs.js +12 -0
  4635. package/packages/ui/src/components/ui/tag-editor.d.ts +12 -0
  4636. package/packages/ui/src/components/ui/tag-editor.d.ts.map +1 -0
  4637. package/packages/ui/src/components/ui/tag-editor.js +34 -0
  4638. package/packages/ui/src/components/ui/tag-input.d.ts +3 -0
  4639. package/packages/ui/src/components/ui/tag-input.d.ts.map +1 -0
  4640. package/packages/ui/src/components/ui/tag-input.js +1 -0
  4641. package/packages/ui/src/components/ui/textarea.d.ts +12 -0
  4642. package/packages/ui/src/components/ui/textarea.d.ts.map +1 -0
  4643. package/packages/ui/src/components/ui/textarea.js +29 -0
  4644. package/packages/ui/src/components/ui/themed-select.d.ts +22 -0
  4645. package/packages/ui/src/components/ui/themed-select.d.ts.map +1 -0
  4646. package/packages/ui/src/components/ui/themed-select.js +137 -0
  4647. package/packages/ui/src/components/ui/tooltip-extended.d.ts +54 -0
  4648. package/packages/ui/src/components/ui/tooltip-extended.d.ts.map +1 -0
  4649. package/packages/ui/src/components/ui/tooltip-extended.js +116 -0
  4650. package/packages/ui/src/components/ui/tooltip.d.ts +18 -0
  4651. package/packages/ui/src/components/ui/tooltip.d.ts.map +1 -0
  4652. package/packages/ui/src/components/ui/tooltip.js +13 -0
  4653. package/packages/ui/src/components/ui/typography.d.ts +15 -0
  4654. package/packages/ui/src/components/ui/typography.d.ts.map +1 -0
  4655. package/packages/ui/src/components/ui/typography.js +46 -0
  4656. package/packages/ui/src/hooks/index.d.ts +6 -0
  4657. package/packages/ui/src/hooks/index.d.ts.map +1 -0
  4658. package/packages/ui/src/hooks/index.js +5 -0
  4659. package/packages/ui/src/hooks/useClickOutside.d.ts +3 -0
  4660. package/packages/ui/src/hooks/useClickOutside.d.ts.map +1 -0
  4661. package/packages/ui/src/hooks/useClickOutside.js +22 -0
  4662. package/packages/ui/src/hooks/useDocumentVisibility.d.ts +3 -0
  4663. package/packages/ui/src/hooks/useDocumentVisibility.d.ts.map +1 -0
  4664. package/packages/ui/src/hooks/useDocumentVisibility.js +28 -0
  4665. package/packages/ui/src/hooks/useKeyboardShortcuts.d.ts +13 -0
  4666. package/packages/ui/src/hooks/useKeyboardShortcuts.d.ts.map +1 -0
  4667. package/packages/ui/src/hooks/useKeyboardShortcuts.js +34 -0
  4668. package/packages/ui/src/hooks/useLinkedSidebarSelection.d.ts +16 -0
  4669. package/packages/ui/src/hooks/useLinkedSidebarSelection.d.ts.map +1 -0
  4670. package/packages/ui/src/hooks/useLinkedSidebarSelection.js +117 -0
  4671. package/packages/ui/src/hooks/useTimeout.d.ts +5 -0
  4672. package/packages/ui/src/hooks/useTimeout.d.ts.map +1 -0
  4673. package/packages/ui/src/hooks/useTimeout.js +26 -0
  4674. package/packages/ui/src/index.d.ts +8 -0
  4675. package/packages/ui/src/index.d.ts.map +1 -0
  4676. package/packages/ui/src/index.js +7 -0
  4677. package/packages/ui/src/layouts/chat-panel-layout/chat-panel-layout.d.ts +11 -0
  4678. package/packages/ui/src/layouts/chat-panel-layout/chat-panel-layout.d.ts.map +1 -0
  4679. package/packages/ui/src/layouts/chat-panel-layout/chat-panel-layout.js +37 -0
  4680. package/packages/ui/src/layouts/chat-panel-layout/index.d.ts +2 -0
  4681. package/packages/ui/src/layouts/chat-panel-layout/index.d.ts.map +1 -0
  4682. package/packages/ui/src/layouts/chat-panel-layout/index.js +1 -0
  4683. package/packages/ui/src/layouts/content-layout/content-layout.d.ts +21 -0
  4684. package/packages/ui/src/layouts/content-layout/content-layout.d.ts.map +1 -0
  4685. package/packages/ui/src/layouts/content-layout/content-layout.js +5 -0
  4686. package/packages/ui/src/layouts/content-layout/index.d.ts +2 -0
  4687. package/packages/ui/src/layouts/content-layout/index.d.ts.map +1 -0
  4688. package/packages/ui/src/layouts/content-layout/index.js +1 -0
  4689. package/packages/ui/src/layouts/index.d.ts +5 -0
  4690. package/packages/ui/src/layouts/index.d.ts.map +1 -0
  4691. package/packages/ui/src/layouts/index.js +4 -0
  4692. package/packages/ui/src/layouts/layout-test-utils.d.ts +6 -0
  4693. package/packages/ui/src/layouts/layout-test-utils.d.ts.map +1 -0
  4694. package/packages/ui/src/layouts/layout-test-utils.js +36 -0
  4695. package/packages/ui/src/layouts/page-layout/index.d.ts +5 -0
  4696. package/packages/ui/src/layouts/page-layout/index.d.ts.map +1 -0
  4697. package/packages/ui/src/layouts/page-layout/index.js +4 -0
  4698. package/packages/ui/src/layouts/page-layout/page-layout-header.d.ts +5 -0
  4699. package/packages/ui/src/layouts/page-layout/page-layout-header.d.ts.map +1 -0
  4700. package/packages/ui/src/layouts/page-layout/page-layout-header.js +5 -0
  4701. package/packages/ui/src/layouts/page-layout/page-layout-mobile-drawer.d.ts +3 -0
  4702. package/packages/ui/src/layouts/page-layout/page-layout-mobile-drawer.d.ts.map +1 -0
  4703. package/packages/ui/src/layouts/page-layout/page-layout-mobile-drawer.js +18 -0
  4704. package/packages/ui/src/layouts/page-layout/page-layout-types.d.ts +15 -0
  4705. package/packages/ui/src/layouts/page-layout/page-layout-types.d.ts.map +1 -0
  4706. package/packages/ui/src/layouts/page-layout/page-layout-types.js +1 -0
  4707. package/packages/ui/src/layouts/page-layout/page-layout.d.ts +3 -0
  4708. package/packages/ui/src/layouts/page-layout/page-layout.d.ts.map +1 -0
  4709. package/packages/ui/src/layouts/page-layout/page-layout.js +5 -0
  4710. package/packages/ui/src/layouts/workspace-layout/index.d.ts +3 -0
  4711. package/packages/ui/src/layouts/workspace-layout/index.d.ts.map +1 -0
  4712. package/packages/ui/src/layouts/workspace-layout/index.js +2 -0
  4713. package/packages/ui/src/layouts/workspace-layout/workspace-layout-types.d.ts +19 -0
  4714. package/packages/ui/src/layouts/workspace-layout/workspace-layout-types.d.ts.map +1 -0
  4715. package/packages/ui/src/layouts/workspace-layout/workspace-layout-types.js +1 -0
  4716. package/packages/ui/src/layouts/workspace-layout/workspace-layout.d.ts +3 -0
  4717. package/packages/ui/src/layouts/workspace-layout/workspace-layout.d.ts.map +1 -0
  4718. package/packages/ui/src/layouts/workspace-layout/workspace-layout.js +59 -0
  4719. package/packages/ui/src/lib/floating-layers.d.ts +17 -0
  4720. package/packages/ui/src/lib/floating-layers.d.ts.map +1 -0
  4721. package/packages/ui/src/lib/floating-layers.js +20 -0
  4722. package/packages/ui/src/lib/utils.d.ts +3 -0
  4723. package/packages/ui/src/lib/utils.d.ts.map +1 -0
  4724. package/packages/ui/src/lib/utils.js +5 -0
  4725. package/packages/ui/src/stories/layout-story-fixtures.d.ts +14 -0
  4726. package/packages/ui/src/stories/layout-story-fixtures.d.ts.map +1 -0
  4727. package/packages/ui/src/stories/layout-story-fixtures.js +33 -0
  4728. package/packages/ui/src/types/onboarding.d.ts +8 -0
  4729. package/packages/ui/src/types/onboarding.d.ts.map +1 -0
  4730. package/packages/ui/src/types/onboarding.js +17 -0
  4731. package/styles/electrobun-mac-window-drag.css +85 -0
  4732. package/styles/theme.css +7 -0
  4733. package/README.md +0 -6
  4734. package/dist/components/ui/badge.d.ts +0 -10
  4735. package/dist/components/ui/badge.d.ts.map +0 -1
  4736. package/dist/components/ui/badge.js +0 -20
  4737. package/dist/components/ui/banner.d.ts +0 -18
  4738. package/dist/components/ui/banner.d.ts.map +0 -1
  4739. package/dist/components/ui/banner.js +0 -27
  4740. package/dist/components/ui/button.d.ts +0 -12
  4741. package/dist/components/ui/button.d.ts.map +0 -1
  4742. package/dist/components/ui/button.js +0 -33
  4743. package/dist/components/ui/card.d.ts +0 -9
  4744. package/dist/components/ui/card.d.ts.map +0 -1
  4745. package/dist/components/ui/card.js +0 -16
  4746. package/dist/components/ui/chat-atoms.d.ts +0 -26
  4747. package/dist/components/ui/chat-atoms.d.ts.map +0 -1
  4748. package/dist/components/ui/chat-atoms.js +0 -17
  4749. package/dist/components/ui/checkbox.d.ts.map +0 -1
  4750. package/dist/components/ui/confirm-delete.d.ts +0 -12
  4751. package/dist/components/ui/confirm-delete.d.ts.map +0 -1
  4752. package/dist/components/ui/confirm-delete.js +0 -13
  4753. package/dist/components/ui/confirm-dialog.d.ts +0 -24
  4754. package/dist/components/ui/confirm-dialog.d.ts.map +0 -1
  4755. package/dist/components/ui/confirm-dialog.js +0 -55
  4756. package/dist/components/ui/connection-status.d.ts +0 -9
  4757. package/dist/components/ui/connection-status.d.ts.map +0 -1
  4758. package/dist/components/ui/connection-status.js +0 -25
  4759. package/dist/components/ui/copy-button.d.ts.map +0 -1
  4760. package/dist/components/ui/dialog.d.ts +0 -20
  4761. package/dist/components/ui/dialog.d.ts.map +0 -1
  4762. package/dist/components/ui/dialog.js +0 -22
  4763. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  4764. package/dist/components/ui/dropdown-menu.js +0 -35
  4765. package/dist/components/ui/empty-state.d.ts.map +0 -1
  4766. package/dist/components/ui/error-boundary.d.ts +0 -18
  4767. package/dist/components/ui/error-boundary.d.ts.map +0 -1
  4768. package/dist/components/ui/error-boundary.js +0 -27
  4769. package/dist/components/ui/grid.d.ts +0 -11
  4770. package/dist/components/ui/grid.d.ts.map +0 -1
  4771. package/dist/components/ui/grid.js +0 -30
  4772. package/dist/components/ui/input.d.ts +0 -6
  4773. package/dist/components/ui/input.d.ts.map +0 -1
  4774. package/dist/components/ui/input.js +0 -8
  4775. package/dist/components/ui/label.d.ts +0 -6
  4776. package/dist/components/ui/label.d.ts.map +0 -1
  4777. package/dist/components/ui/label.js +0 -9
  4778. package/dist/components/ui/popover.d.ts.map +0 -1
  4779. package/dist/components/ui/save-footer.d.ts.map +0 -1
  4780. package/dist/components/ui/save-footer.js +0 -9
  4781. package/dist/components/ui/search-bar.d.ts +0 -17
  4782. package/dist/components/ui/search-bar.d.ts.map +0 -1
  4783. package/dist/components/ui/search-bar.js +0 -19
  4784. package/dist/components/ui/search-input.d.ts.map +0 -1
  4785. package/dist/components/ui/search-input.js +0 -9
  4786. package/dist/components/ui/section-card.d.ts.map +0 -1
  4787. package/dist/components/ui/section-card.js +0 -9
  4788. package/dist/components/ui/select.d.ts.map +0 -1
  4789. package/dist/components/ui/select.js +0 -26
  4790. package/dist/components/ui/separator.d.ts.map +0 -1
  4791. package/dist/components/ui/skeleton.d.ts.map +0 -1
  4792. package/dist/components/ui/skeleton.js +0 -25
  4793. package/dist/components/ui/slider.d.ts.map +0 -1
  4794. package/dist/components/ui/slider.js +0 -7
  4795. package/dist/components/ui/sonner.d.ts +0 -5
  4796. package/dist/components/ui/sonner.d.ts.map +0 -1
  4797. package/dist/components/ui/sonner.js +0 -15
  4798. package/dist/components/ui/spinner.d.ts.map +0 -1
  4799. package/dist/components/ui/stack.d.ts +0 -13
  4800. package/dist/components/ui/stack.d.ts.map +0 -1
  4801. package/dist/components/ui/stack.js +0 -39
  4802. package/dist/components/ui/status-badge.d.ts +0 -20
  4803. package/dist/components/ui/status-badge.d.ts.map +0 -1
  4804. package/dist/components/ui/status-badge.js +0 -41
  4805. package/dist/components/ui/switch.d.ts.map +0 -1
  4806. package/dist/components/ui/switch.js +0 -7
  4807. package/dist/components/ui/tabs.d.ts.map +0 -1
  4808. package/dist/components/ui/tabs.js +0 -12
  4809. package/dist/components/ui/tag-editor.d.ts +0 -24
  4810. package/dist/components/ui/tag-editor.d.ts.map +0 -1
  4811. package/dist/components/ui/tag-editor.js +0 -32
  4812. package/dist/components/ui/tag-input.d.ts +0 -19
  4813. package/dist/components/ui/tag-input.d.ts.map +0 -1
  4814. package/dist/components/ui/tag-input.js +0 -28
  4815. package/dist/components/ui/textarea.d.ts +0 -6
  4816. package/dist/components/ui/textarea.d.ts.map +0 -1
  4817. package/dist/components/ui/textarea.js +0 -8
  4818. package/dist/components/ui/themed-select.d.ts +0 -27
  4819. package/dist/components/ui/themed-select.d.ts.map +0 -1
  4820. package/dist/components/ui/themed-select.js +0 -57
  4821. package/dist/components/ui/tooltip-extended.d.ts +0 -76
  4822. package/dist/components/ui/tooltip-extended.d.ts.map +0 -1
  4823. package/dist/components/ui/tooltip-extended.js +0 -128
  4824. package/dist/components/ui/tooltip.d.ts +0 -8
  4825. package/dist/components/ui/tooltip.d.ts.map +0 -1
  4826. package/dist/components/ui/tooltip.js +0 -10
  4827. package/dist/components/ui/typography.d.ts +0 -17
  4828. package/dist/components/ui/typography.d.ts.map +0 -1
  4829. package/dist/components/ui/typography.js +0 -44
  4830. package/dist/index.d.ts +0 -42
  4831. package/dist/index.d.ts.map +0 -1
  4832. package/dist/index.js +0 -43
  4833. package/dist/lib/button-styles.d.ts +0 -12
  4834. package/dist/lib/button-styles.d.ts.map +0 -1
  4835. package/dist/lib/button-styles.js +0 -11
  4836. package/dist/lib/utils.d.ts +0 -6
  4837. package/dist/lib/utils.d.ts.map +0 -1
  4838. package/dist/lib/utils.js +0 -8
  4839. package/dist/package.json +0 -64
  4840. package/dist/styles/theme.css +0 -193
  4841. package/src/styles/theme.css +0 -193
  4842. /package/{dist/components/ui → packages/ui/src/components/composites/search}/search-input.d.ts +0 -0
  4843. /package/{dist → packages/ui/src}/components/ui/checkbox.d.ts +0 -0
  4844. /package/{dist → packages/ui/src}/components/ui/checkbox.js +0 -0
  4845. /package/{dist → packages/ui/src}/components/ui/copy-button.d.ts +0 -0
  4846. /package/{dist → packages/ui/src}/components/ui/copy-button.js +0 -0
  4847. /package/{dist → packages/ui/src}/components/ui/dropdown-menu.d.ts +0 -0
  4848. /package/{dist → packages/ui/src}/components/ui/empty-state.d.ts +0 -0
  4849. /package/{dist → packages/ui/src}/components/ui/empty-state.js +0 -0
  4850. /package/{dist → packages/ui/src}/components/ui/popover.d.ts +0 -0
  4851. /package/{dist → packages/ui/src}/components/ui/popover.js +0 -0
  4852. /package/{dist → packages/ui/src}/components/ui/save-footer.d.ts +0 -0
  4853. /package/{dist → packages/ui/src}/components/ui/section-card.d.ts +0 -0
  4854. /package/{dist → packages/ui/src}/components/ui/select.d.ts +0 -0
  4855. /package/{dist → packages/ui/src}/components/ui/separator.d.ts +0 -0
  4856. /package/{dist → packages/ui/src}/components/ui/separator.js +0 -0
  4857. /package/{dist → packages/ui/src}/components/ui/skeleton.d.ts +0 -0
  4858. /package/{dist → packages/ui/src}/components/ui/slider.d.ts +0 -0
  4859. /package/{dist → packages/ui/src}/components/ui/spinner.d.ts +0 -0
  4860. /package/{dist → packages/ui/src}/components/ui/spinner.js +0 -0
  4861. /package/{dist → packages/ui/src}/components/ui/switch.d.ts +0 -0
  4862. /package/{dist → packages/ui/src}/components/ui/tabs.d.ts +0 -0
@@ -0,0 +1,3383 @@
1
+ /**
2
+ * elizaOS runtime entry point for Eliza.
3
+ *
4
+ * Starts the elizaOS agent runtime with Eliza's plugin configuration.
5
+ * Can be run directly via: node --import tsx src/runtime/eliza.ts
6
+ * Or via the CLI: eliza start
7
+ *
8
+ * @module eliza
9
+ */
10
+ import crypto from "node:crypto";
11
+ import { existsSync, mkdirSync, readFileSync, unlinkSync } from "node:fs";
12
+ import fs from "node:fs/promises";
13
+ import { createRequire } from "node:module";
14
+ import os from "node:os";
15
+ import path from "node:path";
16
+ import process from "node:process";
17
+ import * as readline from "node:readline";
18
+ import { fileURLToPath, pathToFileURL } from "node:url";
19
+ // ---------------------------------------------------------------------------
20
+ // Extracted modules — re-exported for backward compatibility
21
+ // ---------------------------------------------------------------------------
22
+ import { runFirstTimeSetup } from "./first-time-setup.js";
23
+ import { resolvePlugins } from "./plugin-resolver.js";
24
+ import { CUSTOM_PLUGINS_DIRNAME as CUSTOM_RUNTIME_PLUGINS_DIRNAME, STATIC_ELIZA_PLUGINS, } from "./plugin-types.js";
25
+ export { CHANNEL_PLUGIN_MAP, collectPluginNames, OPTIONAL_PLUGIN_MAP, PROVIDER_PLUGIN_MAP, } from "./plugin-collector.js";
26
+ export { CUSTOM_PLUGINS_DIRNAME, EJECTED_PLUGINS_DIRNAME, ensureBrowserServerLink, findPluginBrowserStagehandDir, findRuntimePluginExport, mergeDropInPlugins, repairBrokenInstallRecord, resolveElizaPluginImportSpecifier, resolvePackageEntry, STATIC_ELIZA_PLUGINS, scanDropInPlugins, shouldIgnoreMissingPluginExport, } from "./plugin-types.js";
27
+ // resolvePlugins is re-exported via index.ts from ./plugin-resolver
28
+ import * as pluginAppCompanion from "@elizaos/app-companion/plugin";
29
+ import * as pluginAppLifeops from "@elizaos/app-lifeops/plugin";
30
+ import { AgentRuntime, AutonomyService, addLogListener, ChannelType, createBasicCapabilitiesPlugin, createMessageMemory, logger,
31
+ // loggerScope, // removed
32
+ mergeCharacterDefaults, stringToUuid, } from "@elizaos/core";
33
+ import * as pluginAgentSkills from "@elizaos/plugin-agent-skills";
34
+ import * as pluginAnthropic from "@elizaos/plugin-anthropic";
35
+ import * as pluginLocalEmbedding from "@elizaos/plugin-local-embedding";
36
+ import * as pluginPdf from "@elizaos/plugin-pdf";
37
+ import * as pluginSql from "@elizaos/plugin-sql";
38
+ import { isElizaSettingsDebugEnabled, settingsDebugCloudSummary, } from "@elizaos/shared";
39
+ import { resolveElizaCloudTopology } from "@elizaos/shared/contracts";
40
+ import { getOnboardingProviderOption, migrateLegacyRuntimeConfig, normalizeOnboardingProviderId, resolveDeploymentTargetInConfig, resolveServiceRoutingInConfig, } from "@elizaos/shared/contracts/onboarding";
41
+ import { getDefaultStylePreset, normalizeCharacterLanguage, resolveStylePresetByAvatarIndex, resolveStylePresetById, resolveStylePresetByName, } from "@elizaos/shared/onboarding-presets";
42
+ import { resolveServerOnlyPort } from "@elizaos/shared/runtime-env";
43
+ import { debugLogResolvedContext, validateRuntimeContext, } from "../api/plugin-validation.js";
44
+ import { getWalletAddresses, syncSolanaPublicKeyEnv } from "../api/wallet.js";
45
+ import { configFileExists, loadElizaConfig, } from "../config/config.js";
46
+ import { CONNECTOR_ENV_MAP, collectConfigEnvVars, collectConnectorEnvVars, } from "../config/env-vars.js";
47
+ import { resolveStateDir, resolveUserPath } from "../config/paths.js";
48
+ import { createHookEvent, loadHooks, triggerHook, } from "../hooks/index.js";
49
+ import { ensureAgentWorkspace, resolveDefaultAgentWorkspaceDir, } from "../providers/workspace.js";
50
+ import { SandboxAuditLog } from "../security/audit-log.js";
51
+ import { SandboxManager, } from "../services/sandbox-manager.js";
52
+ import { CORE_PLUGINS, OPTIONAL_CORE_PLUGINS } from "./core-plugins.js";
53
+ import { seedBundledKnowledge } from "./default-knowledge.js";
54
+ import discordLocalPlugin from "./discord-local-plugin.js";
55
+ import { createElizaPlugin } from "./eliza-plugin.js";
56
+ import { detectEmbeddingPreset } from "./embedding-presets.js";
57
+ import { runtimeKnowledgeEnabled, runtimeTrajectoriesEnabled, } from "./native-runtime-features.js";
58
+ import { createPgliteInitError, getPgliteErrorCode, PGLITE_ERROR_CODES, } from "./pglite-error-compat";
59
+ import { installRuntimePluginLifecycle } from "./plugin-lifecycle.js";
60
+ import rolesPlugin from "./roles.js";
61
+ import { shouldEnableTrajectoryLoggingByDefault } from "./trajectory-persistence.js";
62
+ const require = createRequire(import.meta.url);
63
+ // Agent orchestrator ships as the standalone @elizaos/plugin-agent-orchestrator package.
64
+ // Use top-level dynamic import because the package is ESM-only and fails under
65
+ // createRequire() in bun runtime; the await is resolved before module consumers read the binding.
66
+ let pluginAgentOrchestrator = null;
67
+ try {
68
+ pluginAgentOrchestrator = await import("@elizaos/plugin-agent-orchestrator");
69
+ }
70
+ catch {
71
+ pluginAgentOrchestrator = null;
72
+ }
73
+ // Keep plugin-shell behind a guarded runtime require too. The published alpha
74
+ // tarball can declare dist/index.js without actually shipping it, which breaks
75
+ // CLI/bootstrap in published-only CI.
76
+ let pluginShell = null;
77
+ try {
78
+ pluginShell = require("@elizaos/plugin-shell");
79
+ }
80
+ catch {
81
+ pluginShell = null;
82
+ }
83
+ // Keep plugin-commands behind a guarded runtime require. Some published alpha
84
+ // builds advertise dist/index.js without actually shipping it, and a static
85
+ // ESM import here makes the CLI fail before it can print --help/--version.
86
+ let pluginCommands = null;
87
+ try {
88
+ pluginCommands = require("@elizaos/plugin-commands");
89
+ }
90
+ catch {
91
+ pluginCommands = null;
92
+ }
93
+ // plugin-plugin-manager, plugin-secrets-manager, and plugin-trust are now
94
+ // built-in core capabilities in @elizaos/core. Enable via character settings:
95
+ // ENABLE_PLUGIN_MANAGER, ENABLE_SECRETS_MANAGER, ENABLE_TRUST.
96
+ // Keep plugin-cron behind a guarded runtime require for the same reason. Some
97
+ // published alpha builds resolve through package.json but are missing the
98
+ // shipped dist/index.js entry, which breaks CLI bootstrap before help/version.
99
+ let pluginCron = null;
100
+ try {
101
+ pluginCron = require("@elizaos/plugin-cron");
102
+ }
103
+ catch {
104
+ pluginCron = null;
105
+ }
106
+ // Keep plugin-elizacloud behind a guarded runtime require as well. Some
107
+ // published alpha builds advertise dist/node/index.node.js but do not ship
108
+ // that ESM entry, which breaks CLI bootstrap in published-only CI.
109
+ let pluginElizacloud = null;
110
+ try {
111
+ pluginElizacloud = require("@elizaos/plugin-elizacloud");
112
+ }
113
+ catch {
114
+ pluginElizacloud = null;
115
+ }
116
+ // Keep plugin-ollama behind a guarded runtime require as well. Some published
117
+ // alpha builds advertise dist/node/index.node.js but do not ship that ESM
118
+ // entry, which breaks CLI bootstrap and startup smokes in published-only CI.
119
+ let pluginOllama = null;
120
+ try {
121
+ pluginOllama = require("@elizaos/plugin-ollama");
122
+ }
123
+ catch {
124
+ pluginOllama = null;
125
+ }
126
+ // Keep plugin-openai behind a guarded runtime require too. Some published
127
+ // alpha builds advertise dist/node/index.node.js without shipping that entry,
128
+ // which breaks CLI bootstrap and validation in published-only CI.
129
+ let pluginOpenai = null;
130
+ try {
131
+ pluginOpenai = require("@elizaos/plugin-openai");
132
+ }
133
+ catch {
134
+ pluginOpenai = null;
135
+ }
136
+ let activeSignalShutdownContext = null;
137
+ let signalHandlersRegistered = false;
138
+ let signalShutdownPromise = null;
139
+ function registerSignalShutdownHandlers(context) {
140
+ activeSignalShutdownContext = context;
141
+ if (signalHandlersRegistered) {
142
+ return;
143
+ }
144
+ const shutdown = async () => {
145
+ if (signalShutdownPromise) {
146
+ await signalShutdownPromise;
147
+ return;
148
+ }
149
+ signalShutdownPromise = (async () => {
150
+ const current = activeSignalShutdownContext;
151
+ if (!current) {
152
+ process.exit(0);
153
+ }
154
+ try {
155
+ await current?.beforeShutdown?.();
156
+ }
157
+ catch (err) {
158
+ logger.warn(`[eliza] Pre-shutdown cleanup error: ${formatError(err)}`);
159
+ }
160
+ try {
161
+ const sandboxManager = current?.getSandboxManager();
162
+ if (sandboxManager) {
163
+ try {
164
+ await sandboxManager.stop();
165
+ logger.info("[eliza] Sandbox manager stopped");
166
+ }
167
+ catch (err) {
168
+ logger.warn(`[eliza] Sandbox stop error: ${err instanceof Error ? err.message : String(err)}`);
169
+ }
170
+ }
171
+ }
172
+ catch (err) {
173
+ logger.warn(`[eliza] Sandbox shutdown error: ${formatError(err)}`);
174
+ }
175
+ try {
176
+ const runtime = current?.getRuntime();
177
+ if (runtime) {
178
+ await shutdownRuntime(runtime, "signal shutdown");
179
+ }
180
+ }
181
+ catch (err) {
182
+ logger.warn(`[eliza] Error during shutdown: ${formatError(err)}`);
183
+ }
184
+ process.exit(0);
185
+ })();
186
+ await signalShutdownPromise;
187
+ };
188
+ process.on("SIGINT", () => void shutdown());
189
+ process.on("SIGTERM", () => void shutdown());
190
+ signalHandlersRegistered = true;
191
+ }
192
+ /**
193
+ * Map of baseline bundled @elizaos plugin names to their statically imported
194
+ * modules.
195
+ *
196
+ * Post-release plugins are intentionally excluded so the packaged runtime can
197
+ * ship a smaller baseline bundle. Those plugins fall through to dynamic
198
+ * import() and can be installed later via the plugin installer.
199
+ */
200
+ // Populate the shared STATIC_ELIZA_PLUGINS registry (defined in plugin-types.ts)
201
+ // so plugin-resolver.ts can read it without importing this module directly.
202
+ Object.assign(STATIC_ELIZA_PLUGINS, {
203
+ "@elizaos/plugin-sql": pluginSql,
204
+ "@elizaos/plugin-local-embedding": pluginLocalEmbedding,
205
+ // secrets-manager: now built-in core capability (ENABLE_SECRETS_MANAGER)
206
+ ...(pluginAgentOrchestrator
207
+ ? { "agent-orchestrator": pluginAgentOrchestrator }
208
+ : {}),
209
+ ...(pluginCron ? { "@elizaos/plugin-cron": pluginCron } : {}),
210
+ ...(pluginShell ? { "@elizaos/plugin-shell": pluginShell } : {}),
211
+ // plugin-manager: now built-in core capability (ENABLE_PLUGIN_MANAGER)
212
+ "@elizaos/plugin-agent-skills": pluginAgentSkills,
213
+ ...(pluginCommands ? { "@elizaos/plugin-commands": pluginCommands } : {}),
214
+ "@elizaos/plugin-pdf": pluginPdf,
215
+ ...(pluginOpenai ? { "@elizaos/plugin-openai": pluginOpenai } : {}),
216
+ "@elizaos/plugin-anthropic": pluginAnthropic,
217
+ ...(pluginOllama ? { "@elizaos/plugin-ollama": pluginOllama } : {}),
218
+ ...(pluginElizacloud
219
+ ? { "@elizaos/plugin-elizacloud": pluginElizacloud }
220
+ : {}),
221
+ // trust: now built-in core capability (ENABLE_TRUST)
222
+ "@elizaos/app-lifeops": pluginAppLifeops,
223
+ "@elizaos/app-companion": pluginAppCompanion,
224
+ "@elizaos/plugin-discord-local": discordLocalPlugin,
225
+ // personality: now built-in advanced capability (advancedCapabilities: true)
226
+ });
227
+ // NODE_PATH so dynamic plugin imports (e.g. @elizaos/plugin-*) resolve.
228
+ // WHY: When eliza is loaded from dist/ or by a test runner, Node's resolution does not
229
+ // search repo root node_modules; import("@elizaos/plugin-*") then fails. We prepend
230
+ // repo root node_modules only if not already in NODE_PATH (run-node.mjs may have set it)
231
+ // to avoid duplicate entries; _initPaths() makes Node re-read NODE_PATH. See docs/plugin-resolution-and-node-path.md.
232
+ // We walk up from this file to find node_modules — we do not assume a fixed depth
233
+ // (e.g. two levels for src/runtime/ or dist/runtime/) so we still work if build
234
+ // output structure changes (e.g. flat dist). First directory with node_modules wins.
235
+ const _elizaDir = path.dirname(fileURLToPath(import.meta.url));
236
+ let _dir = _elizaDir;
237
+ let _rootModules = null;
238
+ while (_dir !== path.dirname(_dir)) {
239
+ const candidate = path.join(_dir, "node_modules");
240
+ if (existsSync(candidate)) {
241
+ _rootModules = candidate;
242
+ break;
243
+ }
244
+ _dir = path.dirname(_dir);
245
+ }
246
+ if (_rootModules) {
247
+ const prev = process.env.NODE_PATH ?? "";
248
+ const entries = prev ? prev.split(path.delimiter) : [];
249
+ const normalizedRoot = path.resolve(_rootModules);
250
+ if (!entries.some((e) => path.resolve(e) === normalizedRoot)) {
251
+ process.env.NODE_PATH = prev
252
+ ? `${_rootModules}${path.delimiter}${prev}`
253
+ : _rootModules;
254
+ createRequire(import.meta.url)("node:module").Module._initPaths();
255
+ }
256
+ }
257
+ export function configureLocalEmbeddingPlugin(_plugin, config) {
258
+ const detectedPreset = detectEmbeddingPreset();
259
+ const SQL_COMPATIBLE_EMBEDDING_DIMENSIONS = new Set([
260
+ 384, 512, 768, 1024, 1536, 3072,
261
+ ]);
262
+ const normalizeEmbeddingDimensions = (rawValue) => {
263
+ if (!rawValue)
264
+ return undefined;
265
+ const parsed = Number.parseInt(rawValue, 10);
266
+ if (!Number.isInteger(parsed) || parsed <= 0)
267
+ return undefined;
268
+ return SQL_COMPATIBLE_EMBEDDING_DIMENSIONS.has(parsed)
269
+ ? String(parsed)
270
+ : "384";
271
+ };
272
+ const embeddingConfig = config?.embedding;
273
+ const configuredModel = embeddingConfig?.model?.trim();
274
+ const configuredRepo = embeddingConfig?.modelRepo?.trim();
275
+ const configuredDimensions = normalizeEmbeddingDimensions(typeof embeddingConfig?.dimensions === "number" &&
276
+ Number.isInteger(embeddingConfig.dimensions) &&
277
+ embeddingConfig.dimensions > 0
278
+ ? String(embeddingConfig.dimensions)
279
+ : undefined);
280
+ const detectedDimensions = normalizeEmbeddingDimensions(String(detectedPreset.dimensions));
281
+ const configuredContextSize = typeof embeddingConfig?.contextSize === "number" &&
282
+ Number.isInteger(embeddingConfig.contextSize) &&
283
+ embeddingConfig.contextSize > 0
284
+ ? String(embeddingConfig.contextSize)
285
+ : undefined;
286
+ const configuredGpuLayers = (() => {
287
+ const value = embeddingConfig?.gpuLayers;
288
+ if (typeof value === "number" && Number.isInteger(value) && value >= 0) {
289
+ return String(value);
290
+ }
291
+ if (value === "auto" || value === "max") {
292
+ // plugin-local-embedding understands "auto" and treats it as runtime max
293
+ return "auto";
294
+ }
295
+ return undefined;
296
+ })();
297
+ const setEnvIfMissing = (key, value) => {
298
+ if (!value || process.env[key])
299
+ return;
300
+ process.env[key] = value;
301
+ };
302
+ const setEnvFromConfig = (key, value) => {
303
+ if (!value)
304
+ return;
305
+ process.env[key] = value;
306
+ };
307
+ // Keep plugin-local-embedding aligned with Eliza's hardware-adaptive preset
308
+ // selection. Hard-coding the standard preset here forces slower first-run
309
+ // downloads on Windows and low-spec machines.
310
+ setEnvIfMissing("LOCAL_EMBEDDING_MODEL", configuredModel || detectedPreset.model);
311
+ if (configuredRepo) {
312
+ setEnvFromConfig("LOCAL_EMBEDDING_MODEL_REPO", configuredRepo);
313
+ }
314
+ else if (!configuredModel) {
315
+ setEnvIfMissing("LOCAL_EMBEDDING_MODEL_REPO", detectedPreset.modelRepo);
316
+ }
317
+ if (configuredDimensions) {
318
+ setEnvFromConfig("LOCAL_EMBEDDING_DIMENSIONS", configuredDimensions);
319
+ }
320
+ else if (!configuredModel) {
321
+ setEnvIfMissing("LOCAL_EMBEDDING_DIMENSIONS", detectedDimensions);
322
+ }
323
+ if (configuredContextSize) {
324
+ setEnvFromConfig("LOCAL_EMBEDDING_CONTEXT_SIZE", configuredContextSize);
325
+ }
326
+ else if (!configuredModel) {
327
+ setEnvIfMissing("LOCAL_EMBEDDING_CONTEXT_SIZE", String(detectedPreset.contextSize));
328
+ }
329
+ if (configuredGpuLayers) {
330
+ process.env.LOCAL_EMBEDDING_GPU_LAYERS = configuredGpuLayers;
331
+ }
332
+ else if (!process.env.LOCAL_EMBEDDING_GPU_LAYERS) {
333
+ process.env.LOCAL_EMBEDDING_GPU_LAYERS = String(detectedPreset.gpuLayers);
334
+ }
335
+ // Performance tuning
336
+ // Disable mmap on Metal to prevent "different text" errors with some models
337
+ setEnvIfMissing("LOCAL_EMBEDDING_USE_MMAP", detectedPreset.gpuLayers === "auto" ? "false" : "true");
338
+ // Set default models directory if not present
339
+ setEnvIfMissing("MODELS_DIR", path.join(os.homedir(), ".eliza", "models"));
340
+ // Normalize Google AI API key aliases — the elizaOS plugin and @google/genai
341
+ // SDK expect different env var names. Canonicalize to the long form that
342
+ // @elizaos/plugin-google-genai reads via runtime.getSetting(). Users can set
343
+ // any of: GEMINI_API_KEY, GOOGLE_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY.
344
+ setEnvIfMissing("GOOGLE_GENERATIVE_AI_API_KEY", process.env.GEMINI_API_KEY || process.env.GOOGLE_API_KEY);
345
+ // Default Google model names — the Google GenAI plugin's getSetting() returns
346
+ // null (not undefined) for missing keys, but the plugin checks !== undefined
347
+ // causing String(null) = "null" to be sent as the model name. Set sensible
348
+ // defaults so the plugin always has valid model names.
349
+ setEnvIfMissing("GOOGLE_SMALL_MODEL", "gemini-3-flash-preview");
350
+ setEnvIfMissing("GOOGLE_LARGE_MODEL", "gemini-3.1-pro-preview");
351
+ // Default Groq model names — plugin-groq still ships a deprecated large-model
352
+ // fallback. Seed runtime defaults before plugin init so direct Groq provider
353
+ // sessions do not inherit the retired qwen-qwq-32b default.
354
+ const currentSharedSmallModel = process.env.OPENAI_SMALL_MODEL ?? process.env.SMALL_MODEL;
355
+ const currentSharedLargeModel = process.env.OPENAI_LARGE_MODEL ?? process.env.LARGE_MODEL;
356
+ setEnvIfMissing("GROQ_SMALL_MODEL", currentSharedSmallModel && !isLikelyOpenAiTextModel(currentSharedSmallModel)
357
+ ? currentSharedSmallModel
358
+ : "llama-3.1-8b-instant");
359
+ setEnvIfMissing("GROQ_LARGE_MODEL", currentSharedLargeModel && !isLikelyOpenAiTextModel(currentSharedLargeModel)
360
+ ? currentSharedLargeModel
361
+ : "qwen/qwen3-32b");
362
+ logger.info(`[eliza] Configured local embedding env: ${process.env.LOCAL_EMBEDDING_MODEL} (repo: ${process.env.LOCAL_EMBEDDING_MODEL_REPO ?? "auto"}, dims: ${process.env.LOCAL_EMBEDDING_DIMENSIONS ?? "auto"}, ctx: ${process.env.LOCAL_EMBEDDING_CONTEXT_SIZE ?? "auto"}, GPU: ${process.env.LOCAL_EMBEDDING_GPU_LAYERS}, mmap: ${process.env.LOCAL_EMBEDDING_USE_MMAP})`);
363
+ }
364
+ // ---------------------------------------------------------------------------
365
+ // Helpers
366
+ // ---------------------------------------------------------------------------
367
+ /** Extract a human-readable error message from an unknown thrown value. */
368
+ function formatError(err) {
369
+ return err instanceof Error ? err.message : String(err);
370
+ }
371
+ function trimEnvString(value) {
372
+ if (typeof value !== "string")
373
+ return undefined;
374
+ const trimmed = value.trim();
375
+ return trimmed.length > 0 ? trimmed : undefined;
376
+ }
377
+ function getMutableConfigEnv(config) {
378
+ if (!config.env ||
379
+ typeof config.env !== "object" ||
380
+ Array.isArray(config.env)) {
381
+ return null;
382
+ }
383
+ return config.env;
384
+ }
385
+ function getMutableConfigEnvVars(configEnv) {
386
+ if (!configEnv.vars ||
387
+ typeof configEnv.vars !== "object" ||
388
+ Array.isArray(configEnv.vars)) {
389
+ return null;
390
+ }
391
+ return configEnv.vars;
392
+ }
393
+ function readConfigEnvValue(config, key) {
394
+ const configEnv = getMutableConfigEnv(config);
395
+ if (!configEnv)
396
+ return undefined;
397
+ const vars = getMutableConfigEnvVars(configEnv);
398
+ return trimEnvString(vars?.[key]) ?? trimEnvString(configEnv[key]);
399
+ }
400
+ function readEffectiveEnvValue(config, key, env = process.env) {
401
+ return trimEnvString(env[key]) ?? readConfigEnvValue(config, key);
402
+ }
403
+ function setConfigEnvValue(config, key, value) {
404
+ if (!config.env ||
405
+ typeof config.env !== "object" ||
406
+ Array.isArray(config.env)) {
407
+ config.env = {};
408
+ }
409
+ const configEnv = config.env;
410
+ const vars = getMutableConfigEnvVars(configEnv);
411
+ if (vars) {
412
+ vars[key] = value;
413
+ delete configEnv[key];
414
+ return;
415
+ }
416
+ configEnv[key] = value;
417
+ }
418
+ function deleteConfigEnvValue(config, key) {
419
+ const configEnv = getMutableConfigEnv(config);
420
+ if (!configEnv)
421
+ return;
422
+ const vars = getMutableConfigEnvVars(configEnv);
423
+ if (vars) {
424
+ delete vars[key];
425
+ if (Object.keys(vars).length === 0) {
426
+ delete configEnv.vars;
427
+ }
428
+ }
429
+ delete configEnv[key];
430
+ }
431
+ function detectOpenAiBaseUrlProvider(baseUrl) {
432
+ try {
433
+ const hostname = new URL(baseUrl).hostname.trim().toLowerCase();
434
+ if (hostname === "api.groq.com" || hostname.endsWith(".groq.com")) {
435
+ return "groq";
436
+ }
437
+ }
438
+ catch {
439
+ return null;
440
+ }
441
+ return null;
442
+ }
443
+ function looksLikeGroqApiKey(value) {
444
+ return Boolean(value && /^gsk[-_]/i.test(value));
445
+ }
446
+ function isLikelyOpenAiTextModel(value) {
447
+ if (!value)
448
+ return false;
449
+ const normalized = value.trim().toLowerCase();
450
+ return normalized.startsWith("gpt-") || normalized.startsWith("openai/");
451
+ }
452
+ /**
453
+ * Normalize known-bad provider compatibility shims before plugin resolution.
454
+ *
455
+ * A common failure mode is routing the OpenAI plugin through Groq's
456
+ * OpenAI-compatible base URL while leaving OpenAI defaults (`gpt-5.4`,
457
+ * `gpt-5.4-mini`) in place. Structured XML/object generation then fails during
458
+ * message handling because Groq does not serve those model IDs.
459
+ *
460
+ * When we can confidently detect that state, rewrite the effective runtime
461
+ * config to use the Groq plugin directly.
462
+ */
463
+ /** @internal Exported for testing. */
464
+ export function normalizeOpenAiCompatibleProviderConfig(config, env = process.env) {
465
+ const cloudInferenceEnabled = resolveElizaCloudTopology(config).services.inference;
466
+ if (cloudInferenceEnabled) {
467
+ return false;
468
+ }
469
+ const openaiBaseUrl = readEffectiveEnvValue(config, "OPENAI_BASE_URL", env);
470
+ if (!openaiBaseUrl) {
471
+ return false;
472
+ }
473
+ if (detectOpenAiBaseUrlProvider(openaiBaseUrl) !== "groq") {
474
+ return false;
475
+ }
476
+ const openaiApiKey = readEffectiveEnvValue(config, "OPENAI_API_KEY", env);
477
+ const groqApiKey = readEffectiveEnvValue(config, "GROQ_API_KEY", env);
478
+ const inheritedGroqApiKey = groqApiKey ??
479
+ (looksLikeGroqApiKey(openaiApiKey) ? openaiApiKey : undefined);
480
+ if (!inheritedGroqApiKey) {
481
+ return false;
482
+ }
483
+ const currentGroqSmallModel = readEffectiveEnvValue(config, "GROQ_SMALL_MODEL", env);
484
+ const currentGroqLargeModel = readEffectiveEnvValue(config, "GROQ_LARGE_MODEL", env);
485
+ const currentSharedSmallModel = readEffectiveEnvValue(config, "OPENAI_SMALL_MODEL", env) ??
486
+ readEffectiveEnvValue(config, "SMALL_MODEL", env);
487
+ const currentSharedLargeModel = readEffectiveEnvValue(config, "OPENAI_LARGE_MODEL", env) ??
488
+ readEffectiveEnvValue(config, "LARGE_MODEL", env);
489
+ const normalizedGroqSmallModel = currentGroqSmallModel ??
490
+ (currentSharedSmallModel &&
491
+ !isLikelyOpenAiTextModel(currentSharedSmallModel)
492
+ ? currentSharedSmallModel
493
+ : "llama-3.1-8b-instant");
494
+ const normalizedGroqLargeModel = currentGroqLargeModel ??
495
+ (currentSharedLargeModel &&
496
+ !isLikelyOpenAiTextModel(currentSharedLargeModel)
497
+ ? currentSharedLargeModel
498
+ : "qwen/qwen3-32b");
499
+ env.GROQ_API_KEY = inheritedGroqApiKey;
500
+ env.GROQ_SMALL_MODEL = normalizedGroqSmallModel;
501
+ env.GROQ_LARGE_MODEL = normalizedGroqLargeModel;
502
+ setConfigEnvValue(config, "GROQ_API_KEY", inheritedGroqApiKey);
503
+ setConfigEnvValue(config, "GROQ_SMALL_MODEL", normalizedGroqSmallModel);
504
+ setConfigEnvValue(config, "GROQ_LARGE_MODEL", normalizedGroqLargeModel);
505
+ delete env.OPENAI_BASE_URL;
506
+ deleteConfigEnvValue(config, "OPENAI_BASE_URL");
507
+ const shouldDisableOpenAiKey = !openaiApiKey ||
508
+ openaiApiKey === groqApiKey ||
509
+ looksLikeGroqApiKey(openaiApiKey);
510
+ if (shouldDisableOpenAiKey) {
511
+ delete env.OPENAI_API_KEY;
512
+ deleteConfigEnvValue(config, "OPENAI_API_KEY");
513
+ }
514
+ const primaryModel = trimEnvString(config.agents?.defaults?.model?.primary);
515
+ if (shouldDisableOpenAiKey &&
516
+ primaryModel &&
517
+ (primaryModel.toLowerCase() === "openai" ||
518
+ isLikelyOpenAiTextModel(primaryModel))) {
519
+ config.agents ??= {};
520
+ config.agents.defaults ??= {};
521
+ config.agents.defaults.model = {
522
+ ...config.agents.defaults.model,
523
+ primary: "groq",
524
+ };
525
+ }
526
+ logger.warn("[eliza] Detected Groq routed through OPENAI_BASE_URL; normalizing runtime settings to use @elizaos/plugin-groq");
527
+ return true;
528
+ }
529
+ /** Redact username segments from filesystem paths to avoid leaking user info in logs. */
530
+ function _redactUserSegments(filepath) {
531
+ // Replace /Users/<name>/ or /home/<name>/ with /Users/<redacted>/ etc.
532
+ return filepath.replace(/\/(Users|home)\/[^/]+\//g, "/$1/<redacted>/");
533
+ }
534
+ /**
535
+ * Best-effort runtime shutdown that also closes the database adapter.
536
+ *
537
+ * AgentRuntime.stop() only stops services. plugin-sql keeps a process-global
538
+ * PGlite manager, so restarts must close the adapter or the next runtime can
539
+ * silently reuse the same broken manager instance.
540
+ */
541
+ export async function shutdownRuntime(runtime, context) {
542
+ if (!runtime)
543
+ return;
544
+ const adapter = runtime.adapter;
545
+ let firstError = null;
546
+ try {
547
+ await runtime.stop();
548
+ }
549
+ catch (err) {
550
+ firstError = err;
551
+ logger.warn(`[eliza] ${context}: runtime stop failed: ${formatError(err)}`);
552
+ }
553
+ if (adapter && typeof adapter.close === "function") {
554
+ try {
555
+ await adapter.close();
556
+ }
557
+ catch (err) {
558
+ if (!firstError) {
559
+ firstError = err;
560
+ }
561
+ logger.warn(`[eliza] ${context}: database adapter close failed: ${formatError(err)}`);
562
+ }
563
+ }
564
+ if (firstError) {
565
+ throw firstError;
566
+ }
567
+ }
568
+ /**
569
+ * Remove duplicate actions across an ordered list of plugins.
570
+ *
571
+ * When multiple plugins define an action with the same `name`, only the first
572
+ * occurrence is kept. This prevents "Action already registered" warnings from
573
+ * elizaOS core. The function mutates each plugin's `actions` array in-place.
574
+ */
575
+ export function deduplicatePluginActions(plugins) {
576
+ const seen = new Set();
577
+ for (const plugin of plugins) {
578
+ if (plugin.actions) {
579
+ plugin.actions = plugin.actions.filter((action) => {
580
+ if (seen.has(action.name)) {
581
+ logger.debug(`[eliza] Skipping duplicate action "${action.name}" from plugin "${plugin.name}"`);
582
+ return false;
583
+ }
584
+ seen.add(action.name);
585
+ return true;
586
+ });
587
+ }
588
+ }
589
+ }
590
+ /**
591
+ * Retrieve the AutonomyService from the runtime, returning null if unavailable.
592
+ * Uses a runtime property check to safely narrow the opaque Service return.
593
+ */
594
+ function getAutonomyService(runtime) {
595
+ const svc = runtime.getService("AUTONOMY") ?? runtime.getService("autonomy");
596
+ if (svc &&
597
+ "enableAutonomy" in svc &&
598
+ typeof svc.enableAutonomy === "function") {
599
+ return svc;
600
+ }
601
+ return null;
602
+ }
603
+ async function waitForTrajectoriesService(runtime, context, timeoutMs = 3000) {
604
+ if (!runtimeTrajectoriesEnabled(runtime)) {
605
+ return;
606
+ }
607
+ const runtimeLike = runtime;
608
+ // Check if already available
609
+ if (typeof runtimeLike.getService === "function") {
610
+ const existing = runtimeLike.getService("trajectories");
611
+ if (existing)
612
+ return;
613
+ }
614
+ const registrationStatus = typeof runtimeLike.getServiceRegistrationStatus === "function"
615
+ ? runtimeLike.getServiceRegistrationStatus("trajectories")
616
+ : "unknown";
617
+ if (registrationStatus !== "pending" &&
618
+ registrationStatus !== "registering") {
619
+ return;
620
+ }
621
+ if (typeof runtimeLike.getServiceLoadPromise !== "function")
622
+ return;
623
+ let timedOut = false;
624
+ let timeoutHandle;
625
+ const timeoutPromise = new Promise((resolve) => {
626
+ timeoutHandle = setTimeout(() => {
627
+ timedOut = true;
628
+ resolve();
629
+ }, timeoutMs);
630
+ });
631
+ try {
632
+ await Promise.race([
633
+ runtimeLike.getServiceLoadPromise("trajectories").then(() => { }),
634
+ timeoutPromise,
635
+ ]);
636
+ if (timedOut) {
637
+ logger.debug(`[eliza] trajectories still ${registrationStatus} after ${timeoutMs}ms (${context})`);
638
+ }
639
+ }
640
+ catch (err) {
641
+ logger.debug(`[eliza] trajectories registration failed while waiting (${context}): ${formatError(err)}`);
642
+ }
643
+ finally {
644
+ if (timeoutHandle)
645
+ clearTimeout(timeoutHandle);
646
+ }
647
+ }
648
+ function ensureTrajectoryLoggerEnabled(runtime, context) {
649
+ if (!runtimeTrajectoriesEnabled(runtime)) {
650
+ logger.info(`[eliza] Native trajectories disabled (${context})`);
651
+ return;
652
+ }
653
+ const trajectoryLogger = runtime.getService("trajectories");
654
+ if (!trajectoryLogger) {
655
+ logger.warn(`[eliza] trajectories service unavailable (${context}); trajectory capture disabled`);
656
+ return;
657
+ }
658
+ const isEnabled = typeof trajectoryLogger.isEnabled === "function"
659
+ ? trajectoryLogger.isEnabled()
660
+ : shouldEnableTrajectoryLoggingByDefault();
661
+ const shouldEnable = shouldEnableTrajectoryLoggingByDefault();
662
+ if (isEnabled !== shouldEnable &&
663
+ typeof trajectoryLogger.setEnabled === "function") {
664
+ trajectoryLogger.setEnabled(shouldEnable);
665
+ logger.info(`[eliza] trajectories defaulted ${shouldEnable ? "on" : "off"} (${context})`);
666
+ }
667
+ }
668
+ async function installPromptOptimizationLayer(runtime, context) {
669
+ try {
670
+ const { installPromptOptimizations } = await import("./prompt-optimization.js");
671
+ installPromptOptimizations(runtime);
672
+ }
673
+ catch (err) {
674
+ logger.warn(`[eliza] Failed to install prompt optimizations (${context}): ${err instanceof Error ? err.message : err}`);
675
+ }
676
+ }
677
+ async function prepareRuntimeForTrajectoryCapture(runtime, context) {
678
+ await waitForTrajectoriesService(runtime, context);
679
+ ensureTrajectoryLoggerEnabled(runtime, context);
680
+ await installPromptOptimizationLayer(runtime, context);
681
+ }
682
+ // ---------------------------------------------------------------------------
683
+ // Channel secret mapping
684
+ // ---------------------------------------------------------------------------
685
+ /**
686
+ * Maps Eliza channel config fields to the environment variable names
687
+ * that elizaOS plugins expect.
688
+ *
689
+ * Eliza stores channel credentials under `config.channels.<name>.<field>`,
690
+ * while elizaOS plugins read them from process.env.
691
+ */
692
+ const CHANNEL_ENV_MAP = CONNECTOR_ENV_MAP;
693
+ // ---------------------------------------------------------------------------
694
+ // Plugin resolution
695
+ // ---------------------------------------------------------------------------
696
+ export { CORE_PLUGINS, OPTIONAL_CORE_PLUGINS };
697
+ /**
698
+ * Optional plugins that require native binaries or specific config.
699
+ * These are only loaded when explicitly enabled via features config,
700
+ * NOT by default — they crash if their prerequisites are missing.
701
+ */
702
+ const _OPTIONAL_NATIVE_PLUGINS = [
703
+ "@elizaos/plugin-browser", // requires browser server binary
704
+ "@elizaos/plugin-vision", // requires @tensorflow/tfjs-node native addon
705
+ "@elizaos/plugin-computeruse", // requires platform-specific binaries
706
+ ];
707
+ // CHANNEL_PLUGIN_MAP, PROVIDER_PLUGIN_MAP, and OPTIONAL_PLUGIN_MAP live in
708
+ // ./plugin-collector.ts and are re-exported from this module for backward compatibility.
709
+ // ---------------------------------------------------------------------------
710
+ // Custom / drop-in plugin discovery (moved to plugin-types.ts)
711
+ // ---------------------------------------------------------------------------
712
+ // ---------------------------------------------------------------------------
713
+ // Plugin resolution
714
+ // ---------------------------------------------------------------------------
715
+ // ---------------------------------------------------------------------------
716
+ // Browser server pre-flight
717
+ // ---------------------------------------------------------------------------
718
+ /**
719
+ * Returns true if the given env var key is safe to forward to runtime.settings.
720
+ * Blocks blockchain private keys, secrets, passwords, tokens, credentials,
721
+ * mnemonics, and seed phrases while allowing API keys that plugins need.
722
+ */
723
+ export function isEnvKeyAllowedForForwarding(key) {
724
+ const upper = key.toUpperCase();
725
+ if (upper === "ALLOW_NO_DATABASE")
726
+ return false;
727
+ // Block blockchain private keys
728
+ if (upper.includes("PRIVATE_KEY"))
729
+ return false;
730
+ if (upper.startsWith("EVM_") || upper.startsWith("SOLANA_"))
731
+ return false;
732
+ // Block secrets, passwords, tokens, and seed phrases (but not API_KEY which plugins need)
733
+ if (/(SECRET|PASSWORD|CREDENTIAL|MNEMONIC|SEED_PHRASE)/i.test(key))
734
+ return false;
735
+ if (/(ACCESS_TOKEN|REFRESH_TOKEN|SESSION_TOKEN|AUTH_TOKEN)$/i.test(key))
736
+ return false;
737
+ // Block elizaCloud connection keys — these must only come from config.cloud
738
+ // via applyCloudConfigToEnv(). Forwarding them from config.env.vars into
739
+ // runtime.settings would let a stale env-var shadow the live cloud key that
740
+ // the app sets when the user connects through the UI.
741
+ if (upper === "ELIZAOS_CLOUD_API_KEY" ||
742
+ upper === "ELIZAOS_CLOUD_ENABLED" ||
743
+ upper === "ELIZAOS_CLOUD_BASE_URL" ||
744
+ upper === "ELIZAOS_CLOUD_NANO_MODEL" ||
745
+ upper === "ELIZAOS_CLOUD_MEDIUM_MODEL" ||
746
+ upper === "ELIZAOS_CLOUD_SMALL_MODEL" ||
747
+ upper === "ELIZAOS_CLOUD_LARGE_MODEL" ||
748
+ upper === "ELIZAOS_CLOUD_MEGA_MODEL" ||
749
+ upper === "ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL" ||
750
+ upper === "ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL" ||
751
+ upper === "ELIZAOS_CLOUD_ACTION_PLANNER_MODEL" ||
752
+ upper === "ELIZAOS_CLOUD_PLANNER_MODEL")
753
+ return false;
754
+ return true;
755
+ }
756
+ function assertPersistentDatabaseRequired(runtime) {
757
+ const raw = runtime.getSetting("ALLOW_NO_DATABASE") ?? process.env.ALLOW_NO_DATABASE;
758
+ const normalized = String(raw ?? "")
759
+ .trim()
760
+ .toLowerCase();
761
+ if (normalized === "true" ||
762
+ normalized === "1" ||
763
+ normalized === "yes" ||
764
+ normalized === "on") {
765
+ throw new Error(`Eliza requires persistent database storage and does not permit ALLOW_NO_DATABASE (agent ${runtime.agentId}). Remove ALLOW_NO_DATABASE from config/env and use @elizaos/plugin-sql.`);
766
+ }
767
+ }
768
+ function isElizaCloudManagedProcessEnvKey(key) {
769
+ const upper = key.toUpperCase();
770
+ return (upper === "ELIZAOS_CLOUD_API_KEY" ||
771
+ upper === "ELIZAOS_CLOUD_ENABLED" ||
772
+ upper === "ELIZAOS_CLOUD_BASE_URL" ||
773
+ upper === "ELIZAOS_CLOUD_NANO_MODEL" ||
774
+ upper === "ELIZAOS_CLOUD_MEDIUM_MODEL" ||
775
+ upper === "ELIZAOS_CLOUD_SMALL_MODEL" ||
776
+ upper === "ELIZAOS_CLOUD_LARGE_MODEL" ||
777
+ upper === "ELIZAOS_CLOUD_MEGA_MODEL" ||
778
+ upper === "ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL" ||
779
+ upper === "ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL" ||
780
+ upper === "ELIZAOS_CLOUD_ACTION_PLANNER_MODEL" ||
781
+ upper === "ELIZAOS_CLOUD_PLANNER_MODEL");
782
+ }
783
+ // findPluginBrowserStagehandDir, ensureBrowserServerLink,
784
+ // repairBrokenInstallRecord, resolvePackageEntry — moved to plugin-types.ts
785
+ // ---------------------------------------------------------------------------
786
+ // Config → Character mapping
787
+ // ---------------------------------------------------------------------------
788
+ /**
789
+ * Propagate channel credentials from Eliza config into process.env so
790
+ * that elizaOS plugins can find them.
791
+ */
792
+ /** @internal Exported for testing. */
793
+ export function applyConnectorSecretsToEnv(config) {
794
+ // Prefer config.connectors, fall back to config.channels for backward compatibility
795
+ const connectors = config.connectors ?? config.channels ?? {};
796
+ for (const [channelName, channelConfig] of Object.entries(connectors)) {
797
+ if (!channelConfig || typeof channelConfig !== "object")
798
+ continue;
799
+ const configObj = channelConfig;
800
+ // Discord plugins in the ecosystem use both DISCORD_API_TOKEN and
801
+ // DISCORD_BOT_TOKEN across versions. Mirror to both when available.
802
+ if (channelName === "discord") {
803
+ const tokenValue = (typeof configObj.token === "string" && configObj.token.trim()) ||
804
+ (typeof configObj.botToken === "string" && configObj.botToken.trim()) ||
805
+ "";
806
+ if (tokenValue) {
807
+ process.env.DISCORD_API_TOKEN = tokenValue;
808
+ process.env.DISCORD_BOT_TOKEN = tokenValue;
809
+ }
810
+ }
811
+ const envMap = CHANNEL_ENV_MAP[channelName];
812
+ if (!envMap)
813
+ continue;
814
+ for (const [configField, envKey] of Object.entries(envMap)) {
815
+ const value = configObj[configField];
816
+ if (typeof value === "boolean" || typeof value === "number") {
817
+ process.env[envKey] = String(value);
818
+ }
819
+ else if (typeof value === "string" && value.trim()) {
820
+ process.env[envKey] = value;
821
+ }
822
+ }
823
+ if (channelName === "whatsapp") {
824
+ const allowFrom = configObj.allowFrom;
825
+ if (Array.isArray(allowFrom) && allowFrom.length > 0) {
826
+ const normalized = allowFrom
827
+ .map((value) => String(value).trim())
828
+ .filter(Boolean);
829
+ if (normalized.length > 0) {
830
+ process.env.WHATSAPP_ALLOW_FROM = normalized.join(",");
831
+ }
832
+ }
833
+ const groupAllowFrom = configObj.groupAllowFrom;
834
+ if (Array.isArray(groupAllowFrom) && groupAllowFrom.length > 0) {
835
+ const normalized = groupAllowFrom
836
+ .map((value) => String(value).trim())
837
+ .filter(Boolean);
838
+ if (normalized.length > 0) {
839
+ process.env.WHATSAPP_GROUP_ALLOW_FROM = normalized.join(",");
840
+ }
841
+ }
842
+ const accounts = configObj.accounts;
843
+ if (accounts &&
844
+ typeof accounts === "object" &&
845
+ !Array.isArray(accounts)) {
846
+ const firstEnabledAccount = Object.values(accounts).find((account) => {
847
+ if (!account ||
848
+ typeof account !== "object" ||
849
+ Array.isArray(account)) {
850
+ return false;
851
+ }
852
+ const candidate = account;
853
+ return (candidate.enabled !== false && typeof candidate.authDir === "string");
854
+ });
855
+ if (firstEnabledAccount &&
856
+ typeof firstEnabledAccount.authDir === "string" &&
857
+ firstEnabledAccount.authDir.trim()) {
858
+ process.env.WHATSAPP_AUTH_DIR = firstEnabledAccount.authDir.trim();
859
+ }
860
+ }
861
+ }
862
+ }
863
+ }
864
+ /**
865
+ * Auto-resolve Discord Application ID from the bot token via Discord API.
866
+ * Called during async runtime init so that users only need a bot token.
867
+ */
868
+ /** @internal Exported for testing. */
869
+ export async function autoResolveDiscordAppId() {
870
+ if (process.env.DISCORD_APPLICATION_ID)
871
+ return;
872
+ const discordToken = process.env.DISCORD_API_TOKEN || process.env.DISCORD_BOT_TOKEN;
873
+ if (!discordToken)
874
+ return;
875
+ try {
876
+ const res = await fetch("https://discord.com/api/v10/oauth2/applications/@me", { headers: { Authorization: `Bot ${discordToken}` } });
877
+ if (!res.ok) {
878
+ logger.warn(`[eliza] Failed to auto-resolve Discord Application ID: ${res.status}`);
879
+ return;
880
+ }
881
+ const app = (await res.json());
882
+ if (!app.id)
883
+ return;
884
+ process.env.DISCORD_APPLICATION_ID = app.id;
885
+ logger.info(`[eliza] Auto-resolved Discord Application ID: ${app.id}`);
886
+ }
887
+ catch (err) {
888
+ logger.warn(`[eliza] Could not auto-resolve Discord Application ID: ${err}`);
889
+ }
890
+ }
891
+ /**
892
+ * Fetch GitHub OAuth token from cloud if available and no local token is set.
893
+ * Called during async runtime init after cloud config is applied.
894
+ *
895
+ * Flow: If the agent has a managed GitHub connection in the cloud, and no
896
+ * local GITHUB_TOKEN is set, fetch the OAuth token from the cloud API and
897
+ * inject it into process.env so plugins (plugin-github, git-workspace-service)
898
+ * can use it for API calls and git credential helpers.
899
+ */
900
+ /** @internal Exported for testing. */
901
+ export async function autoFetchCloudGithubToken(agentId) {
902
+ // Skip if a local token is already configured
903
+ if (process.env.GITHUB_TOKEN || process.env.GITHUB_PAT)
904
+ return;
905
+ // Need cloud credentials and an agent ID
906
+ const cloudApiKey = process.env.ELIZAOS_CLOUD_API_KEY?.trim();
907
+ const cloudBaseUrl = process.env.ELIZAOS_CLOUD_BASE_URL?.trim() || "https://api.elizacloud.ai";
908
+ if (!cloudApiKey || !agentId)
909
+ return;
910
+ const managedNs = process.env.ELIZA_CLOUD_MANAGED_AGENTS_API_SEGMENT?.trim();
911
+ if (!managedNs)
912
+ return;
913
+ try {
914
+ const url = `${cloudBaseUrl}/api/v1/${managedNs}/agents/${encodeURIComponent(agentId)}/github/token`;
915
+ const res = await fetch(url, {
916
+ headers: {
917
+ Authorization: `Bearer ${cloudApiKey}`,
918
+ Accept: "application/json",
919
+ },
920
+ signal: AbortSignal.timeout(10_000),
921
+ });
922
+ if (!res.ok) {
923
+ // 404 = no GitHub connection for this agent, which is fine
924
+ if (res.status !== 404) {
925
+ logger.warn(`[eliza] Failed to fetch cloud GitHub token: ${res.status}`);
926
+ }
927
+ return;
928
+ }
929
+ const body = (await res.json());
930
+ if (!body.success || !body.data?.accessToken)
931
+ return;
932
+ process.env.GITHUB_TOKEN = body.data.accessToken;
933
+ logger.info(`[eliza] Fetched GitHub token from cloud for @${body.data.githubUsername || "unknown"}`);
934
+ }
935
+ catch (err) {
936
+ logger.warn(`[eliza] Could not fetch cloud GitHub token: ${err}`);
937
+ }
938
+ }
939
+ /**
940
+ * Propagate cloud config from Eliza config into process.env so the
941
+ * ElizaCloud plugin can discover settings at startup.
942
+ */
943
+ /** @internal Exported for testing. */
944
+ export function applyCloudConfigToEnv(config) {
945
+ migrateLegacyRuntimeConfig(config);
946
+ const cloud = config.cloud;
947
+ const isCloudContainer = process.env.ELIZA_CLOUD_PROVISIONED === "1";
948
+ if (!cloud && !isCloudContainer)
949
+ return;
950
+ const topology = resolveElizaCloudTopology(config);
951
+ // Cloud inference is selected from the canonical onboarding connection, not
952
+ // just from raw cloud flags. This keeps linked cloud auth from re-enabling
953
+ // Eliza Cloud after the user has switched to a local or remote provider.
954
+ const effectivelyEnabled = topology.services.inference || isCloudContainer;
955
+ const shouldLoadCloudPlugin = topology.shouldLoadPlugin || isCloudContainer;
956
+ const setCloudUsageEnv = (key, enabled) => {
957
+ if (enabled) {
958
+ process.env[key] = "true";
959
+ }
960
+ else {
961
+ delete process.env[key];
962
+ }
963
+ };
964
+ if (isElizaSettingsDebugEnabled()) {
965
+ const c = (cloud ?? {});
966
+ logger.debug(`[eliza][settings][runtime] applyCloudConfigToEnv inference=${effectivelyEnabled} shouldLoadPlugin=${shouldLoadCloudPlugin} isCloudContainer=${isCloudContainer} cloud=${JSON.stringify(settingsDebugCloudSummary(c))}`);
967
+ }
968
+ setCloudUsageEnv("ELIZAOS_CLOUD_USE_INFERENCE", effectivelyEnabled);
969
+ setCloudUsageEnv("ELIZAOS_CLOUD_USE_TTS", topology.services.tts || isCloudContainer);
970
+ setCloudUsageEnv("ELIZAOS_CLOUD_USE_MEDIA", topology.services.media);
971
+ setCloudUsageEnv("ELIZAOS_CLOUD_USE_EMBEDDINGS", topology.services.embeddings);
972
+ setCloudUsageEnv("ELIZAOS_CLOUD_USE_RPC", topology.services.rpc);
973
+ if (effectivelyEnabled) {
974
+ process.env.ELIZAOS_CLOUD_ENABLED = "true";
975
+ }
976
+ else {
977
+ delete process.env.ELIZAOS_CLOUD_ENABLED;
978
+ }
979
+ if (shouldLoadCloudPlugin) {
980
+ logger.info(`[eliza] Cloud config: inference=${topology.services.inference}, runtime=${topology.runtime}, hasApiKey=${Boolean(cloud?.apiKey || process.env.ELIZAOS_CLOUD_API_KEY)}, baseUrl=${cloud?.baseUrl ?? "(default)"}, isCloudContainer=${isCloudContainer}`);
981
+ // Only propagate the API key when cloud is enabled AND it is a real
982
+ // credential — never set the literal "[REDACTED]" placeholder (which can
983
+ // leak into the config via UI round-trips through the redacted GET → PUT
984
+ // cycle). WHY: when enabled is false (BYOK / disconnected), leaving the key
985
+ // in process.env still auto-loads @elizaos/plugin-elizacloud and steals
986
+ // TEXT_LARGE even if the JSON says cloud is off.
987
+ const isRealApiKey = cloud?.apiKey && cloud.apiKey.trim().toUpperCase() !== "[REDACTED]";
988
+ if (isRealApiKey) {
989
+ process.env.ELIZAOS_CLOUD_API_KEY = cloud.apiKey;
990
+ }
991
+ else if (!isCloudContainer) {
992
+ delete process.env.ELIZAOS_CLOUD_API_KEY;
993
+ }
994
+ if (cloud?.baseUrl) {
995
+ process.env.ELIZAOS_CLOUD_BASE_URL = cloud.baseUrl;
996
+ }
997
+ else if (!isCloudContainer) {
998
+ delete process.env.ELIZAOS_CLOUD_BASE_URL;
999
+ }
1000
+ }
1001
+ else {
1002
+ delete process.env.ELIZAOS_CLOUD_NANO_MODEL;
1003
+ delete process.env.ELIZAOS_CLOUD_MEDIUM_MODEL;
1004
+ delete process.env.ELIZAOS_CLOUD_SMALL_MODEL;
1005
+ delete process.env.ELIZAOS_CLOUD_LARGE_MODEL;
1006
+ delete process.env.ELIZAOS_CLOUD_MEGA_MODEL;
1007
+ delete process.env.ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL;
1008
+ delete process.env.ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL;
1009
+ delete process.env.ELIZAOS_CLOUD_ACTION_PLANNER_MODEL;
1010
+ delete process.env.ELIZAOS_CLOUD_PLANNER_MODEL;
1011
+ delete process.env.ELIZAOS_CLOUD_API_KEY;
1012
+ delete process.env.ELIZAOS_CLOUD_BASE_URL;
1013
+ }
1014
+ // Propagate model names so the cloud plugin picks them up. Falls back to
1015
+ // sensible defaults when cloud is enabled but no explicit selection exists.
1016
+ // Skip when inferenceMode is "byok"/"local" or services.inference is off —
1017
+ // user's own keys handle models.
1018
+ // If the user chose a subscription provider, treat that as "byok" unless
1019
+ // they explicitly set inferenceMode to "cloud".
1020
+ const llmText = resolveServiceRoutingInConfig(config)?.llmText;
1021
+ const models = config.models;
1022
+ if (effectivelyEnabled) {
1023
+ const nano = llmText?.nanoModel || models?.nano || "openai/gpt-5.4-nano";
1024
+ const small = llmText?.smallModel || models?.small || "minimax/minimax-m2.7";
1025
+ const medium = llmText?.mediumModel || models?.medium || small;
1026
+ const large = llmText?.largeModel || models?.large || "anthropic/claude-sonnet-4.6";
1027
+ const mega = llmText?.megaModel || models?.mega || large;
1028
+ const responseHandlerModel = llmText?.responseHandlerModel || llmText?.shouldRespondModel;
1029
+ const actionPlannerModel = llmText?.actionPlannerModel || llmText?.plannerModel;
1030
+ process.env.SMALL_MODEL = small;
1031
+ process.env.NANO_MODEL = nano;
1032
+ process.env.MEDIUM_MODEL = medium;
1033
+ process.env.LARGE_MODEL = large;
1034
+ process.env.MEGA_MODEL = mega;
1035
+ if (responseHandlerModel) {
1036
+ process.env.ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL = responseHandlerModel;
1037
+ process.env.ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL = responseHandlerModel;
1038
+ }
1039
+ else {
1040
+ delete process.env.ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL;
1041
+ delete process.env.ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL;
1042
+ }
1043
+ if (actionPlannerModel) {
1044
+ process.env.ELIZAOS_CLOUD_ACTION_PLANNER_MODEL = actionPlannerModel;
1045
+ process.env.ELIZAOS_CLOUD_PLANNER_MODEL = actionPlannerModel;
1046
+ }
1047
+ else {
1048
+ delete process.env.ELIZAOS_CLOUD_ACTION_PLANNER_MODEL;
1049
+ delete process.env.ELIZAOS_CLOUD_PLANNER_MODEL;
1050
+ }
1051
+ process.env.ELIZAOS_CLOUD_NANO_MODEL = nano;
1052
+ process.env.ELIZAOS_CLOUD_MEDIUM_MODEL = medium;
1053
+ process.env.ELIZAOS_CLOUD_SMALL_MODEL = small;
1054
+ process.env.ELIZAOS_CLOUD_LARGE_MODEL = large;
1055
+ process.env.ELIZAOS_CLOUD_MEGA_MODEL = mega;
1056
+ }
1057
+ else if (shouldLoadCloudPlugin) {
1058
+ // Cloud plugin may still be active for non-inference services; keep model
1059
+ // routing local by clearing the cloud model aliases.
1060
+ delete process.env.ELIZAOS_CLOUD_NANO_MODEL;
1061
+ delete process.env.ELIZAOS_CLOUD_MEDIUM_MODEL;
1062
+ delete process.env.ELIZAOS_CLOUD_SMALL_MODEL;
1063
+ delete process.env.ELIZAOS_CLOUD_LARGE_MODEL;
1064
+ delete process.env.ELIZAOS_CLOUD_MEGA_MODEL;
1065
+ delete process.env.ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL;
1066
+ delete process.env.ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL;
1067
+ delete process.env.ELIZAOS_CLOUD_ACTION_PLANNER_MODEL;
1068
+ delete process.env.ELIZAOS_CLOUD_PLANNER_MODEL;
1069
+ delete process.env.NANO_MODEL;
1070
+ delete process.env.MEDIUM_MODEL;
1071
+ delete process.env.SMALL_MODEL;
1072
+ delete process.env.LARGE_MODEL;
1073
+ delete process.env.MEGA_MODEL;
1074
+ }
1075
+ // Propagate per-service disable flags so downstream code can check them
1076
+ // without needing direct access to the ElizaConfig object.
1077
+ if (!topology.services.tts) {
1078
+ process.env.ELIZA_CLOUD_TTS_DISABLED = "true";
1079
+ }
1080
+ else {
1081
+ delete process.env.ELIZA_CLOUD_TTS_DISABLED;
1082
+ }
1083
+ if (!topology.services.media) {
1084
+ process.env.ELIZA_CLOUD_MEDIA_DISABLED = "true";
1085
+ }
1086
+ else {
1087
+ delete process.env.ELIZA_CLOUD_MEDIA_DISABLED;
1088
+ }
1089
+ if (!topology.services.embeddings) {
1090
+ process.env.ELIZA_CLOUD_EMBEDDINGS_DISABLED = "true";
1091
+ }
1092
+ else {
1093
+ delete process.env.ELIZA_CLOUD_EMBEDDINGS_DISABLED;
1094
+ }
1095
+ if (!topology.services.rpc) {
1096
+ process.env.ELIZA_CLOUD_RPC_DISABLED = "true";
1097
+ }
1098
+ else {
1099
+ delete process.env.ELIZA_CLOUD_RPC_DISABLED;
1100
+ }
1101
+ }
1102
+ /**
1103
+ * Translate `config.database` into the environment variables that
1104
+ * `@elizaos/plugin-sql` reads at init time (`POSTGRES_URL`, `PGLITE_DATA_DIR`).
1105
+ *
1106
+ * When the provider is "postgres", we build a connection string from the
1107
+ * credentials (or use the explicit `connectionString` field) and set
1108
+ * `POSTGRES_URL`. When the provider is "pglite" (the default), we set
1109
+ * `PGLITE_DATA_DIR` to either the configured value or the resolved default
1110
+ * workspace (`<workspace>/.eliza/.elizadb`) and remove any stale
1111
+ * `POSTGRES_URL`.
1112
+ */
1113
+ /** @internal Exported for testing. */
1114
+ export function applyX402ConfigToEnv(config) {
1115
+ const x402 = config.x402;
1116
+ if (!x402?.enabled)
1117
+ return;
1118
+ if (!process.env.X402_ENABLED)
1119
+ process.env.X402_ENABLED = "true";
1120
+ if (x402.apiKey && !process.env.X402_API_KEY)
1121
+ process.env.X402_API_KEY = x402.apiKey;
1122
+ if (x402.baseUrl && !process.env.X402_BASE_URL)
1123
+ process.env.X402_BASE_URL = x402.baseUrl;
1124
+ }
1125
+ /**
1126
+ * Resolve N8N_HOST + N8N_API_KEY for @elizaos/plugin-n8n-workflow.
1127
+ *
1128
+ * Precedence:
1129
+ * 1. Existing process.env values (user override) — respected as-is.
1130
+ * 2. Eliza Cloud authenticated (cloud.apiKey present AND cloud.enabled !== false):
1131
+ * N8N_HOST = `${cloudBaseUrl}/api/v1/agents/${agentId}/n8n`
1132
+ * N8N_API_KEY = cloud.apiKey
1133
+ * 3. Local sidecar — the sidecar lifecycle writes `config.n8n.host` and
1134
+ * `config.n8n.apiKey` when it reaches "ready". We pump those into
1135
+ * process.env here when cloud did not fire. The authoritative shape is
1136
+ * `N8nConfig` in types.eliza.ts.
1137
+ * 4. Otherwise: leave unset. The plugin's init() no-ops without credentials.
1138
+ *
1139
+ * Called from startEliza() after applyCloudConfigToEnv so cloud settings are
1140
+ * already reflected in process.env.
1141
+ *
1142
+ * @internal Exported for testing.
1143
+ */
1144
+ export function applyN8nConfigToEnv(config, agentId) {
1145
+ // 1. Respect existing process.env overrides.
1146
+ if (process.env.N8N_HOST && process.env.N8N_API_KEY)
1147
+ return;
1148
+ // Master gate — when config.n8n.enabled is false, do not pump anything.
1149
+ if (config.n8n?.enabled === false)
1150
+ return;
1151
+ const cloud = config.cloud;
1152
+ const cloudAuthed = Boolean(cloud?.apiKey) && cloud?.enabled !== false;
1153
+ if (cloudAuthed && cloud?.apiKey) {
1154
+ const rawBase = cloud.baseUrl ?? "https://www.elizacloud.ai";
1155
+ // Strip trailing /api/v1 (or /api/v1/) plus any trailing slashes so we can
1156
+ // build `${siteUrl}/api/v1/agents/${agentId}/n8n` without duplication.
1157
+ const siteUrl = rawBase.replace(/\/api\/v1\/?$/, "").replace(/\/+$/, "");
1158
+ const gateway = `${siteUrl}/api/v1/agents/${agentId}/n8n`;
1159
+ if (!process.env.N8N_HOST)
1160
+ process.env.N8N_HOST = gateway;
1161
+ if (!process.env.N8N_API_KEY)
1162
+ process.env.N8N_API_KEY = cloud.apiKey;
1163
+ return;
1164
+ }
1165
+ // 2. Local sidecar path — the sidecar populates `config.n8n.host` and
1166
+ // `config.n8n.apiKey` (authoritative N8nConfig shape) when it reaches
1167
+ // "ready". Surface those to process.env for the plugin.
1168
+ const n8n = config.n8n;
1169
+ if (n8n?.host && n8n?.apiKey) {
1170
+ if (!process.env.N8N_HOST)
1171
+ process.env.N8N_HOST = n8n.host;
1172
+ if (!process.env.N8N_API_KEY)
1173
+ process.env.N8N_API_KEY = n8n.apiKey;
1174
+ return;
1175
+ }
1176
+ // 3. Fallback — leave unset. Legacy `config.env.vars` entries (N8N_HOST /
1177
+ // N8N_API_KEY) still flow through the generic env-var pump in startEliza.
1178
+ }
1179
+ function resolveDefaultPgliteDataDir(config) {
1180
+ const workspaceDir = config.agents?.defaults?.workspace ?? resolveDefaultAgentWorkspaceDir();
1181
+ return path.join(resolveUserPath(workspaceDir), ".eliza", ".elizadb");
1182
+ }
1183
+ /** @internal Exported for testing. */
1184
+ export function applyDatabaseConfigToEnv(config) {
1185
+ const db = config.database;
1186
+ const provider = db?.provider ?? "pglite";
1187
+ if (provider === "postgres" && db?.postgres) {
1188
+ const pg = db.postgres;
1189
+ let url = pg.connectionString;
1190
+ if (!url) {
1191
+ const host = pg.host ?? "localhost";
1192
+ const port = pg.port ?? 5432;
1193
+ const user = encodeURIComponent(pg.user ?? "postgres");
1194
+ const password = pg.password ? encodeURIComponent(pg.password) : "";
1195
+ const database = pg.database ?? "postgres";
1196
+ const auth = password ? `${user}:${password}` : user;
1197
+ const sslParam = pg.ssl ? "?sslmode=require" : "";
1198
+ url = `postgresql://${auth}@${host}:${port}/${database}${sslParam}`;
1199
+ }
1200
+ process.env.POSTGRES_URL = url;
1201
+ // Clear PGLite dir so plugin-sql does not fall back to PGLite
1202
+ delete process.env.PGLITE_DATA_DIR;
1203
+ }
1204
+ else {
1205
+ // PGLite mode (default): ensure no leftover POSTGRES_URL and pin
1206
+ // PGLite to the workspace path unless overridden by config/env.
1207
+ delete process.env.POSTGRES_URL;
1208
+ const configuredDataDir = db?.pglite?.dataDir?.trim();
1209
+ if (configuredDataDir) {
1210
+ process.env.PGLITE_DATA_DIR = resolveUserPath(configuredDataDir);
1211
+ // Fall through to directory creation below instead of returning early
1212
+ }
1213
+ const envDataDir = process.env.PGLITE_DATA_DIR?.trim();
1214
+ if (!envDataDir) {
1215
+ process.env.PGLITE_DATA_DIR = resolveDefaultPgliteDataDir(config);
1216
+ }
1217
+ // Ensure the PGlite data directory exists before init so PGlite does
1218
+ // not silently fall back to in-memory mode on first run.
1219
+ const dataDir = process.env.PGLITE_DATA_DIR;
1220
+ if (dataDir) {
1221
+ const alreadyExisted = existsSync(dataDir);
1222
+ mkdirSync(dataDir, { recursive: true });
1223
+ logger.info(`[eliza] PGlite data dir: ${dataDir} (${alreadyExisted ? "existed" : "created"})`);
1224
+ // Remove stale postmaster.pid left by a crashed process. Without this,
1225
+ // PGlite sees the lock and either fails or, with explicit destructive
1226
+ // recovery enabled, triggers the resetPgliteDataDir path.
1227
+ cleanStalePglitePid(dataDir);
1228
+ }
1229
+ }
1230
+ }
1231
+ function reconcilePglitePidFile(dataDir) {
1232
+ const pidPath = path.join(dataDir, "postmaster.pid");
1233
+ if (!existsSync(pidPath))
1234
+ return "missing";
1235
+ try {
1236
+ const content = readFileSync(pidPath, "utf-8");
1237
+ const firstLine = content.split("\n")[0]?.trim();
1238
+ const pid = parseInt(firstLine, 10);
1239
+ if (Number.isNaN(pid) || pid <= 0) {
1240
+ // Malformed pid file — remove it
1241
+ unlinkSync(pidPath);
1242
+ logger.info(`[eliza] Removed malformed PGlite postmaster.pid`);
1243
+ return "cleared-malformed";
1244
+ }
1245
+ // Check if the process is still alive
1246
+ try {
1247
+ process.kill(pid, 0); // signal 0 = existence check, doesn't kill
1248
+ // Process exists — pid file is NOT stale, leave it alone
1249
+ logger.info(`[eliza] PGlite postmaster.pid references running process ${pid} — leaving intact`);
1250
+ return "active";
1251
+ }
1252
+ catch (killErr) {
1253
+ const code = killErr.code;
1254
+ if (code === "ESRCH") {
1255
+ // Process doesn't exist — stale pid file, safe to remove
1256
+ unlinkSync(pidPath);
1257
+ logger.info(`[eliza] Removed stale PGlite postmaster.pid (process ${pid} not running)`);
1258
+ return "cleared-stale";
1259
+ }
1260
+ else {
1261
+ // EPERM or other — process may be alive under a different user,
1262
+ // leave the file alone to avoid data directory corruption
1263
+ logger.warn(`[eliza] Cannot confirm postmaster.pid staleness (${code}) — leaving intact`);
1264
+ return "active-unconfirmed";
1265
+ }
1266
+ }
1267
+ }
1268
+ catch (err) {
1269
+ logger.warn(`[eliza] Failed to check PGlite postmaster.pid: ${formatError(err)}`);
1270
+ return "check-failed";
1271
+ }
1272
+ }
1273
+ /**
1274
+ * Check for and remove a stale postmaster.pid in the PGlite data directory.
1275
+ * The pid file is stale if the recorded process is no longer running.
1276
+ */
1277
+ export function cleanStalePglitePid(dataDir) {
1278
+ try {
1279
+ reconcilePglitePidFile(dataDir);
1280
+ }
1281
+ catch (err) {
1282
+ logger.warn(`[eliza] PGlite PID reconciliation failed: ${err}`);
1283
+ }
1284
+ }
1285
+ function collectErrorMessages(err) {
1286
+ const messages = [];
1287
+ const seen = new Set();
1288
+ let current = err;
1289
+ while (current && !seen.has(current)) {
1290
+ seen.add(current);
1291
+ if (typeof current === "string") {
1292
+ messages.push(current);
1293
+ break;
1294
+ }
1295
+ if (current instanceof Error) {
1296
+ if (current.message)
1297
+ messages.push(current.message);
1298
+ if (current.stack)
1299
+ messages.push(current.stack);
1300
+ current = current.cause;
1301
+ continue;
1302
+ }
1303
+ if (typeof current === "object") {
1304
+ const maybeErr = current;
1305
+ if (typeof maybeErr.message === "string" && maybeErr.message) {
1306
+ messages.push(maybeErr.message);
1307
+ }
1308
+ if (maybeErr.cause !== undefined) {
1309
+ current = maybeErr.cause;
1310
+ continue;
1311
+ }
1312
+ }
1313
+ break;
1314
+ }
1315
+ return messages;
1316
+ }
1317
+ function isPgliteLockError(err) {
1318
+ const haystack = collectErrorMessages(err).join("\n").toLowerCase();
1319
+ if (!haystack)
1320
+ return false;
1321
+ const hasPglite = haystack.includes("pglite");
1322
+ const hasSqlite = haystack.includes("sqlite");
1323
+ const hasLockSignal = haystack.includes("database is locked") ||
1324
+ haystack.includes("lock file already exists");
1325
+ return hasLockSignal && (hasPglite || hasSqlite);
1326
+ }
1327
+ /** @internal Exported for testing. */
1328
+ export function isRecoverablePgliteInitError(err) {
1329
+ const code = getPgliteErrorCode(err);
1330
+ if (code === PGLITE_ERROR_CODES.ACTIVE_LOCK ||
1331
+ code === PGLITE_ERROR_CODES.CORRUPT_DATA ||
1332
+ code === PGLITE_ERROR_CODES.MANUAL_RESET_REQUIRED) {
1333
+ return true;
1334
+ }
1335
+ const haystack = collectErrorMessages(err).join("\n").toLowerCase();
1336
+ if (!haystack)
1337
+ return false;
1338
+ const hasAbort = haystack.includes("aborted(). build with -sassertions");
1339
+ const hasPglite = haystack.includes("pglite");
1340
+ const _hasSqlite = haystack.includes("sqlite");
1341
+ const hasMigrationsSchema = haystack.includes("create schema if not exists migrations") ||
1342
+ haystack.includes("failed query: create schema if not exists migrations");
1343
+ const hasRecoverableStorageSignal = [
1344
+ "database disk image is malformed",
1345
+ "file is not a database",
1346
+ "malformed database schema",
1347
+ "database is locked",
1348
+ "lock file already exists",
1349
+ "wal file",
1350
+ "checkpoint failed",
1351
+ "checksum mismatch",
1352
+ "corrupt",
1353
+ "could not read blocks",
1354
+ "read only ",
1355
+ "unreachable code should not be executed",
1356
+ "_pgl_backend",
1357
+ ].some((needle) => haystack.includes(needle));
1358
+ if (hasMigrationsSchema)
1359
+ return true;
1360
+ if (hasAbort && hasPglite)
1361
+ return true;
1362
+ if (hasRecoverableStorageSignal)
1363
+ return true;
1364
+ return false;
1365
+ }
1366
+ /** @internal Exported for testing. */
1367
+ export function getPgliteRecoveryAction(err, dataDir) {
1368
+ const code = getPgliteErrorCode(err);
1369
+ if (code === PGLITE_ERROR_CODES.ACTIVE_LOCK) {
1370
+ return "fail-active-lock";
1371
+ }
1372
+ if (code === PGLITE_ERROR_CODES.CORRUPT_DATA ||
1373
+ code === PGLITE_ERROR_CODES.MANUAL_RESET_REQUIRED) {
1374
+ return "fail-manual-reset";
1375
+ }
1376
+ if (!isRecoverablePgliteInitError(err))
1377
+ return "none";
1378
+ const pidStatus = reconcilePglitePidFile(dataDir);
1379
+ const treatPidAsActiveLock = code === PGLITE_ERROR_CODES.ACTIVE_LOCK || isPgliteLockError(err);
1380
+ if ((treatPidAsActiveLock && pidStatus === "active") ||
1381
+ (treatPidAsActiveLock && pidStatus === "active-unconfirmed") ||
1382
+ (treatPidAsActiveLock && pidStatus === "check-failed")) {
1383
+ return "fail-active-lock";
1384
+ }
1385
+ if (pidStatus === "cleared-stale" || pidStatus === "cleared-malformed") {
1386
+ return "retry-without-reset";
1387
+ }
1388
+ return "fail-manual-reset";
1389
+ }
1390
+ function createActivePgliteLockError(dataDir, err) {
1391
+ if (getPgliteErrorCode(err) === PGLITE_ERROR_CODES.ACTIVE_LOCK &&
1392
+ err instanceof Error) {
1393
+ return err;
1394
+ }
1395
+ return createPgliteInitError(PGLITE_ERROR_CODES.ACTIVE_LOCK, `PGLite data dir is already in use at ${dataDir}. Close the other Eliza or Eliza process, or set a different PGLITE_DATA_DIR before retrying.`, { cause: err, dataDir });
1396
+ }
1397
+ function formatPgliteFailure(err) {
1398
+ return collectErrorMessages(err)[0] ?? formatError(err);
1399
+ }
1400
+ function createManualResetRequiredPgliteError(dataDir, err) {
1401
+ if (getPgliteErrorCode(err) === PGLITE_ERROR_CODES.MANUAL_RESET_REQUIRED &&
1402
+ err instanceof Error) {
1403
+ return err;
1404
+ }
1405
+ const errorText = formatPgliteFailure(err);
1406
+ const cause = getPgliteErrorCode(err) === PGLITE_ERROR_CODES.CORRUPT_DATA
1407
+ ? err
1408
+ : createPgliteInitError(PGLITE_ERROR_CODES.CORRUPT_DATA, `PGlite data dir at ${dataDir} appears corrupt or unreadable: ${errorText}`, { cause: err, dataDir });
1409
+ return createPgliteInitError(PGLITE_ERROR_CODES.MANUAL_RESET_REQUIRED, `PGlite initialization failed for ${dataDir}: ${errorText}. Stop Eliza, then rename or delete only this directory before retrying: ${dataDir}`, { cause, dataDir });
1410
+ }
1411
+ export function isFatalPgliteStartupError(err) {
1412
+ const code = getPgliteErrorCode(err);
1413
+ return (code === PGLITE_ERROR_CODES.ACTIVE_LOCK ||
1414
+ code === PGLITE_ERROR_CODES.CORRUPT_DATA ||
1415
+ code === PGLITE_ERROR_CODES.MANUAL_RESET_REQUIRED);
1416
+ }
1417
+ function resolveActivePgliteDataDir(config) {
1418
+ const provider = config.database?.provider ?? "pglite";
1419
+ if (provider === "postgres")
1420
+ return null;
1421
+ const configured = process.env.PGLITE_DATA_DIR?.trim();
1422
+ const dataDir = configured || resolveDefaultPgliteDataDir(config);
1423
+ return resolveUserPath(dataDir);
1424
+ }
1425
+ /** Call whichever init method the adapter exposes (.init or .initialize). */
1426
+ async function callAdapterInit(adapter) {
1427
+ const fn = "init" in adapter &&
1428
+ typeof adapter.init === "function"
1429
+ ? adapter.init
1430
+ : adapter.initialize;
1431
+ if (typeof fn === "function")
1432
+ await fn.call(adapter);
1433
+ }
1434
+ async function initializeDatabaseAdapter(runtime, config) {
1435
+ if (!runtime.adapter || (await runtime.adapter.isReady()))
1436
+ return;
1437
+ try {
1438
+ await callAdapterInit(runtime.adapter);
1439
+ logger.info("[eliza] Database adapter initialized early (before plugin inits)");
1440
+ }
1441
+ catch (err) {
1442
+ const pgliteDataDir = resolveActivePgliteDataDir(config);
1443
+ if (!pgliteDataDir) {
1444
+ throw err;
1445
+ }
1446
+ const recoveryAction = getPgliteRecoveryAction(err, pgliteDataDir);
1447
+ if (recoveryAction === "none") {
1448
+ throw err;
1449
+ }
1450
+ if (recoveryAction === "fail-active-lock") {
1451
+ throw createActivePgliteLockError(pgliteDataDir, err);
1452
+ }
1453
+ if (recoveryAction === "fail-manual-reset") {
1454
+ throw createManualResetRequiredPgliteError(pgliteDataDir, err);
1455
+ }
1456
+ logger.warn(`[eliza] PGLite init failed (${formatError(err)}). Cleared a stale PGLite lock in ${pgliteDataDir} and retrying without resetting data.`);
1457
+ await callAdapterInit(runtime.adapter);
1458
+ logger.info("[eliza] Database adapter recovered after clearing a stale PGLite lock");
1459
+ }
1460
+ // Health check: verify PGlite data directory has files after init.
1461
+ // Runs on BOTH the happy path and the recovery path.
1462
+ await verifyPgliteDataDir(config);
1463
+ }
1464
+ /**
1465
+ * Verify PGlite data directory contains files after init.
1466
+ * Warns if the directory is empty (suggests ephemeral/in-memory fallback).
1467
+ */
1468
+ async function verifyPgliteDataDir(config) {
1469
+ const pgliteDataDir = resolveActivePgliteDataDir(config);
1470
+ if (!pgliteDataDir || !existsSync(pgliteDataDir))
1471
+ return;
1472
+ try {
1473
+ const files = await fs.readdir(pgliteDataDir);
1474
+ logger.info(`[eliza] PGlite health check: ${files.length} file(s) in ${pgliteDataDir}`);
1475
+ if (files.length === 0) {
1476
+ logger.warn(`[eliza] PGlite data directory is empty after init — data may not persist across restarts`);
1477
+ }
1478
+ }
1479
+ catch (err) {
1480
+ logger.warn(`[eliza] PGlite health check failed: ${formatError(err)}`);
1481
+ }
1482
+ }
1483
+ function isPluginAlreadyRegisteredError(err) {
1484
+ return formatError(err).toLowerCase().includes("already registered");
1485
+ }
1486
+ function getConstraintName(error) {
1487
+ if (!error || typeof error !== "object")
1488
+ return null;
1489
+ const err = error;
1490
+ if (typeof err.constraint === "string" && err.constraint.length > 0) {
1491
+ return err.constraint;
1492
+ }
1493
+ if (err.cause)
1494
+ return getConstraintName(err.cause);
1495
+ return null;
1496
+ }
1497
+ function isComponentsWorldFkViolation(error) {
1498
+ return getConstraintName(error) === "components_world_id_worlds_id_fk";
1499
+ }
1500
+ function toErrorDetails(error, depth = 0) {
1501
+ if (!error || typeof error !== "object") {
1502
+ return { value: String(error) };
1503
+ }
1504
+ const err = error;
1505
+ const details = {};
1506
+ for (const key of [
1507
+ "name",
1508
+ "message",
1509
+ "code",
1510
+ "detail",
1511
+ "hint",
1512
+ "constraint",
1513
+ "schema",
1514
+ "table",
1515
+ "column",
1516
+ "where",
1517
+ ]) {
1518
+ const value = err[key];
1519
+ if (typeof value === "string" || typeof value === "number") {
1520
+ details[key] = value;
1521
+ }
1522
+ }
1523
+ if (depth < 2 && err.cause) {
1524
+ details.cause = toErrorDetails(err.cause, depth + 1);
1525
+ }
1526
+ return details;
1527
+ }
1528
+ async function withEntityCreateMutex(runtimeWithBindings, fn) {
1529
+ const previous = runtimeWithBindings.__elizaEntityCreateMutex;
1530
+ let release = () => { };
1531
+ runtimeWithBindings.__elizaEntityCreateMutex = new Promise((resolve) => {
1532
+ release = resolve;
1533
+ });
1534
+ if (previous) {
1535
+ await previous;
1536
+ }
1537
+ try {
1538
+ return await fn();
1539
+ }
1540
+ finally {
1541
+ release();
1542
+ }
1543
+ }
1544
+ function summarizeComponentWrite(input) {
1545
+ if (!input || typeof input !== "object" || Array.isArray(input)) {
1546
+ return { inputType: typeof input };
1547
+ }
1548
+ const record = input;
1549
+ const data = record.data;
1550
+ const dataKeys = data && typeof data === "object" && !Array.isArray(data)
1551
+ ? Object.keys(data).slice(0, 20)
1552
+ : [];
1553
+ return {
1554
+ id: record.id,
1555
+ type: record.type,
1556
+ entityId: record.entityId ?? record.entity_id,
1557
+ sourceEntityId: record.sourceEntityId ?? record.source_entity_id,
1558
+ roomId: record.roomId ?? record.room_id,
1559
+ worldId: record.worldId ?? record.world_id,
1560
+ agentId: record.agentId ?? record.agent_id,
1561
+ dataKeys,
1562
+ };
1563
+ }
1564
+ export function installRuntimeMethodBindings(runtime) {
1565
+ const runtimeWithBindings = runtime;
1566
+ if (runtimeWithBindings.__elizaMethodBindingsInstalled) {
1567
+ return;
1568
+ }
1569
+ installRuntimePluginLifecycle(runtime);
1570
+ // Some plugin builds store this method and invoke it later without the
1571
+ // runtime receiver, which breaks private-field access in AgentRuntime.
1572
+ runtime.getConversationLength = runtime.getConversationLength.bind(runtime);
1573
+ // Wrap getSetting() to fall back to process.env for known keys when the
1574
+ // core returns null. elizaOS core returns null for missing keys, but some
1575
+ // plugins (e.g. @elizaos/plugin-google-genai) check `!== undefined` and
1576
+ // convert null to the string "null", causing API calls like `models/null`.
1577
+ // Scoped to an allowlist to avoid leaking arbitrary env vars to plugins.
1578
+ const GETSETTING_ENV_ALLOWLIST = new Set([
1579
+ // Model provider API keys
1580
+ "ANTHROPIC_API_KEY",
1581
+ "OPENAI_API_KEY",
1582
+ "GOOGLE_GENERATIVE_AI_API_KEY",
1583
+ "GOOGLE_API_KEY",
1584
+ "GEMINI_API_KEY",
1585
+ "GROQ_API_KEY",
1586
+ "XAI_API_KEY",
1587
+ "DEEPSEEK_API_KEY",
1588
+ "OPENROUTER_API_KEY",
1589
+ // Google model defaults
1590
+ "GOOGLE_SMALL_MODEL",
1591
+ "GOOGLE_LARGE_MODEL",
1592
+ // GitHub
1593
+ "GITHUB_TOKEN",
1594
+ "GITHUB_OAUTH_CLIENT_ID",
1595
+ // Coding agent model preferences
1596
+ "PARALLAX_CLAUDE_MODEL_POWERFUL",
1597
+ "PARALLAX_CLAUDE_MODEL_FAST",
1598
+ "PARALLAX_GEMINI_MODEL_POWERFUL",
1599
+ "PARALLAX_GEMINI_MODEL_FAST",
1600
+ "PARALLAX_CODEX_MODEL_POWERFUL",
1601
+ "PARALLAX_CODEX_MODEL_FAST",
1602
+ "PARALLAX_AIDER_PROVIDER",
1603
+ "PARALLAX_AIDER_MODEL_POWERFUL",
1604
+ "PARALLAX_AIDER_MODEL_FAST",
1605
+ // Custom credential forwarding — intentionally broad: users configure which env vars
1606
+ // to forward to coding agents via this comma-separated key list (e.g. MCP server tokens).
1607
+ "CUSTOM_CREDENTIAL_KEYS",
1608
+ ]);
1609
+ const originalGetSetting = runtime.getSetting.bind(runtime);
1610
+ runtime.getSetting = (key) => {
1611
+ const result = originalGetSetting(key);
1612
+ if (result !== null && result !== undefined)
1613
+ return result;
1614
+ if (GETSETTING_ENV_ALLOWLIST.has(key)) {
1615
+ const envVal = process.env[key];
1616
+ if (envVal !== undefined && envVal.trim() !== "")
1617
+ return envVal;
1618
+ }
1619
+ return result;
1620
+ };
1621
+ // Add targeted diagnostics around component writes. Relationships reflection and
1622
+ // relationship extraction rely heavily on components; when inserts fail,
1623
+ // upstream logs often hide the concrete DB cause/constraint.
1624
+ if (!runtimeWithBindings.__elizaComponentWriteDiagnosticsInstalled) {
1625
+ const runtimeWithComponentWrites = runtime;
1626
+ if (typeof runtimeWithComponentWrites.createComponent === "function") {
1627
+ const originalCreate = runtimeWithComponentWrites.createComponent.bind(runtime);
1628
+ runtimeWithComponentWrites.createComponent = async (input) => {
1629
+ try {
1630
+ return await originalCreate(input);
1631
+ }
1632
+ catch (error) {
1633
+ // Recovery path: some evaluators (e.g. relationship extraction)
1634
+ // compute a synthetic worldId that may not exist yet. If we hit the
1635
+ // components->worlds FK, retry once with the room's canonical worldId.
1636
+ if (isComponentsWorldFkViolation(error) &&
1637
+ input.roomId &&
1638
+ typeof runtime.getRoom === "function") {
1639
+ try {
1640
+ const room = await runtime.getRoom(input.roomId);
1641
+ const fallbackWorldId = room?.worldId ?? null;
1642
+ if (fallbackWorldId !== input.worldId) {
1643
+ logger.warn(`[eliza] createComponent retry with ${fallbackWorldId ? `room worldId (${fallbackWorldId})` : "null worldId"} after FK violation`);
1644
+ const recovered = {
1645
+ ...input,
1646
+ worldId: fallbackWorldId,
1647
+ };
1648
+ return await originalCreate(recovered);
1649
+ }
1650
+ }
1651
+ catch (retryLookupError) {
1652
+ logger.warn(`[eliza] createComponent recovery lookup failed: ${formatError(retryLookupError)}`);
1653
+ }
1654
+ }
1655
+ const component = summarizeComponentWrite(input);
1656
+ logger.error(`[eliza] createComponent failed: ${formatError(error)} | component=${JSON.stringify(component)}`);
1657
+ logger.error(`[eliza] createComponent db details: ${JSON.stringify(toErrorDetails(error))}`);
1658
+ throw error;
1659
+ }
1660
+ };
1661
+ }
1662
+ if (typeof runtimeWithComponentWrites.updateComponent === "function") {
1663
+ const originalUpdate = runtimeWithComponentWrites.updateComponent.bind(runtime);
1664
+ runtimeWithComponentWrites.updateComponent = async (input) => {
1665
+ try {
1666
+ return await originalUpdate(input);
1667
+ }
1668
+ catch (error) {
1669
+ const component = summarizeComponentWrite(input);
1670
+ logger.error(`[eliza] updateComponent failed: ${formatError(error)} | component=${JSON.stringify(component)}`);
1671
+ logger.error(`[eliza] updateComponent db details: ${JSON.stringify(toErrorDetails(error))}`);
1672
+ throw error;
1673
+ }
1674
+ };
1675
+ }
1676
+ runtimeWithBindings.__elizaComponentWriteDiagnosticsInstalled = true;
1677
+ }
1678
+ // Proactive guard for plugin-sql entity creation. Some evaluators may attempt
1679
+ // to create the same entity in rapid succession; plugin-sql's batch insert is
1680
+ // non-idempotent and can fail entire writes on duplicate/conflicting rows.
1681
+ if (!runtimeWithBindings.__elizaEntityWriteDiagnosticsInstalled) {
1682
+ const runtimeWithEntityWrites = runtime;
1683
+ if (typeof runtimeWithEntityWrites.createEntities === "function") {
1684
+ const originalCreateEntities = runtimeWithEntityWrites.createEntities.bind(runtime);
1685
+ runtimeWithEntityWrites.createEntities = async (entities) => {
1686
+ return withEntityCreateMutex(runtimeWithBindings, async () => {
1687
+ const uniqueById = new Map();
1688
+ for (const entity of entities) {
1689
+ if (entity?.id)
1690
+ uniqueById.set(entity.id, entity);
1691
+ }
1692
+ const deduped = Array.from(uniqueById.values());
1693
+ if (deduped.length === 0)
1694
+ return deduped.map((e) => e.id);
1695
+ let missing = deduped;
1696
+ if (typeof runtimeWithEntityWrites.getEntitiesByIds === "function") {
1697
+ try {
1698
+ const existing = (await runtimeWithEntityWrites.getEntitiesByIds(deduped.map((e) => e.id))) ?? [];
1699
+ const existingIds = new Set();
1700
+ for (const entity of existing) {
1701
+ if (entity?.id)
1702
+ existingIds.add(entity.id);
1703
+ }
1704
+ missing = deduped.filter((entity) => !existingIds.has(entity.id));
1705
+ }
1706
+ catch (err) {
1707
+ logger.warn(`[eliza] createEntities precheck failed; proceeding with guarded insert: ${formatError(err)}`);
1708
+ }
1709
+ }
1710
+ if (missing.length === 0)
1711
+ return deduped.map((e) => e.id);
1712
+ const result = await originalCreateEntities(missing);
1713
+ if (Array.isArray(result) ? result.length > 0 : result)
1714
+ return deduped.map((e) => e.id);
1715
+ if (typeof runtimeWithEntityWrites.ensureEntityExists === "function") {
1716
+ let allRecovered = true;
1717
+ for (const entity of missing) {
1718
+ try {
1719
+ const ensured = await runtimeWithEntityWrites.ensureEntityExists(entity);
1720
+ allRecovered = allRecovered && ensured;
1721
+ }
1722
+ catch (err) {
1723
+ allRecovered = false;
1724
+ logger.warn(`[eliza] ensureEntityExists recovery failed for ${String(entity.id)}: ${formatError(err)}`);
1725
+ }
1726
+ }
1727
+ if (allRecovered)
1728
+ return deduped.map((e) => e.id);
1729
+ }
1730
+ logger.warn(`[eliza] createEntities unresolved after guarded retries (requested=${entities.length}, deduped=${deduped.length}, missing=${missing.length})`);
1731
+ return [];
1732
+ });
1733
+ };
1734
+ }
1735
+ runtimeWithBindings.__elizaEntityWriteDiagnosticsInstalled = true;
1736
+ }
1737
+ runtimeWithBindings.__elizaMethodBindingsInstalled = true;
1738
+ }
1739
+ function installActionAliases(runtime) {
1740
+ const runtimeWithAliases = runtime;
1741
+ if (runtimeWithAliases.__elizaActionAliasesInstalled) {
1742
+ return;
1743
+ }
1744
+ const actions = Array.isArray(runtimeWithAliases.actions)
1745
+ ? runtimeWithAliases.actions
1746
+ : [];
1747
+ // Keep compaction automatic-only; do not allow manual COMPACT_SESSION invokes.
1748
+ const compactSessionIndex = actions.findIndex((action) => action?.name?.toUpperCase() === "COMPACT_SESSION");
1749
+ if (compactSessionIndex !== -1) {
1750
+ actions.splice(compactSessionIndex, 1);
1751
+ logger.info("[eliza] Disabled manual COMPACT_SESSION action; auto-compaction remains enabled");
1752
+ }
1753
+ // Compatibility alias: older prompts/docs still reference CODE_TASK,
1754
+ // while agent-orchestrator exposes CREATE_TASK.
1755
+ const createTaskAction = actions.find((action) => action?.name?.toUpperCase() === "CREATE_TASK");
1756
+ if (createTaskAction) {
1757
+ const similes = Array.isArray(createTaskAction.similes)
1758
+ ? createTaskAction.similes
1759
+ : [];
1760
+ const hasCodeTaskAlias = similes.some((simile) => simile.toUpperCase() === "CODE_TASK");
1761
+ if (!hasCodeTaskAlias) {
1762
+ createTaskAction.similes = [...similes, "CODE_TASK"];
1763
+ logger.info("[eliza] Added action alias CODE_TASK -> CREATE_TASK for agent-orchestrator");
1764
+ }
1765
+ }
1766
+ runtimeWithAliases.__elizaActionAliasesInstalled = true;
1767
+ }
1768
+ async function registerSqlPluginWithRecovery(runtime, sqlPlugin, config) {
1769
+ let registerError = null;
1770
+ try {
1771
+ await runtime.registerPlugin(sqlPlugin.plugin);
1772
+ }
1773
+ catch (err) {
1774
+ registerError = err;
1775
+ }
1776
+ if (registerError) {
1777
+ const pgliteDataDir = resolveActivePgliteDataDir(config);
1778
+ if (!pgliteDataDir) {
1779
+ throw registerError;
1780
+ }
1781
+ const recoveryAction = getPgliteRecoveryAction(registerError, pgliteDataDir);
1782
+ if (recoveryAction === "none") {
1783
+ throw registerError;
1784
+ }
1785
+ if (recoveryAction === "fail-active-lock") {
1786
+ throw createActivePgliteLockError(pgliteDataDir, registerError);
1787
+ }
1788
+ if (recoveryAction === "fail-manual-reset") {
1789
+ throw createManualResetRequiredPgliteError(pgliteDataDir, registerError);
1790
+ }
1791
+ logger.warn(`[eliza] SQL plugin registration failed (${formatError(registerError)}). Cleared a stale PGLite lock in ${pgliteDataDir} and retrying without resetting data.`);
1792
+ try {
1793
+ await runtime.registerPlugin(sqlPlugin.plugin);
1794
+ }
1795
+ catch (retryErr) {
1796
+ if (!isPluginAlreadyRegisteredError(retryErr)) {
1797
+ throw retryErr;
1798
+ }
1799
+ }
1800
+ }
1801
+ await initializeDatabaseAdapter(runtime, config);
1802
+ }
1803
+ /**
1804
+ * Build an elizaOS Character from the Eliza config.
1805
+ *
1806
+ * Resolves the agent name from `config.agents.list` (first entry) or
1807
+ * `config.ui.assistant.name`, falling back to the default bundled preset.
1808
+ * Character
1809
+ * personality data (bio, system prompt, style, etc.) is stored in the
1810
+ * database — not the config file — so we only provide sensible defaults
1811
+ * here for the initial setup.
1812
+ */
1813
+ /** @internal Exported for testing. */
1814
+ export function buildCharacterFromConfig(config) {
1815
+ const agentEntry = config.agents?.list?.[0];
1816
+ const uiConfig = (config.ui ?? {});
1817
+ const language = normalizeCharacterLanguage(uiConfig.language);
1818
+ const configuredUiName = uiConfig.assistant?.name?.trim();
1819
+ const configuredAgentName = agentEntry?.name?.trim();
1820
+ // Prefer the UI-level assistant name when it diverges from the bundled
1821
+ // preset entry so renames take effect immediately across prompts/logging.
1822
+ const configuredName = configuredUiName || configuredAgentName;
1823
+ const bundledPreset = resolveStylePresetById(uiConfig.presetId, language) ??
1824
+ resolveStylePresetByAvatarIndex(uiConfig.avatarIndex, language) ??
1825
+ resolveStylePresetByName(configuredName, language) ??
1826
+ (configuredName ? undefined : getDefaultStylePreset(language));
1827
+ const name = configuredName ??
1828
+ bundledPreset?.name ??
1829
+ getDefaultStylePreset(language).name;
1830
+ // Read personality fields from the agent config entry (set during
1831
+ // onboarding from the chosen style preset). Fall back to generic
1832
+ // defaults when the preset data is not present (e.g. pre-onboarding
1833
+ // setup or configs created before this change). For built-in default
1834
+ // characters, fall back to the bundled preset so legacy name-only configs
1835
+ // still retain their default posts/messages.
1836
+ const bio = agentEntry?.bio ??
1837
+ bundledPreset?.bio ?? [
1838
+ "{{name}} is an AI assistant powered by Eliza and elizaOS.",
1839
+ ];
1840
+ const systemPrompt = agentEntry?.system ??
1841
+ bundledPreset?.system ??
1842
+ "You are {{name}}, an autonomous AI agent powered by elizaOS.";
1843
+ const style = agentEntry?.style ?? bundledPreset?.style;
1844
+ const adjectives = agentEntry?.adjectives ?? bundledPreset?.adjectives;
1845
+ const topics = agentEntry?.topics && agentEntry.topics.length > 0
1846
+ ? agentEntry.topics
1847
+ : bundledPreset?.topics;
1848
+ const postExamples = agentEntry?.postExamples ?? bundledPreset?.postExamples;
1849
+ const messageExamples = agentEntry?.messageExamples ?? bundledPreset?.messageExamples;
1850
+ const advancedMemory = agentEntry?.advancedMemory ??
1851
+ config.agents?.defaults?.advancedMemory ??
1852
+ true;
1853
+ const settings = {
1854
+ MEMORY_SUMMARY_MODEL_TYPE: process.env.MEMORY_SUMMARY_MODEL_TYPE?.trim() || "TEXT_SMALL",
1855
+ MEMORY_REFLECTION_MODEL_TYPE: process.env.MEMORY_REFLECTION_MODEL_TYPE?.trim() || "TEXT_LARGE",
1856
+ };
1857
+ // Collect secrets from process.env (API keys the plugins need)
1858
+ const secretKeys = [
1859
+ "ANTHROPIC_API_KEY",
1860
+ "OPENAI_API_KEY",
1861
+ "GEMINI_API_KEY",
1862
+ "GOOGLE_API_KEY",
1863
+ "GOOGLE_GENERATIVE_AI_API_KEY",
1864
+ "GROQ_API_KEY",
1865
+ "XAI_API_KEY",
1866
+ "OPENROUTER_API_KEY",
1867
+ "AI_GATEWAY_API_KEY",
1868
+ "AIGATEWAY_API_KEY",
1869
+ "AI_GATEWAY_BASE_URL",
1870
+ "AI_GATEWAY_SMALL_MODEL",
1871
+ "AI_GATEWAY_LARGE_MODEL",
1872
+ "AI_GATEWAY_EMBEDDING_MODEL",
1873
+ "AI_GATEWAY_EMBEDDING_DIMENSIONS",
1874
+ "AI_GATEWAY_IMAGE_MODEL",
1875
+ "AI_GATEWAY_TIMEOUT_MS",
1876
+ "OLLAMA_BASE_URL",
1877
+ "DISCORD_API_TOKEN",
1878
+ "DISCORD_APPLICATION_ID",
1879
+ "DISCORD_BOT_TOKEN",
1880
+ "TELEGRAM_BOT_TOKEN",
1881
+ "WHATSAPP_ACCESS_TOKEN",
1882
+ "WHATSAPP_PHONE_NUMBER_ID",
1883
+ "WHATSAPP_AUTH_DIR",
1884
+ "WHATSAPP_SESSION_PATH",
1885
+ "WHATSAPP_WEBHOOK_VERIFY_TOKEN",
1886
+ "WHATSAPP_API_VERSION",
1887
+ "WHATSAPP_DM_POLICY",
1888
+ "WHATSAPP_GROUP_POLICY",
1889
+ "WHATSAPP_ALLOW_FROM",
1890
+ "WHATSAPP_GROUP_ALLOW_FROM",
1891
+ "TELEGRAM_ACCOUNT_PHONE",
1892
+ "TELEGRAM_ACCOUNT_APP_ID",
1893
+ "TELEGRAM_ACCOUNT_APP_HASH",
1894
+ "TELEGRAM_ACCOUNT_DEVICE_MODEL",
1895
+ "TELEGRAM_ACCOUNT_SYSTEM_VERSION",
1896
+ "SLACK_BOT_TOKEN",
1897
+ "SLACK_APP_TOKEN",
1898
+ "SLACK_USER_TOKEN",
1899
+ "SIGNAL_ACCOUNT_NUMBER",
1900
+ "MSTEAMS_APP_ID",
1901
+ "MSTEAMS_APP_PASSWORD",
1902
+ "MATTERMOST_BOT_TOKEN",
1903
+ "MATTERMOST_BASE_URL",
1904
+ // ElizaCloud secrets
1905
+ "ELIZAOS_CLOUD_API_KEY",
1906
+ "ELIZAOS_CLOUD_BASE_URL",
1907
+ "ELIZAOS_CLOUD_ENABLED",
1908
+ // Wallet / blockchain secrets
1909
+ "EVM_PRIVATE_KEY",
1910
+ "SOLANA_PRIVATE_KEY",
1911
+ "ALCHEMY_API_KEY",
1912
+ "HELIUS_API_KEY",
1913
+ "BIRDEYE_API_KEY",
1914
+ "SOLANA_RPC_URL",
1915
+ "X402_PRIVATE_KEY",
1916
+ "X402_NETWORK",
1917
+ "X402_PAY_TO",
1918
+ "X402_FACILITATOR_URL",
1919
+ "X402_MAX_PAYMENT_USD",
1920
+ "X402_MAX_TOTAL_USD",
1921
+ "X402_ENABLED",
1922
+ "X402_DB_PATH",
1923
+ // n8n workflow plugin (resolved by applyN8nConfigToEnv)
1924
+ "N8N_HOST",
1925
+ "N8N_API_KEY",
1926
+ // GitHub access for coding agent plugin
1927
+ "GITHUB_TOKEN",
1928
+ "GITHUB_OAUTH_CLIENT_ID",
1929
+ ];
1930
+ const secrets = {};
1931
+ for (const key of secretKeys) {
1932
+ const value = process.env[key];
1933
+ if (value?.trim()) {
1934
+ secrets[key] = value;
1935
+ }
1936
+ }
1937
+ // Normalise messageExamples to the {examples: [{name,content}]} shape
1938
+ // that @elizaos/core expects. Config may contain EITHER format:
1939
+ // OLD (preset/onboarding): [[{user, content}, ...], ...]
1940
+ // NEW (@elizaos/core): [{examples: [{name, content}, ...]}, ...]
1941
+ const mappedExamples = messageExamples?.map((item) => {
1942
+ // Already in new format — pass through
1943
+ if (item &&
1944
+ typeof item === "object" &&
1945
+ "examples" in item) {
1946
+ return item;
1947
+ }
1948
+ // Old format — array of {user, content} entries
1949
+ const arr = item;
1950
+ return {
1951
+ examples: arr.map((msg) => ({
1952
+ name: msg.name ?? msg.user ?? "",
1953
+ content: msg.content,
1954
+ })),
1955
+ };
1956
+ });
1957
+ // Capability hints — append short descriptions of features the runtime has
1958
+ // auto-enabled so the model knows about new actions/tools without requiring
1959
+ // the user to hand-edit the system prompt. Kept terse (one sentence per
1960
+ // capability) to stay out of the way of the preset's voice.
1961
+ const capabilityHints = [];
1962
+ const n8nMasterEnabled = config.n8n?.enabled !== false;
1963
+ const n8nExplicitlyDisabled = config.plugins?.entries?.["n8n-workflow"]?.enabled === false;
1964
+ const n8nCloudAuthed = Boolean(config.cloud?.apiKey && config.cloud?.enabled !== false);
1965
+ const n8nLocalEnabled = config.n8n?.localEnabled !== false;
1966
+ if (n8nMasterEnabled &&
1967
+ !n8nExplicitlyDisabled &&
1968
+ (n8nCloudAuthed || n8nLocalEnabled)) {
1969
+ capabilityHints.push("You can create, activate, deactivate, and delete n8n workflows via natural language using the n8n workflow actions.");
1970
+ }
1971
+ const effectiveSystemPrompt = capabilityHints.length > 0
1972
+ ? `${systemPrompt}\n\n${capabilityHints.join("\n")}`
1973
+ : systemPrompt;
1974
+ return mergeCharacterDefaults({
1975
+ name,
1976
+ ...(agentEntry?.username ? { username: agentEntry.username } : {}),
1977
+ bio,
1978
+ system: effectiveSystemPrompt,
1979
+ ...(topics ? { topics } : {}),
1980
+ ...(style ? { style } : {}),
1981
+ ...(adjectives ? { adjectives } : {}),
1982
+ ...(postExamples ? { postExamples } : {}),
1983
+ ...(mappedExamples ? { messageExamples: mappedExamples } : {}),
1984
+ advancedMemory,
1985
+ settings,
1986
+ secrets,
1987
+ });
1988
+ }
1989
+ /**
1990
+ * Resolve the primary model identifier from Eliza config.
1991
+ *
1992
+ * Eliza stores the model under `agents.defaults.model.primary` as an
1993
+ * AgentModelListConfig object. Returns undefined when no model is
1994
+ * explicitly configured (elizaOS falls back to whichever model
1995
+ * plugin is loaded).
1996
+ */
1997
+ /** @internal Exported for testing. */
1998
+ export function resolvePrimaryModel(config) {
1999
+ const modelConfig = config.agents?.defaults?.model;
2000
+ if (!modelConfig)
2001
+ return undefined;
2002
+ // AgentDefaultsConfig.model is AgentModelListConfig: { primary?, fallbacks? }
2003
+ return modelConfig.primary;
2004
+ }
2005
+ function resolveProviderIdFromSelectionHint(value) {
2006
+ const trimmed = trimEnvString(value);
2007
+ if (!trimmed)
2008
+ return undefined;
2009
+ return (normalizeOnboardingProviderId(trimmed) ??
2010
+ normalizeOnboardingProviderId(trimmed.split("/", 1)[0]) ??
2011
+ undefined);
2012
+ }
2013
+ /** @internal Exported for testing. */
2014
+ export function resolvePreferredProviderId(config) {
2015
+ const llmText = resolveServiceRoutingInConfig(config)?.llmText;
2016
+ const backend = normalizeOnboardingProviderId(llmText?.backend);
2017
+ if (llmText?.transport === "cloud-proxy" && backend === "elizacloud") {
2018
+ return "elizacloud";
2019
+ }
2020
+ if (llmText?.transport === "direct") {
2021
+ const directProvider = backend && backend !== "elizacloud" ? backend : undefined;
2022
+ return (directProvider ?? resolveProviderIdFromSelectionHint(llmText.primaryModel));
2023
+ }
2024
+ if (llmText?.transport === "remote") {
2025
+ const remoteProvider = backend && backend !== "elizacloud" ? backend : undefined;
2026
+ return (remoteProvider ?? resolveProviderIdFromSelectionHint(llmText.primaryModel));
2027
+ }
2028
+ return resolveProviderIdFromSelectionHint(resolvePrimaryModel(config));
2029
+ }
2030
+ /** @internal Exported for testing. */
2031
+ export function resolvePreferredProviderPluginName(config) {
2032
+ const providerId = resolvePreferredProviderId(config);
2033
+ return providerId
2034
+ ? getOnboardingProviderOption(providerId)?.pluginName
2035
+ : undefined;
2036
+ }
2037
+ /**
2038
+ * Vision is a heavy optional plugin. When Eliza enables it, keep the service
2039
+ * loaded but idle until the user explicitly selects CAMERA, SCREEN, or BOTH.
2040
+ * This avoids background capture loops during normal app startup.
2041
+ */
2042
+ export function resolveVisionModeSetting(config, env = process.env) {
2043
+ const explicitMode = env.VISION_MODE?.trim();
2044
+ if (explicitMode)
2045
+ return explicitMode;
2046
+ if (config.features?.vision === true)
2047
+ return "OFF";
2048
+ return undefined;
2049
+ }
2050
+ /** @internal Exported for testing. */
2051
+ export function resolveWalletRuntimeSettings(config, env = process.env) {
2052
+ const directRpcUrl = trimEnvString(env.SOLANA_RPC_URL);
2053
+ const solanaNoActions = trimEnvString(env.SOLANA_NO_ACTIONS);
2054
+ const configEnv = config?.env;
2055
+ const configVars = configEnv?.vars &&
2056
+ typeof configEnv.vars === "object" &&
2057
+ !Array.isArray(configEnv.vars)
2058
+ ? configEnv.vars
2059
+ : undefined;
2060
+ const getConfigEnvString = (key) => {
2061
+ const value = configVars?.[key] ?? configEnv?.[key];
2062
+ return typeof value === "string" && value.trim() ? value.trim() : undefined;
2063
+ };
2064
+ const explicitSolanaPublicKey = trimEnvString(env.SOLANA_PUBLIC_KEY) ??
2065
+ trimEnvString(env.WALLET_PUBLIC_KEY) ??
2066
+ getConfigEnvString("SOLANA_PUBLIC_KEY") ??
2067
+ getConfigEnvString("WALLET_PUBLIC_KEY");
2068
+ const derivedSolanaPublicKey = trimEnvString(getWalletAddresses().solanaAddress) ??
2069
+ trimEnvString(syncSolanaPublicKeyEnv(getConfigEnvString("SOLANA_PRIVATE_KEY")));
2070
+ const solanaPublicKey = explicitSolanaPublicKey ?? derivedSolanaPublicKey;
2071
+ const settings = {};
2072
+ if (directRpcUrl) {
2073
+ settings.SOLANA_RPC_URL = directRpcUrl;
2074
+ }
2075
+ if (solanaNoActions) {
2076
+ settings.SOLANA_NO_ACTIONS = solanaNoActions;
2077
+ }
2078
+ if (!solanaPublicKey) {
2079
+ return settings;
2080
+ }
2081
+ settings.SOLANA_PUBLIC_KEY = solanaPublicKey;
2082
+ settings.WALLET_PUBLIC_KEY = solanaPublicKey;
2083
+ return settings;
2084
+ }
2085
+ /**
2086
+ * Boot the elizaOS runtime without starting the readline chat loop.
2087
+ *
2088
+ * This is a convenience wrapper around {@link startEliza} in headless mode,
2089
+ * with optional config guards.
2090
+ */
2091
+ export async function bootElizaRuntime(opts = {}) {
2092
+ if (opts.requireConfig && !configFileExists()) {
2093
+ throw new Error("No config found. Run `eliza start` once to complete setup.");
2094
+ }
2095
+ const runtime = await startEliza({ headless: true });
2096
+ if (!runtime) {
2097
+ throw new Error("Failed to boot runtime");
2098
+ }
2099
+ return runtime;
2100
+ }
2101
+ const LEVEL_TO_NAME = {
2102
+ 10: "trace",
2103
+ 20: "debug",
2104
+ 27: "success",
2105
+ 28: "progress",
2106
+ 29: "log",
2107
+ 30: "info",
2108
+ 40: "warn",
2109
+ 50: "error",
2110
+ 60: "fatal",
2111
+ };
2112
+ export const logToChatListener = (entry) => {
2113
+ if (entry.roomId && entry.runtime) {
2114
+ const runtime = entry.runtime;
2115
+ // access dynamic property
2116
+ const overrides = runtime.logLevelOverrides;
2117
+ const overrideLevel = overrides?.get(String(entry.roomId));
2118
+ if (overrideLevel) {
2119
+ const levelKey = entry.level;
2120
+ const levelName = (levelKey && LEVEL_TO_NAME[levelKey] ? LEVEL_TO_NAME[levelKey] : "log").toUpperCase();
2121
+ const prefix = `[${levelName}]`;
2122
+ const content = `${prefix} ${entry.msg}`;
2123
+ // Prevent infinite loops by suppressing logs from this action
2124
+ runtime
2125
+ .sendMessageToTarget({ roomId: entry.roomId }, {
2126
+ text: `\`\`\`\n${content}\n\`\`\``,
2127
+ source: "system",
2128
+ isLog: "true",
2129
+ })
2130
+ .catch((err) => {
2131
+ logger.debug(`[runtime] failed to send log message to target: ${err}`);
2132
+ });
2133
+ }
2134
+ }
2135
+ };
2136
+ /**
2137
+ * Start the elizaOS runtime with Eliza's configuration.
2138
+ *
2139
+ * In headless mode the runtime is returned instead of entering the
2140
+ * interactive readline loop.
2141
+ */
2142
+ export async function startEliza(opts) {
2143
+ // Start buffering logs early so startup messages appear in the UI log viewer
2144
+ const { captureEarlyLogs } = await import("../api/early-logs.js");
2145
+ captureEarlyLogs();
2146
+ // Register log listener for chat mirroring
2147
+ addLogListener(logToChatListener);
2148
+ // 1. Load Eliza config from ~/.eliza/eliza.json
2149
+ let config;
2150
+ try {
2151
+ config = loadElizaConfig();
2152
+ }
2153
+ catch (err) {
2154
+ if (err.code === "ENOENT") {
2155
+ logger.warn("[eliza] No config found, using defaults");
2156
+ // All ElizaConfig fields are optional, so an empty object is
2157
+ // structurally valid. The `as` cast is safe here.
2158
+ config = {};
2159
+ }
2160
+ else {
2161
+ throw err;
2162
+ }
2163
+ }
2164
+ // 1b. First-run onboarding — ask for agent name if not configured.
2165
+ // In headless mode (GUI) the onboarding is handled by the web UI,
2166
+ // so we skip the interactive CLI prompt and let the runtime start
2167
+ // with defaults. The GUI will restart the agent after onboarding.
2168
+ if (!opts?.headless) {
2169
+ config = await runFirstTimeSetup(config);
2170
+ }
2171
+ // 1c. Apply logging level from config to process.env so the global
2172
+ // @elizaos/core logger (used by plugins) respects it.
2173
+ // config.logging.level is guaranteed to be set (defaults to "error").
2174
+ // Users can still opt into noisy logs via config.logging.level or
2175
+ // an explicit LOG_LEVEL environment variable.
2176
+ if (!process.env.LOG_LEVEL) {
2177
+ process.env.LOG_LEVEL = config.logging?.level ?? "error";
2178
+ }
2179
+ // 2. Push channel secrets into process.env for plugin discovery
2180
+ applyConnectorSecretsToEnv(config);
2181
+ await autoResolveDiscordAppId();
2182
+ // 2b. Propagate cloud config into process.env for ElizaCloud plugin
2183
+ applyCloudConfigToEnv(config);
2184
+ // 2c. Propagate x402 config into process.env
2185
+ applyX402ConfigToEnv(config);
2186
+ // 2d. Propagate database config into process.env for plugin-sql
2187
+ applyDatabaseConfigToEnv(config);
2188
+ // 2e. Propagate arbitrary env vars from config.env into process.env.
2189
+ // Eliza stores user-defined env vars (plugin settings, API URLs, etc.)
2190
+ // in config.env; elizaOS plugins read them via process.env / getSetting.
2191
+ // Skip ELIZAOS_CLOUD_* — applyCloudConfigToEnv() owns those; otherwise a
2192
+ // stale key in config.env refills process.env after disconnect cleared it.
2193
+ if (config.env &&
2194
+ typeof config.env === "object" &&
2195
+ !Array.isArray(config.env)) {
2196
+ for (const [key, value] of Object.entries(config.env)) {
2197
+ if (isElizaCloudManagedProcessEnvKey(key))
2198
+ continue;
2199
+ if (typeof value === "string" && !process.env[key]) {
2200
+ process.env[key] = value;
2201
+ }
2202
+ }
2203
+ // Also hydrate from config.env.vars — setEnvValue writes API keys to
2204
+ // both config.env["KEY"] and config.env.vars["KEY"]. If the top-level
2205
+ // key was lost (e.g. pruneEnv, config migration), the nested form is
2206
+ // the authoritative source.
2207
+ const vars = config.env.vars;
2208
+ if (vars && typeof vars === "object" && !Array.isArray(vars)) {
2209
+ for (const [key, value] of Object.entries(vars)) {
2210
+ if (isElizaCloudManagedProcessEnvKey(key))
2211
+ continue;
2212
+ if (typeof value === "string" && !process.env[key]) {
2213
+ process.env[key] = value;
2214
+ }
2215
+ }
2216
+ }
2217
+ }
2218
+ // Keep the canonical public key env in sync for Solana plugins that still
2219
+ // read process.env directly instead of runtime settings.
2220
+ syncSolanaPublicKeyEnv();
2221
+ normalizeOpenAiCompatibleProviderConfig(config);
2222
+ // Log active database configuration for debugging persistence issues
2223
+ {
2224
+ const dbProvider = config.database?.provider ?? "pglite";
2225
+ const pgliteDir = process.env.PGLITE_DATA_DIR;
2226
+ const postgresUrl = process.env.POSTGRES_URL;
2227
+ logger.info(`[eliza] Database provider: ${dbProvider}` +
2228
+ (dbProvider === "pglite" && pgliteDir
2229
+ ? ` | data dir: ${pgliteDir}`
2230
+ : "") +
2231
+ (dbProvider === "postgres" && postgresUrl
2232
+ ? ` | connection: ${postgresUrl.replace(/:\/\/([^:]+):([^@]+)@/, "://$1:***@")}`
2233
+ : ""));
2234
+ }
2235
+ // 2d-iii. OG tracking code initialization
2236
+ try {
2237
+ const { initializeOGCode } = await import("@elizaos/app-elizamaker");
2238
+ initializeOGCode();
2239
+ }
2240
+ catch {
2241
+ // Silent — OG tracking is non-critical
2242
+ }
2243
+ // 2d-ii. Allow destructive migrations (e.g. dropping tables removed between
2244
+ // plugin versions) so the runtime doesn't silently stall. Without this
2245
+ // the migration system throws an error that gets swallowed, leaving the
2246
+ // app hanging indefinitely with no output.
2247
+ if (!process.env.ELIZA_ALLOW_DESTRUCTIVE_MIGRATIONS) {
2248
+ process.env.ELIZA_ALLOW_DESTRUCTIVE_MIGRATIONS = "true";
2249
+ }
2250
+ // 2e-ii. Ensure SECRET_SALT is set to suppress the @elizaos/core default
2251
+ // warning and avoid using a predictable value in production.
2252
+ if (!process.env.SECRET_SALT) {
2253
+ process.env.SECRET_SALT = crypto.randomBytes(32).toString("hex");
2254
+ logger.info("[eliza] Generated random SECRET_SALT for this session");
2255
+ }
2256
+ // 2e-iii. Pre-flight validation for Google AI API keys. If the key looks
2257
+ // obviously invalid (too short, placeholder, wrong prefix), clear it
2258
+ // to prevent plugin-google-genai from making a failing API call.
2259
+ for (const gkey of [
2260
+ "GEMINI_API_KEY",
2261
+ "GOOGLE_API_KEY",
2262
+ "GOOGLE_GENERATIVE_AI_API_KEY",
2263
+ ]) {
2264
+ const val = process.env[gkey]?.trim();
2265
+ if (val &&
2266
+ (val.length < 20 || val === "your-key-here" || val.startsWith("sk-"))) {
2267
+ logger.warn(`[eliza] ${gkey} appears invalid (length/format), clearing to skip Google AI plugin`);
2268
+ delete process.env[gkey];
2269
+ }
2270
+ }
2271
+ // 2f. Apply subscription-based credentials (Claude Max, Codex Max).
2272
+ // Failure is non-fatal — the agent can still start with other providers.
2273
+ // Config is NOT rolled back on failure; partial mutations may persist in
2274
+ // the in-memory config but are not saved to disk until explicit save.
2275
+ try {
2276
+ const { applySubscriptionCredentials } = await import("../auth/index.js");
2277
+ await applySubscriptionCredentials(config);
2278
+ }
2279
+ catch (err) {
2280
+ logger.warn(`[eliza] Failed to apply subscription credentials (agent will continue without them): ${formatError(err)}`);
2281
+ }
2282
+ // 2g. Cloud mode — if the user chose cloud during onboarding (or on a
2283
+ // subsequent start with cloud config), skip local runtime setup and
2284
+ // connect via the thin client instead.
2285
+ const deploymentTarget = resolveDeploymentTargetInConfig(config);
2286
+ if (deploymentTarget.runtime === "cloud" &&
2287
+ deploymentTarget.provider === "elizacloud" &&
2288
+ config.cloud?.apiKey &&
2289
+ config.cloud?.agentId?.trim()) {
2290
+ return startInCloudMode(config, config.cloud.agentId, opts);
2291
+ }
2292
+ // 3. Build elizaOS Character from Eliza config
2293
+ const character = buildCharacterFromConfig(config);
2294
+ const primaryModel = resolvePrimaryModel(config);
2295
+ const preferredProviderId = resolvePreferredProviderId(config);
2296
+ const preferredProviderPluginName = resolvePreferredProviderPluginName(config);
2297
+ // 4. Ensure workspace exists with required files
2298
+ const workspaceDir = config.agents?.defaults?.workspace ?? resolveDefaultAgentWorkspaceDir();
2299
+ await ensureAgentWorkspace({ dir: workspaceDir, ensureInitFiles: true });
2300
+ // 4b. Ensure custom plugins directory exists for drop-in plugins
2301
+ await fs.mkdir(path.join(resolveStateDir(), CUSTOM_RUNTIME_PLUGINS_DIRNAME), {
2302
+ recursive: true,
2303
+ });
2304
+ // 5. Create the Eliza bridge plugin (workspace context + session keys + compaction)
2305
+ const agentId = character.name?.toLowerCase().replace(/\s+/g, "-") ?? "main";
2306
+ // 5a. If cloud is configured and no local GitHub token, try fetching from cloud
2307
+ await autoFetchCloudGithubToken(config.cloud?.agentId?.trim() || agentId);
2308
+ // 5b. Pump N8N_HOST + N8N_API_KEY into process.env for
2309
+ // @elizaos/plugin-n8n-workflow. Must run AFTER applyCloudConfigToEnv
2310
+ // (2b above) and AFTER agentId is derived — the cloud gateway URL
2311
+ // embeds the agent id. Prefer the persisted cloud-agent id when set;
2312
+ // fall back to the derived local agent slug.
2313
+ applyN8nConfigToEnv(config, config.cloud?.agentId?.trim() || agentId);
2314
+ const elizaPlugin = createElizaPlugin({
2315
+ workspaceDir,
2316
+ agentId,
2317
+ });
2318
+ // 6. Resolve and load plugins
2319
+ // In headless (GUI) mode before onboarding, the user hasn't configured a
2320
+ // provider yet. Downgrade diagnostics so the expected "no AI provider"
2321
+ // state doesn't appear as a scary Error in the terminal.
2322
+ const preOnboarding = opts?.headless && !config.agents;
2323
+ const resolvedPlugins = await resolvePlugins(config, {
2324
+ quiet: preOnboarding,
2325
+ });
2326
+ if (resolvedPlugins.length === 0) {
2327
+ if (preOnboarding) {
2328
+ logger.info("[eliza] No plugins loaded yet — the onboarding wizard will configure a model provider");
2329
+ }
2330
+ else {
2331
+ logger.error("[eliza] No plugins loaded — at least one model provider plugin is required");
2332
+ logger.error("[eliza] Set an API key (e.g. ANTHROPIC_API_KEY, OPENAI_API_KEY) in your environment");
2333
+ throw new Error("No plugins loaded");
2334
+ }
2335
+ }
2336
+ // 6b. Debug logging — print full context after provider + plugin resolution
2337
+ {
2338
+ const pluginNames = resolvedPlugins.map((p) => p.name);
2339
+ const providerNames = resolvedPlugins
2340
+ .flatMap((p) => p.plugin.providers ?? [])
2341
+ .map((prov) => prov.name);
2342
+ // Build a context summary for validation
2343
+ const contextSummary = {
2344
+ agentName: character.name,
2345
+ pluginCount: resolvedPlugins.length,
2346
+ providerCount: providerNames.length,
2347
+ primaryModel: primaryModel ?? "(auto-detect)",
2348
+ preferredProvider: preferredProviderId ?? "(auto-detect)",
2349
+ workspaceDir,
2350
+ };
2351
+ debugLogResolvedContext(pluginNames, providerNames, contextSummary, (msg) => logger.debug(msg));
2352
+ // Validate the context and surface issues early
2353
+ const contextValidation = validateRuntimeContext(contextSummary);
2354
+ if (!contextValidation.valid) {
2355
+ const issues = [];
2356
+ if (contextValidation.nullFields.length > 0) {
2357
+ issues.push(`null: ${contextValidation.nullFields.join(", ")}`);
2358
+ }
2359
+ if (contextValidation.undefinedFields.length > 0) {
2360
+ issues.push(`undefined: ${contextValidation.undefinedFields.join(", ")}`);
2361
+ }
2362
+ if (contextValidation.emptyFields.length > 0) {
2363
+ issues.push(`empty: ${contextValidation.emptyFields.join(", ")}`);
2364
+ }
2365
+ logger.warn(`[eliza] Context validation issues detected: ${issues.join("; ")}`);
2366
+ }
2367
+ }
2368
+ // 7. Create the AgentRuntime with Eliza plugin + resolved plugins
2369
+ // All CORE_PLUGINS are pre-registered sequentially (in CORE_PLUGINS
2370
+ // order) before runtime.initialize() so that cross-plugin getService()
2371
+ // calls always resolve. runtime.initialize() registers remaining
2372
+ // characterPlugins (connectors, providers, custom) in parallel — those
2373
+ // are NOT core and don't have ordering dependencies.
2374
+ const PREREGISTER_PLUGINS = new Set(CORE_PLUGINS);
2375
+ const sqlPlugin = resolvedPlugins.find((p) => p.name === "@elizaos/plugin-sql");
2376
+ const localEmbeddingPlugin = resolvedPlugins.find((p) => p.name === "@elizaos/plugin-local-embedding");
2377
+ const otherPlugins = resolvedPlugins.filter((p) => !PREREGISTER_PLUGINS.has(p.name));
2378
+ // Resolve the runtime log level from config (AgentRuntime doesn't support
2379
+ // "silent", so we map it to "fatal" as the quietest supported level).
2380
+ const runtimeLogLevel = (() => {
2381
+ // process.env.LOG_LEVEL is already resolved (set explicitly or from
2382
+ // config.logging.level above), so prefer it to honour the dev-mode
2383
+ // LOG_LEVEL=error override set by eliza/packages/app-core/scripts/dev-ui.mjs.
2384
+ const lvl = process.env.LOG_LEVEL ?? config.logging?.level ?? "error";
2385
+ if (lvl === "silent")
2386
+ return "fatal";
2387
+ return lvl;
2388
+ })();
2389
+ // 7a. Resolve bundled skills directory from @elizaos/skills so
2390
+ // plugin-agent-skills auto-loads them on startup.
2391
+ let bundledSkillsDir = null;
2392
+ try {
2393
+ const { getSkillsDir } = (await import("@elizaos/skills"));
2394
+ bundledSkillsDir = getSkillsDir();
2395
+ logger.info(`[eliza] Bundled skills dir: ${bundledSkillsDir}`);
2396
+ }
2397
+ catch {
2398
+ logger.debug("[eliza] @elizaos/skills not available — bundled skills will not be loaded");
2399
+ }
2400
+ // Workspace skills directory (highest precedence for overrides)
2401
+ const workspaceSkillsDir = workspaceDir ? `${workspaceDir}/skills` : null;
2402
+ const managedSkillsDir = path.join(resolveStateDir(), "skills");
2403
+ // ── Sandbox mode setup ──────────────────────────────────────────────────
2404
+ const sandboxConfig = config.agents?.defaults?.sandbox;
2405
+ const sandboxModeStr = sandboxConfig
2406
+ ?.mode;
2407
+ const sandboxMode = sandboxModeStr === "light" ||
2408
+ sandboxModeStr === "standard" ||
2409
+ sandboxModeStr === "max"
2410
+ ? sandboxModeStr
2411
+ : "off";
2412
+ const isSandboxActive = sandboxMode !== "off";
2413
+ let sandboxManager = null;
2414
+ let sandboxAuditLog = null;
2415
+ if (isSandboxActive) {
2416
+ logger.info(`[eliza] Sandbox mode: ${sandboxMode}`);
2417
+ sandboxAuditLog = new SandboxAuditLog({ console: true });
2418
+ // Standard/max modes also start the container sandbox manager
2419
+ if (sandboxMode === "standard" || sandboxMode === "max") {
2420
+ const dockerSettings = sandboxConfig?.docker;
2421
+ const browserSettings = sandboxConfig?.browser;
2422
+ sandboxManager = new SandboxManager({
2423
+ mode: sandboxMode,
2424
+ image: dockerSettings?.image ?? undefined,
2425
+ containerPrefix: dockerSettings?.containerPrefix ?? undefined,
2426
+ network: dockerSettings?.network ?? undefined,
2427
+ memory: dockerSettings?.memory ?? undefined,
2428
+ cpus: dockerSettings?.cpus ?? undefined,
2429
+ workspaceRoot: workspaceDir ?? undefined,
2430
+ browser: browserSettings
2431
+ ? {
2432
+ enabled: browserSettings.enabled ?? false,
2433
+ image: browserSettings.image ?? undefined,
2434
+ cdpPort: browserSettings.cdpPort ?? undefined,
2435
+ vncPort: browserSettings.vncPort ?? undefined,
2436
+ noVncPort: browserSettings.noVncPort ?? undefined,
2437
+ headless: browserSettings.headless ?? undefined,
2438
+ enableNoVnc: browserSettings.enableNoVnc ?? undefined,
2439
+ autoStart: browserSettings.autoStart ?? true,
2440
+ autoStartTimeoutMs: browserSettings.autoStartTimeoutMs ?? undefined,
2441
+ }
2442
+ : undefined,
2443
+ });
2444
+ try {
2445
+ await sandboxManager.start();
2446
+ logger.info("[eliza] Sandbox manager started");
2447
+ }
2448
+ catch (err) {
2449
+ logger.error(`[eliza] Sandbox manager failed to start: ${err instanceof Error ? err.message : String(err)}`);
2450
+ // Non-fatal: light mode fallback
2451
+ }
2452
+ }
2453
+ sandboxAuditLog.record({
2454
+ type: "sandbox_lifecycle",
2455
+ summary: `Sandbox initialized: mode=${sandboxMode}`,
2456
+ severity: "info",
2457
+ });
2458
+ }
2459
+ // ── End sandbox setup ───────────────────────────────────────────────────
2460
+ // ── Boost preferred provider plugin priority ──────────────────────────
2461
+ // elizaOS selects the model handler with the highest `priority` for each
2462
+ // ModelType. All provider plugins default to priority 0, so whichever
2463
+ // registers first wins — essentially random when using Promise.all.
2464
+ // When the user has explicitly selected a provider or model, prefer that
2465
+ // provider's plugin so its handlers are selected over registration order.
2466
+ const pluginsForRuntime = otherPlugins.map((p) => p.plugin);
2467
+ const visionModeSetting = resolveVisionModeSetting(config);
2468
+ if (preferredProviderPluginName) {
2469
+ for (const plugin of pluginsForRuntime) {
2470
+ if (plugin.name === preferredProviderPluginName) {
2471
+ plugin.priority = (plugin.priority ?? 0) + 10;
2472
+ logger.info(`[eliza] Boosted plugin "${plugin.name}" priority to ${plugin.priority} (preferred provider: ${preferredProviderId ?? "unknown"})`);
2473
+ break;
2474
+ }
2475
+ }
2476
+ }
2477
+ // ── Strip upstream skill providers ──────────────────────────────────────
2478
+ // The upstream @elizaos/plugin-agent-skills registers providers that dump
2479
+ // ALL loaded skills into every prompt (~2000-4000 tokens). Eliza replaces
2480
+ // them with a BM25-lite dynamic provider (see providers/skill-provider.ts)
2481
+ // that injects only the most relevant skills per turn.
2482
+ //
2483
+ // We keep:
2484
+ // - agent_skills_overview (lightweight stats, ~50 tokens)
2485
+ // - all actions (GET_SKILL_GUIDANCE, SEARCH_SKILLS, INSTALL_SKILL, …)
2486
+ // - the AGENT_SKILLS_SERVICE itself
2487
+ {
2488
+ const UPSTREAM_SKILL_PROVIDERS_TO_STRIP = new Set([
2489
+ "agent_skills",
2490
+ "agent_skill_instructions",
2491
+ "agent_skills_catalog",
2492
+ ]);
2493
+ for (const plugin of pluginsForRuntime) {
2494
+ if (plugin.name === "@elizaos/plugin-agent-skills" &&
2495
+ Array.isArray(plugin.providers)) {
2496
+ const before = plugin.providers.length;
2497
+ plugin.providers = plugin.providers.filter((p) => !UPSTREAM_SKILL_PROVIDERS_TO_STRIP.has(p.name ?? ""));
2498
+ const removed = before - plugin.providers.length;
2499
+ if (removed > 0) {
2500
+ logger.info(`[eliza] Stripped ${removed} upstream skill provider(s) — using dynamic BM25-lite provider instead`);
2501
+ }
2502
+ }
2503
+ }
2504
+ }
2505
+ // Deduplicate actions across all plugins to avoid "Action already registered"
2506
+ // warnings from elizaOS core. basic-capabilities is registered first by the
2507
+ // runtime, so include it in deduplication so its actions take precedence.
2508
+ const settings = character.settings ?? {};
2509
+ const basicCapabilitiesPlugin = createBasicCapabilitiesPlugin({
2510
+ disableBasic: settings.DISABLE_BASIC_CAPABILITIES === true ||
2511
+ settings.DISABLE_BASIC_CAPABILITIES === "true",
2512
+ enableExtended: settings.ENABLE_EXTENDED_CAPABILITIES === true ||
2513
+ settings.ENABLE_EXTENDED_CAPABILITIES === "true" ||
2514
+ settings.ADVANCED_CAPABILITIES === true ||
2515
+ settings.ADVANCED_CAPABILITIES === "true",
2516
+ skipCharacterProvider: false,
2517
+ enableAutonomy: settings.ENABLE_AUTONOMY === true || settings.ENABLE_AUTONOMY === "true",
2518
+ });
2519
+ deduplicatePluginActions([
2520
+ basicCapabilitiesPlugin,
2521
+ elizaPlugin,
2522
+ ...pluginsForRuntime,
2523
+ ]);
2524
+ let runtime = new AgentRuntime({
2525
+ character,
2526
+ // advancedCapabilities: true,
2527
+ actionPlanning: true,
2528
+ // advancedMemory is enabled via character.advancedMemory
2529
+ plugins: [elizaPlugin, ...pluginsForRuntime],
2530
+ ...(runtimeLogLevel ? { logLevel: runtimeLogLevel } : {}),
2531
+ // Sandbox options — only active when mode != "off"
2532
+ ...(isSandboxActive
2533
+ ? {
2534
+ sandboxMode: true,
2535
+ sandboxAuditHandler: sandboxAuditLog
2536
+ ? (event) => {
2537
+ sandboxAuditLog.recordTokenReplacement(event.direction, event.url, event.tokenIds);
2538
+ }
2539
+ : undefined,
2540
+ }
2541
+ : {}),
2542
+ settings: {
2543
+ VALIDATION_LEVEL: "fast",
2544
+ // Forward non-sensitive Eliza config.env vars as runtime settings so
2545
+ // plugins can access them via runtime.getSetting(). This fixes a bug where
2546
+ // plugins (e.g. @elizaos/plugin-google-genai) call runtime.getSetting()
2547
+ // which returns null for keys not in settings, but the plugin checks
2548
+ // !== undefined causing it to use "null" as the model name.
2549
+ //
2550
+ // Security: Filter out blockchain private keys and secrets. API keys are
2551
+ // allowed since plugins need them via runtime.getSetting(). Private keys
2552
+ // should only be accessed via process.env by signing services.
2553
+ ...Object.fromEntries(Object.entries(collectConfigEnvVars(config)).filter(([key]) => isEnvKeyAllowedForForwarding(key))),
2554
+ // Forward connector config vars as-is. The connector env map is curated
2555
+ // and plugins need access to secrets like passwords and tokens via
2556
+ // runtime.getSetting() for real transports to boot.
2557
+ ...collectConnectorEnvVars(config),
2558
+ // Forward Eliza config env vars as runtime settings
2559
+ ...(preferredProviderId ? { MODEL_PROVIDER: preferredProviderId } : {}),
2560
+ ...(visionModeSetting ? { VISION_MODE: visionModeSetting } : {}),
2561
+ ...resolveWalletRuntimeSettings(config),
2562
+ ...(typeof config.agents?.defaults?.adminEntityId === "string" &&
2563
+ config.agents.defaults.adminEntityId.trim().length > 0
2564
+ ? {
2565
+ ELIZA_ADMIN_ENTITY_ID: config.agents.defaults.adminEntityId.trim(),
2566
+ }
2567
+ : {}),
2568
+ ...(config.agents?.defaults?.ownerContacts
2569
+ ? {
2570
+ ELIZA_OWNER_CONTACTS_JSON: JSON.stringify(config.agents.defaults.ownerContacts),
2571
+ }
2572
+ : {}),
2573
+ ...(config.roles?.connectorAdmins
2574
+ ? {
2575
+ ELIZA_ROLES_CONNECTOR_ADMINS_JSON: JSON.stringify(config.roles.connectorAdmins),
2576
+ }
2577
+ : {}),
2578
+ // Forward skills config so plugin-agent-skills can apply allow/deny filtering
2579
+ ...(config.skills?.allowBundled
2580
+ ? { SKILLS_ALLOWLIST: config.skills.allowBundled.join(",") }
2581
+ : {}),
2582
+ ...(config.skills?.denyBundled
2583
+ ? { SKILLS_DENYLIST: config.skills.denyBundled.join(",") }
2584
+ : {}),
2585
+ // Managed skills are stored in the Eliza state dir (~/.eliza/skills).
2586
+ SKILLS_DIR: managedSkillsDir,
2587
+ // Tell plugin-agent-skills where to find bundled + workspace skills
2588
+ ...(bundledSkillsDir ? { BUNDLED_SKILLS_DIRS: bundledSkillsDir } : {}),
2589
+ ...(workspaceSkillsDir
2590
+ ? { WORKSPACE_SKILLS_DIR: workspaceSkillsDir }
2591
+ : {}),
2592
+ // Also forward extra dirs from config
2593
+ ...(config.skills?.load?.extraDirs?.length
2594
+ ? { EXTRA_SKILLS_DIRS: config.skills.load.extraDirs.join(",") }
2595
+ : {}),
2596
+ // Disable image description when vision is explicitly toggled off.
2597
+ // The cloud plugin always registers IMAGE_DESCRIPTION, so we need a
2598
+ // runtime setting to prevent the message service from calling it.
2599
+ ...(config.features?.vision === false
2600
+ ? { DISABLE_IMAGE_DESCRIPTION: "true" }
2601
+ : {}),
2602
+ },
2603
+ });
2604
+ installRuntimeMethodBindings(runtime);
2605
+ // 7b. Pre-register plugin-sql so the adapter is ready before other plugins init.
2606
+ // This is OPTIONAL — without it, some features (memory, todos) won't work.
2607
+ // runtime.db is a getter that returns this.adapter.db and throws when
2608
+ // this.adapter is undefined, so plugins that use runtime.db will fail.
2609
+ if (sqlPlugin) {
2610
+ // 7c. Eagerly initialize the database adapter so it's fully ready
2611
+ // BEFORE other plugins run their init(). When legacy/corrupt PGLite
2612
+ // state causes startup aborts, reset the local DB dir and retry once.
2613
+ await registerSqlPluginWithRecovery(runtime, sqlPlugin, config);
2614
+ }
2615
+ else {
2616
+ const loadedNames = resolvedPlugins.map((p) => p.name).join(", ");
2617
+ logger.error(`[eliza] @elizaos/plugin-sql was NOT found among resolved plugins. ` +
2618
+ `Loaded: [${loadedNames}]`);
2619
+ throw new Error("@elizaos/plugin-sql is required but was not loaded. " +
2620
+ "Ensure the package is installed and built (check for import errors above).");
2621
+ }
2622
+ // 7d. Pre-register plugin-local-embedding so its TEXT_EMBEDDING handler
2623
+ // (priority 10) is available before runtime.initialize() starts all
2624
+ // plugins in parallel. Without this, the basic-capabilities plugin's services
2625
+ // (ActionFilterService, EmbeddingGenerationService) race ahead and use
2626
+ // the cloud plugin's TEXT_EMBEDDING handler — which hits a paid API —
2627
+ // because local-embedding's heavier init hasn't completed yet.
2628
+ if (localEmbeddingPlugin) {
2629
+ configureLocalEmbeddingPlugin(localEmbeddingPlugin.plugin, config);
2630
+ await runtime.registerPlugin(localEmbeddingPlugin.plugin);
2631
+ logger.info("[eliza] plugin-local-embedding pre-registered (TEXT_EMBEDDING ready)");
2632
+ }
2633
+ else {
2634
+ logger.warn("[eliza] @elizaos/plugin-local-embedding not found — embeddings " +
2635
+ "will fall back to whatever TEXT_EMBEDDING handler is registered by " +
2636
+ "other plugins (may incur cloud API costs)");
2637
+ }
2638
+ // 7e. Pre-register remaining core plugins sequentially in CORE_PLUGINS order.
2639
+ // Each registerPlugin() call runs the plugin's init() before proceeding
2640
+ // to the next, guaranteeing that cross-plugin getService() calls resolve.
2641
+ {
2642
+ try {
2643
+ logger.info("[eliza] Pre-registering roles capability...");
2644
+ await runtime.registerPlugin(rolesPlugin);
2645
+ logger.info("[eliza] ✓ roles capability pre-registered");
2646
+ }
2647
+ catch (err) {
2648
+ logger.warn(`[eliza] Roles capability pre-registration failed: ${formatError(err)}`);
2649
+ }
2650
+ const alreadyPreRegistered = new Set([
2651
+ "@elizaos/plugin-sql",
2652
+ "@elizaos/plugin-local-embedding",
2653
+ ]);
2654
+ for (const name of CORE_PLUGINS) {
2655
+ if (alreadyPreRegistered.has(name))
2656
+ continue;
2657
+ const resolved = resolvedPlugins.find((p) => p.name === name);
2658
+ if (!resolved) {
2659
+ logger.debug(`[eliza] Core plugin ${name} not resolved — skipping pre-registration`);
2660
+ continue;
2661
+ }
2662
+ try {
2663
+ const regStart = Date.now();
2664
+ logger.info(`[eliza] Pre-registering core plugin: ${name}...`);
2665
+ const PLUGIN_REG_TIMEOUT_MS = 30_000;
2666
+ await Promise.race([
2667
+ runtime.registerPlugin(resolved.plugin),
2668
+ new Promise((_resolve, reject) => setTimeout(() => reject(new Error(`Timed out after ${PLUGIN_REG_TIMEOUT_MS / 1000}s`)), PLUGIN_REG_TIMEOUT_MS)),
2669
+ ]);
2670
+ logger.info(`[eliza] ✓ ${name} pre-registered (${Date.now() - regStart}ms)`);
2671
+ }
2672
+ catch (err) {
2673
+ logger.warn(`[eliza] Core plugin ${name} pre-registration failed: ${formatError(err)}`);
2674
+ }
2675
+ }
2676
+ }
2677
+ const warmAgentSkillsService = async () => {
2678
+ // Let runtime startup complete first; this warm-up runs asynchronously
2679
+ // so API + agent come online immediately.
2680
+ try {
2681
+ const skillServicePromise = runtime.getServiceLoadPromise("AGENT_SKILLS_SERVICE");
2682
+ const timeout = new Promise((_resolve, reject) => {
2683
+ setTimeout(() => {
2684
+ reject(new Error("AgentSkillsService warm-up timed out (10s) — non-blocking, agent will function without skills"));
2685
+ }, 10_000);
2686
+ });
2687
+ await Promise.race([skillServicePromise, timeout]);
2688
+ const svc = runtime.getService("AGENT_SKILLS_SERVICE");
2689
+ if (svc?.getCatalogStats) {
2690
+ const stats = svc.getCatalogStats();
2691
+ logger.info(`[eliza] AgentSkills ready — ${stats.loaded} skills loaded, ` +
2692
+ `${stats.total} in catalog (storage: ${stats.storageType})`);
2693
+ }
2694
+ // Guard against non-string skill.description values.
2695
+ // The bundled YAML parser produces {} for multi-line descriptions, which
2696
+ // crashes findBestLocalMatch / scoreSkillMatch (call .toLowerCase() on it).
2697
+ // Instead of a one-shot sanitize (which misses skills loaded later by
2698
+ // syncCatalog / autoRefresh), we monkey-patch getLoadedSkills to always
2699
+ // return sanitized values.
2700
+ const svcAny = svc;
2701
+ const origGetLoaded = svcAny?.getLoadedSkills;
2702
+ if (origGetLoaded && svcAny) {
2703
+ svcAny.getLoadedSkills = function (...args) {
2704
+ const skills = origGetLoaded.apply(this, args);
2705
+ for (const skill of skills) {
2706
+ if (typeof skill.description !== "string") {
2707
+ skill.description =
2708
+ skill.description == null
2709
+ ? ""
2710
+ : JSON.stringify(skill.description);
2711
+ }
2712
+ }
2713
+ return skills;
2714
+ };
2715
+ logger.debug("[eliza] Patched getLoadedSkills to guard descriptions");
2716
+ }
2717
+ }
2718
+ catch (err) {
2719
+ // Non-fatal — the agent can operate without skills. This warm-up runs
2720
+ // async so it doesn't block startup.
2721
+ logger.debug(`[eliza] AgentSkillsService warm-up: ${formatError(err)}`);
2722
+ }
2723
+ };
2724
+ const initializeRuntimeServices = async () => {
2725
+ try {
2726
+ const { stewardEvmPreBoot } = await import("../services/steward-evm-bridge.js");
2727
+ await stewardEvmPreBoot(runtime);
2728
+ }
2729
+ catch (err) {
2730
+ logger.debug(`[eliza] Steward EVM pre-boot skipped: ${formatError(err)}`);
2731
+ }
2732
+ // 7f. Pre-register ConnectorSetupService so connector plugins can access
2733
+ // shared config/escalation/owner-contact helpers via runtime.getService().
2734
+ try {
2735
+ const { ConnectorSetupService } = await import("../services/connector-setup-service.js");
2736
+ await runtime.registerService(ConnectorSetupService);
2737
+ }
2738
+ catch (err) {
2739
+ logger.debug(`[eliza] ConnectorSetupService registration skipped: ${formatError(err)}`);
2740
+ }
2741
+ // 8. Initialize the runtime (registers remaining plugins, starts services)
2742
+ assertPersistentDatabaseRequired(runtime);
2743
+ await runtime.initialize();
2744
+ await prepareRuntimeForTrajectoryCapture(runtime, "runtime.initialize()");
2745
+ // 8a. Apply role gating to wallet plugins (EVM, Solana) — admin-only actions.
2746
+ try {
2747
+ const { applyPluginRoleGating } = await import("./plugin-role-gating.js");
2748
+ applyPluginRoleGating(runtime.plugins ?? []);
2749
+ }
2750
+ catch (err) {
2751
+ logger.debug(`[eliza] Plugin role gating skipped: ${formatError(err)}`);
2752
+ }
2753
+ // 8b. Register lightweight conversation-proximity evaluator.
2754
+ // Updates relationship strength when people post near each other in a room.
2755
+ // No LLM calls — deterministic, runs on every message.
2756
+ try {
2757
+ const { updateProximityRelationships } = await import("../services/conversation-proximity.js");
2758
+ await runtime.registerPlugin({
2759
+ name: "eliza-conversation-proximity",
2760
+ description: "Lightweight relationship updates from conversation co-occurrence",
2761
+ evaluators: [
2762
+ {
2763
+ name: "CONVERSATION_PROXIMITY",
2764
+ description: "Update relationship strength for co-participants in a room",
2765
+ similes: [],
2766
+ alwaysRun: true,
2767
+ examples: [],
2768
+ validate: async (_runtime, message) => {
2769
+ // Run for any message with text from a real user (not the agent).
2770
+ const text = message.content?.text;
2771
+ return Boolean(text) && message.entityId !== _runtime.agentId;
2772
+ },
2773
+ handler: async (_runtime, message) => {
2774
+ await updateProximityRelationships(_runtime, message);
2775
+ return undefined;
2776
+ },
2777
+ },
2778
+ ],
2779
+ });
2780
+ logger.info("[eliza] ✓ conversation-proximity evaluator registered");
2781
+ }
2782
+ catch (err) {
2783
+ logger.debug(`[eliza] Conversation-proximity evaluator skipped: ${formatError(err)}`);
2784
+ }
2785
+ try {
2786
+ if (runtimeKnowledgeEnabled(runtime)) {
2787
+ await seedBundledKnowledge(runtime);
2788
+ }
2789
+ else {
2790
+ logger.info("[eliza] Native knowledge disabled; skipping bundled knowledge seeding");
2791
+ }
2792
+ }
2793
+ catch (err) {
2794
+ logger.warn(`[eliza] Failed to seed bundled knowledge: ${formatError(err)}`);
2795
+ }
2796
+ try {
2797
+ const { stewardEvmPostBoot } = await import("../services/steward-evm-bridge.js");
2798
+ await stewardEvmPostBoot(runtime);
2799
+ }
2800
+ catch (err) {
2801
+ logger.debug(`[eliza] Steward EVM post-boot skipped: ${formatError(err)}`);
2802
+ }
2803
+ try {
2804
+ const { installAnthropicWebSearch } = await import("./web-search-tools.js");
2805
+ installAnthropicWebSearch(runtime);
2806
+ }
2807
+ catch (err) {
2808
+ logger.debug(`[eliza] Anthropic web search setup skipped: ${formatError(err)}`);
2809
+ }
2810
+ // 8b. Ensure AutonomyService is available for trigger dispatch.
2811
+ // registers this service) from loading, so we start it explicitly.
2812
+ // Respect ENABLE_AUTONOMY env var — cloud-provisioned containers may
2813
+ // disable this to prevent runaway autonomous actions.
2814
+ const autonomyEnabled = (process.env.ENABLE_AUTONOMY ?? "true").toLowerCase() !== "false";
2815
+ if (autonomyEnabled && !runtime.getService("AUTONOMY")) {
2816
+ try {
2817
+ await AutonomyService.start(runtime);
2818
+ logger.info("[eliza] AutonomyService started for trigger dispatch");
2819
+ }
2820
+ catch (err) {
2821
+ logger.warn(`[eliza] AutonomyService failed to start: ${formatError(err)}`);
2822
+ }
2823
+ }
2824
+ else if (!autonomyEnabled) {
2825
+ logger.info("[eliza] AutonomyService skipped — ENABLE_AUTONOMY=false");
2826
+ }
2827
+ // Enable the autonomy loop so trigger/heartbeat instructions are
2828
+ // actually processed. Without this, memories created by
2829
+ // dispatchInstruction() sit in the DB and are never acted on.
2830
+ if (autonomyEnabled) {
2831
+ const autonomySvc = getAutonomyService(runtime);
2832
+ if (autonomySvc) {
2833
+ try {
2834
+ await autonomySvc.enableAutonomy();
2835
+ logger.info("[eliza] AutonomyService enabled — trigger instructions will be processed");
2836
+ }
2837
+ catch (err) {
2838
+ logger.warn(`[eliza] Failed to enable autonomy loop: ${formatError(err)}`);
2839
+ }
2840
+ }
2841
+ }
2842
+ // Do not block runtime startup on skills warm-up.
2843
+ void warmAgentSkillsService().catch((err) => {
2844
+ logger.warn(`[eliza] Skills warm-up failed: ${formatError(err)}`);
2845
+ });
2846
+ };
2847
+ try {
2848
+ await initializeRuntimeServices();
2849
+ }
2850
+ catch (err) {
2851
+ const pgliteDataDir = resolveActivePgliteDataDir(config);
2852
+ const recoveryAction = !opts?.pgliteRecoveryAttempted && pgliteDataDir
2853
+ ? getPgliteRecoveryAction(err, pgliteDataDir)
2854
+ : "none";
2855
+ if (!pgliteDataDir || recoveryAction === "none") {
2856
+ throw err;
2857
+ }
2858
+ if (recoveryAction === "fail-active-lock") {
2859
+ throw createActivePgliteLockError(pgliteDataDir, err);
2860
+ }
2861
+ if (recoveryAction === "fail-manual-reset") {
2862
+ throw createManualResetRequiredPgliteError(pgliteDataDir, err);
2863
+ }
2864
+ logger.warn(`[eliza] Runtime migrations failed (${formatError(err)}). Cleared a stale PGLite lock in ${pgliteDataDir} and retrying startup once without resetting data.`);
2865
+ try {
2866
+ await shutdownRuntime(runtime, "PGLite recovery");
2867
+ }
2868
+ catch {
2869
+ // Ignore cleanup errors — retry creates a fresh runtime anyway.
2870
+ }
2871
+ return await startEliza({
2872
+ ...opts,
2873
+ pgliteRecoveryAttempted: true,
2874
+ });
2875
+ }
2876
+ installActionAliases(runtime);
2877
+ // 9. Graceful shutdown handler
2878
+ //
2879
+ // In headless mode the caller (dev-server / desktop shell) owns the process
2880
+ // lifecycle, so we must NOT register signal handlers here — they would
2881
+ // stack on every hot-restart, close over stale runtime references, and
2882
+ // race with bun --watch's own process teardown.
2883
+ if (!opts?.headless) {
2884
+ registerSignalShutdownHandlers({
2885
+ getRuntime: () => runtime,
2886
+ getSandboxManager: () => sandboxManager,
2887
+ });
2888
+ }
2889
+ const loadHooksSystem = async () => {
2890
+ try {
2891
+ const internalHooksConfig = config.hooks
2892
+ ?.internal;
2893
+ await loadHooks({
2894
+ workspacePath: workspaceDir,
2895
+ internalConfig: internalHooksConfig,
2896
+ elizaConfig: config,
2897
+ });
2898
+ const startupEvent = createHookEvent("gateway", "startup", "system", {
2899
+ cfg: config,
2900
+ });
2901
+ await triggerHook(startupEvent);
2902
+ }
2903
+ catch (err) {
2904
+ logger.warn(`[eliza] Hooks system could not load: ${formatError(err)}`);
2905
+ }
2906
+ };
2907
+ // ── Headless mode — return runtime for API server wiring ──────────────
2908
+ if (opts?.headless) {
2909
+ void loadHooksSystem().catch((err) => {
2910
+ logger.warn(`[eliza] Hooks system load failed: ${formatError(err)}`);
2911
+ });
2912
+ logger.info("[eliza] Runtime initialised in headless mode (autonomy enabled)");
2913
+ return runtime;
2914
+ }
2915
+ // 10. Load hooks system
2916
+ await loadHooksSystem();
2917
+ // ── Start API server for GUI access ──────────────────────────────────────
2918
+ // In CLI mode (non-headless), start the API server in the background so
2919
+ // the GUI can connect to the running agent. This ensures full feature
2920
+ // parity: whether started via `npx elizaos`, `bun run dev`, or the
2921
+ // desktop app, the API server is always available for the GUI admin
2922
+ // surface.
2923
+ try {
2924
+ const { startApiServer } = await import("../api/server.js");
2925
+ const apiPort = resolveServerOnlyPort(process.env);
2926
+ const { port: actualApiPort } = await startApiServer({
2927
+ port: apiPort,
2928
+ runtime,
2929
+ onRestart: async () => {
2930
+ logger.info("[eliza] Hot-reload: Restarting runtime...");
2931
+ try {
2932
+ // Stop the old runtime to release resources (DB connections, timers, etc.)
2933
+ try {
2934
+ await shutdownRuntime(runtime, "hot-reload cleanup");
2935
+ }
2936
+ catch (stopErr) {
2937
+ logger.warn(`[eliza] Hot-reload: old runtime stop failed: ${formatError(stopErr)}`);
2938
+ }
2939
+ // Reload config from disk (updated by API)
2940
+ const freshConfig = loadElizaConfig();
2941
+ // Propagate secrets & cloud config into process.env so plugins
2942
+ // (especially plugin-elizacloud) can discover them. The initial
2943
+ // startup does this in startEliza(); the hot-reload must repeat it
2944
+ // because the config may have changed (e.g. cloud enabled during
2945
+ // onboarding).
2946
+ applyConnectorSecretsToEnv(freshConfig);
2947
+ await autoResolveDiscordAppId();
2948
+ applyCloudConfigToEnv(freshConfig);
2949
+ applyX402ConfigToEnv(freshConfig);
2950
+ applyDatabaseConfigToEnv(freshConfig);
2951
+ applyN8nConfigToEnv(freshConfig, freshConfig.cloud?.agentId?.trim() || agentId);
2952
+ await autoFetchCloudGithubToken(freshConfig.cloud?.agentId?.trim() || agentId);
2953
+ // Apply subscription-based credentials (Claude Max, Codex Max)
2954
+ // that may have been set up during onboarding.
2955
+ try {
2956
+ const { applySubscriptionCredentials } = await import("../auth/index.js");
2957
+ await applySubscriptionCredentials(freshConfig);
2958
+ }
2959
+ catch (subErr) {
2960
+ logger.warn(`[eliza] Hot-reload: subscription credentials: ${formatError(subErr)}`);
2961
+ }
2962
+ // Resolve plugins using same function as startup
2963
+ const resolvedPlugins = await resolvePlugins(freshConfig);
2964
+ // Rebuild character from the fresh config so onboarding changes
2965
+ // (name, bio, style, etc.) are picked up on restart.
2966
+ const freshCharacter = buildCharacterFromConfig(freshConfig);
2967
+ // Recreate Eliza plugin with fresh workspace
2968
+ const freshElizaPlugin = createElizaPlugin({
2969
+ workspaceDir: freshConfig.agents?.defaults?.workspace ?? workspaceDir,
2970
+ agentId: freshCharacter.name?.toLowerCase().replace(/\s+/g, "-") ?? "main",
2971
+ });
2972
+ // Create new runtime with updated plugins.
2973
+ // Filter out pre-registered plugins so they aren't double-loaded
2974
+ // inside initialize()'s Promise.all — same pattern as the initial
2975
+ // startup to avoid the TEXT_EMBEDDING race condition.
2976
+ const freshPreferredProviderId = resolvePreferredProviderId(freshConfig);
2977
+ const freshPreferredProviderPluginName = resolvePreferredProviderPluginName(freshConfig);
2978
+ const freshOtherPlugins = resolvedPlugins.filter((p) => !PREREGISTER_PLUGINS.has(p.name));
2979
+ // Boost the preferred provider plugin priority (same as initial startup)
2980
+ const freshPluginsForRuntime = freshOtherPlugins.map((p) => p.plugin);
2981
+ const freshVisionModeSetting = resolveVisionModeSetting(freshConfig);
2982
+ if (freshPreferredProviderPluginName) {
2983
+ for (const plugin of freshPluginsForRuntime) {
2984
+ if (plugin.name === freshPreferredProviderPluginName) {
2985
+ plugin.priority = (plugin.priority ?? 0) + 10;
2986
+ break;
2987
+ }
2988
+ }
2989
+ }
2990
+ const newRuntime = new AgentRuntime({
2991
+ character: freshCharacter,
2992
+ plugins: [freshElizaPlugin, ...freshPluginsForRuntime],
2993
+ ...(runtimeLogLevel ? { logLevel: runtimeLogLevel } : {}),
2994
+ settings: {
2995
+ ...(freshPreferredProviderId
2996
+ ? { MODEL_PROVIDER: freshPreferredProviderId }
2997
+ : {}),
2998
+ ...(freshVisionModeSetting
2999
+ ? { VISION_MODE: freshVisionModeSetting }
3000
+ : {}),
3001
+ // Disable image description when vision is explicitly toggled off.
3002
+ ...(freshConfig.features?.vision === false
3003
+ ? { DISABLE_IMAGE_DESCRIPTION: "true" }
3004
+ : {}),
3005
+ },
3006
+ });
3007
+ installRuntimeMethodBindings(newRuntime);
3008
+ // Pre-register plugin-sql + local-embedding before initialize()
3009
+ // to avoid the same race condition as the initial startup.
3010
+ // Re-derive from freshly resolved plugins (not outer closure) so
3011
+ // hot-reload picks up any plugin updates.
3012
+ const freshSqlPlugin = resolvedPlugins.find((p) => p.name === "@elizaos/plugin-sql");
3013
+ const freshLocalEmbeddingPlugin = resolvedPlugins.find((p) => p.name === "@elizaos/plugin-local-embedding");
3014
+ if (freshSqlPlugin) {
3015
+ await registerSqlPluginWithRecovery(newRuntime, freshSqlPlugin, freshConfig);
3016
+ }
3017
+ if (freshLocalEmbeddingPlugin) {
3018
+ configureLocalEmbeddingPlugin(freshLocalEmbeddingPlugin.plugin, freshConfig);
3019
+ await newRuntime.registerPlugin(freshLocalEmbeddingPlugin.plugin);
3020
+ }
3021
+ // Pre-register remaining core plugins sequentially (same as startup)
3022
+ {
3023
+ try {
3024
+ await newRuntime.registerPlugin(rolesPlugin);
3025
+ }
3026
+ catch (err) {
3027
+ logger.warn(`[eliza] Hot-reload: roles capability pre-registration failed: ${formatError(err)}`);
3028
+ }
3029
+ const alreadyPreRegistered = new Set([
3030
+ "@elizaos/plugin-sql",
3031
+ "@elizaos/plugin-local-embedding",
3032
+ ]);
3033
+ for (const name of CORE_PLUGINS) {
3034
+ if (alreadyPreRegistered.has(name))
3035
+ continue;
3036
+ const resolved = resolvedPlugins.find((p) => p.name === name);
3037
+ if (!resolved)
3038
+ continue;
3039
+ try {
3040
+ await newRuntime.registerPlugin(resolved.plugin);
3041
+ }
3042
+ catch (err) {
3043
+ logger.warn(`[eliza] Hot-reload: core plugin ${name} pre-registration failed: ${formatError(err)}`);
3044
+ }
3045
+ }
3046
+ }
3047
+ assertPersistentDatabaseRequired(newRuntime);
3048
+ try {
3049
+ const { ConnectorSetupService: CSSReload } = await import("../services/connector-setup-service.js");
3050
+ await newRuntime.registerService(CSSReload);
3051
+ }
3052
+ catch {
3053
+ // non-fatal
3054
+ }
3055
+ try {
3056
+ const { stewardEvmPreBoot: preBootHR } = await import("../services/steward-evm-bridge.js");
3057
+ await preBootHR(newRuntime);
3058
+ }
3059
+ catch {
3060
+ // non-fatal
3061
+ }
3062
+ assertPersistentDatabaseRequired(newRuntime);
3063
+ await newRuntime.initialize();
3064
+ await prepareRuntimeForTrajectoryCapture(newRuntime, "hot-reload runtime.initialize()");
3065
+ try {
3066
+ const { stewardEvmPostBoot: postBootHR } = await import("../services/steward-evm-bridge.js");
3067
+ await postBootHR(newRuntime);
3068
+ }
3069
+ catch {
3070
+ // non-fatal
3071
+ }
3072
+ // Ensure AutonomyService survives hot-reload (respects ENABLE_AUTONOMY)
3073
+ const hotReloadAutonomyEnabled = (process.env.ENABLE_AUTONOMY ?? "true").toLowerCase() !== "false";
3074
+ if (hotReloadAutonomyEnabled && !newRuntime.getService("AUTONOMY")) {
3075
+ try {
3076
+ await AutonomyService.start(newRuntime);
3077
+ }
3078
+ catch (err) {
3079
+ logger.warn(`[eliza] AutonomyService failed to start after hot-reload: ${formatError(err)}`);
3080
+ }
3081
+ }
3082
+ // Enable the autonomy loop after hot-reload (same as initial boot)
3083
+ if (hotReloadAutonomyEnabled) {
3084
+ const svc = getAutonomyService(newRuntime);
3085
+ if (svc) {
3086
+ try {
3087
+ await svc.enableAutonomy();
3088
+ }
3089
+ catch (err) {
3090
+ logger.warn(`[eliza] Failed to enable autonomy after hot-reload: ${formatError(err)}`);
3091
+ }
3092
+ }
3093
+ }
3094
+ installActionAliases(newRuntime);
3095
+ runtime = newRuntime;
3096
+ logger.info("[eliza] Hot-reload: Runtime restarted successfully");
3097
+ return newRuntime;
3098
+ }
3099
+ catch (err) {
3100
+ logger.error(`[eliza] Hot-reload failed: ${formatError(err)}`);
3101
+ return null;
3102
+ }
3103
+ },
3104
+ });
3105
+ const dashboardUrl = `http://localhost:${actualApiPort}`;
3106
+ console.log(`[eliza] Control UI: ${dashboardUrl}`);
3107
+ logger.info(`[eliza] API server listening on ${dashboardUrl}`);
3108
+ }
3109
+ catch (apiErr) {
3110
+ // Log to both stderr (visible to Electrobun agent.ts) and the in-memory
3111
+ // logger so the error is never silently swallowed in packaged builds.
3112
+ const apiErrMsg = `[eliza] Could not start API server: ${formatError(apiErr)}`;
3113
+ console.error(apiErrMsg);
3114
+ logger.warn(apiErrMsg);
3115
+ // In server-only mode (Electrobun desktop), a missing API server is fatal
3116
+ // — nothing else can serve requests. Exit so the parent process sees a
3117
+ // non-zero exit code instead of the misleading "Server running" message.
3118
+ if (opts?.serverOnly) {
3119
+ console.error("[eliza] Exiting: API server is required in server-only mode.");
3120
+ process.exit(1);
3121
+ }
3122
+ // Non-fatal in CLI mode — the interactive chat loop still works.
3123
+ }
3124
+ // ── Server-only mode — keep running without chat loop ────────────────────
3125
+ if (opts?.serverOnly) {
3126
+ logger.info("[eliza] Running in server-only mode (no interactive chat)");
3127
+ console.log("[eliza] Server running. Press Ctrl+C to stop.");
3128
+ // Keep process alive — the API server handles all interaction
3129
+ const keepAlive = setInterval(() => { }, 1 << 30); // ~12 days
3130
+ registerSignalShutdownHandlers({
3131
+ getRuntime: () => runtime,
3132
+ getSandboxManager: () => sandboxManager,
3133
+ beforeShutdown: () => {
3134
+ clearInterval(keepAlive);
3135
+ },
3136
+ });
3137
+ return runtime;
3138
+ }
3139
+ // ── Interactive chat loop ────────────────────────────────────────────────
3140
+ const agentName = character.name ?? "Eliza";
3141
+ const userId = crypto.randomUUID();
3142
+ // Use `let` so the fallback path can reassign to fresh IDs.
3143
+ let roomId = stringToUuid(`${agentName}-chat-room`);
3144
+ try {
3145
+ const worldId = stringToUuid(`${agentName}-chat-world`);
3146
+ // Use a deterministic messageServerId so the settings provider
3147
+ // can reference the world by serverId after it is found.
3148
+ const messageServerId = stringToUuid(`${agentName}-cli-server`);
3149
+ await runtime.ensureConnection({
3150
+ entityId: userId,
3151
+ roomId,
3152
+ worldId,
3153
+ userName: "User",
3154
+ source: "cli",
3155
+ channelId: `${agentName}-chat`,
3156
+ type: ChannelType.DM,
3157
+ messageServerId,
3158
+ metadata: { ownership: { ownerId: userId } },
3159
+ });
3160
+ // Ensure the world has ownership metadata so the settings
3161
+ // provider can locate it via findWorldsForOwner during onboarding.
3162
+ // This also handles worlds that already exist from a prior session
3163
+ // but were created without ownership metadata.
3164
+ const world = await runtime.getWorld(worldId);
3165
+ if (world) {
3166
+ let needsUpdate = false;
3167
+ if (!world.metadata) {
3168
+ world.metadata = {};
3169
+ needsUpdate = true;
3170
+ }
3171
+ if (!world.metadata.ownership ||
3172
+ typeof world.metadata.ownership !== "object" ||
3173
+ world.metadata.ownership.ownerId !== userId) {
3174
+ world.metadata.ownership = { ownerId: userId };
3175
+ needsUpdate = true;
3176
+ }
3177
+ if (needsUpdate) {
3178
+ await runtime.updateWorld(world);
3179
+ }
3180
+ }
3181
+ }
3182
+ catch (err) {
3183
+ logger.warn(`[eliza] Could not establish chat room, retrying with fresh IDs: ${formatError(err)}`);
3184
+ // Fall back to unique IDs if deterministic ones conflict with stale data.
3185
+ // IMPORTANT: reassign roomId so the message loop below uses the same room.
3186
+ roomId = crypto.randomUUID();
3187
+ const freshWorldId = crypto.randomUUID();
3188
+ const freshServerId = crypto.randomUUID();
3189
+ try {
3190
+ await runtime.ensureConnection({
3191
+ entityId: userId,
3192
+ roomId,
3193
+ worldId: freshWorldId,
3194
+ userName: "User",
3195
+ source: "cli",
3196
+ channelId: `${agentName}-chat`,
3197
+ type: ChannelType.DM,
3198
+ messageServerId: freshServerId,
3199
+ metadata: { ownership: { ownerId: userId } },
3200
+ });
3201
+ // Same ownership metadata fix for the fallback world.
3202
+ const fallbackWorld = await runtime.getWorld(freshWorldId);
3203
+ if (fallbackWorld) {
3204
+ let needsUpdate = false;
3205
+ if (!fallbackWorld.metadata) {
3206
+ fallbackWorld.metadata = {};
3207
+ needsUpdate = true;
3208
+ }
3209
+ if (!fallbackWorld.metadata.ownership ||
3210
+ typeof fallbackWorld.metadata.ownership !== "object" ||
3211
+ fallbackWorld.metadata.ownership.ownerId !==
3212
+ userId) {
3213
+ fallbackWorld.metadata.ownership = { ownerId: userId };
3214
+ needsUpdate = true;
3215
+ }
3216
+ if (needsUpdate) {
3217
+ await runtime.updateWorld(fallbackWorld);
3218
+ }
3219
+ }
3220
+ }
3221
+ catch (retryErr) {
3222
+ logger.error(`[eliza] Chat room setup failed after retry: ${formatError(retryErr)}`);
3223
+ throw retryErr;
3224
+ }
3225
+ }
3226
+ const rl = readline.createInterface({
3227
+ input: process.stdin,
3228
+ output: process.stdout,
3229
+ });
3230
+ console.log(`\n💬 Chat with ${agentName} (type 'exit' to quit)\n`);
3231
+ const prompt = () => {
3232
+ rl.question("You: ", async (input) => {
3233
+ const text = input.trim();
3234
+ if (text.toLowerCase() === "exit" || text.toLowerCase() === "quit") {
3235
+ console.log("\nGoodbye!");
3236
+ rl.close();
3237
+ try {
3238
+ await shutdownRuntime(runtime, "cli shutdown");
3239
+ }
3240
+ catch (err) {
3241
+ logger.warn(`[eliza] Error stopping runtime: ${formatError(err)}`);
3242
+ }
3243
+ process.exit(0);
3244
+ }
3245
+ if (!text) {
3246
+ prompt();
3247
+ return;
3248
+ }
3249
+ try {
3250
+ const message = createMessageMemory({
3251
+ id: crypto.randomUUID(),
3252
+ entityId: userId,
3253
+ roomId,
3254
+ content: {
3255
+ text,
3256
+ source: "client_chat",
3257
+ channelType: ChannelType.DM,
3258
+ },
3259
+ });
3260
+ process.stdout.write(`${agentName}: `);
3261
+ if (!runtime.messageService) {
3262
+ logger.error("[eliza] runtime.messageService is not available — cannot process messages");
3263
+ console.log("[Error: message service unavailable]\n");
3264
+ prompt();
3265
+ return;
3266
+ }
3267
+ await runtime.messageService.handleMessage(runtime, message, async (content) => {
3268
+ if (content?.text) {
3269
+ process.stdout.write(content.text);
3270
+ }
3271
+ return [];
3272
+ });
3273
+ console.log("\n");
3274
+ }
3275
+ catch (err) {
3276
+ // Log the error and continue the prompt loop — don't let a single
3277
+ // failed message kill the interactive session.
3278
+ console.log(`\n[Error: ${formatError(err)}]\n`);
3279
+ logger.error(`[eliza] Chat message handling failed: ${formatError(err)}`);
3280
+ }
3281
+ prompt();
3282
+ });
3283
+ };
3284
+ prompt();
3285
+ }
3286
+ // When run directly (not imported), start immediately.
3287
+ // Use path.resolve to normalise both sides before comparing so that
3288
+ // symlinks, trailing slashes, and relative paths don't cause false negatives.
3289
+ // ---------------------------------------------------------------------------
3290
+ // Cloud thin-client mode
3291
+ // ---------------------------------------------------------------------------
3292
+ /**
3293
+ * Start in cloud mode — connect to a remote cloud agent via the thin client.
3294
+ * Skips all local runtime construction (plugins, database, etc.).
3295
+ */
3296
+ export async function startInCloudMode(config, agentId, opts) {
3297
+ const { CloudManager } = await import("../cloud/cloud-manager.js");
3298
+ const cloudConfig = config.cloud;
3299
+ if (!cloudConfig) {
3300
+ throw new Error("Cloud mode requires a cloud configuration block in the config");
3301
+ }
3302
+ logger.info(`[eliza] Starting in cloud mode (agentId=${agentId}, baseUrl=${cloudConfig.baseUrl ?? "(default)"})`);
3303
+ const manager = new CloudManager(cloudConfig, {
3304
+ onStatusChange: (status) => {
3305
+ logger.info(`[eliza] Cloud connection: ${status}`);
3306
+ },
3307
+ });
3308
+ try {
3309
+ await manager.init();
3310
+ const proxy = await manager.connect(agentId);
3311
+ if (opts?.headless || opts?.serverOnly) {
3312
+ // In headless/server mode, start the API server with the cloud proxy.
3313
+ // The proxy exposes the same interface the API server needs.
3314
+ logger.info(`[eliza] Cloud agent connected (headless). Agent: ${proxy.agentName}`);
3315
+ // Return undefined here; GUI cloud mode is handled through the
3316
+ // dedicated cloud proxy routes instead of a local AgentRuntime.
3317
+ return undefined;
3318
+ }
3319
+ // Interactive CLI mode — simple chat loop against the cloud agent
3320
+ console.log(`\n☁️ Connected to cloud agent "${proxy.agentName}" (${agentId})\n`);
3321
+ console.log("Type a message to chat, or Ctrl+C to quit.\n");
3322
+ const rl = (await import("node:readline")).createInterface({
3323
+ input: process.stdin,
3324
+ output: process.stdout,
3325
+ });
3326
+ const prompt = () => {
3327
+ rl.question("You: ", async (input) => {
3328
+ const text = input.trim();
3329
+ if (!text) {
3330
+ prompt();
3331
+ return;
3332
+ }
3333
+ try {
3334
+ // Use streaming if available
3335
+ let response = "";
3336
+ process.stdout.write(`${proxy.agentName}: `);
3337
+ for await (const chunk of proxy.handleChatMessageStream(text)) {
3338
+ process.stdout.write(chunk);
3339
+ response += chunk;
3340
+ }
3341
+ if (!response) {
3342
+ // Fallback to non-streaming
3343
+ response = await proxy.handleChatMessage(text);
3344
+ process.stdout.write(response);
3345
+ }
3346
+ console.log("\n");
3347
+ }
3348
+ catch (err) {
3349
+ const msg = err instanceof Error ? err.message : String(err);
3350
+ console.error(`\n[error] ${msg}\n`);
3351
+ }
3352
+ prompt();
3353
+ });
3354
+ };
3355
+ rl.on("close", async () => {
3356
+ console.log("\nDisconnecting from cloud agent...");
3357
+ await manager.disconnect();
3358
+ process.exit(0);
3359
+ });
3360
+ prompt();
3361
+ // Keep the process alive
3362
+ return undefined;
3363
+ }
3364
+ catch (err) {
3365
+ const msg = err instanceof Error ? err.message : String(err);
3366
+ logger.error(`[eliza] Failed to connect to cloud agent: ${msg}`);
3367
+ throw new Error(`Failed to connect to cloud agent: ${msg}\n` +
3368
+ "You can retry with `eliza start`, or switch to local mode by setting `deploymentTarget.runtime` to `local`");
3369
+ }
3370
+ }
3371
+ const isDirectRun = (() => {
3372
+ const scriptArg = process.argv[1];
3373
+ if (!scriptArg)
3374
+ return false;
3375
+ const normalised = path.resolve(scriptArg);
3376
+ return import.meta.url === pathToFileURL(normalised).href;
3377
+ })();
3378
+ if (isDirectRun) {
3379
+ startEliza().catch((err) => {
3380
+ console.error("[eliza] Fatal error:", err instanceof Error ? (err.stack ?? err.message) : err);
3381
+ process.exit(1);
3382
+ });
3383
+ }