@elizaos/agent 2.0.3-beta.2 → 2.0.3-beta.4

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 (381) hide show
  1. package/__tests__/view-user-journeys.d.ts.map +1 -1
  2. package/__tests__/view-user-journeys.js +52 -41
  3. package/actions/context-signal.d.ts +2 -2
  4. package/actions/files.d.ts +9 -0
  5. package/actions/files.d.ts.map +1 -0
  6. package/actions/files.js +183 -0
  7. package/actions/index.d.ts +17 -17
  8. package/api/accounts-routes.d.ts +1 -1
  9. package/api/accounts-routes.js +1 -1
  10. package/api/agent-admin-routes.d.ts +1 -1
  11. package/api/agent-admin-routes.js +2 -2
  12. package/api/agent-model.d.ts +1 -1
  13. package/api/agent-status-routes.d.ts +1 -3
  14. package/api/agent-status-routes.d.ts.map +1 -1
  15. package/api/agent-status-routes.js +0 -2
  16. package/api/approval-routes.d.ts +38 -0
  17. package/api/approval-routes.d.ts.map +1 -0
  18. package/api/approval-routes.js +223 -0
  19. package/api/background-routes.d.ts +13 -0
  20. package/api/background-routes.d.ts.map +1 -0
  21. package/api/background-routes.js +91 -0
  22. package/api/binance-skill-helpers.d.ts +2 -2
  23. package/api/binance-skill-helpers.js +2 -2
  24. package/api/builtin-views.d.ts.map +1 -1
  25. package/api/builtin-views.js +44 -4
  26. package/api/character-routes.d.ts +1 -1
  27. package/api/chat-augmentation.d.ts.map +1 -1
  28. package/api/chat-augmentation.js +17 -0
  29. package/api/chat-routes.d.ts +29 -2
  30. package/api/chat-routes.d.ts.map +1 -1
  31. package/api/chat-routes.js +76 -1
  32. package/api/commands-routes.d.ts +10 -8
  33. package/api/commands-routes.d.ts.map +1 -1
  34. package/api/commands-routes.js +17 -59
  35. package/api/config-routes.d.ts +1 -1
  36. package/api/config-routes.d.ts.map +1 -1
  37. package/api/config-routes.js +0 -2
  38. package/api/connector-routes.d.ts +1 -1
  39. package/api/conversation-metadata.d.ts +1 -1
  40. package/api/conversation-metadata.d.ts.map +1 -1
  41. package/api/conversation-metadata.js +0 -1
  42. package/api/conversation-routes.d.ts +4 -3
  43. package/api/conversation-routes.d.ts.map +1 -1
  44. package/api/conversation-routes.js +34 -1
  45. package/api/documents-service-loader.d.ts +0 -4
  46. package/api/documents-service-loader.d.ts.map +1 -1
  47. package/api/documents-service-loader.js +0 -2
  48. package/api/files-routes.d.ts +14 -0
  49. package/api/files-routes.d.ts.map +1 -0
  50. package/api/files-routes.js +47 -0
  51. package/api/first-run-routes.d.ts +1 -1
  52. package/api/health-routes.d.ts +2 -2
  53. package/api/index.d.ts +40 -39
  54. package/api/index.d.ts.map +1 -1
  55. package/api/index.js +1 -0
  56. package/api/interactions-routes.d.ts +33 -0
  57. package/api/interactions-routes.d.ts.map +1 -0
  58. package/api/interactions-routes.js +63 -0
  59. package/api/media-runtime.d.ts +2 -1
  60. package/api/media-runtime.d.ts.map +1 -1
  61. package/api/media-runtime.js +64 -7
  62. package/api/media-store.d.ts +36 -0
  63. package/api/media-store.d.ts.map +1 -1
  64. package/api/media-store.js +141 -2
  65. package/api/memory-bounds.d.ts +0 -1
  66. package/api/memory-bounds.d.ts.map +1 -1
  67. package/api/memory-bounds.js +0 -1
  68. package/api/misc-routes.d.ts +1 -1
  69. package/api/model-provider-helpers.d.ts +2 -2
  70. package/api/model-provider-helpers.js +2 -2
  71. package/api/permissions-routes-extra.d.ts +1 -1
  72. package/api/permissions-routes.d.ts +1 -1
  73. package/api/permissions-routes.d.ts.map +1 -1
  74. package/api/permissions-routes.js +8 -7
  75. package/api/plugin-discovery-helpers.d.ts +5 -6
  76. package/api/plugin-discovery-helpers.d.ts.map +1 -1
  77. package/api/plugin-discovery-helpers.js +3 -4
  78. package/api/plugin-runtime-apply.d.ts +2 -2
  79. package/api/plugin-runtime-apply.d.ts.map +1 -1
  80. package/api/plugin-runtime-apply.js +74 -0
  81. package/api/provider-switch-config.d.ts +1 -1
  82. package/api/provider-switch-routes.d.ts +2 -2
  83. package/api/registry-routes.d.ts +1 -1
  84. package/api/registry-service.d.ts +1 -1
  85. package/api/remote-capability-routes.d.ts +2 -2
  86. package/api/remote-capability-routes.d.ts.map +1 -1
  87. package/api/remote-capability-routes.js +19 -0
  88. package/api/server-autonomy-helpers.d.ts +2 -2
  89. package/api/server-helpers-auth.d.ts +10 -0
  90. package/api/server-helpers-auth.d.ts.map +1 -1
  91. package/api/server-helpers-auth.js +16 -210
  92. package/api/server-helpers-config.d.ts +1 -1
  93. package/api/server-helpers-mcp.d.ts +2 -2
  94. package/api/server-helpers-plugin.d.ts +1 -1
  95. package/api/server-helpers-swarm.d.ts +3 -3
  96. package/api/server-helpers-swarm.d.ts.map +1 -1
  97. package/api/server-helpers-swarm.js +15 -5
  98. package/api/server-helpers-wallet.d.ts +1 -1
  99. package/api/server-helpers.d.ts +4 -4
  100. package/api/server-lazy-routes.d.ts +40 -38
  101. package/api/server-lazy-routes.d.ts.map +1 -1
  102. package/api/server-lazy-routes.js +7 -0
  103. package/api/server-route-dispatch.d.ts +2 -2
  104. package/api/server-route-dispatch.d.ts.map +1 -1
  105. package/api/server-route-dispatch.js +7 -0
  106. package/api/server-types.d.ts +9 -7
  107. package/api/server-types.d.ts.map +1 -1
  108. package/api/server.d.ts +19 -19
  109. package/api/server.d.ts.map +1 -1
  110. package/api/server.js +111 -17
  111. package/api/static-file-server.d.ts +2 -2
  112. package/api/static-file-server.js +2 -2
  113. package/api/subscription-routes.d.ts +4 -4
  114. package/api/subscription-routes.js +3 -4
  115. package/api/suggestions-routes.d.ts +1 -1
  116. package/api/suggestions-routes.d.ts.map +1 -1
  117. package/api/suggestions-routes.js +2 -3
  118. package/api/terminal-execution-routing.d.ts +1 -1
  119. package/api/training-service-like.d.ts +1 -1
  120. package/api/trajectory-fallback-routes.d.ts.map +1 -1
  121. package/api/trajectory-fallback-routes.js +21 -1
  122. package/api/update-routes.d.ts +1 -1
  123. package/api/view-registry-types.d.ts +1 -1
  124. package/api/views-registry.d.ts +14 -4
  125. package/api/views-registry.d.ts.map +1 -1
  126. package/api/views-registry.js +107 -72
  127. package/api/views-routes.d.ts +1 -1
  128. package/api/views-routes.d.ts.map +1 -1
  129. package/api/views-routes.js +131 -14
  130. package/api/views-search-index.d.ts +1 -1
  131. package/api/wallet-capability.d.ts +3 -3
  132. package/api/wallet-rpc.d.ts +1 -1
  133. package/api/wallet.d.ts +3 -3
  134. package/api/wallet.d.ts.map +1 -1
  135. package/api/wallet.js +4 -3
  136. package/api/workbench-context.d.ts +1 -1
  137. package/api/workbench-helpers.d.ts +3 -3
  138. package/api/workbench-helpers.js +3 -3
  139. package/api/workbench-routes.d.ts +2 -2
  140. package/api/workbench-vfs-routes.d.ts +1 -1
  141. package/api/ws-event-replay.d.ts +1 -2
  142. package/api/ws-event-replay.d.ts.map +1 -1
  143. package/api/ws-event-replay.js +1 -2
  144. package/api/x-relay-routes.d.ts +2 -2
  145. package/api/x402-route-validation.d.ts +4 -0
  146. package/api/x402-route-validation.d.ts.map +1 -0
  147. package/api/x402-route-validation.js +6 -0
  148. package/assets/view-heroes/background.png +0 -0
  149. package/auth/account-storage.d.ts +1 -1
  150. package/auth/anthropic.d.ts +1 -1
  151. package/auth/credentials.d.ts +2 -2
  152. package/auth/index.d.ts +7 -7
  153. package/auth/oauth-flow.d.ts +2 -2
  154. package/auth/openai-codex.d.ts +1 -1
  155. package/awareness/index.d.ts +1 -1
  156. package/config/config.js +0 -1
  157. package/config/env-vars.d.ts +1 -1
  158. package/config/env-vars.d.ts.map +1 -1
  159. package/config/env-vars.js +0 -1
  160. package/config/index.d.ts +10 -10
  161. package/config/model-metadata.d.ts +1 -1
  162. package/config/owner-contacts.d.ts +1 -1
  163. package/config/schema.d.ts +1 -1
  164. package/hooks/discovery.d.ts +1 -1
  165. package/hooks/eligibility.d.ts +2 -2
  166. package/hooks/index.d.ts +2 -2
  167. package/hooks/loader.d.ts +2 -2
  168. package/hooks/registry.d.ts +1 -1
  169. package/index.d.ts +87 -85
  170. package/index.d.ts.map +1 -1
  171. package/index.js +11 -3
  172. package/package.json +54 -44
  173. package/providers/media-provider.d.ts +1 -1
  174. package/providers/page-scoped-context.d.ts.map +1 -1
  175. package/providers/page-scoped-context.js +1 -70
  176. package/providers/relevant-conversations.d.ts.map +1 -1
  177. package/providers/relevant-conversations.js +8 -9
  178. package/providers/workspace.d.ts +1 -1
  179. package/runtime/actions/web-fetch.d.ts.map +1 -1
  180. package/runtime/actions/web-fetch.js +23 -3
  181. package/runtime/actions/web-search.d.ts +32 -0
  182. package/runtime/actions/web-search.d.ts.map +1 -0
  183. package/runtime/actions/web-search.js +245 -0
  184. package/runtime/advanced-capabilities-config.d.ts +1 -1
  185. package/runtime/boot-telemetry.d.ts +1 -1
  186. package/runtime/conversation-compactor-runtime.d.ts +1 -1
  187. package/runtime/conversation-compactor-runtime.js +1 -1
  188. package/runtime/conversation-compactor.d.ts +1 -1
  189. package/runtime/core-plugins.d.ts.map +1 -1
  190. package/runtime/core-plugins.js +9 -0
  191. package/runtime/custom-actions.d.ts +18 -9
  192. package/runtime/custom-actions.d.ts.map +1 -1
  193. package/runtime/custom-actions.js +85 -23
  194. package/runtime/eliza-plugin.d.ts.map +1 -1
  195. package/runtime/eliza-plugin.js +15 -1
  196. package/runtime/eliza.d.ts +9 -7
  197. package/runtime/eliza.d.ts.map +1 -1
  198. package/runtime/eliza.js +86 -23
  199. package/runtime/first-time-setup.d.ts +1 -3
  200. package/runtime/first-time-setup.d.ts.map +1 -1
  201. package/runtime/first-time-setup.js +0 -2
  202. package/runtime/index.d.ts +18 -18
  203. package/runtime/load-plugin-from-vfs.d.ts +2 -2
  204. package/runtime/mobile-dns.d.ts.map +1 -1
  205. package/runtime/mobile-dns.js +2 -5
  206. package/runtime/operations/classifier.d.ts +1 -1
  207. package/runtime/operations/cold-strategy.d.ts +1 -1
  208. package/runtime/operations/health-checks.d.ts +1 -1
  209. package/runtime/operations/health.d.ts +1 -1
  210. package/runtime/operations/index.d.ts +10 -10
  211. package/runtime/operations/manager.d.ts +3 -3
  212. package/runtime/operations/reload-hot.d.ts +1 -1
  213. package/runtime/operations/repository.d.ts +1 -1
  214. package/runtime/operations/vault-bridge.d.ts +1 -1
  215. package/runtime/plugin-collector.d.ts +6 -1
  216. package/runtime/plugin-collector.d.ts.map +1 -1
  217. package/runtime/plugin-collector.js +11 -28
  218. package/runtime/plugin-lifecycle.d.ts.map +1 -1
  219. package/runtime/plugin-lifecycle.js +1 -0
  220. package/runtime/plugin-resolver.d.ts +2 -2
  221. package/runtime/plugin-resolver.d.ts.map +1 -1
  222. package/runtime/plugin-resolver.js +113 -65
  223. package/runtime/plugin-types.d.ts +1 -1
  224. package/runtime/prompt-optimization.d.ts +4 -4
  225. package/runtime/remote-coding-runner-gate.d.ts +7 -0
  226. package/runtime/remote-coding-runner-gate.d.ts.map +1 -0
  227. package/runtime/remote-coding-runner-gate.js +36 -0
  228. package/runtime/roles/src/index.d.ts +4 -4
  229. package/runtime/roles.d.ts +2 -2
  230. package/runtime/sandbox-character.d.ts +1 -1
  231. package/runtime/tool-call-cache/cache.d.ts +1 -1
  232. package/runtime/tool-call-cache/disk-store.d.ts +1 -1
  233. package/runtime/tool-call-cache/index.d.ts +6 -6
  234. package/runtime/tool-call-cache/key.d.ts +1 -1
  235. package/runtime/tool-call-cache/redact.d.ts +1 -1
  236. package/runtime/tool-call-cache/registry.d.ts +1 -1
  237. package/runtime/tool-call-cache-wrapper.d.ts +7 -9
  238. package/runtime/tool-call-cache-wrapper.d.ts.map +1 -1
  239. package/runtime/tool-call-cache-wrapper.js +6 -11
  240. package/runtime/trajectory-export.d.ts +3 -3
  241. package/runtime/trajectory-internals.d.ts +2 -1
  242. package/runtime/trajectory-internals.d.ts.map +1 -1
  243. package/runtime/trajectory-persistence.d.ts +5 -5
  244. package/runtime/trajectory-steps-reader.d.ts +1 -1
  245. package/runtime/trajectory-steps-writer.d.ts +1 -1
  246. package/runtime/trajectory-storage.d.ts +4 -4
  247. package/runtime/view-action-affinity.d.ts +18 -15
  248. package/runtime/view-action-affinity.d.ts.map +1 -1
  249. package/runtime/view-action-affinity.js +26 -29
  250. package/runtime/web-search-tools.d.ts +4 -1
  251. package/runtime/web-search-tools.d.ts.map +1 -1
  252. package/runtime/web-search-tools.js +37 -9
  253. package/security/index.d.ts +3 -3
  254. package/services/approval/index.d.ts +9 -0
  255. package/services/approval/index.d.ts.map +1 -0
  256. package/services/approval/index.js +8 -0
  257. package/services/approval/service.d.ts +35 -0
  258. package/services/approval/service.d.ts.map +1 -0
  259. package/services/approval/service.js +40 -0
  260. package/services/approval/sql.d.ts +18 -0
  261. package/services/approval/sql.d.ts.map +1 -0
  262. package/services/approval/sql.js +104 -0
  263. package/services/approval/store.d.ts +39 -0
  264. package/services/approval/store.d.ts.map +1 -0
  265. package/services/approval/store.js +534 -0
  266. package/services/approval/types.d.ts +207 -0
  267. package/services/approval/types.d.ts.map +1 -0
  268. package/services/approval/types.js +34 -0
  269. package/services/character-persistence.d.ts +2 -2
  270. package/services/client-chat-sender.d.ts +1 -1
  271. package/services/config-plugin-manager.d.ts +2 -2
  272. package/services/connector-setup-service.d.ts +1 -1
  273. package/services/cove-quote-x509.d.ts +1 -1
  274. package/services/cove-quote.d.ts +2 -2
  275. package/services/dstack-tee-provider.d.ts +1 -1
  276. package/services/file-storage.d.ts +20 -0
  277. package/services/file-storage.d.ts.map +1 -0
  278. package/services/file-storage.js +70 -0
  279. package/services/global-pause/index.d.ts +8 -0
  280. package/services/global-pause/index.d.ts.map +1 -0
  281. package/services/global-pause/index.js +7 -0
  282. package/services/global-pause/service.d.ts +29 -0
  283. package/services/global-pause/service.d.ts.map +1 -0
  284. package/services/global-pause/service.js +34 -0
  285. package/services/global-pause/store.d.ts +31 -0
  286. package/services/global-pause/store.d.ts.map +1 -0
  287. package/services/global-pause/store.js +83 -0
  288. package/services/handoff/index.d.ts +8 -0
  289. package/services/handoff/index.d.ts.map +1 -0
  290. package/services/handoff/index.js +7 -0
  291. package/services/handoff/service.d.ts +29 -0
  292. package/services/handoff/service.d.ts.map +1 -0
  293. package/services/handoff/service.js +34 -0
  294. package/services/handoff/store.d.ts +76 -0
  295. package/services/handoff/store.d.ts.map +1 -0
  296. package/services/handoff/store.js +148 -0
  297. package/services/index.d.ts +30 -31
  298. package/services/index.d.ts.map +1 -1
  299. package/services/index.js +0 -6
  300. package/services/js-runtime-bridge.d.ts.map +1 -1
  301. package/services/js-runtime-bridge.js +8 -2
  302. package/services/knowledge-graph/index.d.ts +4 -4
  303. package/services/knowledge-graph/service.d.ts +2 -2
  304. package/services/pending-prompts/index.d.ts +8 -0
  305. package/services/pending-prompts/index.d.ts.map +1 -0
  306. package/services/pending-prompts/index.js +7 -0
  307. package/services/pending-prompts/service.d.ts +34 -0
  308. package/services/pending-prompts/service.d.ts.map +1 -0
  309. package/services/pending-prompts/service.js +68 -0
  310. package/services/pending-prompts/store.d.ts +70 -0
  311. package/services/pending-prompts/store.d.ts.map +1 -0
  312. package/services/pending-prompts/store.js +191 -0
  313. package/services/plugin-compiler.d.ts +1 -1
  314. package/services/plugin-installer.d.ts.map +1 -1
  315. package/services/plugin-installer.js +21 -11
  316. package/services/plugin-manager-types.d.ts +1 -1
  317. package/services/proactive-interaction-decider.d.ts +62 -11
  318. package/services/proactive-interaction-decider.d.ts.map +1 -1
  319. package/services/proactive-interaction-decider.js +223 -35
  320. package/services/push/apns-provider.d.ts +1 -1
  321. package/services/push/fcm-provider.d.ts +1 -1
  322. package/services/push/notification-push-service.d.ts +2 -2
  323. package/services/registry-client-app-meta.d.ts +1 -1
  324. package/services/registry-client-endpoints.d.ts +2 -2
  325. package/services/registry-client-local.d.ts +1 -1
  326. package/services/registry-client-network.d.ts +1 -1
  327. package/services/registry-client-queries.d.ts +1 -1
  328. package/services/registry-client.d.ts +3 -3
  329. package/services/relationships-graph.d.ts +1 -1
  330. package/services/remote-capability-cloud-sandbox.d.ts +3 -3
  331. package/services/remote-capability-endpoint-conformance.d.ts +1 -1
  332. package/services/remote-capability-endpoint-provider.d.ts +4 -4
  333. package/services/remote-capability-url-endpoint-providers.d.ts +1 -1
  334. package/services/remote-plugin-adapter.d.ts.map +1 -1
  335. package/services/remote-plugin-adapter.js +3 -0
  336. package/services/remote-plugin-bridge.d.ts.map +1 -1
  337. package/services/remote-plugin-bridge.js +97 -26
  338. package/services/remote-signing-service.d.ts +4 -4
  339. package/services/research-task-executor.d.ts +1 -1
  340. package/services/sandbox-manager.d.ts +1 -1
  341. package/services/self-updater.d.ts +1 -1
  342. package/services/self-updater.d.ts.map +1 -1
  343. package/services/self-updater.js +23 -9
  344. package/services/shell-execution-router.d.ts +1 -1
  345. package/services/shell-execution-router.d.ts.map +1 -1
  346. package/services/shell-execution-router.js +19 -2
  347. package/services/tee-boot-gate-state.d.ts +1 -1
  348. package/services/tee-boot-gate.d.ts +4 -4
  349. package/services/tee-confidential-inference.d.ts +3 -3
  350. package/services/tee-key-release.d.ts +2 -2
  351. package/services/tee-model-key-boot.d.ts +4 -4
  352. package/services/tee-policy.d.ts +1 -1
  353. package/services/tee-production-profile.d.ts +1 -1
  354. package/services/tee-release-policy.d.ts +1 -1
  355. package/services/tee-revocation.d.ts +2 -2
  356. package/services/tee-runtime-config.d.ts +1 -1
  357. package/services/tee-sealed-volume.d.ts +3 -3
  358. package/services/tee-signer-backend.d.ts +3 -3
  359. package/services/update-checker.d.ts +1 -1
  360. package/services/vault-signer-backend.d.ts +1 -1
  361. package/services/vfs-git.d.ts +1 -1
  362. package/test-support/index.d.ts +3 -3
  363. package/triggers/runtime.d.ts +1 -1
  364. package/triggers/scheduling.d.ts +3 -22
  365. package/triggers/scheduling.d.ts.map +1 -1
  366. package/triggers/scheduling.js +2 -214
  367. package/tui/agent-terminal-tui.d.ts.map +1 -1
  368. package/tui/agent-terminal-tui.js +174 -72
  369. package/types/index.d.ts +3 -3
  370. package/api/nfa-routes.d.ts +0 -6
  371. package/api/nfa-routes.d.ts.map +0 -1
  372. package/api/nfa-routes.js +0 -125
  373. package/api/server-auth.d.ts +0 -46
  374. package/api/server-auth.d.ts.map +0 -1
  375. package/api/server-auth.js +0 -504
  376. package/runtime/restart.d.ts +0 -9
  377. package/runtime/restart.d.ts.map +0 -1
  378. package/runtime/restart.js +0 -8
  379. package/test-utils/sqlite-compat.d.ts +0 -23
  380. package/test-utils/sqlite-compat.d.ts.map +0 -1
  381. package/test-utils/sqlite-compat.js +0 -214
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x402-route-validation.d.ts","sourceRoot":"","sources":["../../src/api/x402-route-validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAM3C,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAE9D;AAED,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,SAAS,KAAK,EAAE,GAAG,IAAI,GAAG,SAAS,GAC1C,OAAO,CAET"}
@@ -0,0 +1,6 @@
1
+ export function routeNeedsX402Validation(route) {
2
+ return route.x402 != null;
3
+ }
4
+ export function runtimeRoutesNeedX402Validation(routes) {
5
+ return Array.isArray(routes) && routes.some(routeNeedsX402Validation);
6
+ }
@@ -5,7 +5,7 @@
5
5
  * atomic writes). Multiple accounts per provider are supported.
6
6
  *
7
7
  */
8
- import { type AccountCredentialProvider, type OAuthCredentials } from "./types.ts";
8
+ import { type AccountCredentialProvider, type OAuthCredentials } from "./types.js";
9
9
  export interface AccountCredentialRecord {
10
10
  /** accountId, e.g. "default" or a uuid */
11
11
  id: string;
@@ -4,7 +4,7 @@
4
4
  * Uses inlined PKCE + token exchange (vendored OAuth helpers).
5
5
  * The callback API is adapted to a start/exchange pattern for HTTP route handlers.
6
6
  */
7
- import type { OAuthCredentials } from "./types.ts";
7
+ import type { OAuthCredentials } from "./types.js";
8
8
  export interface AnthropicFlow {
9
9
  authUrl: string;
10
10
  /** Provide the authorization code (format: code#state) to complete the flow */
@@ -9,8 +9,8 @@
9
9
  * multi-account support keep working without changes.
10
10
  */
11
11
  import type { SubscriptionCredentialSource } from "@elizaos/shared";
12
- import { type AccountCredentialRecord } from "./account-storage.ts";
13
- import { type AccountCredentialProvider, type OAuthCredentials, type StoredCredentials, type SubscriptionProvider } from "./types.ts";
12
+ import { type AccountCredentialRecord } from "./account-storage.js";
13
+ import { type AccountCredentialProvider, type OAuthCredentials, type StoredCredentials, type SubscriptionProvider } from "./types.js";
14
14
  /**
15
15
  * Save credentials for a provider account.
16
16
  *
package/auth/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export * from "./account-storage.ts";
2
- export * from "./anthropic.ts";
3
- export * from "./claude-code-stealth.ts";
4
- export * from "./credentials.ts";
5
- export * from "./oauth-flow.ts";
6
- export * from "./openai-codex.ts";
7
- export * from "./types.ts";
1
+ export * from "./account-storage.js";
2
+ export * from "./anthropic.js";
3
+ export * from "./claude-code-stealth.js";
4
+ export * from "./credentials.js";
5
+ export * from "./oauth-flow.js";
6
+ export * from "./openai-codex.js";
7
+ export * from "./types.js";
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -17,8 +17,8 @@
17
17
  * through this module — there is no direct caller of the vendor-level
18
18
  * OAuth helpers anymore.
19
19
  */
20
- import { type AccountCredentialRecord } from "./account-storage.ts";
21
- import type { SubscriptionProvider } from "./types.ts";
20
+ import { type AccountCredentialRecord } from "./account-storage.js";
21
+ import type { SubscriptionProvider } from "./types.js";
22
22
  /** Server-tracked status of an in-flight OAuth flow. */
23
23
  export type FlowStatus = "pending" | "success" | "error" | "cancelled" | "timeout";
24
24
  export interface FlowState {
@@ -4,7 +4,7 @@
4
4
  * Uses inlined OAuth (vendored helpers).
5
5
  * Handles local callback server + manual code paste fallback.
6
6
  */
7
- import type { OAuthCredentials } from "./types.ts";
7
+ import type { OAuthCredentials } from "./types.js";
8
8
  export interface CodexFlow {
9
9
  authUrl: string;
10
10
  state: string;
@@ -1,2 +1,2 @@
1
- export * from "./registry.ts";
1
+ export * from "./registry.js";
2
2
  //# sourceMappingURL=index.d.ts.map
package/config/config.js CHANGED
@@ -285,4 +285,3 @@ export function configFileExists() {
285
285
  const persistPath = resolveConfigWritePath();
286
286
  return persistPath !== configPath && fs.existsSync(persistPath);
287
287
  }
288
- // Backward-compat aliases for downstream forks using the old name
@@ -1,4 +1,4 @@
1
- import type { ElizaConfig } from "./types.ts";
1
+ import type { ElizaConfig } from "./types.js";
2
2
  /**
3
3
  * Maps connector config fields to the environment variables expected by
4
4
  * elizaOS plugins. Keep this aligned with runtime/eliza.ts.
@@ -1 +1 @@
1
- {"version":3,"file":"env-vars.d.ts","sourceRoot":"","sources":["../../src/config/env-vars.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAmD9C;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CACtC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAuFjD,CAAC;AAEF,wBAAgB,oBAAoB,CAClC,GAAG,CAAC,EAAE,WAAW,GAChB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAkCxB;AAED,wBAAgB,uBAAuB,CACrC,GAAG,CAAC,EAAE,WAAW,GAChB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAsIxB"}
1
+ {"version":3,"file":"env-vars.d.ts","sourceRoot":"","sources":["../../src/config/env-vars.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAkD9C;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CACtC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAuFjD,CAAC;AAEF,wBAAgB,oBAAoB,CAClC,GAAG,CAAC,EAAE,WAAW,GAChB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAkCxB;AAED,wBAAgB,uBAAuB,CACrC,GAAG,CAAC,EAAE,WAAW,GAChB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAsIxB"}
@@ -36,7 +36,6 @@ const BLOCKED_STARTUP_ENV_KEYS = new Set([
36
36
  "ELIZA_API_TOKEN",
37
37
  "ELIZA_WALLET_EXPORT_TOKEN",
38
38
  "ELIZA_TERMINAL_RUN_TOKEN",
39
- "HYPERSCAPE_AUTH_TOKEN",
40
39
  "EVM_PRIVATE_KEY",
41
40
  "SOLANA_PRIVATE_KEY",
42
41
  "STEWARD_API_KEY",
package/config/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export * from "./character-schema.ts";
2
- export * from "./config.ts";
3
- export * from "./env-vars.ts";
4
- export * from "./includes.ts";
5
- export * from "./model-metadata.ts";
6
- export * from "./owner-contacts.ts";
7
- export * from "./paths.ts";
8
- export * from "./schema.ts";
9
- export * from "./telegram-custom-commands.ts";
10
- export type { CustomActionDef, CustomActionHandler, DatabaseProviderType, } from "./types.eliza.ts";
1
+ export * from "./character-schema.js";
2
+ export * from "./config.js";
3
+ export * from "./env-vars.js";
4
+ export * from "./includes.js";
5
+ export * from "./model-metadata.js";
6
+ export * from "./owner-contacts.js";
7
+ export * from "./paths.js";
8
+ export * from "./schema.js";
9
+ export * from "./telegram-custom-commands.js";
10
+ export type { CustomActionDef, CustomActionHandler, DatabaseProviderType, } from "./types.eliza.js";
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ElizaConfig, ModelDefinitionConfig } from "./types.ts";
1
+ import type { ElizaConfig, ModelDefinitionConfig } from "./types.js";
2
2
  export declare const DEFAULT_MODEL_CONTEXT_WINDOW = 128000;
3
3
  export declare const DEFAULT_MODEL_MAX_TOKENS = 8192;
4
4
  export type ModelTokenMetadataSource = "model-config" | "agent-defaults" | "runtime-default";
@@ -1,5 +1,5 @@
1
1
  import type { IAgentRuntime } from "@elizaos/core";
2
- import type { OwnerContactEntry, OwnerContactsConfig } from "./types.agent-defaults.ts";
2
+ import type { OwnerContactEntry, OwnerContactsConfig } from "./types.agent-defaults.js";
3
3
  type OwnerContactsLoadContext = {
4
4
  boundary: string;
5
5
  operation: string;
@@ -1,6 +1,6 @@
1
1
  /** Known connector IDs for config schema generation. Keep in sync with runtime/plugin maps. */
2
2
  export declare const CONNECTOR_IDS: readonly ["bluebubbles", "telegram", "telegramAccount", "discord", "discordLocal", "slack", "twitter", "whatsapp", "signal", "imessage", "farcaster", "lens", "msteams", "feishu", "matrix", "nostr", "blooio", "twitch", "mattermost", "googlechat"];
3
- import { ElizaSchema } from "./zod-schema.ts";
3
+ import { ElizaSchema } from "./zod-schema.js";
4
4
  export type ShowIfCondition = {
5
5
  field: string;
6
6
  op: "eq" | "neq" | "in" | "truthy" | "falsy";
@@ -2,7 +2,7 @@
2
2
  * Discover hooks from workspace, managed state-dir hooks, and bundled dirs.
3
3
  * Later sources win on name conflicts.
4
4
  */
5
- import type { HookEntry } from "./types.ts";
5
+ import type { HookEntry } from "./types.js";
6
6
  export interface DiscoveryOptions {
7
7
  workspacePath?: string;
8
8
  bundledDir?: string;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Hook eligibility: checks OS, binary, env, and config requirements.
3
3
  */
4
- import type { HookConfig, InternalHooksConfig } from "../config/types.hooks.ts";
5
- import type { ElizaHookMetadata } from "./types.ts";
4
+ import type { HookConfig, InternalHooksConfig } from "../config/types.hooks.js";
5
+ import type { ElizaHookMetadata } from "./types.js";
6
6
  export interface EligibilityResult {
7
7
  eligible: boolean;
8
8
  missing: string[];
package/hooks/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { type LoadHooksOptions, loadHooks, } from "./loader.ts";
2
- export { createHookEvent, triggerHook, } from "./registry.ts";
1
+ export { type LoadHooksOptions, loadHooks, } from "./loader.js";
2
+ export { createHookEvent, triggerHook, } from "./registry.js";
3
3
  //# sourceMappingURL=index.d.ts.map
package/hooks/loader.d.ts CHANGED
@@ -5,8 +5,8 @@
5
5
  *
6
6
  * @module hooks/loader
7
7
  */
8
- import type { InternalHooksConfig } from "../config/types.hooks.ts";
9
- import { type DiscoveryOptions } from "./discovery.ts";
8
+ import type { InternalHooksConfig } from "../config/types.hooks.js";
9
+ import { type DiscoveryOptions } from "./discovery.js";
10
10
  export interface LoadHooksOptions extends DiscoveryOptions {
11
11
  /** Internal hooks configuration. */
12
12
  internalConfig?: InternalHooksConfig;
@@ -1,4 +1,4 @@
1
- import type { HookEvent, HookHandler } from "./types.ts";
1
+ import type { HookEvent, HookHandler } from "./types.js";
2
2
  /**
3
3
  * Event keys: "command" matches all command events,
4
4
  * "command:new" matches only /new.
package/index.d.ts CHANGED
@@ -9,89 +9,91 @@ export declare function handleCloudCompatRoute(...args: unknown[]): Promise<bool
9
9
  export declare function handleCloudRoute(...args: unknown[]): Promise<boolean>;
10
10
  export declare function validateCloudBaseUrl(value: string): Promise<string | null>;
11
11
  export type { ElizaConfig, ReleaseChannel, RolesConfig } from "@elizaos/shared";
12
- export { CONNECTOR_PLUGINS, normalizeCloudSiteUrl, type ParseClampedIntegerOptions, type ParseClampedNumberOptions, type ParsePositiveNumberOptions, parseClampedFloat, parseClampedInteger, parsePositiveFloat, parsePositiveInteger, resolveCloudApiBaseUrl, STREAMING_PLUGINS, } from "@elizaos/shared";
13
- export { type ExtractActionParamsArgs, extractActionParamsViaLlm, type ParamSchemaDescriptor, } from "./actions/extract-params.ts";
14
- export * from "./actions/index.ts";
15
- export * from "./api/config-env.ts";
16
- export { handleConnectorAccountRoutes } from "./api/connector-account-routes.ts";
17
- export * from "./api/conversation-metadata.ts";
18
- export * from "./api/index.ts";
19
- export { setOwnerContact } from "./api/owner-contact-helpers.ts";
20
- export { findPrimaryEnvKey, readBundledPluginPackageMetadata, } from "./api/plugin-discovery-helpers.ts";
21
- export * from "./api/plugin-runtime-apply.ts";
22
- export type { PluginParamInfo } from "./api/plugin-validation.ts";
23
- export { applyCanonicalFirstRunConfig, applyFirstRunCredentialPersistence, clearPersistedFirstRunConfig, } from "./api/provider-switch-config.ts";
24
- export { RegistryService } from "./api/registry-service.ts";
25
- export { AGENT_EVENT_ALLOWED_STREAMS, CONFIG_WRITE_ALLOWED_TOP_KEYS, type ConversationMeta, type captureEarlyLogs, cloneWithoutBlockedObjectKeys, decodePathComponent, discoverInstalledPlugins, discoverPluginsFromManifest, ensureApiTokenForBindHost, extractAuthToken, fetchWithTimeoutGuard, injectApiBaseIntoHtml, isAllowedHost, isAuthorized, isSafeResetStateDir, normalizeWsClientId, type PluginConfigMutationRejection, persistConversationRoomTitle, resolveCorsOrigin, resolveMcpServersRejection, resolveMcpTerminalAuthorizationRejection, resolvePluginConfigMutationRejections, resolveTerminalRunClientId, resolveTerminalRunRejection, resolveWalletExportRejection, resolveWebSocketUpgradeRejection, routeAutonomyTextToUser, startApiServer, streamResponseBodyWithByteLimit, validateMcpServerConfig, } from "./api/server.ts";
26
- export { type DeletedConversationsStateFile, getAgentEventSvc, initializeOGCodeInState, persistDeletedConversationIdsToState, readDeletedConversationIdsFromState, readOGCodeFromState, requireCoreManager, requirePluginManager, } from "./api/server-helpers.ts";
27
- export { getConfiguredApiToken, isTrustedLocalRequest, } from "./api/server-helpers-auth.ts";
28
- export type { AgentAutomationMode, ChatAttachmentWithData, ConnectorRouteHandler, ConversationAutomationType, ConversationMetadata, ConversationScope, PluginEntry, PluginParamDef, StreamEventType, TradePermissionMode, } from "./api/server-types.ts";
29
- export { normalizeJsonRpcUrl, probeJsonRpcEndpoint, TxService, } from "./api/tx-service.ts";
30
- export { getWalletAddresses, initStewardWalletCache } from "./api/wallet.ts";
31
- export * from "./api/wallet-capability.ts";
32
- export * from "./api/workbench-helpers.ts";
33
- export * from "./auth/index.ts";
34
- export * from "./awareness/index.ts";
35
- export { runBenchmark } from "./cli/benchmark.ts";
36
- export { CharacterSchema } from "./config/character-schema.ts";
37
- export { loadElizaConfig, saveElizaConfig } from "./config/config.ts";
38
- export * from "./config/index.ts";
39
- export { resolveUserPath } from "./config/paths.ts";
40
- export { getPluginWidgets, type PluginWidgetDeclarationServer, } from "./config/plugin-widgets.ts";
41
- export * from "./contracts/awareness.ts";
42
- export * from "./diagnostics/integration-observability.ts";
43
- export * from "./hooks/index.ts";
44
- export * from "./providers/workspace.ts";
45
- export * from "./runtime/advanced-capabilities-config.ts";
46
- export * from "./runtime/agent-event-service.ts";
47
- export * from "./runtime/core-plugins.ts";
48
- export * from "./runtime/eliza.ts";
49
- export * from "./runtime/eliza-plugin.ts";
50
- export * from "./runtime/first-run-names.ts";
51
- export { isCloudExecutionMode, type LocalExecutionMode, type RuntimeExecutionMode, type RuntimeExecutionModeSource, resolveLocalExecutionMode, resolveRuntimeExecutionMode, shouldUseSandboxExecution, } from "./runtime/local-execution-mode.ts";
52
- export * from "./runtime/operations/vault-bridge.ts";
53
- export * from "./runtime/owner-entity.ts";
54
- export * from "./runtime/plugin-collector.ts";
55
- export * from "./runtime/plugin-lifecycle.ts";
56
- export { getLastFailedPluginDetails, getLastFailedPluginNames, resolvePlugins, } from "./runtime/plugin-resolver.ts";
57
- export * from "./runtime/plugin-types.ts";
58
- export * from "./runtime/release-plugin-policy.ts";
59
- export * from "./runtime/restart.ts";
60
- export * from "./runtime/trajectory-internals.ts";
61
- export * from "./runtime/trajectory-persistence.ts";
62
- export * from "./runtime/trajectory-query.ts";
63
- export * from "./runtime/version.ts";
64
- export * from "./security/index.ts";
65
- export * from "./services/cove-quote.ts";
66
- export * from "./services/dstack-tee-provider.ts";
67
- export { isStewardEvmBridgeActive, setStewardEvmBridgeActive, } from "./services/external-bridge-state.ts";
68
- export * from "./services/index.ts";
69
- export { type JsRuntimeBridge, type JsRuntimeEvaluateOptions, type JsRuntimeFactory, type JsRuntimeImportOptions, type JsRuntimeKind, type JsValue, registerJsRuntimeFactory, resolveJsRuntimeBridge, } from "./services/js-runtime-bridge.ts";
70
- export { EntityStore, KNOWLEDGE_GRAPH_SERVICE, KnowledgeGraphService, knowledgeGraphSchema, RelationshipStore, resolveKnowledgeGraphService, } from "./services/knowledge-graph/index.ts";
71
- export * from "./services/plugin-installer";
72
- export type { CoreManagerLike, CoreStatusLike, EjectResult, InstallProgressLike, PluginInstallOptionsLike, PluginInstallResult, PluginManagerLike, PluginUninstallResult, RegistryPluginAppMeta, RegistryPluginAppSessionFeature, RegistryPluginAppSessionInfo, RegistryPluginAppSessionMode, RegistryPluginInfo, RegistryPluginNpmInfo, RegistryPluginViewerInfo, RegistrySearchResult, RegistryVersionSupport, ReinjectResult, SyncResult, } from "./services/plugin-manager-types.ts";
73
- export { isCoreManagerLike, isPluginManagerLike, } from "./services/plugin-manager-types.ts";
74
- export { type ClusterMemoriesQuery, type ClusterSearchQuery, createNativeRelationshipsGraphService, getMemoriesForCluster, type RelationshipsGraphEdge, type RelationshipsGraphQuery, type RelationshipsGraphService, type RelationshipsGraphSnapshot, type RelationshipsGraphStats, type RelationshipsPersonDetail, type RelationshipsPersonFact, type RelationshipsPersonSummary, resolveRelationshipsGraphService, searchMemoriesForCluster, } from "./services/relationships-graph.ts";
75
- export { runShell, type ShellExecutionMode, type ShellRequest, type ShellResult, type ShellRouterContext, type ShellSandboxBackend, } from "./services/shell-execution-router.ts";
76
- export * from "./services/tee-boot-gate.ts";
77
- export * from "./services/tee-boot-gate-state.ts";
78
- export * from "./services/tee-confidential-inference.ts";
79
- export * from "./services/tee-evidence.ts";
80
- export * from "./services/tee-key-release.ts";
81
- export * from "./services/tee-model-key-boot.ts";
82
- export * from "./services/tee-policy.ts";
83
- export * from "./services/tee-production-profile.ts";
84
- export * from "./services/tee-release-policy.ts";
85
- export * from "./services/tee-revocation.ts";
86
- export * from "./services/tee-runtime-config.ts";
87
- export * from "./services/tee-sealed-volume.ts";
88
- export * from "./services/tee-signer-backend.ts";
89
- export { resolveDefaultAgentWorkspaceDir } from "./shared/workspace-resolution.ts";
90
- export * from "./test-support/index.ts";
91
- export * from "./test-utils/sqlite-compat.ts";
92
- export * from "./triggers/runtime.ts";
93
- export * from "./triggers/scheduling.ts";
94
- export * from "./triggers/types.ts";
95
- export * from "./types/index.ts";
96
- export * from "./version-resolver.ts";
12
+ export { CONNECTOR_PLUGINS, normalizeCloudSiteUrl, type ParseClampedIntegerOptions, type ParseClampedNumberOptions, type ParsePositiveNumberOptions, parseClampedFloat, parseClampedInteger, parsePositiveFloat, parsePositiveInteger, RESTART_EXIT_CODE, type RestartHandler, requestRestart, resolveCloudApiBaseUrl, STREAMING_PLUGINS, setRestartHandler, } from "@elizaos/shared";
13
+ export { type ExtractActionParamsArgs, extractActionParamsViaLlm, type ParamSchemaDescriptor, } from "./actions/extract-params.js";
14
+ export * from "./actions/index.js";
15
+ export * from "./api/config-env.js";
16
+ export { handleConnectorAccountRoutes } from "./api/connector-account-routes.js";
17
+ export * from "./api/conversation-metadata.js";
18
+ export * from "./api/index.js";
19
+ export { setOwnerContact } from "./api/owner-contact-helpers.js";
20
+ export { findPrimaryEnvKey, readBundledPluginPackageMetadata, } from "./api/plugin-discovery-helpers.js";
21
+ export * from "./api/plugin-runtime-apply.js";
22
+ export type { PluginParamInfo } from "./api/plugin-validation.js";
23
+ export { applyCanonicalFirstRunConfig, applyFirstRunCredentialPersistence, clearPersistedFirstRunConfig, } from "./api/provider-switch-config.js";
24
+ export { RegistryService } from "./api/registry-service.js";
25
+ export { AGENT_EVENT_ALLOWED_STREAMS, CONFIG_WRITE_ALLOWED_TOP_KEYS, type ConversationMeta, type captureEarlyLogs, cloneWithoutBlockedObjectKeys, decodePathComponent, discoverInstalledPlugins, discoverPluginsFromManifest, ensureApiTokenForBindHost, extractAuthToken, fetchWithTimeoutGuard, injectApiBaseIntoHtml, isAllowedHost, isAuthorized, isSafeResetStateDir, normalizeWsClientId, type PluginConfigMutationRejection, persistConversationRoomTitle, resolveCorsOrigin, resolveMcpServersRejection, resolveMcpTerminalAuthorizationRejection, resolvePluginConfigMutationRejections, resolveTerminalRunClientId, resolveTerminalRunRejection, resolveWalletExportRejection, resolveWebSocketUpgradeRejection, routeAutonomyTextToUser, startApiServer, streamResponseBodyWithByteLimit, validateMcpServerConfig, } from "./api/server.js";
26
+ export { type DeletedConversationsStateFile, getAgentEventSvc, initializeOGCodeInState, persistDeletedConversationIdsToState, readDeletedConversationIdsFromState, readOGCodeFromState, requireCoreManager, requirePluginManager, } from "./api/server-helpers.js";
27
+ export { getConfiguredApiToken, isTrustedLocalRequest, } from "./api/server-helpers-auth.js";
28
+ export type { AgentAutomationMode, ChatAttachmentWithData, ConnectorRouteHandler, ConversationAutomationType, ConversationMetadata, ConversationScope, PluginEntry, PluginParamDef, StreamEventType, TradePermissionMode, } from "./api/server-types.js";
29
+ export { normalizeJsonRpcUrl, probeJsonRpcEndpoint, TxService, } from "./api/tx-service.js";
30
+ export { getWalletAddresses, initStewardWalletCache } from "./api/wallet.js";
31
+ export * from "./api/wallet-capability.js";
32
+ export * from "./api/workbench-helpers.js";
33
+ export * from "./auth/index.js";
34
+ export * from "./awareness/index.js";
35
+ export { runBenchmark } from "./cli/benchmark.js";
36
+ export { CharacterSchema } from "./config/character-schema.js";
37
+ export { loadElizaConfig, saveElizaConfig } from "./config/config.js";
38
+ export * from "./config/index.js";
39
+ export { resolveUserPath } from "./config/paths.js";
40
+ export { getPluginWidgets, type PluginWidgetDeclarationServer, } from "./config/plugin-widgets.js";
41
+ export * from "./contracts/awareness.js";
42
+ export * from "./diagnostics/integration-observability.js";
43
+ export * from "./hooks/index.js";
44
+ export * from "./providers/workspace.js";
45
+ export * from "./runtime/advanced-capabilities-config.js";
46
+ export * from "./runtime/agent-event-service.js";
47
+ export * from "./runtime/core-plugins.js";
48
+ export * from "./runtime/eliza.js";
49
+ export * from "./runtime/eliza-plugin.js";
50
+ export * from "./runtime/first-run-names.js";
51
+ export { isCloudExecutionMode, type LocalExecutionMode, type RuntimeExecutionMode, type RuntimeExecutionModeSource, resolveLocalExecutionMode, resolveRuntimeExecutionMode, shouldUseSandboxExecution, } from "./runtime/local-execution-mode.js";
52
+ export * from "./runtime/operations/vault-bridge.js";
53
+ export * from "./runtime/owner-entity.js";
54
+ export * from "./runtime/plugin-collector.js";
55
+ export * from "./runtime/plugin-lifecycle.js";
56
+ export { getLastFailedPluginDetails, getLastFailedPluginNames, resolvePlugins, } from "./runtime/plugin-resolver.js";
57
+ export * from "./runtime/plugin-types.js";
58
+ export * from "./runtime/release-plugin-policy.js";
59
+ export * from "./runtime/trajectory-internals.js";
60
+ export * from "./runtime/trajectory-persistence.js";
61
+ export * from "./runtime/trajectory-query.js";
62
+ export * from "./runtime/version.js";
63
+ export * from "./security/index.js";
64
+ export { APPROVAL_SERVICE, type ApprovalAction, type ApprovalChannel, type ApprovalEnqueueInput, type ApprovalListFilter, ApprovalNotFoundError, type ApprovalPayload, type ApprovalQueue, type ApprovalQueueOptions, type ApprovalRequest, type ApprovalRequestState, type ApprovalResolution, ApprovalService, ApprovalStateTransitionError, type ApprovalTravelCalendarSync, type ApprovalTravelPassenger, createApprovalQueue, PgApprovalQueue, resolveApprovalService, } from "./services/approval/index.js";
65
+ export * from "./services/cove-quote.js";
66
+ export * from "./services/dstack-tee-provider.js";
67
+ export { isStewardEvmBridgeActive, setStewardEvmBridgeActive, } from "./services/external-bridge-state.js";
68
+ export { createGlobalPauseStore, GLOBAL_PAUSE_CACHE_KEY, GLOBAL_PAUSE_SERVICE, GlobalPauseService, type GlobalPauseStatus, type GlobalPauseStore, type GlobalPauseWindow, resolveGlobalPauseService, } from "./services/global-pause/index.js";
69
+ export { createHandoffStore, describeResumeCondition, evaluateResume, HANDOFF_SERVICE, type HandoffEnterOpts, HandoffService, type HandoffStatus, type HandoffStore, type ResumeCondition, type ResumeEvaluation, type ResumeEvaluationInput, resolveHandoffService, } from "./services/handoff/index.js";
70
+ export * from "./services/index.js";
71
+ export { type JsRuntimeBridge, type JsRuntimeEvaluateOptions, type JsRuntimeFactory, type JsRuntimeImportOptions, type JsRuntimeKind, type JsValue, registerJsRuntimeFactory, resolveJsRuntimeBridge, } from "./services/js-runtime-bridge.js";
72
+ export { EntityStore, KNOWLEDGE_GRAPH_SERVICE, KnowledgeGraphService, knowledgeGraphSchema, RelationshipStore, resolveKnowledgeGraphService, } from "./services/knowledge-graph/index.js";
73
+ export { createPendingPromptsStore, type ExpectedReplyKind, PENDING_PROMPTS_SERVICE, type PendingPrompt, type PendingPromptRecordInput, PendingPromptsService, type PendingPromptsStore, type RecordedPendingPrompt, resolvePendingPromptsService, } from "./services/pending-prompts/index.js";
74
+ export * from "./services/plugin-installer.js";
75
+ export type { CoreManagerLike, CoreStatusLike, EjectResult, InstallProgressLike, PluginInstallOptionsLike, PluginInstallResult, PluginManagerLike, PluginUninstallResult, RegistryPluginAppMeta, RegistryPluginAppSessionFeature, RegistryPluginAppSessionInfo, RegistryPluginAppSessionMode, RegistryPluginInfo, RegistryPluginNpmInfo, RegistryPluginViewerInfo, RegistrySearchResult, RegistryVersionSupport, ReinjectResult, SyncResult, } from "./services/plugin-manager-types.js";
76
+ export { isCoreManagerLike, isPluginManagerLike, } from "./services/plugin-manager-types.js";
77
+ export { type ClusterMemoriesQuery, type ClusterSearchQuery, createNativeRelationshipsGraphService, getMemoriesForCluster, type RelationshipsGraphEdge, type RelationshipsGraphQuery, type RelationshipsGraphService, type RelationshipsGraphSnapshot, type RelationshipsGraphStats, type RelationshipsPersonDetail, type RelationshipsPersonFact, type RelationshipsPersonSummary, resolveRelationshipsGraphService, searchMemoriesForCluster, } from "./services/relationships-graph.js";
78
+ export { runShell, type ShellExecutionMode, type ShellRequest, type ShellResult, type ShellRouterContext, type ShellSandboxBackend, } from "./services/shell-execution-router.js";
79
+ export * from "./services/tee-boot-gate.js";
80
+ export * from "./services/tee-boot-gate-state.js";
81
+ export * from "./services/tee-confidential-inference.js";
82
+ export * from "./services/tee-evidence.js";
83
+ export * from "./services/tee-key-release.js";
84
+ export * from "./services/tee-model-key-boot.js";
85
+ export * from "./services/tee-policy.js";
86
+ export * from "./services/tee-production-profile.js";
87
+ export * from "./services/tee-release-policy.js";
88
+ export * from "./services/tee-revocation.js";
89
+ export * from "./services/tee-runtime-config.js";
90
+ export * from "./services/tee-sealed-volume.js";
91
+ export * from "./services/tee-signer-backend.js";
92
+ export { resolveDefaultAgentWorkspaceDir } from "./shared/workspace-resolution.js";
93
+ export * from "./test-support/index.js";
94
+ export * from "./triggers/runtime.js";
95
+ export * from "./triggers/scheduling.js";
96
+ export * from "./triggers/types.js";
97
+ export * from "./types/index.js";
98
+ export * from "./version-resolver.js";
97
99
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,QAAQ,EACR,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAiBD,wBAAsB,uBAAuB,CAC3C,GAAG,IAAI,EAAE,OAAO,EAAE,GACjB,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED,wBAAsB,sBAAsB,CAC1C,GAAG,IAAI,EAAE,OAAO,EAAE,GACjB,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED,wBAAsB,gBAAgB,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAG3E;AAED,wBAAsB,oBAAoB,CACxC,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGxB;AACD,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,iBAAiB,EACjB,mBAAmB,EAC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AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,OAAO,EAAE,+BAA+B,EAAE,MAAM,kCAAkC,CAAC;AACnF,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC"}
package/index.js CHANGED
@@ -18,7 +18,7 @@ export async function validateCloudBaseUrl(value) {
18
18
  const { validateCloudBaseUrl } = await loadElizaCloudRoutes();
19
19
  return validateCloudBaseUrl(value);
20
20
  }
21
- export { CONNECTOR_PLUGINS, normalizeCloudSiteUrl, parseClampedFloat, parseClampedInteger, parsePositiveFloat, parsePositiveInteger, resolveCloudApiBaseUrl, STREAMING_PLUGINS, } from "@elizaos/shared";
21
+ export { CONNECTOR_PLUGINS, normalizeCloudSiteUrl, parseClampedFloat, parseClampedInteger, parsePositiveFloat, parsePositiveInteger, RESTART_EXIT_CODE, requestRestart, resolveCloudApiBaseUrl, STREAMING_PLUGINS, setRestartHandler, } from "@elizaos/shared";
22
22
  export { extractActionParamsViaLlm, } from "./actions/extract-params.js";
23
23
  export * from "./actions/index.js";
24
24
  export * from "./api/config-env.js";
@@ -82,21 +82,30 @@ export * from "./runtime/plugin-lifecycle.js";
82
82
  export { getLastFailedPluginDetails, getLastFailedPluginNames, resolvePlugins, } from "./runtime/plugin-resolver.js";
83
83
  export * from "./runtime/plugin-types.js";
84
84
  export * from "./runtime/release-plugin-policy.js";
85
- export * from "./runtime/restart.js";
86
85
  export * from "./runtime/trajectory-internals.js";
87
86
  export * from "./runtime/trajectory-persistence.js";
88
87
  export * from "./runtime/trajectory-query.js";
89
88
  export * from "./runtime/version.js";
90
89
  export * from "./security/index.js";
90
+ // Runtime owner-approval queue promoted from LifeOps (Slice 4). Named
91
+ // re-export — same rationale as the knowledge graph / pending-prompts below:
92
+ // keep it out of the broad services barrel to avoid TS2308.
93
+ export { APPROVAL_SERVICE, ApprovalNotFoundError, ApprovalService, ApprovalStateTransitionError, createApprovalQueue, PgApprovalQueue, resolveApprovalService, } from "./services/approval/index.js";
91
94
  export * from "./services/cove-quote.js";
92
95
  export * from "./services/dstack-tee-provider.js";
93
96
  export { isStewardEvmBridgeActive, setStewardEvmBridgeActive, } from "./services/external-bridge-state.js";
97
+ export { createGlobalPauseStore, GLOBAL_PAUSE_CACHE_KEY, GLOBAL_PAUSE_SERVICE, GlobalPauseService, resolveGlobalPauseService, } from "./services/global-pause/index.js";
98
+ export { createHandoffStore, describeResumeCondition, evaluateResume, HANDOFF_SERVICE, HandoffService, resolveHandoffService, } from "./services/handoff/index.js";
94
99
  export * from "./services/index.js";
95
100
  export { registerJsRuntimeFactory, resolveJsRuntimeBridge, } from "./services/js-runtime-bridge.js";
96
101
  // Runtime knowledge graph (entity/relationship stores + service). Named
97
102
  // re-export to mirror the relationships-graph surface and avoid colliding
98
103
  // with the broad services barrel.
99
104
  export { EntityStore, KNOWLEDGE_GRAPH_SERVICE, KnowledgeGraphService, knowledgeGraphSchema, RelationshipStore, resolveKnowledgeGraphService, } from "./services/knowledge-graph/index.js";
105
+ // Cache-backed runtime stores promoted from LifeOps (pending-prompts /
106
+ // global-pause / handoff). Named re-exports — same rationale as the knowledge
107
+ // graph above: keep them out of the broad services barrel to avoid TS2308.
108
+ export { createPendingPromptsStore, PENDING_PROMPTS_SERVICE, PendingPromptsService, resolvePendingPromptsService, } from "./services/pending-prompts/index.js";
100
109
  export * from "./services/plugin-installer.js";
101
110
  export { isCoreManagerLike, isPluginManagerLike, } from "./services/plugin-manager-types.js";
102
111
  export { createNativeRelationshipsGraphService, getMemoriesForCluster, resolveRelationshipsGraphService, searchMemoriesForCluster, } from "./services/relationships-graph.js";
@@ -119,7 +128,6 @@ export * from "./services/tee-sealed-volume.js";
119
128
  export * from "./services/tee-signer-backend.js";
120
129
  export { resolveDefaultAgentWorkspaceDir } from "./shared/workspace-resolution.js";
121
130
  export * from "./test-support/index.js";
122
- export * from "./test-utils/sqlite-compat.js";
123
131
  export * from "./triggers/runtime.js";
124
132
  export * from "./triggers/scheduling.js";
125
133
  export * from "./triggers/types.js";