@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
@@ -1,4 +1,4 @@
1
- import type { UUID } from "./primitives";
1
+ import type { UUID } from "./primitives.js";
2
2
  /**
3
3
  * Plugin Schema Registration and Store System
4
4
  *
@@ -1,13 +1,13 @@
1
- import type { Character } from "./agent";
2
- import type { Action, AgentContext, Evaluator, Provider } from "./components";
3
- import type { IDatabaseAdapter } from "./database";
4
- import type { EventHandler, EventPayload, EventPayloadMap } from "./events";
5
- import type { ModelParamsMap, PluginModelResult } from "./model";
6
- import type { UUID } from "./primitives";
1
+ import type { Character } from "./agent.js";
2
+ import type { Action, AgentContext, Evaluator, Provider } from "./components.js";
3
+ import type { IDatabaseAdapter } from "./database.js";
4
+ import type { EventHandler, EventPayload, EventPayloadMap } from "./events.js";
5
+ import type { ModelParamsMap, PluginModelResult } from "./model.js";
6
+ import type { UUID } from "./primitives.js";
7
7
  import type { JsonValue, ComponentTypeDefinition as ProtoComponentTypeDefinition, JSONSchemaDefinition as ProtoJSONSchemaDefinition, RouteManifest as ProtoRouteManifest } from "./proto.js";
8
- import type { IAgentRuntime } from "./runtime";
9
- import type { Service } from "./service";
10
- import type { TestSuite } from "./testing";
8
+ import type { IAgentRuntime } from "./runtime.js";
9
+ import type { Service } from "./service.js";
10
+ import type { TestSuite } from "./testing.js";
11
11
  /**
12
12
  * Type for a service class constructor.
13
13
  * This is more flexible than `typeof Service` to allow for:
@@ -1,8 +1,8 @@
1
- import type { Memory } from "./memory";
2
- import type { GenerateTextParams } from "./model";
3
- import type { Content } from "./primitives";
4
- import type { IAgentRuntime } from "./runtime";
5
- import type { SchemaRow } from "./state";
1
+ import type { Memory } from "./memory.js";
2
+ import type { GenerateTextParams } from "./model.js";
3
+ import type { Content } from "./primitives.js";
4
+ import type { IAgentRuntime } from "./runtime.js";
5
+ import type { SchemaRow } from "./state.js";
6
6
  export type SectionFrequency = "once" | "per-drain" | "recurring";
7
7
  export interface DrainMeta {
8
8
  drainId: string;
@@ -7,9 +7,9 @@
7
7
  * choose whether optimization runs at all (`getPromptOptimizationHooks()`), keeping core
8
8
  * free of filesystem assumptions. @see `docs/PIPELINE_HOOKS.md`.
9
9
  */
10
- import type { ExecutionTrace } from "./prompt-optimization-trace";
11
- import type { IAgentRuntime } from "./runtime";
12
- import type { SchemaRow } from "./state";
10
+ import type { ExecutionTrace } from "./prompt-optimization-trace.js";
11
+ import type { IAgentRuntime } from "./runtime.js";
12
+ import type { SchemaRow } from "./state.js";
13
13
  export interface MergePromptTemplateContext {
14
14
  baselineTemplate: string;
15
15
  modelId: string;
@@ -1,4 +1,4 @@
1
- import { type ScoreCardData, type ScoreSignal } from "./prompt-optimization-trace";
1
+ import { type ScoreCardData, type ScoreSignal } from "./prompt-optimization-trace.js";
2
2
  /**
3
3
  * In-memory aggregation of `ScoreSignal`s into a weighted `composite` for one trace row.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { UUID } from "./primitives";
1
+ import type { UUID } from "./primitives.js";
2
2
  /**
3
3
  * DPE (dynamic prompt execution) **optimization payloads**: additive `ScoreSignal`s, an
4
4
  * aggregated `ScoreCardData` snapshot, and one `ExecutionTrace` row per attempt.
@@ -1,22 +1,22 @@
1
- import type { Logger } from "../logger";
2
- import type { PromptBatcher } from "../utils/prompt-batcher";
3
- import type { Agent, Character } from "./agent";
4
- import type { Action, ActionResult, Evaluator, HandlerCallback, Provider, StreamChunkCallback } from "./components";
5
- import type { IDatabaseAdapter, LogBody, PatchOp } from "./database";
6
- import type { Component, Entity, Metadata, Relationship, Room, World } from "./environment";
7
- import type { EventHandler, EventPayload, EventPayloadMap } from "./events";
8
- import type { Memory, MemoryMetadata } from "./memory";
9
- import type { IMessageService } from "./message-service";
10
- import type { IMessagingAdapter, SendHandlerFunction, TargetInfo } from "./messaging";
11
- import type { GenerateTextOptions, GenerateTextParams, GenerateTextResult, ModelParamsMap, ModelResultMap, ModelTypeName, TextGenerationModelType } from "./model";
12
- import type { PairingAllowlistEntry, PairingRequest } from "./pairing";
13
- import type { Plugin, PluginOwnership, Route, RuntimeEventStorage, ServiceClass } from "./plugin";
14
- import type { ChannelType, Content, UUID } from "./primitives";
1
+ import type { Logger } from "../logger.js";
2
+ import type { PromptBatcher } from "../utils/prompt-batcher.js";
3
+ import type { Agent, Character } from "./agent.js";
4
+ import type { Action, ActionResult, Evaluator, HandlerCallback, Provider, StreamChunkCallback } from "./components.js";
5
+ import type { IDatabaseAdapter, LogBody, PatchOp } from "./database.js";
6
+ import type { Component, Entity, Metadata, Relationship, Room, World } from "./environment.js";
7
+ import type { EventHandler, EventPayload, EventPayloadMap } from "./events.js";
8
+ import type { Memory, MemoryMetadata } from "./memory.js";
9
+ import type { IMessageService } from "./message-service.js";
10
+ import type { IMessagingAdapter, SendHandlerFunction, TargetInfo } from "./messaging.js";
11
+ import type { GenerateTextOptions, GenerateTextParams, GenerateTextResult, ModelParamsMap, ModelResultMap, ModelTypeName, TextGenerationModelType } from "./model.js";
12
+ import type { PairingAllowlistEntry, PairingRequest } from "./pairing.js";
13
+ import type { Plugin, PluginOwnership, Route, RuntimeEventStorage, ServiceClass } from "./plugin.js";
14
+ import type { ChannelType, Content, UUID } from "./primitives.js";
15
15
  import type { JsonValue } from "./proto.js";
16
- import type { Service, ServiceTypeName } from "./service";
17
- import type { State } from "./state";
18
- import type { Task, TaskWorker } from "./task";
19
- import type { ToolPolicyConfig, ToolProfileId } from "./tools";
16
+ import type { Service, ServiceTypeName } from "./service.js";
17
+ import type { State } from "./state.js";
18
+ import type { Task, TaskWorker } from "./task.js";
19
+ import type { ToolPolicyConfig, ToolProfileId } from "./tools.js";
20
20
  /**
21
21
  * Represents the core runtime environment for an agent.
22
22
  * Defines methods for database interaction, plugin management, event handling,
@@ -106,7 +106,7 @@ export interface IAgentRuntime extends IDatabaseAdapter<object> {
106
106
  *
107
107
  * Priority: constructor option > character setting LLM_MODE > default (DEFAULT)
108
108
  */
109
- getLLMMode(): import("./model").LLMModeType;
109
+ getLLMMode(): import("./model.js").LLMModeType;
110
110
  /**
111
111
  * Check if the shouldRespond evaluation is enabled.
112
112
  *
@@ -270,7 +270,7 @@ export interface IAgentRuntime extends IDatabaseAdapter<object> {
270
270
  state: State;
271
271
  }) => string);
272
272
  };
273
- schema: import("./state").SchemaRow[];
273
+ schema: import("./state.js").SchemaRow[];
274
274
  options?: {
275
275
  key?: string;
276
276
  /**
@@ -291,11 +291,11 @@ export interface IAgentRuntime extends IDatabaseAdapter<object> {
291
291
  contextCheckLevel?: 0 | 1 | 2 | 3;
292
292
  checkpointCodes?: boolean;
293
293
  maxRetries?: number;
294
- retryBackoff?: number | import("./state").RetryBackoffConfig;
294
+ retryBackoff?: number | import("./state.js").RetryBackoffConfig;
295
295
  disableCache?: boolean;
296
296
  cacheTTL?: number;
297
297
  onStreamChunk?: StreamChunkCallback;
298
- onStreamEvent?: (event: import("./state").StreamEvent, messageId?: string) => void | Promise<void>;
298
+ onStreamEvent?: (event: import("./state.js").StreamEvent, messageId?: string) => void | Promise<void>;
299
299
  abortSignal?: AbortSignal;
300
300
  };
301
301
  }): Promise<Record<string, unknown> | null>;
@@ -305,11 +305,11 @@ export interface IAgentRuntime extends IDatabaseAdapter<object> {
305
305
  * Traces are keyed by runId and held in memory until finalization (e.g. RUN_ENDED
306
306
  * in prompt-optimization plugins). Evaluators and actions can attach signals after DPE.
307
307
  */
308
- enrichTrace(runId: string, signal: import("./prompt-optimization-trace").ScoreSignal): void;
308
+ enrichTrace(runId: string, signal: import("./prompt-optimization-trace.js").ScoreSignal): void;
309
309
  /** Retrieve the most recent in-flight optimization trace for a runId. */
310
- getActiveTrace(runId: string): import("./prompt-optimization-trace").ExecutionTrace | undefined;
310
+ getActiveTrace(runId: string): import("./prompt-optimization-trace.js").ExecutionTrace | undefined;
311
311
  /** Retrieve all in-flight optimization traces for a runId (multiple DPE calls per run). */
312
- getActiveTracesForRun?(runId: string): import("./prompt-optimization-trace").ExecutionTrace[];
312
+ getActiveTracesForRun?(runId: string): import("./prompt-optimization-trace.js").ExecutionTrace[];
313
313
  /** Remove all in-flight optimization traces for a runId after finalization. */
314
314
  deleteActiveTrace(runId: string): void;
315
315
  /** Remove a single in-flight trace by its unique trace id. */
@@ -318,8 +318,8 @@ export interface IAgentRuntime extends IDatabaseAdapter<object> {
318
318
  * Register disk-backed or custom prompt optimization hooks (merge, registry, traces).
319
319
  * When `null`, DPE performs no optimization I/O.
320
320
  */
321
- registerPromptOptimizationHooks(hooks: import("./prompt-optimization-hooks").PromptOptimizationRuntimeHooks | null): void;
322
- getPromptOptimizationHooks(): import("./prompt-optimization-hooks").PromptOptimizationRuntimeHooks | null;
321
+ registerPromptOptimizationHooks(hooks: import("./prompt-optimization-hooks.js").PromptOptimizationRuntimeHooks | null): void;
322
+ getPromptOptimizationHooks(): import("./prompt-optimization-hooks.js").PromptOptimizationRuntimeHooks | null;
323
323
  /** Resolved `OPTIMIZATION_DIR` (see `getOptimizationRootDir`). */
324
324
  getOptimizationDir(): string;
325
325
  stop(): Promise<void>;
@@ -344,9 +344,9 @@ export interface IAgentRuntime extends IDatabaseAdapter<object> {
344
344
  * Pipeline hooks: register with `registerPipelineHook`, run with `applyPipelineHooks`.
345
345
  * Same `id` replaces any prior registration (any phase). Outgoing phase always finishes with `redactSecrets` on `content.text`.
346
346
  */
347
- registerPipelineHook(spec: import("./pipeline-hooks").PipelineHookSpec): void;
347
+ registerPipelineHook(spec: import("./pipeline-hooks.js").PipelineHookSpec): void;
348
348
  unregisterPipelineHook(id: string): void;
349
- applyPipelineHooks(phase: import("./pipeline-hooks").PipelineHookPhase, ctx: import("./pipeline-hooks").PipelineHookContext, pipelineHookTelemetry?: boolean): Promise<void>;
349
+ applyPipelineHooks(phase: import("./pipeline-hooks.js").PipelineHookPhase, ctx: import("./pipeline-hooks.js").PipelineHookContext, pipelineHookTelemetry?: boolean): Promise<void>;
350
350
  /**
351
351
  * Redact secrets from a text string.
352
352
  * @param text - The text to redact secrets from
@@ -354,7 +354,7 @@ export interface IAgentRuntime extends IDatabaseAdapter<object> {
354
354
  */
355
355
  redactSecrets(text: string): string;
356
356
  getEntityById(entityId: UUID): Promise<Entity | null>;
357
- getEntitiesForRoom(roomId: UUID, includeComponents?: boolean): Promise<import("./environment").Entity[]>;
357
+ getEntitiesForRoom(roomId: UUID, includeComponents?: boolean): Promise<import("./environment.js").Entity[]>;
358
358
  getRoom(roomId: UUID): Promise<Room | null>;
359
359
  createEntity(entity: Entity): Promise<boolean>;
360
360
  createRoom({ id, name, source, type, channelId, messageServerId, worldId, }: Room): Promise<UUID>;
@@ -390,7 +390,7 @@ export interface IAgentRuntime extends IDatabaseAdapter<object> {
390
390
  getComponents(entityId: UUID, worldId?: UUID, sourceEntityId?: UUID): Promise<Component[]>;
391
391
  getComponent(entityId: UUID, type: string, worldId?: UUID, sourceEntityId?: UUID): Promise<Component | null>;
392
392
  createComponent(component: Component): Promise<boolean>;
393
- patchComponent(componentId: UUID, ops: import("./database").PatchOp[], options?: {
393
+ patchComponent(componentId: UUID, ops: import("./database.js").PatchOp[], options?: {
394
394
  entityContext?: UUID;
395
395
  }): Promise<void>;
396
396
  updateComponent(component: Component): Promise<void>;
@@ -4,7 +4,7 @@
4
4
  * This type remains in core so plugins can import it without circular dependencies.
5
5
  * The actual implementations (pgAdapter, mysqlAdapter, buildTable) have moved to plugin-sql.
6
6
  */
7
- import type { SchemaColumn, SchemaTable } from "./schema.ts";
7
+ import type { SchemaColumn, SchemaTable } from "./schema.js";
8
8
  /**
9
9
  * Contract that a dialect-specific adapter must implement.
10
10
  *
@@ -4,9 +4,9 @@
4
4
  * This module provides standardized service interface definitions that plugins implement.
5
5
  * Data types are proto-generated; runtime classes remain TypeScript.
6
6
  */
7
- import type { Content, UUID } from "./primitives";
7
+ import type { Content, UUID } from "./primitives.js";
8
8
  import type { JsonValue, LpPositionDetails, PoolInfo, TokenBalance, TokenData, TransactionResult, WalletAsset, WalletPortfolio } from "./proto.js";
9
- import { Service } from "./service";
9
+ import { Service } from "./service.js";
10
10
  export type { LpPositionDetails, PoolInfo, TokenBalance, TokenData, TransactionResult, WalletAsset, WalletPortfolio, };
11
11
  export interface IMessageBusService extends Service {
12
12
  notifyActionStart(roomId: UUID, worldId: UUID, content: Content, messageId?: UUID): Promise<void>;
@@ -1,6 +1,6 @@
1
- import type { Metadata } from "./primitives";
1
+ import type { Metadata } from "./primitives.js";
2
2
  import type { JsonValue } from "./proto.js";
3
- import type { IAgentRuntime } from "./runtime";
3
+ import type { IAgentRuntime } from "./runtime.js";
4
4
  /**
5
5
  * Core service type registry that can be extended by plugins via module augmentation.
6
6
  * Plugins can extend this interface to add their own service types:
@@ -1,5 +1,5 @@
1
- import type { ActionResult, ProviderValue } from "./components";
2
- import type { Entity, Room, World } from "./environment";
1
+ import type { ActionResult, ProviderValue } from "./components.js";
2
+ import type { Entity, Room, World } from "./environment.js";
3
3
  import type { ActionPlan as ProtoActionPlan, ActionPlanStep as ProtoActionPlanStep, ProviderCacheEntry as ProtoProviderCacheEntry, State as ProtoState, StateData as ProtoStateData, StateValues as ProtoStateValues, WorkingMemoryItem as ProtoWorkingMemoryItem } from "./proto.js";
4
4
  /**
5
5
  * Allowed value types for state values (JSON-serializable)
@@ -1,9 +1,9 @@
1
- import type { Memory } from "./memory";
2
- import type { UUID } from "./primitives";
1
+ import type { Memory } from "./memory.js";
2
+ import type { UUID } from "./primitives.js";
3
3
  import type { JsonValue, Task as ProtoTask, TaskMetadata as ProtoTaskMetadata, TaskStatus as ProtoTaskStatus } from "./proto.js";
4
- import type { IAgentRuntime } from "./runtime";
5
- import type { State } from "./state";
6
- import type { TriggerConfig, TriggerRunRecord } from "./trigger";
4
+ import type { IAgentRuntime } from "./runtime.js";
5
+ import type { State } from "./state.js";
6
+ import type { TriggerConfig, TriggerRunRecord } from "./trigger.js";
7
7
  /**
8
8
  * Defines the contract for a Task Worker, which is responsible for executing a specific type of task.
9
9
  * Task workers are registered with the `AgentRuntime` and are invoked when a `Task` of their designated `name` needs processing.
@@ -1,5 +1,5 @@
1
1
  import type { TestCase as ProtoTestCase, TestSuite as ProtoTestSuite } from "./proto.js";
2
- import type { IAgentRuntime } from "./runtime";
2
+ import type { IAgentRuntime } from "./runtime.js";
3
3
  /**
4
4
  * Represents a test case for evaluating agent or plugin functionality.
5
5
  */
@@ -5,8 +5,8 @@
5
5
  *
6
6
  * @module tools
7
7
  */
8
- export type { ToolPolicyConfig, ToolProfileId } from "./channel-config";
9
- import type { ToolPolicyConfig, ToolProfileId } from "./channel-config";
8
+ export type { ToolPolicyConfig, ToolProfileId } from "./channel-config.js";
9
+ import type { ToolPolicyConfig, ToolProfileId } from "./channel-config.js";
10
10
  /**
11
11
  * Canonical tool name aliases for backward compatibility.
12
12
  * Maps legacy names to canonical names.
@@ -1,4 +1,4 @@
1
- import type { UUID } from "./primitives";
1
+ import type { UUID } from "./primitives.js";
2
2
  export declare const TRIGGER_SCHEMA_VERSION: 1;
3
3
  export type TriggerType = "interval" | "once" | "cron";
4
4
  export type TriggerWakeMode = "inject_now" | "next_autonomy_cycle";
@@ -6,7 +6,7 @@
6
6
  * callers must do the same.
7
7
  *
8
8
  * **Why shared with PromptDispatcher:** One implementation avoids drift; `prompt-batcher/shared`
9
- * re-exports this module so existing `import { Semaphore } from "./shared"` keeps working.
9
+ * re-exports this module so existing `import { Semaphore } from "./shared.js"` keeps working.
10
10
  */
11
11
  export declare class Semaphore {
12
12
  private permits;
@@ -1,4 +1,4 @@
1
- import type { Action, AgentContext, Provider } from "../types/components";
1
+ import type { Action, AgentContext, Provider } from "../types/components.js";
2
2
  export declare const ACTION_CONTEXT_MAP: Record<string, AgentContext[]>;
3
3
  export declare const PROVIDER_CONTEXT_MAP: Record<string, AgentContext[]>;
4
4
  export declare function resolveActionContexts(action: Action): AgentContext[];
@@ -1,6 +1,6 @@
1
- import type { Action, AgentContext, Provider } from "../types/components";
2
- import type { Memory } from "../types/memory";
3
- import type { State } from "../types/state";
1
+ import type { Action, AgentContext, Provider } from "../types/components.js";
2
+ import type { Memory } from "../types/memory.js";
3
+ import type { State } from "../types/state.js";
4
4
  export declare const AVAILABLE_CONTEXTS_STATE_KEY = "availableContexts";
5
5
  export declare const CONTEXT_ROUTING_METADATA_KEY = "__responseContext";
6
6
  export declare const CONTEXT_ROUTING_STATE_KEY = "__contextRouting";
@@ -3,6 +3,6 @@
3
3
  * Import directly from ./paths and ./server-health
4
4
  */
5
5
  export declare function getLocalServerUrl(path: string): string;
6
- export * from "./paths";
7
- export * from "./server-health";
6
+ export * from "./paths.js";
7
+ export * from "./server-health.js";
8
8
  //# sourceMappingURL=node.d.ts.map
@@ -1,9 +1,9 @@
1
- import type { Memory } from "../../types/memory";
2
- import { type BatcherResult, type BatcherStats, type ContextResolver, type DrainMeta, type PreCallbackHandler, type PromptSection } from "../../types/prompt-batcher";
3
- import type { IAgentRuntime } from "../../types/runtime";
4
- import type { SchemaRow } from "../../types/state";
5
- import type { PromptDispatcher } from "./dispatcher";
6
- import { type PromptBatcherSettings } from "./shared";
1
+ import type { Memory } from "../../types/memory.js";
2
+ import { type BatcherResult, type BatcherStats, type ContextResolver, type DrainMeta, type PreCallbackHandler, type PromptSection } from "../../types/prompt-batcher.js";
3
+ import type { IAgentRuntime } from "../../types/runtime.js";
4
+ import type { SchemaRow } from "../../types/state.js";
5
+ import type { PromptDispatcher } from "./dispatcher.js";
6
+ import { type PromptBatcherSettings } from "./shared.js";
7
7
  export declare class PromptBatcher {
8
8
  private readonly runtime;
9
9
  private readonly dispatcher;
@@ -1,6 +1,6 @@
1
- import type { ResolvedSection } from "../../types/prompt-batcher";
2
- import type { IAgentRuntime } from "../../types/runtime";
3
- import { type DispatchOutcome, type PromptDispatcherSettings } from "./shared";
1
+ import type { ResolvedSection } from "../../types/prompt-batcher.js";
2
+ import type { IAgentRuntime } from "../../types/runtime.js";
3
+ import { type DispatchOutcome, type PromptDispatcherSettings } from "./shared.js";
4
4
  export declare class PromptDispatcher {
5
5
  private readonly settings;
6
6
  constructor(settings: PromptDispatcherSettings);
@@ -1,7 +1,7 @@
1
- import type { Memory } from "../../types/memory";
2
- import type { BatcherResult, PromptSection, ResolvedSection } from "../../types/prompt-batcher";
3
- import type { IAgentRuntime } from "../../types/runtime";
4
- import type { SchemaRow, State } from "../../types/state";
1
+ import type { Memory } from "../../types/memory.js";
2
+ import type { BatcherResult, PromptSection, ResolvedSection } from "../../types/prompt-batcher.js";
3
+ import type { IAgentRuntime } from "../../types/runtime.js";
4
+ import type { SchemaRow, State } from "../../types/state.js";
5
5
  export type Deferred<T> = {
6
6
  resolve: (value: T) => void;
7
7
  reject: (reason?: unknown) => void;
@@ -51,7 +51,7 @@ export type PromptBatcherSettings = {
51
51
  modelSeparation: number;
52
52
  };
53
53
  /**
54
- * Re-export so dispatcher keeps `import { Semaphore } from "./shared"`.
54
+ * Re-export so dispatcher keeps `import { Semaphore } from "./shared.js"`.
55
55
  * Single `Semaphore` implementation under `utils/batch-queue` (see `batch-queue.ts` header).
56
56
  */
57
57
  export { Semaphore } from "../batch-queue/semaphore.js";
@@ -1,4 +1,4 @@
1
- export { BatcherDisposedError, type BatcherStats, type ContextResolver, type DrainLog, type DrainMeta, type PreCallbackHandler, type PromptSection, type ResolvedSection, type SectionFrequency, } from "../types/prompt-batcher";
1
+ export { BatcherDisposedError, type BatcherStats, type ContextResolver, type DrainLog, type DrainMeta, type PreCallbackHandler, type PromptSection, type ResolvedSection, type SectionFrequency, } from "../types/prompt-batcher.js";
2
2
  export { PromptBatcher } from "./prompt-batcher/batcher.js";
3
3
  export { PromptDispatcher } from "./prompt-batcher/dispatcher.js";
4
4
  export { pickFields } from "./prompt-batcher/shared.js";
@@ -10,8 +10,8 @@
10
10
  * For the interface definition, see types/streaming.ts.
11
11
  * Implementations can use these or create their own extractors.
12
12
  */
13
- import type { StreamChunkCallback } from "../types/components";
14
- import type { IStreamExtractor } from "../types/streaming";
13
+ import type { StreamChunkCallback } from "../types/components.js";
14
+ import type { IStreamExtractor } from "../types/streaming.js";
15
15
  /** Error codes for streaming operations */
16
16
  export type StreamErrorCode = "CHUNK_TOO_LARGE" | "BUFFER_OVERFLOW" | "PARSE_ERROR" | "TIMEOUT" | "ABORTED";
17
17
  /**
@@ -153,8 +153,8 @@ export declare class MarkableExtractor implements IStreamExtractor {
153
153
  */
154
154
  markComplete(): void;
155
155
  }
156
- import type { SchemaRow, StreamEvent } from "../types/state";
157
- import type { IStreamingRetryState } from "../types/streaming";
156
+ import type { SchemaRow, StreamEvent } from "../types/state.js";
157
+ import type { IStreamingRetryState } from "../types/streaming.js";
158
158
  /**
159
159
  * Extractor state machine for validation-aware streaming.
160
160
  */
@@ -261,7 +261,7 @@ export declare class ValidationStreamExtractor implements IStreamExtractor {
261
261
  private emitFieldContent;
262
262
  private emitEvent;
263
263
  }
264
- import type { StreamingContext } from "../streaming-context";
264
+ import type { StreamingContext } from "../streaming-context.js";
265
265
  /**
266
266
  * Creates a streaming retry state from an extractor.
267
267
  */
@@ -1,4 +1,4 @@
1
- import type { ActionParameters } from "../types";
1
+ import type { ActionParameters } from "../types/index.js";
2
2
  export declare function tryParseToonValue(text: string): unknown | null;
3
3
  export declare function tryParseLooseToonRecord(text: string): Record<string, unknown> | null;
4
4
  export declare function encodeToonValue(value: unknown): string;
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { Entity, IAgentRuntime, Memory, State, TemplateType } from "./types";
2
- import { ContentType, type UUID } from "./types";
1
+ import type { Entity, IAgentRuntime, Memory, State, TemplateType } from "./types/index.js";
2
+ import { ContentType, type UUID } from "./types/index.js";
3
3
  export declare const DEFAULT_MAX_CONVERSATION_TOKENS = 50000;
4
4
  /** Max tokens for embedding input text (default fallback) */
5
5
  export declare const DEFAULT_MAX_EMBEDDING_TOKENS = 8000;
@@ -185,8 +185,8 @@ export declare function stringToUuid(target: string | number): UUID;
185
185
  */
186
186
  export declare function prewarmUuidCache(values: string[]): Promise<void>;
187
187
  export declare const getContentTypeFromMimeType: (mimeType: string) => ContentType | undefined;
188
- export { getLocalServerUrl } from "./utils/node";
189
- export { extractFirstSentence, hasFirstSentence } from "./utils/text-splitting";
190
- export { extractAndParseJSONObjectFromText } from "./utils/json-llm";
191
- export { attachAvailableContexts, AVAILABLE_CONTEXTS_STATE_KEY, CONTEXT_ROUTING_METADATA_KEY, CONTEXT_ROUTING_STATE_KEY, type ContextRoutingDecision, deriveAvailableContexts, getActiveRoutingContexts, getContextRoutingFromMessage, getContextRoutingFromState, mergeContextRouting, parseContextList, parseContextRoutingMetadata, setContextRoutingMetadata, shouldIncludeByContext, } from "./utils/context-routing";
188
+ export { getLocalServerUrl } from "./utils/node.js";
189
+ export { extractFirstSentence, hasFirstSentence } from "./utils/text-splitting.js";
190
+ export { extractAndParseJSONObjectFromText } from "./utils/json-llm.js";
191
+ export { attachAvailableContexts, AVAILABLE_CONTEXTS_STATE_KEY, CONTEXT_ROUTING_METADATA_KEY, CONTEXT_ROUTING_STATE_KEY, type ContextRoutingDecision, deriveAvailableContexts, getActiveRoutingContexts, getContextRoutingFromMessage, getContextRoutingFromState, mergeContextRouting, parseContextList, parseContextRoutingMetadata, setContextRoutingMetadata, shouldIncludeByContext, } from "./utils/context-routing.js";
192
192
  //# sourceMappingURL=utils.d.ts.map
@@ -3,6 +3,6 @@
3
3
  *
4
4
  * Re-exports all validation utilities from submodules.
5
5
  */
6
- export * from "./keywords";
7
- export * from "./secrets";
6
+ export * from "./keywords.js";
7
+ export * from "./secrets.js";
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { Memory } from "../types";
1
+ import type { Memory } from "../types/index.js";
2
2
  /**
3
3
  * Validates if any of the given keywords are present in the recent message history.
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/core",
3
- "version": "2.0.0-alpha.206",
3
+ "version": "2.0.0-alpha.207",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/index.node.js",
@@ -82,7 +82,7 @@
82
82
  "devDependencies": {
83
83
  "@elizaos/plugin-elizacloud": "alpha",
84
84
  "@elizaos/plugin-sql": "workspace:*",
85
- "@elizaos/schemas": "2.0.0-alpha.206",
85
+ "@elizaos/schemas": "2.0.0-alpha.207",
86
86
  "@playwright/test": "^1.52.0",
87
87
  "@types/bun": "^1.3.5",
88
88
  "@types/fast-redact": "^3.0.4",
@@ -133,5 +133,5 @@
133
133
  "publishConfig": {
134
134
  "access": "public"
135
135
  },
136
- "gitHead": "3bcacd7ef66a4f2ed6dd7e9ca99ad272f7f0c58e"
136
+ "gitHead": "6ddd1f4d3ce8cdd7cd099e6a79aa152268ff7221"
137
137
  }