@elizaos/core 2.0.0-alpha.206 → 2.0.0-alpha.207

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 (325) hide show
  1. package/dist/action-docs.d.ts +1 -1
  2. package/dist/actions.d.ts +1 -1
  3. package/dist/character-utils.d.ts +2 -2
  4. package/dist/character.d.ts +1 -1
  5. package/dist/connection.d.ts +3 -3
  6. package/dist/constants/index.d.ts +1 -1
  7. package/dist/database/inMemoryAdapter.d.ts +2 -2
  8. package/dist/database.d.ts +5 -5
  9. package/dist/entities.d.ts +1 -1
  10. package/dist/features/advanced-capabilities/actions/addContact.d.ts +1 -1
  11. package/dist/features/advanced-capabilities/actions/followRoom.d.ts +1 -1
  12. package/dist/features/advanced-capabilities/actions/imageGeneration.d.ts +1 -1
  13. package/dist/features/advanced-capabilities/actions/index.d.ts +15 -15
  14. package/dist/features/advanced-capabilities/actions/muteRoom.d.ts +1 -1
  15. package/dist/features/advanced-capabilities/actions/removeContact.d.ts +1 -1
  16. package/dist/features/advanced-capabilities/actions/roles.d.ts +1 -1
  17. package/dist/features/advanced-capabilities/actions/scheduleFollowUp.d.ts +1 -1
  18. package/dist/features/advanced-capabilities/actions/searchContacts.d.ts +1 -1
  19. package/dist/features/advanced-capabilities/actions/sendMessage.d.ts +1 -1
  20. package/dist/features/advanced-capabilities/actions/settings.d.ts +1 -1
  21. package/dist/features/advanced-capabilities/actions/think.d.ts +1 -1
  22. package/dist/features/advanced-capabilities/actions/unfollowRoom.d.ts +1 -1
  23. package/dist/features/advanced-capabilities/actions/unmuteRoom.d.ts +1 -1
  24. package/dist/features/advanced-capabilities/actions/updateContact.d.ts +1 -1
  25. package/dist/features/advanced-capabilities/actions/updateEntity.d.ts +1 -1
  26. package/dist/features/advanced-capabilities/clipboard/actions/append.d.ts +1 -1
  27. package/dist/features/advanced-capabilities/clipboard/actions/delete.d.ts +1 -1
  28. package/dist/features/advanced-capabilities/clipboard/actions/list.d.ts +1 -1
  29. package/dist/features/advanced-capabilities/clipboard/actions/read-attachment.d.ts +1 -1
  30. package/dist/features/advanced-capabilities/clipboard/actions/read-file.d.ts +1 -1
  31. package/dist/features/advanced-capabilities/clipboard/actions/read.d.ts +1 -1
  32. package/dist/features/advanced-capabilities/clipboard/actions/remove-from-clipboard.d.ts +1 -1
  33. package/dist/features/advanced-capabilities/clipboard/actions/search.d.ts +1 -1
  34. package/dist/features/advanced-capabilities/clipboard/actions/write.d.ts +1 -1
  35. package/dist/features/advanced-capabilities/clipboard/index.d.ts +15 -15
  36. package/dist/features/advanced-capabilities/clipboard/providers/clipboard.d.ts +1 -1
  37. package/dist/features/advanced-capabilities/clipboard/services/attachmentContext.d.ts +1 -1
  38. package/dist/features/advanced-capabilities/clipboard/services/clipboardService.d.ts +2 -2
  39. package/dist/features/advanced-capabilities/clipboard/services/taskClipboardPersistence.d.ts +2 -2
  40. package/dist/features/advanced-capabilities/clipboard/services/taskClipboardService.d.ts +2 -2
  41. package/dist/features/advanced-capabilities/evaluators/factRefinement.d.ts +1 -1
  42. package/dist/features/advanced-capabilities/evaluators/index.d.ts +5 -5
  43. package/dist/features/advanced-capabilities/evaluators/reflection.d.ts +1 -1
  44. package/dist/features/advanced-capabilities/evaluators/relationshipExtraction.d.ts +1 -1
  45. package/dist/features/advanced-capabilities/evaluators/skillExtraction.d.ts +1 -1
  46. package/dist/features/advanced-capabilities/evaluators/skillRefinement.d.ts +1 -1
  47. package/dist/features/advanced-capabilities/evaluators/task-completion.d.ts +1 -1
  48. package/dist/features/advanced-capabilities/experience/actions/record-experience.d.ts +1 -1
  49. package/dist/features/advanced-capabilities/experience/evaluators/experienceEvaluator.d.ts +1 -1
  50. package/dist/features/advanced-capabilities/experience/generated/specs/spec-helpers.d.ts +1 -1
  51. package/dist/features/advanced-capabilities/experience/index.d.ts +5 -5
  52. package/dist/features/advanced-capabilities/experience/providers/experienceProvider.d.ts +1 -1
  53. package/dist/features/advanced-capabilities/experience/service.d.ts +3 -3
  54. package/dist/features/advanced-capabilities/experience/types.d.ts +2 -2
  55. package/dist/features/advanced-capabilities/experience/utils/confidenceDecay.d.ts +1 -1
  56. package/dist/features/advanced-capabilities/experience/utils/experienceRelationships.d.ts +1 -1
  57. package/dist/features/advanced-capabilities/form/actions/restore.d.ts +1 -1
  58. package/dist/features/advanced-capabilities/form/builder.d.ts +2 -2
  59. package/dist/features/advanced-capabilities/form/builtins.d.ts +1 -1
  60. package/dist/features/advanced-capabilities/form/defaults.d.ts +1 -1
  61. package/dist/features/advanced-capabilities/form/evaluators/extractor.d.ts +1 -1
  62. package/dist/features/advanced-capabilities/form/extraction.d.ts +3 -3
  63. package/dist/features/advanced-capabilities/form/index.d.ts +15 -15
  64. package/dist/features/advanced-capabilities/form/intent.d.ts +1 -1
  65. package/dist/features/advanced-capabilities/form/providers/context.d.ts +1 -1
  66. package/dist/features/advanced-capabilities/form/service.d.ts +3 -3
  67. package/dist/features/advanced-capabilities/form/storage.d.ts +2 -2
  68. package/dist/features/advanced-capabilities/form/template.d.ts +1 -1
  69. package/dist/features/advanced-capabilities/form/ttl.d.ts +1 -1
  70. package/dist/features/advanced-capabilities/form/types.d.ts +1 -1
  71. package/dist/features/advanced-capabilities/form/validation.d.ts +2 -2
  72. package/dist/features/advanced-capabilities/index.d.ts +8 -8
  73. package/dist/features/advanced-capabilities/personality/actions/modify-character.d.ts +1 -1
  74. package/dist/features/advanced-capabilities/personality/evaluators/character-evolution.d.ts +1 -1
  75. package/dist/features/advanced-capabilities/personality/index.d.ts +5 -5
  76. package/dist/features/advanced-capabilities/personality/providers/user-personality.d.ts +1 -1
  77. package/dist/features/advanced-capabilities/personality/services/character-file-manager.d.ts +2 -2
  78. package/dist/features/advanced-capabilities/providers/contacts.d.ts +1 -1
  79. package/dist/features/advanced-capabilities/providers/facts.d.ts +1 -1
  80. package/dist/features/advanced-capabilities/providers/followUps.d.ts +1 -1
  81. package/dist/features/advanced-capabilities/providers/index.d.ts +7 -7
  82. package/dist/features/advanced-capabilities/providers/knowledge.d.ts +1 -1
  83. package/dist/features/advanced-capabilities/providers/relationships.d.ts +1 -1
  84. package/dist/features/advanced-capabilities/providers/roles.d.ts +1 -1
  85. package/dist/features/advanced-capabilities/providers/settings.d.ts +1 -1
  86. package/dist/features/advanced-memory/evaluators/index.d.ts +2 -2
  87. package/dist/features/advanced-memory/evaluators/long-term-extraction.d.ts +1 -1
  88. package/dist/features/advanced-memory/evaluators/summarization.d.ts +1 -1
  89. package/dist/features/advanced-memory/index.d.ts +6 -6
  90. package/dist/features/advanced-memory/prompts.d.ts +1 -1
  91. package/dist/features/advanced-memory/providers/context-summary.d.ts +1 -1
  92. package/dist/features/advanced-memory/providers/index.d.ts +2 -2
  93. package/dist/features/advanced-memory/providers/long-term-memory.d.ts +1 -1
  94. package/dist/features/advanced-memory/schemas/index.d.ts +4 -4
  95. package/dist/features/advanced-memory/schemas/long-term-memories.d.ts +1 -1
  96. package/dist/features/advanced-memory/schemas/memory-access-logs.d.ts +1 -1
  97. package/dist/features/advanced-memory/schemas/session-summaries.d.ts +1 -1
  98. package/dist/features/advanced-memory/services/memory-service.d.ts +2 -2
  99. package/dist/features/advanced-memory/trajectory.d.ts +1 -1
  100. package/dist/features/advanced-memory/types.d.ts +1 -1
  101. package/dist/features/advanced-planning/actions/chain-example.d.ts +1 -1
  102. package/dist/features/advanced-planning/index.d.ts +3 -3
  103. package/dist/features/advanced-planning/providers/message-classifier.d.ts +1 -1
  104. package/dist/features/advanced-planning/services/planning-service.d.ts +2 -2
  105. package/dist/features/advanced-planning/types.d.ts +1 -1
  106. package/dist/features/autonomy/action.d.ts +1 -1
  107. package/dist/features/autonomy/execution-facade.d.ts +1 -1
  108. package/dist/features/autonomy/index.d.ts +5 -5
  109. package/dist/features/autonomy/providers.d.ts +1 -1
  110. package/dist/features/autonomy/routes.d.ts +1 -1
  111. package/dist/features/autonomy/service.d.ts +3 -3
  112. package/dist/features/autonomy/types.d.ts +1 -1
  113. package/dist/features/basic-capabilities/actions/choice.d.ts +1 -1
  114. package/dist/features/basic-capabilities/actions/ignore.d.ts +1 -1
  115. package/dist/features/basic-capabilities/actions/index.d.ts +4 -4
  116. package/dist/features/basic-capabilities/actions/none.d.ts +1 -1
  117. package/dist/features/basic-capabilities/actions/reply.d.ts +1 -1
  118. package/dist/features/basic-capabilities/index.d.ts +11 -11
  119. package/dist/features/basic-capabilities/providers/actionState.d.ts +1 -1
  120. package/dist/features/basic-capabilities/providers/actions.d.ts +6 -6
  121. package/dist/features/basic-capabilities/providers/attachments.d.ts +1 -1
  122. package/dist/features/basic-capabilities/providers/character.d.ts +1 -1
  123. package/dist/features/basic-capabilities/providers/choice.d.ts +1 -1
  124. package/dist/features/basic-capabilities/providers/contextBench.d.ts +1 -1
  125. package/dist/features/basic-capabilities/providers/currentTime.d.ts +1 -1
  126. package/dist/features/basic-capabilities/providers/entities.d.ts +1 -1
  127. package/dist/features/basic-capabilities/providers/evaluators.d.ts +1 -1
  128. package/dist/features/basic-capabilities/providers/index.d.ts +13 -13
  129. package/dist/features/basic-capabilities/providers/non-actionable-chatter.d.ts +1 -1
  130. package/dist/features/basic-capabilities/providers/providers.d.ts +1 -1
  131. package/dist/features/basic-capabilities/providers/recentMessages.d.ts +1 -1
  132. package/dist/features/basic-capabilities/providers/time.d.ts +1 -1
  133. package/dist/features/basic-capabilities/providers/world.d.ts +1 -1
  134. package/dist/features/index.d.ts +7 -7
  135. package/dist/features/knowledge/actions.d.ts +1 -1
  136. package/dist/features/knowledge/config.d.ts +2 -2
  137. package/dist/features/knowledge/docs-loader.d.ts +2 -2
  138. package/dist/features/knowledge/document-processor.d.ts +1 -1
  139. package/dist/features/knowledge/documents-provider.d.ts +1 -1
  140. package/dist/features/knowledge/index.d.ts +6 -6
  141. package/dist/features/knowledge/llm.d.ts +2 -2
  142. package/dist/features/knowledge/provider.d.ts +1 -1
  143. package/dist/features/knowledge/service.d.ts +3 -3
  144. package/dist/features/knowledge/types.d.ts +1 -1
  145. package/dist/features/plugin-manager/actions/coreStatusAction.d.ts +1 -1
  146. package/dist/features/plugin-manager/actions/listEjectedPluginsAction.d.ts +1 -1
  147. package/dist/features/plugin-manager/actions/searchPluginAction.d.ts +1 -1
  148. package/dist/features/plugin-manager/coreExtensions.d.ts +1 -1
  149. package/dist/features/plugin-manager/index.d.ts +21 -21
  150. package/dist/features/plugin-manager/providers/pluginConfigurationStatus.d.ts +1 -1
  151. package/dist/features/plugin-manager/providers/pluginStateProvider.d.ts +1 -1
  152. package/dist/features/plugin-manager/providers/registryPluginsProvider.d.ts +1 -1
  153. package/dist/features/plugin-manager/providers/relevance.d.ts +2 -2
  154. package/dist/features/plugin-manager/services/coreManagerService.d.ts +3 -3
  155. package/dist/features/plugin-manager/services/pluginConfigurationService.d.ts +3 -3
  156. package/dist/features/plugin-manager/services/pluginManagerService.d.ts +6 -6
  157. package/dist/features/plugin-manager/services/pluginRegistryService.d.ts +1 -1
  158. package/dist/features/plugin-manager/types.d.ts +3 -3
  159. package/dist/features/secrets/actions/index.d.ts +3 -3
  160. package/dist/features/secrets/actions/manage-secret.d.ts +1 -1
  161. package/dist/features/secrets/actions/request-secret.d.ts +1 -1
  162. package/dist/features/secrets/actions/set-secret.d.ts +1 -1
  163. package/dist/features/secrets/crypto/encryption.d.ts +1 -1
  164. package/dist/features/secrets/crypto/index.d.ts +1 -1
  165. package/dist/features/secrets/onboarding/action.d.ts +1 -1
  166. package/dist/features/secrets/onboarding/config.d.ts +1 -1
  167. package/dist/features/secrets/onboarding/index.d.ts +4 -4
  168. package/dist/features/secrets/onboarding/provider.d.ts +1 -1
  169. package/dist/features/secrets/onboarding/service.d.ts +4 -4
  170. package/dist/features/secrets/providers/index.d.ts +1 -1
  171. package/dist/features/secrets/providers/secrets-status.d.ts +1 -1
  172. package/dist/features/secrets/services/plugin-activator.d.ts +2 -2
  173. package/dist/features/secrets/services/secrets.d.ts +4 -4
  174. package/dist/features/secrets/storage/character-store.d.ts +4 -4
  175. package/dist/features/secrets/storage/component-store.d.ts +4 -4
  176. package/dist/features/secrets/storage/index.d.ts +6 -6
  177. package/dist/features/secrets/storage/interface.d.ts +1 -1
  178. package/dist/features/secrets/storage/memory-store.d.ts +2 -2
  179. package/dist/features/secrets/storage/world-store.d.ts +4 -4
  180. package/dist/features/secrets/validation.d.ts +1 -1
  181. package/dist/features/trajectories/TrajectoriesService.d.ts +3 -3
  182. package/dist/features/trajectories/action-interceptor.d.ts +3 -3
  183. package/dist/features/trajectories/art-format.d.ts +1 -1
  184. package/dist/features/trajectories/export.d.ts +1 -1
  185. package/dist/features/trajectories/game-rewards.d.ts +1 -1
  186. package/dist/features/trajectories/index.d.ts +10 -10
  187. package/dist/features/trajectories/integration.d.ts +2 -2
  188. package/dist/features/trajectories/reward-service.d.ts +1 -1
  189. package/dist/features/trajectories/types.d.ts +1 -1
  190. package/dist/features/trust/actions/evaluateTrust.d.ts +1 -1
  191. package/dist/features/trust/actions/hasTrustEngine.d.ts +1 -1
  192. package/dist/features/trust/actions/index.d.ts +5 -5
  193. package/dist/features/trust/actions/recordTrustInteraction.d.ts +1 -1
  194. package/dist/features/trust/actions/requestElevation.d.ts +1 -1
  195. package/dist/features/trust/actions/roles.d.ts +1 -1
  196. package/dist/features/trust/actions/settings.d.ts +1 -1
  197. package/dist/features/trust/evaluators/index.d.ts +3 -3
  198. package/dist/features/trust/evaluators/reflection.d.ts +1 -1
  199. package/dist/features/trust/evaluators/securityEvaluator.d.ts +1 -1
  200. package/dist/features/trust/evaluators/trustChangeEvaluator.d.ts +1 -1
  201. package/dist/features/trust/index.d.ts +13 -13
  202. package/dist/features/trust/providers/adminTrust.d.ts +1 -1
  203. package/dist/features/trust/providers/index.d.ts +5 -5
  204. package/dist/features/trust/providers/roles.d.ts +1 -1
  205. package/dist/features/trust/providers/securityStatus.d.ts +1 -1
  206. package/dist/features/trust/providers/settings.d.ts +1 -1
  207. package/dist/features/trust/providers/trustProfile.d.ts +1 -1
  208. package/dist/features/trust/services/ContextualPermissionSystem.d.ts +4 -4
  209. package/dist/features/trust/services/CredentialProtector.d.ts +3 -3
  210. package/dist/features/trust/services/SecurityModule.d.ts +3 -3
  211. package/dist/features/trust/services/SecurityStore.d.ts +2 -2
  212. package/dist/features/trust/services/TrustEngine.d.ts +2 -2
  213. package/dist/features/trust/services/adminContext.d.ts +1 -1
  214. package/dist/features/trust/services/db.d.ts +1 -1
  215. package/dist/features/trust/services/wrappers.d.ts +8 -8
  216. package/dist/features/trust/types/permissions.d.ts +2 -2
  217. package/dist/features/trust/types/security.d.ts +2 -2
  218. package/dist/features/trust/types/trust.d.ts +1 -1
  219. package/dist/generated/spec-helpers.d.ts +1 -1
  220. package/dist/i18n/validation-keywords.d.ts +2 -2
  221. package/dist/index.browser.d.ts +32 -32
  222. package/dist/index.node.d.ts +70 -70
  223. package/dist/memory.d.ts +1 -1
  224. package/dist/plugin-lifecycle.d.ts +2 -2
  225. package/dist/plugin.d.ts +1 -1
  226. package/dist/plugins/index.d.ts +1 -1
  227. package/dist/plugins/native-features.d.ts +5 -5
  228. package/dist/providers/onboarding-progress.d.ts +1 -1
  229. package/dist/provisioning.d.ts +3 -3
  230. package/dist/roles.d.ts +1 -1
  231. package/dist/runtime-composition.d.ts +3 -3
  232. package/dist/runtime.d.ts +13 -13
  233. package/dist/schemas/agent.d.ts +1 -1
  234. package/dist/schemas/cache.d.ts +1 -1
  235. package/dist/schemas/channel-participant.d.ts +1 -1
  236. package/dist/schemas/channel.d.ts +1 -1
  237. package/dist/schemas/character.d.ts +1 -1
  238. package/dist/schemas/component.d.ts +1 -1
  239. package/dist/schemas/embedding.d.ts +1 -1
  240. package/dist/schemas/entity-identity.d.ts +1 -1
  241. package/dist/schemas/entity.d.ts +1 -1
  242. package/dist/schemas/index.d.ts +24 -24
  243. package/dist/schemas/log.d.ts +1 -1
  244. package/dist/schemas/memory.d.ts +1 -1
  245. package/dist/schemas/message-server-agent.d.ts +1 -1
  246. package/dist/schemas/message-server.d.ts +1 -1
  247. package/dist/schemas/message.d.ts +1 -1
  248. package/dist/schemas/pairing-allowlist.d.ts +1 -1
  249. package/dist/schemas/pairing-request.d.ts +1 -1
  250. package/dist/schemas/participant.d.ts +1 -1
  251. package/dist/schemas/relationship.d.ts +1 -1
  252. package/dist/schemas/room.d.ts +1 -1
  253. package/dist/schemas/server.d.ts +1 -1
  254. package/dist/schemas/task.d.ts +1 -1
  255. package/dist/schemas/world.d.ts +1 -1
  256. package/dist/secrets.d.ts +1 -1
  257. package/dist/services/agentEvent.d.ts +4 -4
  258. package/dist/services/approval.d.ts +2 -2
  259. package/dist/services/embedding.d.ts +2 -2
  260. package/dist/services/followUp.d.ts +5 -5
  261. package/dist/services/hook.d.ts +4 -4
  262. package/dist/services/message.d.ts +6 -6
  263. package/dist/services/onboarding-cli.d.ts +2 -2
  264. package/dist/services/onboarding-rpc.d.ts +2 -2
  265. package/dist/services/onboarding-state.d.ts +2 -2
  266. package/dist/services/pairing-integration.d.ts +3 -3
  267. package/dist/services/pairing-migration.d.ts +2 -2
  268. package/dist/services/pairing.d.ts +3 -3
  269. package/dist/services/plugin-hooks.d.ts +2 -2
  270. package/dist/services/relationships.d.ts +4 -4
  271. package/dist/services/task-scheduler.d.ts +4 -4
  272. package/dist/services/task.d.ts +4 -4
  273. package/dist/services/tool-policy.d.ts +3 -3
  274. package/dist/services/trajectories.d.ts +1 -1
  275. package/dist/services.d.ts +2 -2
  276. package/dist/settings.d.ts +1 -1
  277. package/dist/streaming-context.d.ts +1 -1
  278. package/dist/trajectory-utils.d.ts +1 -1
  279. package/dist/types/agent.d.ts +3 -3
  280. package/dist/types/agentEvent.d.ts +1 -1
  281. package/dist/types/components.d.ts +4 -4
  282. package/dist/types/database.d.ts +8 -8
  283. package/dist/types/environment.d.ts +2 -2
  284. package/dist/types/events.d.ts +8 -8
  285. package/dist/types/hook.d.ts +2 -2
  286. package/dist/types/index.d.ts +39 -39
  287. package/dist/types/knowledge.d.ts +1 -1
  288. package/dist/types/memory-storage.d.ts +2 -2
  289. package/dist/types/memory.d.ts +1 -1
  290. package/dist/types/message-service.d.ts +7 -7
  291. package/dist/types/messaging.d.ts +4 -4
  292. package/dist/types/model.d.ts +2 -2
  293. package/dist/types/onboarding.d.ts +1 -1
  294. package/dist/types/pairing.d.ts +1 -1
  295. package/dist/types/pipeline-hooks.d.ts +5 -5
  296. package/dist/types/plugin-manifest.d.ts +1 -1
  297. package/dist/types/plugin-store.d.ts +1 -1
  298. package/dist/types/plugin.d.ts +9 -9
  299. package/dist/types/prompt-batcher.d.ts +5 -5
  300. package/dist/types/prompt-optimization-hooks.d.ts +3 -3
  301. package/dist/types/prompt-optimization-score-card.d.ts +1 -1
  302. package/dist/types/prompt-optimization-trace.d.ts +1 -1
  303. package/dist/types/runtime.d.ts +31 -31
  304. package/dist/types/schema-builder.d.ts +1 -1
  305. package/dist/types/service-interfaces.d.ts +2 -2
  306. package/dist/types/service.d.ts +2 -2
  307. package/dist/types/state.d.ts +2 -2
  308. package/dist/types/task.d.ts +5 -5
  309. package/dist/types/testing.d.ts +1 -1
  310. package/dist/types/tools.d.ts +2 -2
  311. package/dist/types/trigger.d.ts +1 -1
  312. package/dist/utils/batch-queue/semaphore.d.ts +1 -1
  313. package/dist/utils/context-catalog.d.ts +1 -1
  314. package/dist/utils/context-routing.d.ts +3 -3
  315. package/dist/utils/node.d.ts +2 -2
  316. package/dist/utils/prompt-batcher/batcher.d.ts +6 -6
  317. package/dist/utils/prompt-batcher/dispatcher.d.ts +3 -3
  318. package/dist/utils/prompt-batcher/shared.d.ts +5 -5
  319. package/dist/utils/prompt-batcher.d.ts +1 -1
  320. package/dist/utils/streaming.d.ts +5 -5
  321. package/dist/utils/toon.d.ts +1 -1
  322. package/dist/utils.d.ts +6 -6
  323. package/dist/validation/index.d.ts +2 -2
  324. package/dist/validation/keywords.d.ts +1 -1
  325. package/package.json +3 -3
package/dist/secrets.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Character } from "./types";
1
+ import type { Character } from "./types/index.js";
2
2
  export declare function hasCharacterSecrets(character: Character): boolean;
3
3
  export declare function setDefaultSecretsFromEnv(character: Character, options?: {
4
4
  skipEnvMerge?: boolean;
@@ -42,10 +42,10 @@
42
42
  * eventService.clearRunContext('run-123');
43
43
  * ```
44
44
  */
45
- import type { ActionEventData, AgentEventInput, AgentEventListener, AgentRunContext, EvaluatorEventData, HeartbeatEventInput, HeartbeatEventListener, HeartbeatEventPayload, HeartbeatIndicatorType, HeartbeatStatus, MemoryEventData, MessageEventData, ProviderEventData } from "../types/agentEvent.ts";
46
- import type { IAgentRuntime } from "../types/index.ts";
47
- import type { UUID } from "../types/primitives.ts";
48
- import { Service } from "../types/service.ts";
45
+ import type { ActionEventData, AgentEventInput, AgentEventListener, AgentRunContext, EvaluatorEventData, HeartbeatEventInput, HeartbeatEventListener, HeartbeatEventPayload, HeartbeatIndicatorType, HeartbeatStatus, MemoryEventData, MessageEventData, ProviderEventData } from "../types/agentEvent.js";
46
+ import type { IAgentRuntime } from "../types/index.js";
47
+ import type { UUID } from "../types/primitives.js";
48
+ import { Service } from "../types/service.js";
49
49
  /**
50
50
  * Resolve heartbeat status to an indicator type for UI display
51
51
  */
@@ -11,8 +11,8 @@
11
11
  * - Timed approvals with expiration
12
12
  * - Approval chains (e.g., "Approve step 1, then step 2")
13
13
  */
14
- import type { IAgentRuntime, Task, UUID } from "../types/index.ts";
15
- import { Service } from "../types/service.ts";
14
+ import type { IAgentRuntime, Task, UUID } from "../types/index.js";
15
+ import { Service } from "../types/service.js";
16
16
  /**
17
17
  * Options for a single approval choice
18
18
  */
@@ -1,5 +1,5 @@
1
- import type { IAgentRuntime } from "../types/runtime";
2
- import { Service } from "../types/service";
1
+ import type { IAgentRuntime } from "../types/runtime.js";
2
+ import { Service } from "../types/service.js";
3
3
  /**
4
4
  * Service responsible for generating embeddings asynchronously
5
5
  * This service listens for EMBEDDING_GENERATION_REQUESTED events
@@ -1,8 +1,8 @@
1
- import type { JsonValue, UUID } from "../types/primitives";
2
- import type { IAgentRuntime } from "../types/runtime";
3
- import { Service } from "../types/service";
4
- import type { Task } from "../types/task";
5
- import type { ContactInfo } from "./relationships.ts";
1
+ import type { JsonValue, UUID } from "../types/primitives.js";
2
+ import type { IAgentRuntime } from "../types/runtime.js";
3
+ import { Service } from "../types/service.js";
4
+ import type { Task } from "../types/task.js";
5
+ import type { ContactInfo } from "./relationships.js";
6
6
  export interface FollowUpTask {
7
7
  entityId: UUID;
8
8
  reason: string;
@@ -12,10 +12,10 @@
12
12
  * - Directory-based hook discovery and loading
13
13
  * - Integration with runtime event system
14
14
  */
15
- import type { EventType } from "../types/events";
16
- import type { HookEligibilityResult, HookHandler, HookLoadResult, HookPriority, HookRegistration, HookRegistrationOptions, HookRequirements, HookSnapshot, HookSource, IHookService } from "../types/hook";
17
- import type { IAgentRuntime } from "../types/runtime";
18
- import { Service } from "../types/service";
15
+ import type { EventType } from "../types/events.js";
16
+ import type { HookEligibilityResult, HookHandler, HookLoadResult, HookPriority, HookRegistration, HookRegistrationOptions, HookRequirements, HookSnapshot, HookSource, IHookService } from "../types/hook.js";
17
+ import type { IAgentRuntime } from "../types/runtime.js";
18
+ import { Service } from "../types/service.js";
19
19
  /**
20
20
  * HookService implementation
21
21
  */
@@ -1,9 +1,9 @@
1
- import type { HandlerCallback } from "../types/components";
2
- import type { Room } from "../types/environment";
3
- import type { Memory } from "../types/memory";
4
- import type { ContextRoutedResponseDecision, IMessageService, MessageProcessingOptions, MessageProcessingResult } from "../types/message-service";
5
- import type { Content, Media, MentionContext, UUID } from "../types/primitives";
6
- import type { IAgentRuntime } from "../types/runtime";
1
+ import type { HandlerCallback } from "../types/components.js";
2
+ import type { Room } from "../types/environment.js";
3
+ import type { Memory } from "../types/memory.js";
4
+ import type { ContextRoutedResponseDecision, IMessageService, MessageProcessingOptions, MessageProcessingResult } from "../types/message-service.js";
5
+ import type { Content, Media, MentionContext, UUID } from "../types/primitives.js";
6
+ import type { IAgentRuntime } from "../types/runtime.js";
7
7
  /**
8
8
  * Reserved XML response keys that are NOT action names.
9
9
  * Used when scanning parsedXml for standalone action param blocks.
@@ -4,8 +4,8 @@
4
4
  * Wraps the OnboardingStateMachine with CLI-specific logic for terminal prompts.
5
5
  * Provides formatted prompts, input parsing, and step-specific CLI flows.
6
6
  */
7
- import { type OnboardingContext, type OnboardingInput, type OnboardingProgress, type OnboardingResult, OnboardingStep } from "../types/onboarding";
8
- import { OnboardingStateMachine, type OnboardingStateMachineConfig } from "./onboarding-state";
7
+ import { type OnboardingContext, type OnboardingInput, type OnboardingProgress, type OnboardingResult, OnboardingStep } from "../types/onboarding.js";
8
+ import { OnboardingStateMachine, type OnboardingStateMachineConfig } from "./onboarding-state.js";
9
9
  /**
10
10
  * Prompt configuration for CLI display.
11
11
  */
@@ -10,8 +10,8 @@
10
10
  * - wizard.getState: Get current state
11
11
  * - wizard.cancel: Abort onboarding
12
12
  */
13
- import { type OnboardingContext, type OnboardingInput, type OnboardingProgress, OnboardingStep, type SerializedOnboardingState } from "../types/onboarding";
14
- import type { UUID } from "../types/primitives";
13
+ import { type OnboardingContext, type OnboardingInput, type OnboardingProgress, OnboardingStep, type SerializedOnboardingState } from "../types/onboarding.js";
14
+ import type { UUID } from "../types/primitives.js";
15
15
  /**
16
16
  * RPC method names.
17
17
  */
@@ -4,8 +4,8 @@
4
4
  * A unified state machine for onboarding that can be driven by CLI prompts
5
5
  * OR chat messages. Handles step transitions, validation, and persistence.
6
6
  */
7
- import { type OnboardingContext, type OnboardingInput, type OnboardingProgress, type OnboardingResult, type OnboardingSettings, OnboardingStep, type OnboardingStepError, type SerializedOnboardingState } from "../types/onboarding";
8
- import type { UUID } from "../types/primitives";
7
+ import { type OnboardingContext, type OnboardingInput, type OnboardingProgress, type OnboardingResult, type OnboardingSettings, OnboardingStep, type OnboardingStepError, type SerializedOnboardingState } from "../types/onboarding.js";
8
+ import type { UUID } from "../types/primitives.js";
9
9
  /**
10
10
  * Step handler function type.
11
11
  */
@@ -5,9 +5,9 @@
5
5
  * This provides a consistent interface for handling the pairing workflow
6
6
  * across different messaging platforms.
7
7
  */
8
- import type { IAgentRuntime } from "../types";
9
- import type { PairingChannel } from "../types/pairing";
10
- import type { PairingService } from "./pairing";
8
+ import type { IAgentRuntime } from "../types/index.js";
9
+ import type { PairingChannel } from "../types/pairing.js";
10
+ import type { PairingService } from "./pairing.js";
11
11
  /**
12
12
  * Result of a pairing check
13
13
  */
@@ -7,8 +7,8 @@
7
7
  * This utility reads the JSON files used by otto's pairing system
8
8
  * and imports the data into the elizaOS database.
9
9
  */
10
- import type { IAgentRuntime } from "../types";
11
- import type { PairingChannel } from "../types/pairing";
10
+ import type { IAgentRuntime } from "../types/index.js";
11
+ import type { PairingChannel } from "../types/pairing.js";
12
12
  /**
13
13
  * File-based pairing request format from otto.
14
14
  */
@@ -6,9 +6,9 @@
6
6
  * 2. Bot owner approves the code via CLI or API
7
7
  * 3. User is added to the allowlist and can now send DMs
8
8
  */
9
- import { type ApprovePairingParams, type ApprovePairingResult, type PairingAllowlistEntry, type PairingChannel, type PairingConfig, type PairingRequest, type UpsertPairingRequestParams, type UpsertPairingRequestResult } from "../types/pairing";
10
- import type { IAgentRuntime } from "../types/runtime";
11
- import { Service } from "../types/service";
9
+ import { type ApprovePairingParams, type ApprovePairingResult, type PairingAllowlistEntry, type PairingChannel, type PairingConfig, type PairingRequest, type UpsertPairingRequestParams, type UpsertPairingRequestResult } from "../types/pairing.js";
10
+ import type { IAgentRuntime } from "../types/runtime.js";
11
+ import { Service } from "../types/service.js";
12
12
  /**
13
13
  * PairingService handles secure DM pairing for messaging channels.
14
14
  *
@@ -6,8 +6,8 @@
6
6
  *
7
7
  * @module services/plugin-hooks
8
8
  */
9
- import type { Character } from "../types/agent.ts";
10
- import type { Plugin } from "../types/plugin.ts";
9
+ import type { Character } from "../types/agent.js";
10
+ import type { Plugin } from "../types/plugin.js";
11
11
  /**
12
12
  * Context provided to plugin startup hooks.
13
13
  */
@@ -1,7 +1,7 @@
1
- import type { Entity } from "../types/environment";
2
- import type { JsonValue, UUID } from "../types/primitives";
3
- import type { IAgentRuntime } from "../types/runtime";
4
- import { Service } from "../types/service";
1
+ import type { Entity } from "../types/environment.js";
2
+ import type { JsonValue, UUID } from "../types/primitives.js";
3
+ import type { IAgentRuntime } from "../types/runtime.js";
4
+ import { Service } from "../types/service.js";
5
5
  export interface ContactCategory {
6
6
  id: string;
7
7
  name: string;
@@ -5,10 +5,10 @@
5
5
  * getTasks(agentIds) for all dirty agents, then group by task.agentId and call runTick(tasks) per runtime.
6
6
  * Opt-in: host calls startTaskScheduler(adapter); TaskService registers when daemon is present.
7
7
  */
8
- import type { IDatabaseAdapter } from "../types/database";
9
- import type { UUID } from "../types/primitives";
10
- import type { IAgentRuntime } from "../types/runtime";
11
- import type { Task } from "../types/task";
8
+ import type { IDatabaseAdapter } from "../types/database.js";
9
+ import type { UUID } from "../types/primitives.js";
10
+ import type { IAgentRuntime } from "../types/runtime.js";
11
+ import type { Task } from "../types/task.js";
12
12
  /** Minimal type so we don't import TaskService. WHY: avoids circular dependency (task.ts imports this module). */
13
13
  interface TaskServiceLike {
14
14
  runTick(tasks: Task[]): Promise<void>;
@@ -1,7 +1,7 @@
1
- import type { UUID } from "../types/primitives";
2
- import type { IAgentRuntime } from "../types/runtime";
3
- import { Service } from "../types/service";
4
- import type { Task, TaskRunStatus } from "../types/task";
1
+ import type { UUID } from "../types/primitives.js";
2
+ import type { IAgentRuntime } from "../types/runtime.js";
3
+ import { Service } from "../types/service.js";
4
+ import type { Task, TaskRunStatus } from "../types/task.js";
5
5
  /**
6
6
  * TaskService class representing a service that schedules and executes tasks.
7
7
  * @extends Service
@@ -26,9 +26,9 @@
26
26
  * });
27
27
  * ```
28
28
  */
29
- import type { IAgentRuntime } from "../types/index.ts";
30
- import { Service } from "../types/service.ts";
31
- import type { AllowlistResolution, PluginToolGroups, ToolPolicyConfig, ToolPolicyResult, ToolProfileId } from "../types/tools.ts";
29
+ import type { IAgentRuntime } from "../types/index.js";
30
+ import { Service } from "../types/service.js";
31
+ import type { AllowlistResolution, PluginToolGroups, ToolPolicyConfig, ToolPolicyResult, ToolProfileId } from "../types/tools.js";
32
32
  /**
33
33
  * Context for tool policy evaluation.
34
34
  */
@@ -1,4 +1,4 @@
1
- export { TrajectoriesService } from "../features/trajectories/TrajectoriesService";
1
+ export { TrajectoriesService } from "../features/trajectories/TrajectoriesService.js";
2
2
  export type TrajectoryScalar = string | number | boolean | null;
3
3
  export type TrajectoryData = Record<string, TrajectoryScalar>;
4
4
  export type TrajectoryProviderAccess = {
@@ -1,5 +1,5 @@
1
- import type { IAgentRuntime, ServiceTypeName } from "./types";
2
- import { Service } from "./types";
1
+ import type { IAgentRuntime, ServiceTypeName } from "./types/index.js";
2
+ import { Service } from "./types/index.js";
3
3
  /**
4
4
  * Type for the service class returned by the builder.
5
5
  * This provides the expected interface for dynamically created service classes.
@@ -1,4 +1,4 @@
1
- import type { Character, IAgentRuntime, OnboardingConfig, Setting, World, WorldSettings } from "./types";
1
+ import type { Character, IAgentRuntime, OnboardingConfig, Setting, World, WorldSettings } from "./types/index.js";
2
2
  /**
3
3
  * Creates a Setting object from a configSetting object by omitting the 'value' property.
4
4
  *
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * @see https://opentelemetry.io/docs/languages/js/context/
10
10
  */
11
- import type { StreamChunkCallback } from "./types/components";
11
+ import type { StreamChunkCallback } from "./types/components.js";
12
12
  /**
13
13
  * Streaming context containing callbacks for streaming lifecycle.
14
14
  */
@@ -1,4 +1,4 @@
1
- import type { IAgentRuntime } from "./types/runtime";
1
+ import type { IAgentRuntime } from "./types/runtime.js";
2
2
  export type TrajectoryFinalStatus = "completed" | "error" | "timeout" | "terminated";
3
3
  export type TrajectoryLlmCallDetails = {
4
4
  model: string;
@@ -1,7 +1,7 @@
1
- import type { KnowledgeSourceItem } from "./knowledge";
2
- import type { Content } from "./primitives";
1
+ import type { KnowledgeSourceItem } from "./knowledge.js";
2
+ import type { Content } from "./primitives.js";
3
3
  import type { JsonValue, Agent as ProtoAgent, AgentStatus as ProtoAgentStatus, Character as ProtoCharacter, CharacterSettings as ProtoCharacterSettingsType, MessageExample as ProtoMessageExample, MessageExampleGroup as ProtoMessageExampleGroup } from "./proto.js";
4
- import type { State } from "./state";
4
+ import type { State } from "./state.js";
5
5
  export type TemplateType = string | ((params: {
6
6
  state: State | Record<string, string | number | boolean | null | undefined> | object;
7
7
  }) => string);
@@ -8,7 +8,7 @@
8
8
  * These events enable real-time monitoring of agent activity and
9
9
  * can be used for debugging, analytics, and UI updates.
10
10
  */
11
- import type { UUID } from "./primitives.ts";
11
+ import type { UUID } from "./primitives.js";
12
12
  /**
13
13
  * Standard event streams for agent activity
14
14
  */
@@ -1,8 +1,8 @@
1
- import type { Memory } from "./memory";
2
- import type { Content } from "./primitives";
1
+ import type { Memory } from "./memory.js";
2
+ import type { Content } from "./primitives.js";
3
3
  import type { JsonValue, ActionExample as ProtoActionExample, ActionParameter as ProtoActionParameter, ActionParameterSchema as ProtoActionParameterSchema, ActionParameters as ProtoActionParametersType, EvaluationExample as ProtoEvaluationExample } from "./proto.js";
4
- import type { IAgentRuntime } from "./runtime";
5
- import type { ActionPlan, State } from "./state";
4
+ import type { IAgentRuntime } from "./runtime.js";
5
+ import type { ActionPlan, State } from "./state.js";
6
6
  /**
7
7
  * Canonical domain contexts for routing and plugin/action gating.
8
8
  *
@@ -1,10 +1,10 @@
1
- import type { Agent } from "./agent";
2
- import type { Component, Entity, Participant, Relationship, Room, World } from "./environment";
3
- import type { Memory, MemoryMetadata } from "./memory";
4
- import type { PairingAllowlistEntry, PairingChannel, PairingRequest } from "./pairing";
5
- import type { Metadata, UUID } from "./primitives";
1
+ import type { Agent } from "./agent.js";
2
+ import type { Component, Entity, Participant, Relationship, Room, World } from "./environment.js";
3
+ import type { Memory, MemoryMetadata } from "./memory.js";
4
+ import type { PairingAllowlistEntry, PairingChannel, PairingRequest } from "./pairing.js";
5
+ import type { Metadata, UUID } from "./primitives.js";
6
6
  import type { JsonValue, ActionLogBody as ProtoActionLogBody, ActionLogPrompt as ProtoActionLogPrompt, ActionLogResult as ProtoActionLogResult, AgentRunCounts as ProtoAgentRunCounts, AgentRunSummary as ProtoAgentRunSummary, AgentRunSummaryResult as ProtoAgentRunSummaryResult, BaseLogBody as ProtoBaseLogBody, DbRunStatus as ProtoDbRunStatus, EmbeddingLogBody as ProtoEmbeddingLogBody, EmbeddingSearchResult as ProtoEmbeddingSearchResult, EvaluatorLogBody as ProtoEvaluatorLogBody, Log as ProtoLog, ModelActionContext as ProtoModelActionContext, ModelLogBody as ProtoModelLogBody } from "./proto.js";
7
- import type { Task } from "./task";
7
+ import type { Task } from "./task.js";
8
8
  /**
9
9
  * Allowed value types for log body fields
10
10
  */
@@ -945,7 +945,7 @@ export interface IDatabaseAdapter<DB extends object = object> {
945
945
  * @param schema Complete schema definition for the plugin
946
946
  * @throws Error if schema is invalid or migration fails
947
947
  */
948
- registerPluginSchema?(schema: import("./plugin-store").PluginSchema): Promise<void>;
948
+ registerPluginSchema?(schema: import("./plugin-store.js").PluginSchema): Promise<void>;
949
949
  /**
950
950
  * Get a plugin store for CRUD operations on plugin tables
951
951
  *
@@ -970,7 +970,7 @@ export interface IDatabaseAdapter<DB extends object = object> {
970
970
  * });
971
971
  * ```
972
972
  */
973
- getPluginStore?(pluginName: string): import("./plugin-store").IPluginStore | null;
973
+ getPluginStore?(pluginName: string): import("./plugin-store.js").IPluginStore | null;
974
974
  }
975
975
  /**
976
976
  * Result interface for embedding similarity searches
@@ -1,6 +1,6 @@
1
- import type { ChannelType, Metadata } from "./primitives";
1
+ import type { ChannelType, Metadata } from "./primitives.js";
2
2
  import type { Component as ProtoComponent, Entity as ProtoEntity, Participant as ProtoParticipant, Relationship as ProtoRelationship, Room as ProtoRoom, World as ProtoWorld, WorldMetadata as ProtoWorldMetadata } from "./proto.js";
3
- import type { WorldSettings } from "./settings";
3
+ import type { WorldSettings } from "./settings.js";
4
4
  export type TimestampValue = number;
5
5
  export interface Component extends Omit<ProtoComponent, "$typeName" | "$unknown" | "createdAt" | "data"> {
6
6
  createdAt: TimestampValue;
@@ -1,11 +1,11 @@
1
- import type { HandlerCallback } from "./components";
2
- import type { Entity, Room, World } from "./environment";
3
- import type { Memory } from "./memory";
4
- import type { ControlMessage } from "./messaging";
5
- import type { ModelTypeName } from "./model";
6
- import type { PipelineHookPhase } from "./pipeline-hooks";
7
- import type { Content, JsonValue, UUID } from "./primitives";
8
- import type { IAgentRuntime } from "./runtime";
1
+ import type { HandlerCallback } from "./components.js";
2
+ import type { Entity, Room, World } from "./environment.js";
3
+ import type { Memory } from "./memory.js";
4
+ import type { ControlMessage } from "./messaging.js";
5
+ import type { ModelTypeName } from "./model.js";
6
+ import type { PipelineHookPhase } from "./pipeline-hooks.js";
7
+ import type { Content, JsonValue, UUID } from "./primitives.js";
8
+ import type { IAgentRuntime } from "./runtime.js";
9
9
  /**
10
10
  * Standard event types across all platforms
11
11
  */
@@ -4,8 +4,8 @@
4
4
  * Provides the type system for the unified hook service that consolidates
5
5
  * event-driven hooks across the Eliza agent runtime.
6
6
  */
7
- import { type EventPayload, EventType } from "./events";
8
- import type { Service } from "./service";
7
+ import { type EventPayload, EventType } from "./events.js";
8
+ import type { Service } from "./service.js";
9
9
  /**
10
10
  * Identifies the origin of a hook registration.
11
11
  */
@@ -1,42 +1,42 @@
1
- export { logger } from "../logger";
2
- export { addHeader, composePromptFromState, parseKeyValueXml } from "../utils";
3
- export * from "./agent";
4
- export * from "./channel-config";
5
- export * from "./components";
6
- export * from "./database";
7
- export * from "./environment";
8
- export * from "./events";
9
- export * from "./hook";
10
- export * from "./knowledge";
11
- export * from "./memory";
12
- export * from "./memory-storage";
13
- export * from "./messaging";
14
- export * from "./model";
15
- export * from "./onboarding";
16
- export * from "./pairing";
17
- export * from "./payment";
18
- export * from "./pipeline-hooks";
19
- export * from "./plugin";
20
- export * from "./plugin-store";
21
- export * from "./primitives";
22
- export * from "./prompt-batcher";
23
- export * from "./prompt-optimization-hooks";
24
- export * from "./prompt-optimization-score-card";
25
- export * from "./prompt-optimization-trace";
26
- export * from "./prompts";
1
+ export { logger } from "../logger.js";
2
+ export { addHeader, composePromptFromState, parseKeyValueXml } from "../utils.js";
3
+ export * from "./agent.js";
4
+ export * from "./channel-config.js";
5
+ export * from "./components.js";
6
+ export * from "./database.js";
7
+ export * from "./environment.js";
8
+ export * from "./events.js";
9
+ export * from "./hook.js";
10
+ export * from "./knowledge.js";
11
+ export * from "./memory.js";
12
+ export * from "./memory-storage.js";
13
+ export * from "./messaging.js";
14
+ export * from "./model.js";
15
+ export * from "./onboarding.js";
16
+ export * from "./pairing.js";
17
+ export * from "./payment.js";
18
+ export * from "./pipeline-hooks.js";
19
+ export * from "./plugin.js";
20
+ export * from "./plugin-store.js";
21
+ export * from "./primitives.js";
22
+ export * from "./prompt-batcher.js";
23
+ export * from "./prompt-optimization-hooks.js";
24
+ export * from "./prompt-optimization-score-card.js";
25
+ export * from "./prompt-optimization-trace.js";
26
+ export * from "./prompts.js";
27
27
  export * as proto from "./proto.js";
28
28
  export { fromJson, type JsonObject, type JsonValue, toJson } from "./proto.js";
29
- export * from "./runtime";
30
- export * from "./schema";
31
- export * from "./schema-builder";
32
- export * from "./service";
33
- export * from "./service-interfaces";
34
- export * from "./settings";
35
- export * from "./state";
36
- export * from "./streaming";
37
- export * from "./task";
38
- export * from "./tee";
39
- export * from "./testing";
40
- export * from "./tools";
41
- export * from "./trigger";
29
+ export * from "./runtime.js";
30
+ export * from "./schema.js";
31
+ export * from "./schema-builder.js";
32
+ export * from "./service.js";
33
+ export * from "./service-interfaces.js";
34
+ export * from "./settings.js";
35
+ export * from "./state.js";
36
+ export * from "./streaming.js";
37
+ export * from "./task.js";
38
+ export * from "./tee.js";
39
+ export * from "./testing.js";
40
+ export * from "./tools.js";
41
+ export * from "./trigger.js";
42
42
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { Content, UUID } from "./primitives";
1
+ import type { Content, UUID } from "./primitives.js";
2
2
  import type { MemoryMetadata, KnowledgeItem as ProtoKnowledgeItem, KnowledgeRecord as ProtoKnowledgeRecord } from "./proto.js";
3
3
  /**
4
4
  * Directory-based knowledge source configuration.
@@ -10,8 +10,8 @@
10
10
  * storage-backed features. Non-SQL adapters (in-memory, file-based)
11
11
  * simply don't register one.
12
12
  */
13
- import type { LongTermMemory, LongTermMemoryCategory, SessionSummary } from "../features/advanced-memory/types.ts";
14
- import type { UUID } from "./primitives.ts";
13
+ import type { LongTermMemory, LongTermMemoryCategory, SessionSummary } from "../features/advanced-memory/types.js";
14
+ import type { UUID } from "./primitives.js";
15
15
  export interface MemoryStorageProvider {
16
16
  storeLongTermMemory(memory: Omit<LongTermMemory, "id" | "createdAt" | "updatedAt" | "accessCount">): Promise<LongTermMemory>;
17
17
  getLongTermMemories(agentId: UUID, entityId: UUID, opts?: {
@@ -1,4 +1,4 @@
1
- import type { Content, MetadataValue, UUID } from "./primitives";
1
+ import type { Content, MetadataValue, UUID } from "./primitives.js";
2
2
  import type { BaseMetadata as ProtoBaseMetadata, CustomMetadata as ProtoCustomMetadata, DescriptionMetadata as ProtoDescriptionMetadata, DocumentMetadata as ProtoDocumentMetadata, FragmentMetadata as ProtoFragmentMetadata, Memory as ProtoMemory, MemoryMetadata as ProtoMemoryMetadataType, MessageMetadata as ProtoMessageMetadata } from "./proto.js";
3
3
  /**
4
4
  * Memory type enumeration for built-in memory types
@@ -1,11 +1,11 @@
1
- import type { AgentContext, HandlerCallback, StreamChunkCallback } from "./components";
2
- import type { Room } from "./environment";
3
- import type { Memory } from "./memory";
4
- import type { ModelType } from "./model";
5
- import type { Content, Media, MentionContext, UUID } from "./primitives";
1
+ import type { AgentContext, HandlerCallback, StreamChunkCallback } from "./components.js";
2
+ import type { Room } from "./environment.js";
3
+ import type { Memory } from "./memory.js";
4
+ import type { ModelType } from "./model.js";
5
+ import type { Content, Media, MentionContext, UUID } from "./primitives.js";
6
6
  import type { MessageProcessingMode as ProtoMessageProcessingMode, MessageProcessingOptions as ProtoMessageProcessingOptions, ShouldRespondModelType as ProtoShouldRespondModelType } from "./proto.js";
7
- import type { IAgentRuntime } from "./runtime";
8
- import type { State } from "./state";
7
+ import type { IAgentRuntime } from "./runtime.js";
8
+ import type { State } from "./state.js";
9
9
  /**
10
10
  * Configuration options for message processing
11
11
  */
@@ -1,7 +1,7 @@
1
- import type { Memory } from "./memory";
2
- import type { Content, UUID } from "./primitives";
1
+ import type { Memory } from "./memory.js";
2
+ import type { Content, UUID } from "./primitives.js";
3
3
  import type { MessageResult as ProtoMessageResult, MessageStreamChunkPayload as ProtoMessageStreamChunkPayload, MessageStreamErrorPayload as ProtoMessageStreamErrorPayload, TargetInfo as ProtoTargetInfo } from "./proto.js";
4
- import type { IAgentRuntime } from "./runtime";
4
+ import type { IAgentRuntime } from "./runtime.js";
5
5
  /**
6
6
  * Information describing the target of a message.
7
7
  */
@@ -114,7 +114,7 @@ export interface MessageResult extends Omit<ProtoMessageResult, "messageId" | "u
114
114
  userMessage?: Memory;
115
115
  agentResponses?: Content[];
116
116
  }
117
- import type { Metadata } from "./primitives";
117
+ import type { Metadata } from "./primitives.js";
118
118
  /**
119
119
  * Message Server
120
120
  *
@@ -1,6 +1,6 @@
1
- import type { StreamChunkCallback } from "./components";
1
+ import type { StreamChunkCallback } from "./components.js";
2
2
  import type { JsonValue, AudioProcessingParams as ProtoAudioProcessingParams, DetokenizeTextParams as ProtoDetokenizeTextParams, GenerateTextOptions as ProtoGenerateTextOptions, GenerateTextParams as ProtoGenerateTextParams, GenerateTextResult as ProtoGenerateTextResult, ImageDescriptionParams as ProtoImageDescriptionParams, ImageDescriptionResult as ProtoImageDescriptionResult, ImageGenerationParams as ProtoImageGenerationParams, ImageGenerationResult as ProtoImageGenerationResult, JSONSchema as ProtoJSONSchema, ObjectGenerationParams as ProtoObjectGenerationParams, TextEmbeddingParams as ProtoTextEmbeddingParams, TextStreamChunk as ProtoTextStreamChunk, TextToSpeechParams as ProtoTextToSpeechParams, TokenizeTextParams as ProtoTokenizeTextParams, TokenUsage as ProtoTokenUsage, TranscriptionParams as ProtoTranscriptionParams, VideoProcessingParams as ProtoVideoProcessingParams } from "./proto.js";
3
- import type { IAgentRuntime } from "./runtime";
3
+ import type { IAgentRuntime } from "./runtime.js";
4
4
  export type ModelTypeName = (typeof ModelType)[keyof typeof ModelType] | string;
5
5
  /**
6
6
  * LLM Mode for overriding model selection.
@@ -4,7 +4,7 @@
4
4
  * Type definitions for the unified onboarding state machine that supports
5
5
  * both CLI and conversational (DM) onboarding flows.
6
6
  */
7
- import type { Metadata, UUID } from "./primitives";
7
+ import type { Metadata, UUID } from "./primitives.js";
8
8
  /**
9
9
  * Onboarding step identifiers.
10
10
  * These represent the discrete steps in the onboarding flow.
@@ -1,4 +1,4 @@
1
- import type { UUID } from "./primitives";
1
+ import type { UUID } from "./primitives.js";
2
2
  /**
3
3
  * Supported pairing channels - messaging platforms that support the pairing workflow.
4
4
  * This can be extended by plugins via module augmentation.
@@ -1,7 +1,7 @@
1
- import type { Room } from "./environment";
2
- import type { Memory } from "./memory";
3
- import { type Content, type MentionContext, type UUID } from "./primitives";
4
- import type { State } from "./state";
1
+ import type { Room } from "./environment.js";
2
+ import type { Memory } from "./memory.js";
3
+ import { type Content, type MentionContext, type UUID } from "./primitives.js";
4
+ import type { State } from "./state.js";
5
5
  /**
6
6
  * Unified pipeline hooks (`registerPipelineHook` / `applyPipelineHooks`).
7
7
  *
@@ -181,7 +181,7 @@ export type PipelineHookContext = ({
181
181
  export type PipelineHookContextForPhase<P extends PipelineHookPhase> = Extract<PipelineHookContext, {
182
182
  phase: P;
183
183
  }>;
184
- export type PipelineHookHandler = (runtime: import("./runtime").IAgentRuntime, ctx: PipelineHookContext) => void | Promise<void>;
184
+ export type PipelineHookHandler = (runtime: import("./runtime.js").IAgentRuntime, ctx: PipelineHookContext) => void | Promise<void>;
185
185
  export interface PipelineHookSpec {
186
186
  id: string;
187
187
  phase: PipelineHookPhase;
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * @module types/plugin-manifest
9
9
  */
10
- import type { JsonValue } from "./primitives.ts";
10
+ import type { JsonValue } from "./primitives.js";
11
11
  /**
12
12
  * Plugin kind identifier for specialized plugins.
13
13
  */