@elizaos/agent 2.0.0-alpha.525 → 2.0.0-alpha.534

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 (478) hide show
  1. package/apps/app-contacts/src/plugin.d.ts +11 -0
  2. package/apps/app-contacts/src/plugin.d.ts.map +1 -0
  3. package/apps/app-contacts/src/plugin.js +57 -0
  4. package/apps/app-elizamaker/src/index.d.ts +2 -0
  5. package/apps/app-elizamaker/src/index.d.ts.map +1 -1
  6. package/apps/app-elizamaker/src/index.js +2 -0
  7. package/apps/app-elizamaker/src/init-registry-services.d.ts +18 -0
  8. package/apps/app-elizamaker/src/init-registry-services.d.ts.map +1 -0
  9. package/apps/app-elizamaker/src/init-registry-services.js +63 -0
  10. package/apps/app-elizamaker/src/plugin.d.ts.map +1 -1
  11. package/apps/app-elizamaker/src/plugin.js +7 -0
  12. package/apps/app-elizamaker/src/registry-service-registry.d.ts +4 -0
  13. package/apps/app-elizamaker/src/registry-service-registry.d.ts.map +1 -0
  14. package/apps/app-elizamaker/src/registry-service-registry.js +7 -0
  15. package/apps/app-lifeops/src/automation-node-contributor.d.ts +2 -0
  16. package/apps/app-lifeops/src/automation-node-contributor.d.ts.map +1 -0
  17. package/apps/app-lifeops/src/automation-node-contributor.js +93 -0
  18. package/apps/app-lifeops/src/lifeops/continuity-probe.d.ts +1 -1
  19. package/apps/app-lifeops/src/lifeops/continuity-probe.js +1 -1
  20. package/apps/app-lifeops/src/lifeops/discord-browser-scraper.js +1 -1
  21. package/apps/app-lifeops/src/lifeops/discord-desktop-cdp.js +2 -2
  22. package/apps/app-lifeops/src/lifeops/fda-probe.js +1 -1
  23. package/apps/app-lifeops/src/lifeops/feature-flags.types.d.ts +1 -1
  24. package/apps/app-lifeops/src/lifeops/feature-flags.types.js +1 -1
  25. package/apps/app-lifeops/src/lifeops/google-fetch.d.ts.map +1 -1
  26. package/apps/app-lifeops/src/lifeops/google-fetch.js +3 -3
  27. package/apps/app-lifeops/src/lifeops/google-managed-client.js +14 -14
  28. package/apps/app-lifeops/src/lifeops/health-bridge.js +1 -1
  29. package/apps/app-lifeops/src/lifeops/health-connectors.js +2 -2
  30. package/apps/app-lifeops/src/lifeops/health-oauth.js +1 -1
  31. package/apps/app-lifeops/src/lifeops/paypal-managed-client.d.ts +1 -1
  32. package/apps/app-lifeops/src/lifeops/paypal-managed-client.js +5 -5
  33. package/apps/app-lifeops/src/lifeops/plaid-managed-client.d.ts +3 -3
  34. package/apps/app-lifeops/src/lifeops/plaid-managed-client.js +6 -6
  35. package/apps/app-lifeops/src/lifeops/schedule-state.d.ts.map +1 -1
  36. package/apps/app-lifeops/src/lifeops/schedule-state.js +2 -6
  37. package/apps/app-lifeops/src/lifeops/schedule-sync-client.js +1 -1
  38. package/apps/app-lifeops/src/lifeops/service-mixin-discord.js +1 -1
  39. package/apps/app-lifeops/src/lifeops/service-mixin-payments.js +2 -2
  40. package/apps/app-lifeops/src/lifeops/service-mixin-travel.d.ts +1 -1
  41. package/apps/app-lifeops/src/lifeops/source-reliability.d.ts +1 -1
  42. package/apps/app-lifeops/src/lifeops/source-reliability.d.ts.map +1 -1
  43. package/apps/app-lifeops/src/lifeops/source-reliability.js +1 -1
  44. package/apps/app-lifeops/src/lifeops/subscriptions-playbooks.js +1 -1
  45. package/apps/app-lifeops/src/lifeops/travel-adapters/duffel.js +3 -3
  46. package/apps/app-lifeops/src/lifeops/twilio.d.ts.map +1 -1
  47. package/apps/app-lifeops/src/lifeops/twilio.js +1 -3
  48. package/apps/app-lifeops/src/lifeops/whatsapp-client.d.ts.map +1 -1
  49. package/apps/app-lifeops/src/lifeops/whatsapp-client.js +1 -3
  50. package/apps/app-lifeops/src/lifeops/x-poster.d.ts.map +1 -1
  51. package/apps/app-lifeops/src/lifeops/x-poster.js +1 -3
  52. package/apps/app-lifeops/src/lifeops/x-reader.d.ts.map +1 -1
  53. package/apps/app-lifeops/src/lifeops/x-reader.js +1 -3
  54. package/apps/app-lifeops/src/public.d.ts.map +1 -1
  55. package/apps/app-lifeops/src/public.js +2 -0
  56. package/apps/app-phone/src/actions/place-call.d.ts +14 -0
  57. package/apps/app-phone/src/actions/place-call.d.ts.map +1 -0
  58. package/apps/app-phone/src/actions/place-call.js +63 -0
  59. package/apps/app-phone/src/actions/read-call-log.d.ts +11 -0
  60. package/apps/app-phone/src/actions/read-call-log.d.ts.map +1 -0
  61. package/apps/app-phone/src/actions/read-call-log.js +53 -0
  62. package/apps/app-phone/src/plugin.d.ts +10 -0
  63. package/apps/app-phone/src/plugin.d.ts.map +1 -0
  64. package/apps/app-phone/src/plugin.js +18 -0
  65. package/apps/app-steward/src/api/wallet-routes.d.ts.map +1 -1
  66. package/apps/app-steward/src/api/wallet-routes.js +0 -1
  67. package/apps/app-steward/src/api/wallet.d.ts.map +1 -1
  68. package/apps/app-steward/src/api/wallet.js +0 -2
  69. package/apps/app-training/src/backends/atropos.d.ts +1 -1
  70. package/apps/app-training/src/backends/atropos.js +1 -1
  71. package/apps/app-training/src/backends/native.d.ts +1 -1
  72. package/apps/app-training/src/backends/native.js +1 -1
  73. package/apps/app-training/src/services/training-service-registry.d.ts +4 -0
  74. package/apps/app-training/src/services/training-service-registry.d.ts.map +1 -0
  75. package/apps/app-training/src/services/training-service-registry.js +7 -0
  76. package/apps/app-training/src/services/training-trigger.d.ts +1 -1
  77. package/apps/app-training/src/services/training-trigger.js +2 -2
  78. package/apps/app-wifi/src/actions/scan-wifi.d.ts +13 -0
  79. package/apps/app-wifi/src/actions/scan-wifi.d.ts.map +1 -0
  80. package/apps/app-wifi/src/actions/scan-wifi.js +68 -0
  81. package/apps/app-wifi/src/plugin.d.ts +9 -0
  82. package/apps/app-wifi/src/plugin.d.ts.map +1 -0
  83. package/apps/app-wifi/src/plugin.js +16 -0
  84. package/package.json +16 -4
  85. package/packages/agent/src/actions/browser-autofill-login.d.ts +36 -0
  86. package/packages/agent/src/actions/browser-autofill-login.d.ts.map +1 -0
  87. package/packages/agent/src/actions/browser-autofill-login.js +347 -0
  88. package/packages/agent/src/actions/runtime.js +1 -1
  89. package/packages/agent/src/actions/update-owner-name.js +1 -1
  90. package/packages/agent/src/api/agent-status-routes.d.ts +3 -23
  91. package/packages/agent/src/api/agent-status-routes.d.ts.map +1 -1
  92. package/packages/agent/src/api/agent-status-routes.js +7 -40
  93. package/packages/agent/src/api/chat-routes.d.ts.map +1 -1
  94. package/packages/agent/src/api/chat-routes.js +1 -2
  95. package/packages/agent/src/api/cloud-provisioning.d.ts.map +1 -1
  96. package/packages/agent/src/api/cloud-provisioning.js +1 -2
  97. package/packages/agent/src/api/cloud-routes.d.ts.map +1 -1
  98. package/packages/agent/src/api/cloud-routes.js +8 -9
  99. package/packages/agent/src/api/config-env.js +4 -4
  100. package/packages/agent/src/api/config-routes.js +1 -1
  101. package/packages/agent/src/api/coordinator-wiring.d.ts +46 -0
  102. package/packages/agent/src/api/coordinator-wiring.d.ts.map +1 -0
  103. package/packages/agent/src/api/coordinator-wiring.js +108 -0
  104. package/packages/agent/src/api/curated-skills-routes.d.ts +1 -1
  105. package/packages/agent/src/api/curated-skills-routes.js +1 -1
  106. package/packages/agent/src/api/experience-routes.d.ts.map +1 -1
  107. package/packages/agent/src/api/experience-routes.js +40 -2
  108. package/packages/agent/src/api/misc-routes.d.ts.map +1 -1
  109. package/packages/agent/src/api/misc-routes.js +3 -37
  110. package/packages/agent/src/api/nfa-routes.d.ts.map +1 -1
  111. package/packages/agent/src/api/nfa-routes.js +1 -9
  112. package/packages/agent/src/api/provider-switch-routes.d.ts +8 -7
  113. package/packages/agent/src/api/provider-switch-routes.d.ts.map +1 -1
  114. package/packages/agent/src/api/provider-switch-routes.js +41 -26
  115. package/packages/agent/src/api/server-auth.d.ts.map +1 -1
  116. package/packages/agent/src/api/server-auth.js +1 -2
  117. package/packages/agent/src/api/server-helpers-auth.js +3 -3
  118. package/packages/agent/src/api/server-helpers-swarm.js +2 -2
  119. package/packages/agent/src/api/server-helpers-wallet.d.ts.map +1 -1
  120. package/packages/agent/src/api/server-helpers-wallet.js +1 -2
  121. package/packages/agent/src/api/server-types.d.ts +0 -6
  122. package/packages/agent/src/api/server-types.d.ts.map +1 -1
  123. package/packages/agent/src/api/server.d.ts.map +1 -1
  124. package/packages/agent/src/api/server.js +87 -138
  125. package/packages/agent/src/api/static-file-server.d.ts +2 -2
  126. package/packages/agent/src/api/static-file-server.d.ts.map +1 -1
  127. package/packages/agent/src/api/static-file-server.js +4 -2
  128. package/packages/agent/src/api/stream-routes.d.ts.map +1 -1
  129. package/packages/agent/src/api/stream-routes.js +6 -8
  130. package/packages/agent/src/api/subscription-routes.js +1 -1
  131. package/packages/agent/src/api/terminal-run-limits.d.ts.map +1 -1
  132. package/packages/agent/src/api/terminal-run-limits.js +2 -4
  133. package/packages/agent/src/api/wallet-routes.d.ts.map +1 -1
  134. package/packages/agent/src/api/wallet-routes.js +4 -5
  135. package/packages/agent/src/api/wallet-trading-profile.d.ts.map +1 -1
  136. package/packages/agent/src/api/wallet-trading-profile.js +2 -23
  137. package/packages/agent/src/api/wallet.d.ts +2 -2
  138. package/packages/agent/src/api/wallet.d.ts.map +1 -1
  139. package/packages/agent/src/api/wallet.js +2 -4
  140. package/packages/agent/src/auth/account-storage.d.ts.map +1 -1
  141. package/packages/agent/src/auth/account-storage.js +4 -15
  142. package/packages/agent/src/auth/claude-code-stealth-preload.d.ts +2 -0
  143. package/packages/agent/src/auth/claude-code-stealth-preload.d.ts.map +1 -0
  144. package/packages/agent/src/auth/claude-code-stealth-preload.js +2 -0
  145. package/packages/agent/src/auth/credentials.js +2 -2
  146. package/packages/agent/src/auth/oauth-flow.d.ts +1 -1
  147. package/packages/agent/src/bin.js +28 -6
  148. package/packages/agent/src/cli/index.js +3 -3
  149. package/packages/agent/src/cloud/bridge-client.js +1 -1
  150. package/packages/agent/src/cloud/cloud-wallet.d.ts +4 -4
  151. package/packages/agent/src/cloud/cloud-wallet.d.ts.map +1 -1
  152. package/packages/agent/src/cloud/cloud-wallet.js +9 -9
  153. package/packages/agent/src/config/config.d.ts.map +1 -1
  154. package/packages/agent/src/config/config.js +2 -3
  155. package/packages/agent/src/config/env-vars.js +1 -1
  156. package/packages/agent/src/config/feature-flags.d.ts +1 -1
  157. package/packages/agent/src/config/feature-flags.js +1 -1
  158. package/packages/agent/src/config/paths.d.ts +1 -1
  159. package/packages/agent/src/config/paths.d.ts.map +1 -1
  160. package/packages/agent/src/config/paths.js +3 -9
  161. package/packages/agent/src/config/types.eliza.d.ts +2 -2
  162. package/packages/agent/src/providers/workspace.d.ts.map +1 -1
  163. package/packages/agent/src/providers/workspace.js +2 -5
  164. package/packages/agent/src/runtime/agent-wallets.d.ts +103 -0
  165. package/packages/agent/src/runtime/agent-wallets.d.ts.map +1 -0
  166. package/packages/agent/src/runtime/agent-wallets.js +247 -0
  167. package/packages/agent/src/runtime/android-app-plugins.d.ts +24 -0
  168. package/packages/agent/src/runtime/android-app-plugins.d.ts.map +1 -0
  169. package/packages/agent/src/runtime/android-app-plugins.js +39 -0
  170. package/packages/agent/src/runtime/aosp-llama-adapter.d.ts +40 -22
  171. package/packages/agent/src/runtime/aosp-llama-adapter.d.ts.map +1 -1
  172. package/packages/agent/src/runtime/aosp-llama-adapter.js +214 -118
  173. package/packages/agent/src/runtime/aosp-local-inference-bootstrap.d.ts +4 -4
  174. package/packages/agent/src/runtime/aosp-local-inference-bootstrap.d.ts.map +1 -1
  175. package/packages/agent/src/runtime/aosp-local-inference-bootstrap.js +39 -18
  176. package/packages/agent/src/runtime/core-plugins.d.ts +16 -1
  177. package/packages/agent/src/runtime/core-plugins.d.ts.map +1 -1
  178. package/packages/agent/src/runtime/core-plugins.js +21 -2
  179. package/packages/agent/src/runtime/eliza-plugin.d.ts.map +1 -1
  180. package/packages/agent/src/runtime/eliza-plugin.js +2 -0
  181. package/packages/agent/src/runtime/eliza.d.ts.map +1 -1
  182. package/packages/agent/src/runtime/eliza.js +72 -12
  183. package/packages/agent/src/runtime/first-time-setup.d.ts.map +1 -1
  184. package/packages/agent/src/runtime/first-time-setup.js +1 -7
  185. package/packages/agent/src/runtime/operations/cold-strategy.d.ts +4 -4
  186. package/packages/agent/src/runtime/operations/cold-strategy.d.ts.map +1 -1
  187. package/packages/agent/src/runtime/operations/cold-strategy.js +13 -46
  188. package/packages/agent/src/runtime/operations/health-checks.d.ts +1 -0
  189. package/packages/agent/src/runtime/operations/health-checks.d.ts.map +1 -1
  190. package/packages/agent/src/runtime/operations/health-checks.js +1 -1
  191. package/packages/agent/src/runtime/operations/health.d.ts.map +1 -1
  192. package/packages/agent/src/runtime/operations/health.js +1 -13
  193. package/packages/agent/src/runtime/operations/index.d.ts +1 -0
  194. package/packages/agent/src/runtime/operations/index.d.ts.map +1 -1
  195. package/packages/agent/src/runtime/operations/index.js +1 -0
  196. package/packages/agent/src/runtime/operations/manager.d.ts +2 -0
  197. package/packages/agent/src/runtime/operations/manager.d.ts.map +1 -1
  198. package/packages/agent/src/runtime/operations/manager.js +27 -7
  199. package/packages/agent/src/runtime/operations/reload-hot.d.ts +4 -1
  200. package/packages/agent/src/runtime/operations/reload-hot.d.ts.map +1 -1
  201. package/packages/agent/src/runtime/operations/reload-hot.js +46 -41
  202. package/packages/agent/src/runtime/operations/repository.d.ts +30 -8
  203. package/packages/agent/src/runtime/operations/repository.d.ts.map +1 -1
  204. package/packages/agent/src/runtime/operations/repository.js +140 -54
  205. package/packages/agent/src/runtime/operations/types.d.ts +26 -24
  206. package/packages/agent/src/runtime/operations/types.d.ts.map +1 -1
  207. package/packages/agent/src/runtime/operations/types.js +8 -20
  208. package/packages/agent/src/runtime/operations/vault-bridge.d.ts +81 -0
  209. package/packages/agent/src/runtime/operations/vault-bridge.d.ts.map +1 -0
  210. package/packages/agent/src/runtime/operations/vault-bridge.js +133 -0
  211. package/packages/agent/src/runtime/plugin-collector.d.ts.map +1 -1
  212. package/packages/agent/src/runtime/plugin-collector.js +22 -6
  213. package/packages/agent/src/runtime/plugin-lifecycle.d.ts.map +1 -1
  214. package/packages/agent/src/runtime/plugin-lifecycle.js +1 -1
  215. package/packages/agent/src/runtime/plugin-resolver.d.ts.map +1 -1
  216. package/packages/agent/src/runtime/plugin-resolver.js +4 -3
  217. package/packages/agent/src/runtime/plugin-types.d.ts.map +1 -1
  218. package/packages/agent/src/runtime/plugin-types.js +1 -3
  219. package/packages/agent/src/runtime/subagent-output.d.ts +2 -2
  220. package/packages/agent/src/runtime/subagent-output.js +2 -2
  221. package/packages/agent/src/runtime/trajectory-internals.d.ts +20 -0
  222. package/packages/agent/src/runtime/trajectory-internals.d.ts.map +1 -1
  223. package/packages/agent/src/runtime/trajectory-internals.js +0 -9
  224. package/packages/agent/src/runtime/vault-profile-resolver.d.ts +37 -0
  225. package/packages/agent/src/runtime/vault-profile-resolver.d.ts.map +1 -0
  226. package/packages/agent/src/runtime/vault-profile-resolver.js +79 -0
  227. package/packages/agent/src/services/app-package-modules.d.ts.map +1 -1
  228. package/packages/agent/src/services/app-package-modules.js +1 -8
  229. package/packages/agent/src/services/app-run-store.d.ts.map +1 -1
  230. package/packages/agent/src/services/app-run-store.js +2 -23
  231. package/packages/agent/src/services/evm-signing-capability.d.ts +1 -1
  232. package/packages/agent/src/services/evm-signing-capability.js +1 -1
  233. package/packages/agent/src/services/registry-client-local.d.ts.map +1 -1
  234. package/packages/agent/src/services/registry-client-local.js +1 -9
  235. package/packages/agent/src/services/signal-pairing.js +5 -5
  236. package/packages/agent/src/services/skill-marketplace.d.ts.map +1 -1
  237. package/packages/agent/src/services/skill-marketplace.js +1 -1
  238. package/packages/agent/src/services/telegram-account-auth.d.ts.map +1 -1
  239. package/packages/agent/src/services/telegram-account-auth.js +1 -3
  240. package/packages/agent/src/test-utils/sqlite-compat.js +1 -1
  241. package/packages/agent/src/utils/atomic-json.d.ts +37 -0
  242. package/packages/agent/src/utils/atomic-json.d.ts.map +1 -0
  243. package/packages/agent/src/utils/atomic-json.js +98 -0
  244. package/packages/agent/src/utils/index.d.ts +1 -0
  245. package/packages/agent/src/utils/index.d.ts.map +1 -1
  246. package/packages/agent/src/utils/index.js +1 -0
  247. package/packages/app-core/src/api/automation-node-contributors.d.ts +14 -0
  248. package/packages/app-core/src/api/automation-node-contributors.d.ts.map +1 -0
  249. package/packages/app-core/src/api/automation-node-contributors.js +14 -0
  250. package/packages/app-core/src/api/client-agent.d.ts +628 -0
  251. package/packages/app-core/src/api/client-agent.d.ts.map +1 -0
  252. package/packages/app-core/src/api/client-agent.js +1442 -0
  253. package/packages/app-core/src/api/client-automations.d.ts +8 -0
  254. package/packages/app-core/src/api/client-automations.d.ts.map +1 -0
  255. package/packages/app-core/src/api/client-automations.js +7 -0
  256. package/packages/app-core/src/api/client-base.d.ts +82 -0
  257. package/packages/app-core/src/api/client-base.d.ts.map +1 -0
  258. package/packages/app-core/src/api/client-base.js +738 -0
  259. package/packages/app-core/src/api/client-browser-workspace.d.ts +25 -0
  260. package/packages/app-core/src/api/client-browser-workspace.d.ts.map +1 -0
  261. package/packages/app-core/src/api/client-browser-workspace.js +98 -0
  262. package/packages/app-core/src/api/client-chat.d.ts +355 -0
  263. package/packages/app-core/src/api/client-chat.d.ts.map +1 -0
  264. package/packages/app-core/src/api/client-chat.js +582 -0
  265. package/packages/app-core/src/api/client-cloud.d.ts +286 -0
  266. package/packages/app-core/src/api/client-cloud.d.ts.map +1 -0
  267. package/packages/app-core/src/api/client-cloud.js +410 -0
  268. package/packages/app-core/src/api/client-computeruse.d.ts +32 -0
  269. package/packages/app-core/src/api/client-computeruse.d.ts.map +1 -0
  270. package/packages/app-core/src/api/client-computeruse.js +16 -0
  271. package/packages/app-core/src/api/client-imessage.d.ts +68 -0
  272. package/packages/app-core/src/api/client-imessage.d.ts.map +1 -0
  273. package/packages/app-core/src/api/client-imessage.js +74 -0
  274. package/packages/app-core/src/api/client-local-inference.d.ts +62 -0
  275. package/packages/app-core/src/api/client-local-inference.d.ts.map +1 -0
  276. package/packages/app-core/src/api/client-local-inference.js +87 -0
  277. package/packages/app-core/src/api/client-n8n.d.ts +27 -0
  278. package/packages/app-core/src/api/client-n8n.d.ts.map +1 -0
  279. package/packages/app-core/src/api/client-n8n.js +61 -0
  280. package/packages/app-core/src/api/client-skills.d.ts +475 -0
  281. package/packages/app-core/src/api/client-skills.d.ts.map +1 -0
  282. package/packages/app-core/src/api/client-skills.js +608 -0
  283. package/packages/app-core/src/api/client-types-babylon.d.ts +254 -0
  284. package/packages/app-core/src/api/client-types-babylon.d.ts.map +1 -0
  285. package/packages/app-core/src/api/client-types-babylon.js +2 -0
  286. package/packages/app-core/src/api/client-types-character.d.ts +39 -0
  287. package/packages/app-core/src/api/client-types-character.d.ts.map +1 -0
  288. package/packages/app-core/src/api/client-types-character.js +1 -0
  289. package/packages/app-core/src/api/client-types-chat.d.ts +428 -0
  290. package/packages/app-core/src/api/client-types-chat.d.ts.map +1 -0
  291. package/packages/app-core/src/api/client-types-chat.js +9 -0
  292. package/packages/app-core/src/api/client-types-config.d.ts +587 -0
  293. package/packages/app-core/src/api/client-types-config.d.ts.map +1 -0
  294. package/packages/app-core/src/api/client-types-config.js +5 -0
  295. package/packages/app-core/src/api/client-types-experience.d.ts +97 -0
  296. package/packages/app-core/src/api/client-types-experience.d.ts.map +1 -0
  297. package/packages/app-core/src/api/client-types-experience.js +1 -0
  298. package/packages/app-core/src/api/client-types-relationships.d.ts +181 -0
  299. package/packages/app-core/src/api/client-types-relationships.d.ts.map +1 -0
  300. package/packages/app-core/src/api/client-types-relationships.js +1 -0
  301. package/packages/app-core/src/api/client-types-steward.d.ts +85 -0
  302. package/packages/app-core/src/api/client-types-steward.d.ts.map +1 -0
  303. package/packages/app-core/src/api/client-types-steward.js +9 -0
  304. package/packages/app-core/src/api/client-types.d.ts +9 -0
  305. package/packages/app-core/src/api/client-types.d.ts.map +1 -0
  306. package/packages/app-core/src/api/client-types.js +12 -0
  307. package/packages/app-core/src/api/client-vault.d.ts +53 -0
  308. package/packages/app-core/src/api/client-vault.d.ts.map +1 -0
  309. package/packages/app-core/src/api/client-vault.js +48 -0
  310. package/packages/app-core/src/api/client-wallet.d.ts +130 -0
  311. package/packages/app-core/src/api/client-wallet.d.ts.map +1 -0
  312. package/packages/app-core/src/api/client-wallet.js +228 -0
  313. package/packages/app-core/src/api/client.d.ts +37 -0
  314. package/packages/app-core/src/api/client.d.ts.map +1 -0
  315. package/packages/app-core/src/api/client.js +37 -0
  316. package/packages/app-core/src/api/index.d.ts +2 -0
  317. package/packages/app-core/src/api/index.d.ts.map +1 -0
  318. package/packages/app-core/src/api/index.js +1 -0
  319. package/packages/app-core/src/bridge/electrobun-rpc.d.ts +57 -0
  320. package/packages/app-core/src/bridge/electrobun-rpc.d.ts.map +1 -0
  321. package/packages/app-core/src/bridge/electrobun-rpc.js +87 -0
  322. package/packages/app-core/src/bridge/electrobun-runtime.d.ts +3 -0
  323. package/packages/app-core/src/bridge/electrobun-runtime.d.ts.map +1 -0
  324. package/packages/app-core/src/bridge/electrobun-runtime.js +34 -0
  325. package/packages/app-core/src/bridge/native-plugins.d.ts +504 -0
  326. package/packages/app-core/src/bridge/native-plugins.d.ts.map +1 -0
  327. package/packages/app-core/src/bridge/native-plugins.js +67 -0
  328. package/packages/app-core/src/chat/coding-agent-session-state.d.ts +16 -0
  329. package/packages/app-core/src/chat/coding-agent-session-state.d.ts.map +1 -0
  330. package/packages/app-core/src/chat/coding-agent-session-state.js +27 -0
  331. package/packages/app-core/src/components/pages/browser-workspace-wallet.d.ts +80 -0
  332. package/packages/app-core/src/components/pages/browser-workspace-wallet.d.ts.map +1 -0
  333. package/packages/app-core/src/components/pages/browser-workspace-wallet.js +135 -0
  334. package/packages/app-core/src/navigation/index.js +1 -1
  335. package/packages/app-core/src/registry/index.d.ts +7 -0
  336. package/packages/app-core/src/registry/index.d.ts.map +1 -0
  337. package/packages/app-core/src/registry/index.js +43 -0
  338. package/packages/app-core/src/registry/legacy-adapter.d.ts +32 -0
  339. package/packages/app-core/src/registry/legacy-adapter.d.ts.map +1 -0
  340. package/packages/app-core/src/registry/legacy-adapter.js +101 -0
  341. package/packages/app-core/src/registry/loader.d.ts +27 -0
  342. package/packages/app-core/src/registry/loader.d.ts.map +1 -0
  343. package/packages/app-core/src/registry/loader.js +111 -0
  344. package/packages/app-core/src/registry/schema.d.ts +986 -0
  345. package/packages/app-core/src/registry/schema.d.ts.map +1 -0
  346. package/packages/app-core/src/registry/schema.js +250 -0
  347. package/packages/app-core/src/services/account-pool.d.ts +98 -0
  348. package/packages/app-core/src/services/account-pool.d.ts.map +1 -0
  349. package/packages/app-core/src/services/account-pool.js +506 -0
  350. package/packages/app-core/src/services/account-usage.d.ts +75 -0
  351. package/packages/app-core/src/services/account-usage.d.ts.map +1 -0
  352. package/packages/app-core/src/services/account-usage.js +179 -0
  353. package/packages/app-core/src/services/local-inference/active-model.d.ts +59 -0
  354. package/packages/app-core/src/services/local-inference/active-model.d.ts.map +1 -0
  355. package/packages/app-core/src/services/local-inference/active-model.js +120 -0
  356. package/packages/app-core/src/services/local-inference/device-bridge.d.ts +131 -0
  357. package/packages/app-core/src/services/local-inference/device-bridge.d.ts.map +1 -0
  358. package/packages/app-core/src/services/local-inference/device-bridge.js +748 -0
  359. package/packages/app-core/src/services/local-inference/engine.d.ts +52 -0
  360. package/packages/app-core/src/services/local-inference/engine.d.ts.map +1 -0
  361. package/packages/app-core/src/services/local-inference/engine.js +138 -0
  362. package/packages/app-core/src/services/local-inference/external-scanner.d.ts +17 -0
  363. package/packages/app-core/src/services/local-inference/external-scanner.d.ts.map +1 -0
  364. package/packages/app-core/src/services/local-inference/external-scanner.js +261 -0
  365. package/packages/app-core/src/services/local-inference/handler-registry.d.ts +72 -0
  366. package/packages/app-core/src/services/local-inference/handler-registry.d.ts.map +1 -0
  367. package/packages/app-core/src/services/local-inference/handler-registry.js +160 -0
  368. package/packages/app-core/src/services/local-inference/paths.d.ts +24 -0
  369. package/packages/app-core/src/services/local-inference/paths.d.ts.map +1 -0
  370. package/packages/app-core/src/services/local-inference/paths.js +41 -0
  371. package/packages/app-core/src/services/local-inference/providers.d.ts +61 -0
  372. package/packages/app-core/src/services/local-inference/providers.d.ts.map +1 -0
  373. package/packages/app-core/src/services/local-inference/providers.js +277 -0
  374. package/packages/app-core/src/services/local-inference/registry.d.ts +35 -0
  375. package/packages/app-core/src/services/local-inference/registry.d.ts.map +1 -0
  376. package/packages/app-core/src/services/local-inference/registry.js +108 -0
  377. package/packages/app-core/src/services/local-inference/routing-preferences.d.ts +31 -0
  378. package/packages/app-core/src/services/local-inference/routing-preferences.d.ts.map +1 -0
  379. package/packages/app-core/src/services/local-inference/routing-preferences.js +72 -0
  380. package/packages/app-core/src/services/local-inference/types.d.ts +121 -0
  381. package/packages/app-core/src/services/local-inference/types.d.ts.map +1 -0
  382. package/packages/app-core/src/services/local-inference/types.js +14 -0
  383. package/packages/app-core/src/services/local-inference/verify.d.ts +39 -0
  384. package/packages/app-core/src/services/local-inference/verify.d.ts.map +1 -0
  385. package/packages/app-core/src/services/local-inference/verify.js +104 -0
  386. package/packages/app-core/src/services/vault-bootstrap.d.ts +31 -0
  387. package/packages/app-core/src/services/vault-bootstrap.d.ts.map +1 -0
  388. package/packages/app-core/src/services/vault-bootstrap.js +245 -0
  389. package/packages/app-core/src/services/vault-mirror.d.ts +44 -0
  390. package/packages/app-core/src/services/vault-mirror.d.ts.map +1 -0
  391. package/packages/app-core/src/services/vault-mirror.js +80 -0
  392. package/packages/app-core/src/types/index.d.ts +658 -0
  393. package/packages/app-core/src/types/index.d.ts.map +1 -0
  394. package/packages/app-core/src/types/index.js +4 -0
  395. package/packages/app-core/src/utils/assistant-text.d.ts +2 -0
  396. package/packages/app-core/src/utils/assistant-text.d.ts.map +1 -0
  397. package/packages/app-core/src/utils/assistant-text.js +167 -0
  398. package/packages/app-core/src/utils/eliza-globals.d.ts +13 -0
  399. package/packages/app-core/src/utils/eliza-globals.d.ts.map +1 -0
  400. package/packages/app-core/src/utils/eliza-globals.js +48 -0
  401. package/packages/app-core/src/utils/streaming-text.d.ts +9 -0
  402. package/packages/app-core/src/utils/streaming-text.d.ts.map +1 -0
  403. package/packages/app-core/src/utils/streaming-text.js +112 -0
  404. package/packages/native-plugins/contacts/src/definitions.d.ts +38 -0
  405. package/packages/native-plugins/contacts/src/definitions.d.ts.map +1 -0
  406. package/packages/native-plugins/contacts/src/definitions.js +1 -0
  407. package/packages/native-plugins/contacts/src/index.d.ts +4 -0
  408. package/packages/native-plugins/contacts/src/index.d.ts.map +1 -0
  409. package/packages/native-plugins/contacts/src/index.js +6 -0
  410. package/packages/native-plugins/contacts/src/web.d.ts +14 -0
  411. package/packages/native-plugins/contacts/src/web.d.ts.map +1 -0
  412. package/packages/native-plugins/contacts/src/web.js +12 -0
  413. package/packages/native-plugins/phone/src/definitions.d.ts +48 -0
  414. package/packages/native-plugins/phone/src/definitions.d.ts.map +1 -0
  415. package/packages/native-plugins/phone/src/definitions.js +1 -0
  416. package/packages/native-plugins/phone/src/index.d.ts +4 -0
  417. package/packages/native-plugins/phone/src/index.d.ts.map +1 -0
  418. package/packages/native-plugins/phone/src/index.js +6 -0
  419. package/packages/native-plugins/phone/src/web.d.ts +14 -0
  420. package/packages/native-plugins/phone/src/web.d.ts.map +1 -0
  421. package/packages/native-plugins/phone/src/web.js +23 -0
  422. package/packages/native-plugins/wifi/src/definitions.d.ts +84 -0
  423. package/packages/native-plugins/wifi/src/definitions.d.ts.map +1 -0
  424. package/packages/native-plugins/wifi/src/definitions.js +9 -0
  425. package/packages/native-plugins/wifi/src/index.d.ts +4 -0
  426. package/packages/native-plugins/wifi/src/index.d.ts.map +1 -0
  427. package/packages/native-plugins/wifi/src/index.js +6 -0
  428. package/packages/native-plugins/wifi/src/web.d.ts +17 -0
  429. package/packages/native-plugins/wifi/src/web.d.ts.map +1 -0
  430. package/packages/native-plugins/wifi/src/web.js +38 -0
  431. package/packages/shared/src/config/types.eliza.d.ts +2 -2
  432. package/packages/shared/src/connector-cred-types.d.ts +1 -1
  433. package/packages/shared/src/connector-cred-types.js +1 -1
  434. package/packages/shared/src/contracts/lifeops.d.ts +1 -1
  435. package/packages/shared/src/contracts/lifeops.d.ts.map +1 -1
  436. package/packages/shared/src/contracts/service-routing.d.ts +1 -1
  437. package/packages/shared/src/format-error.d.ts +14 -0
  438. package/packages/shared/src/format-error.d.ts.map +1 -0
  439. package/packages/shared/src/format-error.js +17 -0
  440. package/packages/shared/src/index.d.ts +1 -0
  441. package/packages/shared/src/index.d.ts.map +1 -1
  442. package/packages/shared/src/index.js +1 -0
  443. package/packages/shared/src/runtime-env.js +3 -3
  444. package/packages/skills/src/resolver.js +3 -3
  445. package/packages/typescript/src/features/advanced-capabilities/evaluators/skillExtraction.d.ts +1 -1
  446. package/packages/typescript/src/features/advanced-capabilities/evaluators/skillExtraction.js +1 -1
  447. package/packages/typescript/src/features/advanced-capabilities/evaluators/skillRefinement.d.ts +1 -1
  448. package/packages/typescript/src/features/advanced-capabilities/evaluators/skillRefinement.js +1 -1
  449. package/packages/typescript/src/features/basic-capabilities/providers/uiContext.js +1 -1
  450. package/packages/typescript/src/features/plugin-manager/actions/plugin.d.ts.map +1 -1
  451. package/packages/typescript/src/features/plugin-manager/actions/plugin.js +1 -2
  452. package/packages/typescript/src/features/plugin-manager/services/coreManagerService.d.ts +1 -1
  453. package/packages/typescript/src/features/plugin-manager/services/coreManagerService.d.ts.map +1 -1
  454. package/packages/typescript/src/features/plugin-manager/services/coreManagerService.js +3 -3
  455. package/packages/typescript/src/features/plugin-manager/services/pluginManagerService.js +1 -1
  456. package/packages/typescript/src/features/plugin-manager/types.d.ts +1 -1
  457. package/packages/typescript/src/features/plugin-manager/types.d.ts.map +1 -1
  458. package/packages/typescript/src/index.node.js +1 -1
  459. package/packages/typescript/src/lifeops-passive-connectors.js +1 -1
  460. package/packages/typescript/src/runtime-composition.d.ts +2 -2
  461. package/packages/typescript/src/runtime-composition.d.ts.map +1 -1
  462. package/packages/typescript/src/runtime-composition.js +1 -1
  463. package/packages/typescript/src/runtime.d.ts +14 -0
  464. package/packages/typescript/src/runtime.d.ts.map +1 -1
  465. package/packages/typescript/src/runtime.js +42 -0
  466. package/packages/typescript/src/services/message.d.ts +8 -0
  467. package/packages/typescript/src/services/message.d.ts.map +1 -1
  468. package/packages/typescript/src/services/message.js +51 -0
  469. package/packages/typescript/src/services/optimized-prompt.d.ts +1 -1
  470. package/packages/typescript/src/services/optimized-prompt.js +1 -1
  471. package/packages/typescript/src/services/task.d.ts +1 -0
  472. package/packages/typescript/src/services/task.d.ts.map +1 -1
  473. package/packages/typescript/src/services/task.js +26 -3
  474. package/packages/typescript/src/utils/state-dir.d.ts +7 -8
  475. package/packages/typescript/src/utils/state-dir.d.ts.map +1 -1
  476. package/packages/typescript/src/utils/state-dir.js +8 -11
  477. package/plugins/plugin-browser-bridge/src/plugin.d.ts +1 -1
  478. package/plugins/plugin-browser-bridge/src/plugin.js +1 -1
@@ -0,0 +1,11 @@
1
+ /**
2
+ * elizaOS runtime plugin for the Contacts overlay app.
3
+ *
4
+ * Wraps the existing @elizaos/capacitor-contacts native plugin with a single
5
+ * LIST_CONTACTS action. Session-gated so the action is only available while
6
+ * the Contacts app is active.
7
+ */
8
+ import type { Plugin } from "@elizaos/core";
9
+ export declare const appContactsPlugin: Plugin;
10
+ export default appContactsPlugin;
11
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-contacts/src/plugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAKV,MAAM,EACP,MAAM,eAAe,CAAC;AA8DvB,eAAO,MAAM,iBAAiB,EAAE,MAG/B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,57 @@
1
+ /**
2
+ * elizaOS runtime plugin for the Contacts overlay app.
3
+ *
4
+ * Wraps the existing @elizaos/capacitor-contacts native plugin with a single
5
+ * LIST_CONTACTS action. Session-gated so the action is only available while
6
+ * the Contacts app is active.
7
+ */
8
+ import { gatePluginSessionForHostedApp, hasRoleAccess } from "@elizaos/agent";
9
+ import { Contacts } from "@elizaos/capacitor-contacts";
10
+ const CONTACTS_APP_NAME = "@elizaos/app-contacts";
11
+ const DEFAULT_LIMIT = 25;
12
+ const MAX_LIMIT = 200;
13
+ const listContactsAction = {
14
+ name: "LIST_CONTACTS",
15
+ similes: ["GET_CONTACTS", "SHOW_CONTACTS", "READ_CONTACTS"],
16
+ description: "List names from the device address book. Android-only. Returns the display names of up to `limit` contacts (default 25).",
17
+ descriptionCompressed: "List contact names from the device address book.",
18
+ validate: async (runtime, message) => {
19
+ return hasRoleAccess(runtime, message, "USER");
20
+ },
21
+ handler: async (_runtime, _message, _state, options) => {
22
+ const params = options?.parameters;
23
+ const requested = Number.isFinite(params?.limit)
24
+ ? Number(params?.limit)
25
+ : DEFAULT_LIMIT;
26
+ const limit = Math.max(1, Math.min(MAX_LIMIT, Math.trunc(requested)));
27
+ const { contacts } = await Contacts.listContacts({ limit });
28
+ const names = contacts
29
+ .map((c) => c.displayName)
30
+ .filter((name) => name.length > 0);
31
+ return {
32
+ text: names.length === 0 ? "No contacts found." : names.join(", "),
33
+ success: true,
34
+ data: { count: names.length, names },
35
+ };
36
+ },
37
+ parameters: [
38
+ {
39
+ name: "limit",
40
+ description: "Maximum number of contacts to return (1-200).",
41
+ required: false,
42
+ schema: {
43
+ type: "number",
44
+ minimum: 1,
45
+ maximum: MAX_LIMIT,
46
+ default: DEFAULT_LIMIT,
47
+ },
48
+ },
49
+ ],
50
+ };
51
+ const rawContactsPlugin = {
52
+ name: CONTACTS_APP_NAME,
53
+ description: "Contacts overlay: read the device address book via the @elizaos/capacitor-contacts native plugin. Actions apply only while the Contacts app session is active.",
54
+ actions: [listContactsAction],
55
+ };
56
+ export const appContactsPlugin = gatePluginSessionForHostedApp(rawContactsPlugin, CONTACTS_APP_NAME);
57
+ export default appContactsPlugin;
@@ -2,6 +2,8 @@ export { handleDropRoutes } from "./drop-routes.js";
2
2
  export type { DropStatus, MintResult } from "./drop-service.js";
3
3
  export { DropService } from "./drop-service.js";
4
4
  export { getElizaMakerDropService, setElizaMakerDropService, } from "./drop-service-registry.js";
5
+ export { initializeRegistryAndDropServices } from "./init-registry-services.js";
6
+ export { getElizaMakerRegistryService, setElizaMakerRegistryService, } from "./registry-service-registry.js";
5
7
  export { buildWhitelistTree, generateProof } from "./merkle-tree.js";
6
8
  export { initializeOGCode } from "./og-tracker.js";
7
9
  export { default, elizaMakerPlugin } from "./plugin.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-elizamaker/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EACL,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACxD,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,GACZ,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-elizamaker/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EACL,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACxD,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,GACZ,MAAM,qBAAqB,CAAC"}
@@ -1,6 +1,8 @@
1
1
  export { handleDropRoutes } from "./drop-routes.js";
2
2
  export { DropService } from "./drop-service.js";
3
3
  export { getElizaMakerDropService, setElizaMakerDropService, } from "./drop-service-registry.js";
4
+ export { initializeRegistryAndDropServices } from "./init-registry-services.js";
5
+ export { getElizaMakerRegistryService, setElizaMakerRegistryService, } from "./registry-service-registry.js";
4
6
  export { buildWhitelistTree, generateProof } from "./merkle-tree.js";
5
7
  export { initializeOGCode } from "./og-tracker.js";
6
8
  export { default, elizaMakerPlugin } from "./plugin.js";
@@ -0,0 +1,18 @@
1
+ /**
2
+ * ERC-8004 RegistryService + DropService bootstrap.
3
+ *
4
+ * Previously inlined in `packages/agent/src/api/server.ts`
5
+ * (`startDeferredStartupWork`). Moving the construction here keeps the
6
+ * agent server out of the ERC-8004 contract wiring; consumers that need
7
+ * the live services read them through the in-process registries
8
+ * (drop-service-registry / registry-service-registry).
9
+ *
10
+ * Timing: the original block ran post-listen via setImmediate-equivalent
11
+ * deferred startup. This function preserves that behavior by spawning the
12
+ * actual work asynchronously — callers invoke it without awaiting from
13
+ * within Plugin.init, which lets the runtime finish booting before the
14
+ * outbound RPC probe runs.
15
+ */
16
+ import type { IAgentRuntime } from "@elizaos/core";
17
+ export declare function initializeRegistryAndDropServices(runtime: IAgentRuntime): Promise<void>;
18
+ //# sourceMappingURL=init-registry-services.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init-registry-services.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-elizamaker/src/init-registry-services.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AA+BnD,wBAAsB,iCAAiC,CACrD,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,IAAI,CAAC,CAuDf"}
@@ -0,0 +1,63 @@
1
+ /**
2
+ * ERC-8004 RegistryService + DropService bootstrap.
3
+ *
4
+ * Previously inlined in `packages/agent/src/api/server.ts`
5
+ * (`startDeferredStartupWork`). Moving the construction here keeps the
6
+ * agent server out of the ERC-8004 contract wiring; consumers that need
7
+ * the live services read them through the in-process registries
8
+ * (drop-service-registry / registry-service-registry).
9
+ *
10
+ * Timing: the original block ran post-listen via setImmediate-equivalent
11
+ * deferred startup. This function preserves that behavior by spawning the
12
+ * actual work asynchronously — callers invoke it without awaiting from
13
+ * within Plugin.init, which lets the runtime finish booting before the
14
+ * outbound RPC probe runs.
15
+ */
16
+ import { RegistryService } from "@elizaos/agent/api/registry-service";
17
+ import { normalizeJsonRpcUrl, probeJsonRpcEndpoint, TxService, } from "@elizaos/agent/api/tx-service";
18
+ import { logger } from "@elizaos/core";
19
+ import { DropService } from "./drop-service.js";
20
+ import { setElizaMakerDropService } from "./drop-service-registry.js";
21
+ import { initializeOGCode } from "./og-tracker.js";
22
+ import { setElizaMakerRegistryService } from "./registry-service-registry.js";
23
+ function readRuntimeSetting(runtime, key) {
24
+ const value = runtime.getSetting?.(key);
25
+ return typeof value === "string" && value.length > 0 ? value : undefined;
26
+ }
27
+ export async function initializeRegistryAndDropServices(runtime) {
28
+ initializeOGCode();
29
+ const { loadElizaConfig } = await import("@elizaos/agent/config/config");
30
+ const config = loadElizaConfig();
31
+ const evmKey = readRuntimeSetting(runtime, "EVM_PRIVATE_KEY") ?? config.env?.EVM_PRIVATE_KEY;
32
+ const registryConfig = config.registry;
33
+ if (!evmKey ||
34
+ !registryConfig?.registryAddress ||
35
+ !registryConfig.mainnetRpc) {
36
+ return;
37
+ }
38
+ try {
39
+ const registryRpcUrl = normalizeJsonRpcUrl(registryConfig.mainnetRpc);
40
+ const registryRpcProbe = await probeJsonRpcEndpoint(registryRpcUrl);
41
+ if (!registryRpcProbe.ok) {
42
+ logger.warn({
43
+ reason: registryRpcProbe.reason,
44
+ }, "ERC-8004 registry service disabled because mainnetRpc is unavailable");
45
+ return;
46
+ }
47
+ const txService = new TxService(registryRpcUrl, evmKey);
48
+ const registryService = new RegistryService(txService, registryConfig.registryAddress);
49
+ setElizaMakerRegistryService(registryService);
50
+ if (registryConfig.collectionAddress) {
51
+ const dropEnabled = config.features?.dropEnabled === true;
52
+ const dropService = new DropService(txService, registryConfig.collectionAddress, dropEnabled);
53
+ setElizaMakerDropService(dropService);
54
+ }
55
+ else {
56
+ setElizaMakerDropService(null);
57
+ }
58
+ logger.info(`ERC-8004 registry service initialised (${registryConfig.registryAddress})`);
59
+ }
60
+ catch (err) {
61
+ logger.warn({ err }, "Failed to initialize ERC-8004 registry service");
62
+ }
63
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-elizamaker/src/plugin.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAgB,MAAM,EAAS,MAAM,eAAe,CAAC;AA0FjE,eAAO,MAAM,gBAAgB,EAAE,MAK9B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-elizamaker/src/plugin.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAgB,MAAM,EAAS,MAAM,eAAe,CAAC;AA2FjE,eAAO,MAAM,gBAAgB,EAAE,MAW9B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { getWalletAddresses, readJsonBody as httpReadJsonBody, sendJson as httpSendJson, sendJsonError as httpSendJsonError, } from "@elizaos/agent";
2
2
  import { handleDropRoutes } from "./drop-routes.js";
3
3
  import { getElizaMakerDropService } from "./drop-service-registry.js";
4
+ import { initializeRegistryAndDropServices } from "./init-registry-services.js";
4
5
  import { readOGCode } from "./og-tracker.js";
5
6
  function json(res, data, status = 200) {
6
7
  httpSendJson(res, data, status);
@@ -76,5 +77,11 @@ export const elizaMakerPlugin = {
76
77
  name: "@elizaos/app-elizamaker",
77
78
  description: "ElizaMaker ERC-8041 drop, mint, whitelist, and Merkle proof routes.",
78
79
  routes: elizaMakerRoutes,
80
+ init: async (_config, runtime) => {
81
+ // Bootstrap RegistryService + DropService asynchronously so that plugin
82
+ // registration does not block on outbound RPC probes. Mirrors the
83
+ // pre-extraction startDeferredStartupWork timing in server.ts.
84
+ void initializeRegistryAndDropServices(runtime);
85
+ },
79
86
  };
80
87
  export default elizaMakerPlugin;
@@ -0,0 +1,4 @@
1
+ import type { RegistryService } from "@elizaos/agent/api/registry-service";
2
+ export declare function setElizaMakerRegistryService(service: RegistryService | null): void;
3
+ export declare function getElizaMakerRegistryService(): RegistryService | null;
4
+ //# sourceMappingURL=registry-service-registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry-service-registry.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-elizamaker/src/registry-service-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAI3E,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,eAAe,GAAG,IAAI,GAC9B,IAAI,CAEN;AAED,wBAAgB,4BAA4B,IAAI,eAAe,GAAG,IAAI,CAErE"}
@@ -0,0 +1,7 @@
1
+ let activeRegistryService = null;
2
+ export function setElizaMakerRegistryService(service) {
3
+ activeRegistryService = service;
4
+ }
5
+ export function getElizaMakerRegistryService() {
6
+ return activeRegistryService;
7
+ }
@@ -0,0 +1,2 @@
1
+ export declare function registerLifeOpsAutomationNodeContributor(): void;
2
+ //# sourceMappingURL=automation-node-contributor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"automation-node-contributor.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-lifeops/src/automation-node-contributor.ts"],"names":[],"mappings":"AAoMA,wBAAgB,wCAAwC,IAAI,IAAI,CAE/D"}
@@ -0,0 +1,93 @@
1
+ import { registerAutomationNodeContributor, } from "@elizaos/app-core/api/automation-node-contributors";
2
+ import { logger } from "@elizaos/core";
3
+ import { LifeOpsService } from "./lifeops/service";
4
+ async function resolveGoogleStatus(lifeOps) {
5
+ try {
6
+ return await lifeOps.getGoogleConnectorStatus(new URL("http://127.0.0.1/api/lifeops/connectors/google/status"), undefined, "owner");
7
+ }
8
+ catch (error) {
9
+ logger.warn(`[lifeops] Failed to resolve Google connector status: ${error instanceof Error ? error.message : String(error)}`);
10
+ return null;
11
+ }
12
+ }
13
+ async function resolveTelegramStatus(lifeOps) {
14
+ try {
15
+ return await lifeOps.getTelegramConnectorStatus("owner");
16
+ }
17
+ catch (error) {
18
+ logger.warn(`[lifeops] Failed to resolve Telegram connector status: ${error instanceof Error ? error.message : String(error)}`);
19
+ return null;
20
+ }
21
+ }
22
+ async function resolveSignalStatus(lifeOps) {
23
+ try {
24
+ return await lifeOps.getSignalConnectorStatus("owner");
25
+ }
26
+ catch (error) {
27
+ logger.warn(`[lifeops] Failed to resolve Signal connector status: ${error instanceof Error ? error.message : String(error)}`);
28
+ return null;
29
+ }
30
+ }
31
+ async function resolveDiscordStatus(lifeOps) {
32
+ try {
33
+ return await lifeOps.getDiscordConnectorStatus("owner");
34
+ }
35
+ catch (error) {
36
+ logger.warn(`[lifeops] Failed to resolve Discord connector status: ${error instanceof Error ? error.message : String(error)}`);
37
+ return null;
38
+ }
39
+ }
40
+ function buildLifeOpsNode(id, label, description, enabled, disabledReason) {
41
+ return {
42
+ id,
43
+ label,
44
+ description,
45
+ class: "integration",
46
+ source: "lifeops",
47
+ backingCapability: id,
48
+ ownerScoped: true,
49
+ requiresSetup: true,
50
+ availability: enabled ? "enabled" : "disabled",
51
+ ...(enabled ? {} : { disabledReason }),
52
+ };
53
+ }
54
+ function buildLifeOpsEventNode(eventKind, label, description, enabled, disabledReason) {
55
+ return {
56
+ id: `event:${eventKind}`,
57
+ label,
58
+ description,
59
+ class: "trigger",
60
+ source: "lifeops_event",
61
+ backingCapability: eventKind,
62
+ ownerScoped: true,
63
+ requiresSetup: !enabled,
64
+ availability: enabled ? "enabled" : "disabled",
65
+ ...(enabled ? {} : { disabledReason }),
66
+ };
67
+ }
68
+ async function buildLifeOpsAutomationNodes({ runtime, adminEntityId, }) {
69
+ const lifeOps = new LifeOpsService(runtime, { ownerEntityId: adminEntityId });
70
+ const [googleStatus, telegramStatus, signalStatus, discordStatus] = await Promise.all([
71
+ resolveGoogleStatus(lifeOps),
72
+ resolveTelegramStatus(lifeOps),
73
+ resolveSignalStatus(lifeOps),
74
+ resolveDiscordStatus(lifeOps),
75
+ ]);
76
+ const googleCapabilities = new Set(googleStatus?.grantedCapabilities ?? []);
77
+ const hasGoogleCapability = (needle) => [...googleCapabilities].some((capability) => capability.includes(needle));
78
+ const githubToken = runtime.getSetting("GITHUB_TOKEN");
79
+ const githubConnected = typeof githubToken === "string" && githubToken.trim().length > 0;
80
+ const calendarConnected = Boolean(googleStatus?.connected && hasGoogleCapability("calendar"));
81
+ return [
82
+ buildLifeOpsNode("lifeops:gmail", "Gmail", "Owner-scoped Gmail triage, drafting, and send operations.", Boolean(googleStatus?.connected && hasGoogleCapability("gmail")), "Connect the owner Google account with Gmail access."),
83
+ buildLifeOpsNode("lifeops:calendar", "Calendar", "Owner-scoped calendar reading and event creation.", calendarConnected, "Connect the owner Google account with Calendar access."),
84
+ buildLifeOpsNode("lifeops:telegram", "Telegram", "Owner-scoped Telegram account messaging.", Boolean(telegramStatus?.connected), "Connect the owner Telegram account."),
85
+ buildLifeOpsNode("lifeops:signal", "Signal", "Owner-scoped Signal messaging.", Boolean(signalStatus?.connected), "Pair the owner Signal account."),
86
+ buildLifeOpsNode("lifeops:discord", "Discord", "Owner-scoped Discord messaging through the active owner session.", Boolean(discordStatus?.connected && discordStatus.available), "Connect the owner Discord session."),
87
+ buildLifeOpsNode("lifeops:github", "GitHub", "Owner-scoped GitHub access for repositories, issues, and pull requests.", githubConnected, "Link the owner GitHub account."),
88
+ buildLifeOpsEventNode("calendar.event.ended", "Calendar event ended", "Fires a workflow after a synced calendar event's end time has passed.", calendarConnected, "Connect the owner Google account with Calendar access."),
89
+ ];
90
+ }
91
+ export function registerLifeOpsAutomationNodeContributor() {
92
+ registerAutomationNodeContributor("lifeops", buildLifeOpsAutomationNodes);
93
+ }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Continuity / paired-iPhone presence probe for macOS hosts.
3
3
  *
4
- * When the Milady iOS app is not installed, the owner's iPhone is still
4
+ * When the Eliza iOS app is not installed, the owner's iPhone is still
5
5
  * visible to the Mac via:
6
6
  * - `xcrun devicectl list devices --json-output -` — developer-tools
7
7
  * device list that includes paired iPhones with current connection
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Continuity / paired-iPhone presence probe for macOS hosts.
3
3
  *
4
- * When the Milady iOS app is not installed, the owner's iPhone is still
4
+ * When the Eliza iOS app is not installed, the owner's iPhone is still
5
5
  * visible to the Mac via:
6
6
  * - `xcrun devicectl list devices --json-output -` — developer-tools
7
7
  * device list that includes paired iPhones with current connection
@@ -297,7 +297,7 @@ async function findTabByIdOrPartition(tabId, partition, env) {
297
297
  export async function ensureDiscordTab(args) {
298
298
  const env = args.env ?? process.env;
299
299
  if (!discordBrowserWorkspaceAvailable(env)) {
300
- throw new Error("Discord connector requires the Milady Desktop Browser workspace.");
300
+ throw new Error("Discord connector requires the Eliza Desktop Browser workspace.");
301
301
  }
302
302
  const partition = discordPartitionFor(args.agentId, args.side);
303
303
  const existing = await findTabByIdOrPartition(args.existingTabId ?? null, partition, env);
@@ -9,7 +9,7 @@ const DISCORD_DESKTOP_POLL_INTERVAL_MS = 500;
9
9
  const DISCORD_DESKTOP_FETCH_TIMEOUT_MS = 900;
10
10
  const DISCORD_DESKTOP_EVALUATE_TIMEOUT_MS = 2_500;
11
11
  function configuredDiscordDesktopCdpPort(env = process.env) {
12
- const raw = env.MILADY_DISCORD_DESKTOP_CDP_PORT?.trim();
12
+ const raw = env.ELIZA_DISCORD_DESKTOP_CDP_PORT?.trim();
13
13
  if (!raw) {
14
14
  return DEFAULT_DISCORD_DESKTOP_CDP_PORT;
15
15
  }
@@ -19,7 +19,7 @@ function configuredDiscordDesktopCdpPort(env = process.env) {
19
19
  : DEFAULT_DISCORD_DESKTOP_CDP_PORT;
20
20
  }
21
21
  function discordDesktopCdpDisabled(env = process.env) {
22
- return (env.MILADY_DISABLE_DISCORD_DESKTOP_CDP === "1" ||
22
+ return (env.ELIZA_DISABLE_DISCORD_DESKTOP_CDP === "1" ||
23
23
  env.ELIZA_DISABLE_DISCORD_DESKTOP_CDP === "1");
24
24
  }
25
25
  function isRecord(value) {
@@ -50,7 +50,7 @@ export async function probeFullDiskAccess(overrides) {
50
50
  status: "revoked",
51
51
  checkedAt,
52
52
  chatDbPath,
53
- reason: "Full Disk Access is required to read chat.db. Grant it to the app running Milady, such as Milady.app, Terminal, iTerm, or Cursor, then relaunch.",
53
+ reason: "Full Disk Access is required to read chat.db. Grant it to the app running Eliza, such as Eliza.app, Terminal, iTerm, or Cursor, then relaunch.",
54
54
  };
55
55
  }
56
56
  return {
@@ -27,7 +27,7 @@
27
27
  * (Commandment 2).
28
28
  * - Without Cloud, paid features stay OFF until the user opts in
29
29
  * locally (which then requires them to bring their own travel-provider
30
- * API credentials via `MILADY_DUFFEL_DIRECT=1` + `DUFFEL_API_KEY`).
30
+ * API credentials via `ELIZA_DUFFEL_DIRECT=1` + `DUFFEL_API_KEY`).
31
31
  */
32
32
  export type LifeOpsFeatureKey = "travel.search_flight" | "travel.search_hotel" | "travel.book_flight" | "travel.book_hotel" | "notifications.push" | "cross_channel.escalate" | "browser.automation" | "email.draft" | "email.send" | "cloud.duffel";
33
33
  export type FeatureFlagSource = "default" | "local" | "cloud";
@@ -27,7 +27,7 @@
27
27
  * (Commandment 2).
28
28
  * - Without Cloud, paid features stay OFF until the user opts in
29
29
  * locally (which then requires them to bring their own travel-provider
30
- * API credentials via `MILADY_DUFFEL_DIRECT=1` + `DUFFEL_API_KEY`).
30
+ * API credentials via `ELIZA_DUFFEL_DIRECT=1` + `DUFFEL_API_KEY`).
31
31
  */
32
32
  /**
33
33
  * Compile-time baseline. Conservative — assumes no Cloud account.
@@ -1 +1 @@
1
- {"version":3,"file":"google-fetch.d.ts","sourceRoot":"","sources":["../../../../../../../apps/app-lifeops/src/lifeops/google-fetch.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAoB3D;AAsCD;;;;;;;;GAQG;AACH,wBAAsB,cAAc,CAClC,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,WAAW,GACjB,OAAO,CAAC,QAAQ,CAAC,CAgFnB"}
1
+ {"version":3,"file":"google-fetch.d.ts","sourceRoot":"","sources":["../../../../../../../apps/app-lifeops/src/lifeops/google-fetch.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAmB3D;AAsCD;;;;;;;;GAQG;AACH,wBAAsB,cAAc,CAClC,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,WAAW,GACjB,OAAO,CAAC,QAAQ,CAAC,CAgFnB"}
@@ -8,7 +8,7 @@ const TIMEOUT_MS = 10_000;
8
8
  * Used in tests to point all Google API traffic at a Mockoon environment.
9
9
  */
10
10
  export function rewriteGoogleUrlForMock(url) {
11
- const mockBase = process.env.MILADY_MOCK_GOOGLE_BASE ?? process.env.ELIZA_MOCK_GOOGLE_BASE;
11
+ const mockBase = process.env.ELIZA_MOCK_GOOGLE_BASE;
12
12
  if (!mockBase)
13
13
  return url;
14
14
  const mockUrl = new URL(mockBase);
@@ -39,13 +39,13 @@ function guardRealGmailWrite(method, originalUrl, targetUrl) {
39
39
  if (!isGoogleGmailWrite(method, originalUrl)) {
40
40
  return;
41
41
  }
42
- if (process.env.MILADY_ALLOW_REAL_GMAIL_WRITES === "1") {
42
+ if (process.env.ELIZA_ALLOW_REAL_GMAIL_WRITES === "1") {
43
43
  return;
44
44
  }
45
45
  if (targetUrl !== originalUrl) {
46
46
  return;
47
47
  }
48
- throw new GoogleApiError(409, "Real Gmail writes require MILADY_ALLOW_REAL_GMAIL_WRITES=1. Point MILADY_MOCK_GOOGLE_BASE or ELIZA_MOCK_GOOGLE_BASE at a loopback mock for tests or set the allow env var for an explicitly confirmed real write.");
48
+ throw new GoogleApiError(409, "Real Gmail writes require ELIZA_ALLOW_REAL_GMAIL_WRITES=1. Point ELIZA_MOCK_GOOGLE_BASE or ELIZA_MOCK_GOOGLE_BASE at a loopback mock for tests or set the allow env var for an explicitly confirmed real write.");
49
49
  }
50
50
  /**
51
51
  * Fetch wrapper for Google APIs with retry, timeout, and structured logging.
@@ -181,7 +181,7 @@ export class GoogleManagedClient {
181
181
  const query = new URLSearchParams({ side });
182
182
  if (grantId)
183
183
  query.set("grantId", grantId);
184
- return this.request(`milady/google/status?${query.toString()}`, {
184
+ return this.request(`eliza/google/status?${query.toString()}`, {
185
185
  method: "GET",
186
186
  });
187
187
  }
@@ -189,7 +189,7 @@ export class GoogleManagedClient {
189
189
  const query = new URLSearchParams();
190
190
  if (side)
191
191
  query.set("side", side);
192
- return this.request(`milady/google/accounts?${query.toString()}`, { method: "GET" });
192
+ return this.request(`eliza/google/accounts?${query.toString()}`, { method: "GET" });
193
193
  }
194
194
  async startConnector(args) {
195
195
  const redirectUri = args.redirectUrl ??
@@ -214,7 +214,7 @@ export class GoogleManagedClient {
214
214
  };
215
215
  }
216
216
  async disconnectConnector(connectionId, side) {
217
- await this.request("milady/google/disconnect", {
217
+ await this.request("eliza/google/disconnect", {
218
218
  method: "POST",
219
219
  body: JSON.stringify({
220
220
  connectionId: connectionId ?? null,
@@ -232,7 +232,7 @@ export class GoogleManagedClient {
232
232
  });
233
233
  if (args.grantId)
234
234
  query.set("grantId", args.grantId);
235
- return this.request(`milady/google/calendar/feed?${query.toString()}`, {
235
+ return this.request(`eliza/google/calendar/feed?${query.toString()}`, {
236
236
  method: "GET",
237
237
  });
238
238
  }
@@ -242,7 +242,7 @@ export class GoogleManagedClient {
242
242
  });
243
243
  if (args.grantId)
244
244
  query.set("grantId", args.grantId);
245
- return this.request(`milady/google/calendar/calendars?${query.toString()}`, {
245
+ return this.request(`eliza/google/calendar/calendars?${query.toString()}`, {
246
246
  method: "GET",
247
247
  });
248
248
  }
@@ -252,7 +252,7 @@ export class GoogleManagedClient {
252
252
  startAt: normalizeManagedCalendarDateTime(request.startAt ?? "", request.timeZone),
253
253
  endAt: normalizeManagedCalendarDateTime(request.endAt ?? "", request.timeZone),
254
254
  };
255
- return this.request("milady/google/calendar/events", {
255
+ return this.request("eliza/google/calendar/events", {
256
256
  method: "POST",
257
257
  body: JSON.stringify(normalizedRequest),
258
258
  });
@@ -274,7 +274,7 @@ export class GoogleManagedClient {
274
274
  timeZone: request.timeZone,
275
275
  attendees: request.attendees ?? undefined,
276
276
  };
277
- return this.request(`milady/google/calendar/events/${encodeURIComponent(request.eventId)}`, {
277
+ return this.request(`eliza/google/calendar/events/${encodeURIComponent(request.eventId)}`, {
278
278
  method: "PATCH",
279
279
  body: JSON.stringify(normalizedRequest),
280
280
  });
@@ -286,7 +286,7 @@ export class GoogleManagedClient {
286
286
  });
287
287
  if (request.grantId)
288
288
  query.set("grantId", request.grantId);
289
- return this.request(`milady/google/calendar/events/${encodeURIComponent(request.eventId)}?${query.toString()}`, {
289
+ return this.request(`eliza/google/calendar/events/${encodeURIComponent(request.eventId)}?${query.toString()}`, {
290
290
  method: "DELETE",
291
291
  });
292
292
  }
@@ -297,7 +297,7 @@ export class GoogleManagedClient {
297
297
  });
298
298
  if (args.grantId)
299
299
  query.set("grantId", args.grantId);
300
- return this.request(`milady/google/gmail/triage?${query.toString()}`, {
300
+ return this.request(`eliza/google/gmail/triage?${query.toString()}`, {
301
301
  method: "GET",
302
302
  });
303
303
  }
@@ -309,7 +309,7 @@ export class GoogleManagedClient {
309
309
  });
310
310
  if (args.grantId)
311
311
  query.set("grantId", args.grantId);
312
- return this.request(`milady/google/gmail/search?${query.toString()}`, {
312
+ return this.request(`eliza/google/gmail/search?${query.toString()}`, {
313
313
  method: "GET",
314
314
  });
315
315
  }
@@ -321,7 +321,7 @@ export class GoogleManagedClient {
321
321
  });
322
322
  if (args.grantId)
323
323
  query.set("grantId", args.grantId);
324
- return this.request(`milady/google/gmail/subscription-headers?${query.toString()}`, {
324
+ return this.request(`eliza/google/gmail/subscription-headers?${query.toString()}`, {
325
325
  method: "GET",
326
326
  });
327
327
  }
@@ -332,18 +332,18 @@ export class GoogleManagedClient {
332
332
  });
333
333
  if (args.grantId)
334
334
  query.set("grantId", args.grantId);
335
- return this.request(`milady/google/gmail/read?${query.toString()}`, {
335
+ return this.request(`eliza/google/gmail/read?${query.toString()}`, {
336
336
  method: "GET",
337
337
  });
338
338
  }
339
339
  async sendGmailReply(request) {
340
- return this.request("milady/google/gmail/reply-send", {
340
+ return this.request("eliza/google/gmail/reply-send", {
341
341
  method: "POST",
342
342
  body: JSON.stringify(request),
343
343
  });
344
344
  }
345
345
  async sendGmailMessage(request) {
346
- return this.request("milady/google/gmail/message-send", {
346
+ return this.request("eliza/google/gmail/message-send", {
347
347
  method: "POST",
348
348
  body: JSON.stringify(request),
349
349
  });
@@ -47,7 +47,7 @@ function isFalsyEnv(value) {
47
47
  normalized === "off");
48
48
  }
49
49
  function isFixtureHealthBackendEnabled() {
50
- const explicit = process.env.MILADY_TEST_HEALTH_BACKEND;
50
+ const explicit = process.env.ELIZA_TEST_HEALTH_BACKEND;
51
51
  if (isFalsyEnv(explicit))
52
52
  return false;
53
53
  if (isTruthyEnv(explicit))
@@ -96,8 +96,8 @@ function authHeader(token) {
96
96
  return `${type} ${token.accessToken}`;
97
97
  }
98
98
  function providerMockBase(provider) {
99
- const key = `MILADY_MOCK_${provider.toUpperCase()}_BASE`;
100
- const value = process.env[key] ?? process.env.MILADY_MOCK_HEALTH_BASE;
99
+ const key = `ELIZA_MOCK_${provider.toUpperCase()}_BASE`;
100
+ const value = process.env[key] ?? process.env.ELIZA_MOCK_HEALTH_BASE;
101
101
  if (!value) {
102
102
  return null;
103
103
  }
@@ -119,7 +119,7 @@ function readEnv(env, provider, suffix) {
119
119
  const spec = HEALTH_OAUTH_SPECS[provider];
120
120
  const keys = [
121
121
  `ELIZA_${spec.envPrefix}_${suffix}`,
122
- `MILADY_${spec.envPrefix}_${suffix}`,
122
+ `ELIZA_${spec.envPrefix}_${suffix}`,
123
123
  ];
124
124
  for (const key of keys) {
125
125
  const value = env[key]?.trim();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Milady-runtime client for Eliza Cloud's PayPal bridge endpoints.
2
+ * Eliza-runtime client for Eliza Cloud's PayPal bridge endpoints.
3
3
  *
4
4
  * Same pattern as PlaidManagedClient: cloud holds the PAYPAL_* secrets,
5
5
  * we just authenticate with the user's Eliza Cloud API key and forward