@elizaos/core 2.0.0-alpha.2 → 2.0.0-alpha.21

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 (434) hide show
  1. package/README.md +186 -0
  2. package/dist/testing/index.js +1 -82232
  3. package/dist/testing/index.js.map +3 -658
  4. package/package.json +17 -5
  5. package/dist/action-docs.d.ts +0 -22
  6. package/dist/action-docs.d.ts.map +0 -1
  7. package/dist/actions.d.ts +0 -18
  8. package/dist/actions.d.ts.map +0 -1
  9. package/dist/advanced-capabilities/actions/addContact.d.ts +0 -3
  10. package/dist/advanced-capabilities/actions/addContact.d.ts.map +0 -1
  11. package/dist/advanced-capabilities/actions/followRoom.d.ts +0 -3
  12. package/dist/advanced-capabilities/actions/followRoom.d.ts.map +0 -1
  13. package/dist/advanced-capabilities/actions/imageGeneration.d.ts +0 -3
  14. package/dist/advanced-capabilities/actions/imageGeneration.d.ts.map +0 -1
  15. package/dist/advanced-capabilities/actions/index.d.ts +0 -20
  16. package/dist/advanced-capabilities/actions/index.d.ts.map +0 -1
  17. package/dist/advanced-capabilities/actions/muteRoom.d.ts +0 -3
  18. package/dist/advanced-capabilities/actions/muteRoom.d.ts.map +0 -1
  19. package/dist/advanced-capabilities/actions/removeContact.d.ts +0 -3
  20. package/dist/advanced-capabilities/actions/removeContact.d.ts.map +0 -1
  21. package/dist/advanced-capabilities/actions/roles.d.ts +0 -13
  22. package/dist/advanced-capabilities/actions/roles.d.ts.map +0 -1
  23. package/dist/advanced-capabilities/actions/scheduleFollowUp.d.ts +0 -3
  24. package/dist/advanced-capabilities/actions/scheduleFollowUp.d.ts.map +0 -1
  25. package/dist/advanced-capabilities/actions/searchContacts.d.ts +0 -3
  26. package/dist/advanced-capabilities/actions/searchContacts.d.ts.map +0 -1
  27. package/dist/advanced-capabilities/actions/sendMessage.d.ts +0 -15
  28. package/dist/advanced-capabilities/actions/sendMessage.d.ts.map +0 -1
  29. package/dist/advanced-capabilities/actions/settings.d.ts +0 -22
  30. package/dist/advanced-capabilities/actions/settings.d.ts.map +0 -1
  31. package/dist/advanced-capabilities/actions/unfollowRoom.d.ts +0 -3
  32. package/dist/advanced-capabilities/actions/unfollowRoom.d.ts.map +0 -1
  33. package/dist/advanced-capabilities/actions/unmuteRoom.d.ts +0 -3
  34. package/dist/advanced-capabilities/actions/unmuteRoom.d.ts.map +0 -1
  35. package/dist/advanced-capabilities/actions/updateContact.d.ts +0 -3
  36. package/dist/advanced-capabilities/actions/updateContact.d.ts.map +0 -1
  37. package/dist/advanced-capabilities/actions/updateEntity.d.ts +0 -43
  38. package/dist/advanced-capabilities/actions/updateEntity.d.ts.map +0 -1
  39. package/dist/advanced-capabilities/evaluators/index.d.ts +0 -8
  40. package/dist/advanced-capabilities/evaluators/index.d.ts.map +0 -1
  41. package/dist/advanced-capabilities/evaluators/reflection.d.ts +0 -3
  42. package/dist/advanced-capabilities/evaluators/reflection.d.ts.map +0 -1
  43. package/dist/advanced-capabilities/evaluators/relationshipExtraction.d.ts +0 -3
  44. package/dist/advanced-capabilities/evaluators/relationshipExtraction.d.ts.map +0 -1
  45. package/dist/advanced-capabilities/index.d.ts +0 -43
  46. package/dist/advanced-capabilities/index.d.ts.map +0 -1
  47. package/dist/advanced-capabilities/providers/contacts.d.ts +0 -3
  48. package/dist/advanced-capabilities/providers/contacts.d.ts.map +0 -1
  49. package/dist/advanced-capabilities/providers/facts.d.ts +0 -11
  50. package/dist/advanced-capabilities/providers/facts.d.ts.map +0 -1
  51. package/dist/advanced-capabilities/providers/followUps.d.ts +0 -3
  52. package/dist/advanced-capabilities/providers/followUps.d.ts.map +0 -1
  53. package/dist/advanced-capabilities/providers/index.d.ts +0 -13
  54. package/dist/advanced-capabilities/providers/index.d.ts.map +0 -1
  55. package/dist/advanced-capabilities/providers/knowledge.d.ts +0 -9
  56. package/dist/advanced-capabilities/providers/knowledge.d.ts.map +0 -1
  57. package/dist/advanced-capabilities/providers/relationships.d.ts +0 -15
  58. package/dist/advanced-capabilities/providers/relationships.d.ts.map +0 -1
  59. package/dist/advanced-capabilities/providers/roles.d.ts +0 -19
  60. package/dist/advanced-capabilities/providers/roles.d.ts.map +0 -1
  61. package/dist/advanced-capabilities/providers/settings.d.ts +0 -7
  62. package/dist/advanced-capabilities/providers/settings.d.ts.map +0 -1
  63. package/dist/advanced-memory/evaluators/index.d.ts +0 -3
  64. package/dist/advanced-memory/evaluators/index.d.ts.map +0 -1
  65. package/dist/advanced-memory/evaluators/long-term-extraction.d.ts +0 -3
  66. package/dist/advanced-memory/evaluators/long-term-extraction.d.ts.map +0 -1
  67. package/dist/advanced-memory/evaluators/summarization.d.ts +0 -3
  68. package/dist/advanced-memory/evaluators/summarization.d.ts.map +0 -1
  69. package/dist/advanced-memory/index.d.ts +0 -8
  70. package/dist/advanced-memory/index.d.ts.map +0 -1
  71. package/dist/advanced-memory/prompts.d.ts +0 -4
  72. package/dist/advanced-memory/prompts.d.ts.map +0 -1
  73. package/dist/advanced-memory/providers/context-summary.d.ts +0 -3
  74. package/dist/advanced-memory/providers/context-summary.d.ts.map +0 -1
  75. package/dist/advanced-memory/providers/index.d.ts +0 -3
  76. package/dist/advanced-memory/providers/index.d.ts.map +0 -1
  77. package/dist/advanced-memory/providers/long-term-memory.d.ts +0 -3
  78. package/dist/advanced-memory/providers/long-term-memory.d.ts.map +0 -1
  79. package/dist/advanced-memory/schemas/index.d.ts +0 -4
  80. package/dist/advanced-memory/schemas/index.d.ts.map +0 -1
  81. package/dist/advanced-memory/schemas/long-term-memories.d.ts +0 -261
  82. package/dist/advanced-memory/schemas/long-term-memories.d.ts.map +0 -1
  83. package/dist/advanced-memory/schemas/memory-access-logs.d.ts +0 -116
  84. package/dist/advanced-memory/schemas/memory-access-logs.d.ts.map +0 -1
  85. package/dist/advanced-memory/schemas/session-summaries.d.ts +0 -280
  86. package/dist/advanced-memory/schemas/session-summaries.d.ts.map +0 -1
  87. package/dist/advanced-memory/services/memory-service.d.ts +0 -34
  88. package/dist/advanced-memory/services/memory-service.d.ts.map +0 -1
  89. package/dist/advanced-memory/types.d.ts +0 -68
  90. package/dist/advanced-memory/types.d.ts.map +0 -1
  91. package/dist/advanced-planning/actions/chain-example.d.ts +0 -6
  92. package/dist/advanced-planning/actions/chain-example.d.ts.map +0 -1
  93. package/dist/advanced-planning/index.d.ts +0 -5
  94. package/dist/advanced-planning/index.d.ts.map +0 -1
  95. package/dist/advanced-planning/prompts.d.ts +0 -8
  96. package/dist/advanced-planning/prompts.d.ts.map +0 -1
  97. package/dist/advanced-planning/providers/message-classifier.d.ts +0 -3
  98. package/dist/advanced-planning/providers/message-classifier.d.ts.map +0 -1
  99. package/dist/advanced-planning/services/planning-service.d.ts +0 -77
  100. package/dist/advanced-planning/services/planning-service.d.ts.map +0 -1
  101. package/dist/advanced-planning/types.d.ts +0 -78
  102. package/dist/advanced-planning/types.d.ts.map +0 -1
  103. package/dist/autonomy/action.d.ts +0 -14
  104. package/dist/autonomy/action.d.ts.map +0 -1
  105. package/dist/autonomy/index.d.ts +0 -11
  106. package/dist/autonomy/index.d.ts.map +0 -1
  107. package/dist/autonomy/providers.d.ts +0 -21
  108. package/dist/autonomy/providers.d.ts.map +0 -1
  109. package/dist/autonomy/routes.d.ts +0 -11
  110. package/dist/autonomy/routes.d.ts.map +0 -1
  111. package/dist/autonomy/service.d.ts +0 -117
  112. package/dist/autonomy/service.d.ts.map +0 -1
  113. package/dist/autonomy/types.d.ts +0 -31
  114. package/dist/autonomy/types.d.ts.map +0 -1
  115. package/dist/basic-capabilities/actions/choice.d.ts +0 -4
  116. package/dist/basic-capabilities/actions/choice.d.ts.map +0 -1
  117. package/dist/basic-capabilities/actions/ignore.d.ts +0 -3
  118. package/dist/basic-capabilities/actions/ignore.d.ts.map +0 -1
  119. package/dist/basic-capabilities/actions/index.d.ts +0 -10
  120. package/dist/basic-capabilities/actions/index.d.ts.map +0 -1
  121. package/dist/basic-capabilities/actions/none.d.ts +0 -3
  122. package/dist/basic-capabilities/actions/none.d.ts.map +0 -1
  123. package/dist/basic-capabilities/actions/reply.d.ts +0 -3
  124. package/dist/basic-capabilities/actions/reply.d.ts.map +0 -1
  125. package/dist/basic-capabilities/index.d.ts +0 -102
  126. package/dist/basic-capabilities/index.d.ts.map +0 -1
  127. package/dist/basic-capabilities/providers/actionState.d.ts +0 -7
  128. package/dist/basic-capabilities/providers/actionState.d.ts.map +0 -1
  129. package/dist/basic-capabilities/providers/actions.d.ts +0 -35
  130. package/dist/basic-capabilities/providers/actions.d.ts.map +0 -1
  131. package/dist/basic-capabilities/providers/attachments.d.ts +0 -20
  132. package/dist/basic-capabilities/providers/attachments.d.ts.map +0 -1
  133. package/dist/basic-capabilities/providers/capabilities.d.ts +0 -14
  134. package/dist/basic-capabilities/providers/capabilities.d.ts.map +0 -1
  135. package/dist/basic-capabilities/providers/character.d.ts +0 -17
  136. package/dist/basic-capabilities/providers/character.d.ts.map +0 -1
  137. package/dist/basic-capabilities/providers/choice.d.ts +0 -11
  138. package/dist/basic-capabilities/providers/choice.d.ts.map +0 -1
  139. package/dist/basic-capabilities/providers/contextBench.d.ts +0 -12
  140. package/dist/basic-capabilities/providers/contextBench.d.ts.map +0 -1
  141. package/dist/basic-capabilities/providers/currentTime.d.ts +0 -11
  142. package/dist/basic-capabilities/providers/currentTime.d.ts.map +0 -1
  143. package/dist/basic-capabilities/providers/entities.d.ts +0 -7
  144. package/dist/basic-capabilities/providers/entities.d.ts.map +0 -1
  145. package/dist/basic-capabilities/providers/evaluators.d.ts +0 -27
  146. package/dist/basic-capabilities/providers/evaluators.d.ts.map +0 -1
  147. package/dist/basic-capabilities/providers/index.d.ts +0 -20
  148. package/dist/basic-capabilities/providers/index.d.ts.map +0 -1
  149. package/dist/basic-capabilities/providers/providers.d.ts +0 -18
  150. package/dist/basic-capabilities/providers/providers.d.ts.map +0 -1
  151. package/dist/basic-capabilities/providers/recentMessages.d.ts +0 -14
  152. package/dist/basic-capabilities/providers/recentMessages.d.ts.map +0 -1
  153. package/dist/basic-capabilities/providers/time.d.ts +0 -12
  154. package/dist/basic-capabilities/providers/time.d.ts.map +0 -1
  155. package/dist/basic-capabilities/providers/world.d.ts +0 -8
  156. package/dist/basic-capabilities/providers/world.d.ts.map +0 -1
  157. package/dist/bootstrap/actions/addContact.d.ts +0 -3
  158. package/dist/bootstrap/actions/addContact.d.ts.map +0 -1
  159. package/dist/bootstrap/actions/choice.d.ts +0 -4
  160. package/dist/bootstrap/actions/choice.d.ts.map +0 -1
  161. package/dist/bootstrap/actions/followRoom.d.ts +0 -4
  162. package/dist/bootstrap/actions/followRoom.d.ts.map +0 -1
  163. package/dist/bootstrap/actions/ignore.d.ts +0 -3
  164. package/dist/bootstrap/actions/ignore.d.ts.map +0 -1
  165. package/dist/bootstrap/actions/imageGeneration.d.ts +0 -3
  166. package/dist/bootstrap/actions/imageGeneration.d.ts.map +0 -1
  167. package/dist/bootstrap/actions/index.d.ts +0 -19
  168. package/dist/bootstrap/actions/index.d.ts.map +0 -1
  169. package/dist/bootstrap/actions/muteRoom.d.ts +0 -4
  170. package/dist/bootstrap/actions/muteRoom.d.ts.map +0 -1
  171. package/dist/bootstrap/actions/none.d.ts +0 -3
  172. package/dist/bootstrap/actions/none.d.ts.map +0 -1
  173. package/dist/bootstrap/actions/removeContact.d.ts +0 -3
  174. package/dist/bootstrap/actions/removeContact.d.ts.map +0 -1
  175. package/dist/bootstrap/actions/reply.d.ts +0 -3
  176. package/dist/bootstrap/actions/reply.d.ts.map +0 -1
  177. package/dist/bootstrap/actions/roles.d.ts +0 -13
  178. package/dist/bootstrap/actions/roles.d.ts.map +0 -1
  179. package/dist/bootstrap/actions/scheduleFollowUp.d.ts +0 -3
  180. package/dist/bootstrap/actions/scheduleFollowUp.d.ts.map +0 -1
  181. package/dist/bootstrap/actions/searchContacts.d.ts +0 -3
  182. package/dist/bootstrap/actions/searchContacts.d.ts.map +0 -1
  183. package/dist/bootstrap/actions/sendMessage.d.ts +0 -15
  184. package/dist/bootstrap/actions/sendMessage.d.ts.map +0 -1
  185. package/dist/bootstrap/actions/settings.d.ts +0 -22
  186. package/dist/bootstrap/actions/settings.d.ts.map +0 -1
  187. package/dist/bootstrap/actions/unfollowRoom.d.ts +0 -13
  188. package/dist/bootstrap/actions/unfollowRoom.d.ts.map +0 -1
  189. package/dist/bootstrap/actions/unmuteRoom.d.ts +0 -24
  190. package/dist/bootstrap/actions/unmuteRoom.d.ts.map +0 -1
  191. package/dist/bootstrap/actions/updateContact.d.ts +0 -3
  192. package/dist/bootstrap/actions/updateContact.d.ts.map +0 -1
  193. package/dist/bootstrap/actions/updateEntity.d.ts +0 -43
  194. package/dist/bootstrap/actions/updateEntity.d.ts.map +0 -1
  195. package/dist/bootstrap/autonomy/action.d.ts +0 -14
  196. package/dist/bootstrap/autonomy/action.d.ts.map +0 -1
  197. package/dist/bootstrap/autonomy/index.d.ts +0 -11
  198. package/dist/bootstrap/autonomy/index.d.ts.map +0 -1
  199. package/dist/bootstrap/autonomy/providers.d.ts +0 -21
  200. package/dist/bootstrap/autonomy/providers.d.ts.map +0 -1
  201. package/dist/bootstrap/autonomy/routes.d.ts +0 -11
  202. package/dist/bootstrap/autonomy/routes.d.ts.map +0 -1
  203. package/dist/bootstrap/autonomy/service.d.ts +0 -114
  204. package/dist/bootstrap/autonomy/service.d.ts.map +0 -1
  205. package/dist/bootstrap/autonomy/types.d.ts +0 -31
  206. package/dist/bootstrap/autonomy/types.d.ts.map +0 -1
  207. package/dist/bootstrap/evaluators/index.d.ts +0 -3
  208. package/dist/bootstrap/evaluators/index.d.ts.map +0 -1
  209. package/dist/bootstrap/evaluators/reflection.d.ts +0 -3
  210. package/dist/bootstrap/evaluators/reflection.d.ts.map +0 -1
  211. package/dist/bootstrap/evaluators/relationshipExtraction.d.ts +0 -3
  212. package/dist/bootstrap/evaluators/relationshipExtraction.d.ts.map +0 -1
  213. package/dist/bootstrap/index.d.ts +0 -65
  214. package/dist/bootstrap/index.d.ts.map +0 -1
  215. package/dist/bootstrap/providers/actionState.d.ts +0 -7
  216. package/dist/bootstrap/providers/actionState.d.ts.map +0 -1
  217. package/dist/bootstrap/providers/actions.d.ts +0 -35
  218. package/dist/bootstrap/providers/actions.d.ts.map +0 -1
  219. package/dist/bootstrap/providers/attachments.d.ts +0 -20
  220. package/dist/bootstrap/providers/attachments.d.ts.map +0 -1
  221. package/dist/bootstrap/providers/capabilities.d.ts +0 -14
  222. package/dist/bootstrap/providers/capabilities.d.ts.map +0 -1
  223. package/dist/bootstrap/providers/character.d.ts +0 -17
  224. package/dist/bootstrap/providers/character.d.ts.map +0 -1
  225. package/dist/bootstrap/providers/choice.d.ts +0 -11
  226. package/dist/bootstrap/providers/choice.d.ts.map +0 -1
  227. package/dist/bootstrap/providers/contacts.d.ts +0 -3
  228. package/dist/bootstrap/providers/contacts.d.ts.map +0 -1
  229. package/dist/bootstrap/providers/contextBench.d.ts +0 -12
  230. package/dist/bootstrap/providers/contextBench.d.ts.map +0 -1
  231. package/dist/bootstrap/providers/entities.d.ts +0 -7
  232. package/dist/bootstrap/providers/entities.d.ts.map +0 -1
  233. package/dist/bootstrap/providers/evaluators.d.ts +0 -27
  234. package/dist/bootstrap/providers/evaluators.d.ts.map +0 -1
  235. package/dist/bootstrap/providers/facts.d.ts +0 -11
  236. package/dist/bootstrap/providers/facts.d.ts.map +0 -1
  237. package/dist/bootstrap/providers/followUps.d.ts +0 -3
  238. package/dist/bootstrap/providers/followUps.d.ts.map +0 -1
  239. package/dist/bootstrap/providers/index.d.ts +0 -21
  240. package/dist/bootstrap/providers/index.d.ts.map +0 -1
  241. package/dist/bootstrap/providers/knowledge.d.ts +0 -9
  242. package/dist/bootstrap/providers/knowledge.d.ts.map +0 -1
  243. package/dist/bootstrap/providers/providers.d.ts +0 -18
  244. package/dist/bootstrap/providers/providers.d.ts.map +0 -1
  245. package/dist/bootstrap/providers/recentMessages.d.ts +0 -14
  246. package/dist/bootstrap/providers/recentMessages.d.ts.map +0 -1
  247. package/dist/bootstrap/providers/relationships.d.ts +0 -15
  248. package/dist/bootstrap/providers/relationships.d.ts.map +0 -1
  249. package/dist/bootstrap/providers/roles.d.ts +0 -19
  250. package/dist/bootstrap/providers/roles.d.ts.map +0 -1
  251. package/dist/bootstrap/providers/settings.d.ts +0 -7
  252. package/dist/bootstrap/providers/settings.d.ts.map +0 -1
  253. package/dist/bootstrap/providers/time.d.ts +0 -16
  254. package/dist/bootstrap/providers/time.d.ts.map +0 -1
  255. package/dist/bootstrap/providers/world.d.ts +0 -8
  256. package/dist/bootstrap/providers/world.d.ts.map +0 -1
  257. package/dist/browser/index.browser.js +0 -3741
  258. package/dist/browser/index.browser.js.map +0 -660
  259. package/dist/browser/index.d.ts +0 -2
  260. package/dist/character.d.ts +0 -68
  261. package/dist/character.d.ts.map +0 -1
  262. package/dist/database/inMemoryAdapter.d.ts +0 -135
  263. package/dist/database/inMemoryAdapter.d.ts.map +0 -1
  264. package/dist/database.d.ts +0 -488
  265. package/dist/database.d.ts.map +0 -1
  266. package/dist/entities.d.ts +0 -11
  267. package/dist/entities.d.ts.map +0 -1
  268. package/dist/generated/action-docs.d.ts +0 -2906
  269. package/dist/generated/action-docs.d.ts.map +0 -1
  270. package/dist/generated/spec-helpers.d.ts +0 -49
  271. package/dist/generated/spec-helpers.d.ts.map +0 -1
  272. package/dist/index.browser.d.ts +0 -44
  273. package/dist/index.browser.d.ts.map +0 -1
  274. package/dist/index.browser.js +0 -2
  275. package/dist/index.d.ts +0 -3
  276. package/dist/index.d.ts.map +0 -1
  277. package/dist/index.js +0 -2
  278. package/dist/index.node.d.ts +0 -40
  279. package/dist/index.node.d.ts.map +0 -1
  280. package/dist/index.node.js +0 -2
  281. package/dist/logger.d.ts +0 -73
  282. package/dist/logger.d.ts.map +0 -1
  283. package/dist/memory.d.ts +0 -40
  284. package/dist/memory.d.ts.map +0 -1
  285. package/dist/node/index.d.ts +0 -2
  286. package/dist/node/index.node.js +0 -97062
  287. package/dist/node/index.node.js.map +0 -783
  288. package/dist/packages/typescript/tsconfig.tsbuildinfo +0 -1
  289. package/dist/plugin.d.ts +0 -13
  290. package/dist/plugin.d.ts.map +0 -1
  291. package/dist/prompts.d.ts +0 -85
  292. package/dist/prompts.d.ts.map +0 -1
  293. package/dist/roles.d.ts +0 -9
  294. package/dist/roles.d.ts.map +0 -1
  295. package/dist/runtime.d.ts +0 -426
  296. package/dist/runtime.d.ts.map +0 -1
  297. package/dist/schemas/character.d.ts +0 -445
  298. package/dist/schemas/character.d.ts.map +0 -1
  299. package/dist/search.d.ts +0 -317
  300. package/dist/search.d.ts.map +0 -1
  301. package/dist/secrets.d.ts +0 -6
  302. package/dist/secrets.d.ts.map +0 -1
  303. package/dist/services/embedding.d.ts +0 -45
  304. package/dist/services/embedding.d.ts.map +0 -1
  305. package/dist/services/followUp.d.ts +0 -46
  306. package/dist/services/followUp.d.ts.map +0 -1
  307. package/dist/services/message.d.ts +0 -70
  308. package/dist/services/message.d.ts.map +0 -1
  309. package/dist/services/rolodex.d.ts +0 -108
  310. package/dist/services/rolodex.d.ts.map +0 -1
  311. package/dist/services/task.d.ts +0 -78
  312. package/dist/services/task.d.ts.map +0 -1
  313. package/dist/services/trajectoryLogger.d.ts +0 -55
  314. package/dist/services/trajectoryLogger.d.ts.map +0 -1
  315. package/dist/services.d.ts +0 -61
  316. package/dist/services.d.ts.map +0 -1
  317. package/dist/settings.d.ts +0 -99
  318. package/dist/settings.d.ts.map +0 -1
  319. package/dist/streaming-context.d.ts +0 -78
  320. package/dist/streaming-context.d.ts.map +0 -1
  321. package/dist/trajectory-context.d.ts +0 -19
  322. package/dist/trajectory-context.d.ts.map +0 -1
  323. package/dist/types/agent.d.ts +0 -56
  324. package/dist/types/agent.d.ts.map +0 -1
  325. package/dist/types/components.d.ts +0 -290
  326. package/dist/types/components.d.ts.map +0 -1
  327. package/dist/types/database.d.ts +0 -410
  328. package/dist/types/database.d.ts.map +0 -1
  329. package/dist/types/environment.d.ts +0 -60
  330. package/dist/types/environment.d.ts.map +0 -1
  331. package/dist/types/events.d.ts +0 -213
  332. package/dist/types/events.d.ts.map +0 -1
  333. package/dist/types/generated/eliza/v1/agent_pb.d.ts +0 -382
  334. package/dist/types/generated/eliza/v1/agent_pb.d.ts.map +0 -1
  335. package/dist/types/generated/eliza/v1/components_pb.d.ts +0 -364
  336. package/dist/types/generated/eliza/v1/components_pb.d.ts.map +0 -1
  337. package/dist/types/generated/eliza/v1/database_pb.d.ts +0 -694
  338. package/dist/types/generated/eliza/v1/database_pb.d.ts.map +0 -1
  339. package/dist/types/generated/eliza/v1/environment_pb.d.ts +0 -299
  340. package/dist/types/generated/eliza/v1/environment_pb.d.ts.map +0 -1
  341. package/dist/types/generated/eliza/v1/events_pb.d.ts +0 -746
  342. package/dist/types/generated/eliza/v1/events_pb.d.ts.map +0 -1
  343. package/dist/types/generated/eliza/v1/ipc_pb.d.ts +0 -799
  344. package/dist/types/generated/eliza/v1/ipc_pb.d.ts.map +0 -1
  345. package/dist/types/generated/eliza/v1/knowledge_pb.d.ts +0 -63
  346. package/dist/types/generated/eliza/v1/knowledge_pb.d.ts.map +0 -1
  347. package/dist/types/generated/eliza/v1/memory_pb.d.ts +0 -290
  348. package/dist/types/generated/eliza/v1/memory_pb.d.ts.map +0 -1
  349. package/dist/types/generated/eliza/v1/message_service_pb.d.ts +0 -148
  350. package/dist/types/generated/eliza/v1/message_service_pb.d.ts.map +0 -1
  351. package/dist/types/generated/eliza/v1/messaging_pb.d.ts +0 -214
  352. package/dist/types/generated/eliza/v1/messaging_pb.d.ts.map +0 -1
  353. package/dist/types/generated/eliza/v1/model_pb.d.ts +0 -637
  354. package/dist/types/generated/eliza/v1/model_pb.d.ts.map +0 -1
  355. package/dist/types/generated/eliza/v1/payment_pb.d.ts +0 -147
  356. package/dist/types/generated/eliza/v1/payment_pb.d.ts.map +0 -1
  357. package/dist/types/generated/eliza/v1/plugin_pb.d.ts +0 -286
  358. package/dist/types/generated/eliza/v1/plugin_pb.d.ts.map +0 -1
  359. package/dist/types/generated/eliza/v1/primitives_pb.d.ts +0 -263
  360. package/dist/types/generated/eliza/v1/primitives_pb.d.ts.map +0 -1
  361. package/dist/types/generated/eliza/v1/prompts_pb.d.ts +0 -137
  362. package/dist/types/generated/eliza/v1/prompts_pb.d.ts.map +0 -1
  363. package/dist/types/generated/eliza/v1/service_interfaces_pb.d.ts +0 -2687
  364. package/dist/types/generated/eliza/v1/service_interfaces_pb.d.ts.map +0 -1
  365. package/dist/types/generated/eliza/v1/service_pb.d.ts +0 -144
  366. package/dist/types/generated/eliza/v1/service_pb.d.ts.map +0 -1
  367. package/dist/types/generated/eliza/v1/settings_pb.d.ts +0 -146
  368. package/dist/types/generated/eliza/v1/settings_pb.d.ts.map +0 -1
  369. package/dist/types/generated/eliza/v1/state_pb.d.ts +0 -259
  370. package/dist/types/generated/eliza/v1/state_pb.d.ts.map +0 -1
  371. package/dist/types/generated/eliza/v1/task_pb.d.ts +0 -120
  372. package/dist/types/generated/eliza/v1/task_pb.d.ts.map +0 -1
  373. package/dist/types/generated/eliza/v1/tee_pb.d.ts +0 -205
  374. package/dist/types/generated/eliza/v1/tee_pb.d.ts.map +0 -1
  375. package/dist/types/generated/eliza/v1/testing_pb.d.ts +0 -47
  376. package/dist/types/generated/eliza/v1/testing_pb.d.ts.map +0 -1
  377. package/dist/types/index.d.ts +0 -27
  378. package/dist/types/index.d.ts.map +0 -1
  379. package/dist/types/knowledge.d.ts +0 -57
  380. package/dist/types/knowledge.d.ts.map +0 -1
  381. package/dist/types/memory.d.ts +0 -100
  382. package/dist/types/memory.d.ts.map +0 -1
  383. package/dist/types/message-service.d.ts +0 -129
  384. package/dist/types/message-service.d.ts.map +0 -1
  385. package/dist/types/messaging.d.ts +0 -117
  386. package/dist/types/messaging.d.ts.map +0 -1
  387. package/dist/types/model.d.ts +0 -612
  388. package/dist/types/model.d.ts.map +0 -1
  389. package/dist/types/payment.d.ts +0 -45
  390. package/dist/types/payment.d.ts.map +0 -1
  391. package/dist/types/plugin.d.ts +0 -136
  392. package/dist/types/plugin.d.ts.map +0 -1
  393. package/dist/types/primitives.d.ts +0 -170
  394. package/dist/types/primitives.d.ts.map +0 -1
  395. package/dist/types/prompts.d.ts +0 -39
  396. package/dist/types/prompts.d.ts.map +0 -1
  397. package/dist/types/proto.d.ts +0 -60
  398. package/dist/types/proto.d.ts.map +0 -1
  399. package/dist/types/runtime.d.ts +0 -183
  400. package/dist/types/runtime.d.ts.map +0 -1
  401. package/dist/types/service-interfaces.d.ts +0 -1200
  402. package/dist/types/service-interfaces.d.ts.map +0 -1
  403. package/dist/types/service.d.ts +0 -161
  404. package/dist/types/service.d.ts.map +0 -1
  405. package/dist/types/settings.d.ts +0 -36
  406. package/dist/types/settings.d.ts.map +0 -1
  407. package/dist/types/state.d.ts +0 -83
  408. package/dist/types/state.d.ts.map +0 -1
  409. package/dist/types/streaming.d.ts +0 -46
  410. package/dist/types/streaming.d.ts.map +0 -1
  411. package/dist/types/task.d.ts +0 -74
  412. package/dist/types/task.d.ts.map +0 -1
  413. package/dist/types/tee.d.ts +0 -3
  414. package/dist/types/tee.d.ts.map +0 -1
  415. package/dist/types/testing.d.ts +0 -15
  416. package/dist/types/testing.d.ts.map +0 -1
  417. package/dist/utils/buffer.d.ts +0 -107
  418. package/dist/utils/buffer.d.ts.map +0 -1
  419. package/dist/utils/crypto-compat.d.ts +0 -101
  420. package/dist/utils/crypto-compat.d.ts.map +0 -1
  421. package/dist/utils/environment.d.ts +0 -125
  422. package/dist/utils/environment.d.ts.map +0 -1
  423. package/dist/utils/node.d.ts +0 -8
  424. package/dist/utils/node.d.ts.map +0 -1
  425. package/dist/utils/paths.d.ts +0 -97
  426. package/dist/utils/paths.d.ts.map +0 -1
  427. package/dist/utils/server-health.d.ts +0 -35
  428. package/dist/utils/server-health.d.ts.map +0 -1
  429. package/dist/utils/streaming.d.ts +0 -117
  430. package/dist/utils/streaming.d.ts.map +0 -1
  431. package/dist/utils/type-guards.d.ts +0 -25
  432. package/dist/utils/type-guards.d.ts.map +0 -1
  433. package/dist/utils.d.ts +0 -182
  434. package/dist/utils.d.ts.map +0 -1
package/dist/plugin.d.ts DELETED
@@ -1,13 +0,0 @@
1
- import type { Plugin } from "./types";
2
- export declare function tryInstallPlugin(pluginName: string): Promise<boolean>;
3
- export declare function isValidPluginShape(obj: unknown): obj is Plugin;
4
- export declare function validatePlugin(plugin: unknown): {
5
- isValid: boolean;
6
- errors: string[];
7
- };
8
- export declare function loadAndPreparePlugin(pluginName: string): Promise<Plugin | null>;
9
- export declare function normalizePluginName(pluginName: string): string;
10
- export declare function resolvePluginDependencies(availablePlugins: Map<string, Plugin>, isTestMode?: boolean): Plugin[];
11
- export declare function loadPlugin(nameOrPlugin: string | Plugin): Promise<Plugin | null>;
12
- export declare function resolvePlugins(plugins: (string | Plugin)[], isTestMode?: boolean): Promise<Plugin[]>;
13
- //# sourceMappingURL=plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AActC,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAgF3E;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,MAAM,CAkB9D;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG;IAC/C,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAsDA;AAED,wBAAsB,oBAAoB,CACxC,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CA6DxB;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAM9D;AAED,wBAAgB,yBAAyB,CACvC,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EACrC,UAAU,GAAE,OAAe,GAC1B,MAAM,EAAE,CAuFV;AAED,wBAAsB,UAAU,CAC9B,YAAY,EAAE,MAAM,GAAG,MAAM,GAC5B,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAexB;AAiFD,wBAAsB,cAAc,CAClC,OAAO,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAC5B,UAAU,GAAE,OAAe,GAC1B,OAAO,CAAC,MAAM,EAAE,CAAC,CAyBnB"}
package/dist/prompts.d.ts DELETED
@@ -1,85 +0,0 @@
1
- export declare const shouldRespondTemplate = "<task>Decide on behalf of {{agentName}} whether they should respond to the message, ignore it or stop the conversation.</task>\n\n<providers>\n{{providers}}\n</providers>\n\n<instructions>Decide if {{agentName}} should respond to or interact with the conversation.\n\nIMPORTANT RULES FOR RESPONDING:\n- If YOUR name ({{agentName}}) is directly mentioned \u2192 RESPOND\n- If someone uses a DIFFERENT name (not {{agentName}}) \u2192 IGNORE (they're talking to someone else)\n- If you're actively participating in a conversation and the message continues that thread \u2192 RESPOND\n- If someone tells you to stop or be quiet \u2192 STOP\n- Otherwise \u2192 IGNORE\n\nThe key distinction is:\n- \"Talking TO {{agentName}}\" (your name mentioned, replies to you, continuing your conversation) \u2192 RESPOND\n- \"Talking ABOUT {{agentName}}\" or to someone else \u2192 IGNORE\n</instructions>\n\n<output>\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\nRespond using XML format like this:\n<response>\n <name>{{agentName}}</name>\n <reasoning>Your reasoning here</reasoning>\n <action>RESPOND | IGNORE | STOP</action>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.\n</output>";
2
- export declare const messageHandlerTemplate = "<task>Generate dialog and actions for the character {{agentName}}.</task>\n\n<providers>\n{{providers}}\n</providers>\n\n<instructions>\nWrite a thought and plan for {{agentName}} and decide what actions to take. Also include the providers that {{agentName}} will use to have the right context for responding and acting, if any.\n\nIMPORTANT ACTION ORDERING RULES:\n- Actions are executed in the ORDER you list them - the order MATTERS!\n- REPLY should come FIRST to acknowledge the user's request before executing other actions\n- Common patterns:\n - For requests requiring tool use: REPLY,CALL_MCP_TOOL (acknowledge first, then gather info)\n - For task execution: REPLY,SEND_MESSAGE or REPLY,EVM_SWAP_TOKENS (acknowledge first, then do the task)\n - For multi-step operations: REPLY,ACTION1,ACTION2 (acknowledge first, then complete all steps)\n- REPLY is used to acknowledge and inform the user about what you're going to do\n- Follow-up actions execute the actual tasks after acknowledgment\n- Use IGNORE only when you should not respond at all\n- If you use IGNORE, do not include any other actions. IGNORE should be used alone when you should not respond or take any actions.\n\nIMPORTANT ACTION PARAMETERS:\n- Some actions accept input parameters that you should extract from the conversation\n- When an action has parameters listed in its description, include a <params> block for that action\n- Extract parameter values from the user's message and conversation context\n- Required parameters MUST be provided; optional parameters can be omitted if not mentioned\n- If you cannot determine a required parameter value, ask the user for clarification in your <text>\n\nEXAMPLE (action parameters):\nUser message: \"Send a message to @dev_guru on telegram saying Hello!\"\nActions: REPLY,SEND_MESSAGE\nParams:\n<params>\n <SEND_MESSAGE>\n <targetType>user</targetType>\n <source>telegram</source>\n <target>dev_guru</target>\n <text>Hello!</text>\n </SEND_MESSAGE>\n</params>\n\nIMPORTANT PROVIDER SELECTION RULES:\n- Only include providers if they are needed to respond accurately.\n- If the message mentions images, photos, pictures, attachments, or visual content, OR if you see \"(Attachments:\" in the conversation, you MUST include \"ATTACHMENTS\" in your providers list\n- If the message asks about or references specific people, include \"ENTITIES\" in your providers list \n- If the message asks about relationships or connections between people, include \"RELATIONSHIPS\" in your providers list\n- If the message asks about facts or specific information, include \"FACTS\" in your providers list\n- If the message asks about the environment or world context, include \"WORLD\" in your providers list\n- If no additional context is needed, you may leave the providers list empty.\n\nIMPORTANT CODE BLOCK FORMATTING RULES:\n- If {{agentName}} includes code examples, snippets, or multi-line code in the response, ALWAYS wrap the code with ``` fenced code blocks (specify the language if known, e.g., ```python).\n- ONLY use fenced code blocks for actual code. Do NOT wrap non-code text, instructions, or single words in fenced code blocks.\n- If including inline code (short single words or function names), use single backticks (`) as appropriate.\n- This ensures the user sees clearly formatted and copyable code when relevant.\n\nFirst, think about what you want to do next and plan your actions. Then, write the next message and include the actions you plan to take.\n</instructions>\n\n<keys>\n\"thought\" should be a short description of what the agent is thinking about and planning.\n\"actions\" should be a comma-separated list of the actions {{agentName}} plans to take based on the thought, IN THE ORDER THEY SHOULD BE EXECUTED (if none, use IGNORE, if simply responding with text, use REPLY)\n\"providers\" should be a comma-separated list of the providers that {{agentName}} will use to have the right context for responding and acting (NEVER use \"IGNORE\" as a provider - use specific provider names like ATTACHMENTS, ENTITIES, FACTS, KNOWLEDGE, etc.)\n\"text\" should be the text of the next message for {{agentName}} which they will send to the conversation.\n\"params\" (optional) should contain action parameters when actions require input. Format as nested XML with action name as wrapper.\n</keys>\n\n<output>\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nRespond using XML format like this:\n<response>\n <thought>Your thought here</thought>\n <actions>ACTION1,ACTION2</actions>\n <providers>PROVIDER1,PROVIDER2</providers>\n <text>Your response text here</text>\n <params>\n <ACTION1>\n <paramName1>value1</paramName1>\n <paramName2>value2</paramName2>\n </ACTION1>\n <ACTION2>\n <paramName1>value1</paramName1>\n </ACTION2>\n </params>\n</response>\n\nThe <params> block is optional - only include when actions require input parameters.\nIf an action has no parameters or you're only using REPLY/IGNORE, omit <params> entirely.\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.\n</output>";
3
- export declare const postCreationTemplate = "# Task: Create a post in the voice and style and perspective of {{agentName}} @{{xUserName}}.\n\nExample task outputs:\n1. A post about the importance of AI in our lives\n<response>\n <thought>I am thinking about writing a post about the importance of AI in our lives</thought>\n <post>AI is changing the world and it is important to understand how it works</post>\n <imagePrompt>A futuristic cityscape with flying cars and people using AI to do things</imagePrompt>\n</response>\n\n2. A post about dogs\n<response>\n <thought>I am thinking about writing a post about dogs</thought>\n <post>Dogs are man's best friend and they are loyal and loving</post>\n <imagePrompt>A dog playing with a ball in a park</imagePrompt>\n</response>\n\n3. A post about finding a new job\n<response>\n <thought>Getting a job is hard, I bet there's a good post in that</thought>\n <post>Just keep going!</post>\n <imagePrompt>A person looking at a computer screen with a job search website</imagePrompt>\n</response>\n\n{{providers}}\n\nWrite a post that is {{adjective}} about {{topic}} (without mentioning {{topic}} directly), from the perspective of {{agentName}}. Do not add commentary or acknowledge this request, just write the post.\nYour response should be 1, 2, or 3 sentences (choose the length at random).\nYour response should not contain any questions. Brief, concise statements only. The total character count MUST be less than 280. No emojis. Use \\n\\n (double spaces) between statements if there are multiple statements in your response.\n\nYour output should be formatted in XML like this:\n<response>\n <thought>Your thought here</thought>\n <post>Your post text here</post>\n <imagePrompt>Optional image prompt here</imagePrompt>\n</response>\n\nThe \"post\" field should be the post you want to send. Do not including any thinking or internal reflection in the \"post\" field.\nThe \"imagePrompt\" field is optional and should be a prompt for an image that is relevant to the post. It should be a single sentence that captures the essence of the post. ONLY USE THIS FIELD if it makes sense that the post would benefit from an image.\nThe \"thought\" field should be a short description of what the agent is thinking about before responding, including a brief justification for the response. Includate an explanation how the post is relevant to the topic but unique and different than other posts.\n\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
4
- export declare const booleanFooter = "Respond with only a YES or a NO.";
5
- export declare const imageDescriptionTemplate = "<task>Analyze the provided image and generate a comprehensive description with multiple levels of detail.</task>\n\n<instructions>\nCarefully examine the image and provide:\n1. A concise, descriptive title that captures the main subject or scene\n2. A brief summary description (1-2 sentences) highlighting the key elements\n3. An extensive, detailed description that covers all visible elements, composition, lighting, colors, mood, and any other relevant details\n\nBe objective and descriptive. Focus on what you can actually see in the image rather than making assumptions about context or meaning.\n</instructions>\n\n<output>\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nRespond using XML format like this:\n<response>\n <title>A concise, descriptive title for the image</title>\n <description>A brief 1-2 sentence summary of the key elements in the image</description>\n <text>An extensive, detailed description covering all visible elements, composition, lighting, colors, mood, setting, objects, people, activities, and any other relevant details you can observe in the image</text>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.\n</output>";
6
- export declare const multiStepDecisionTemplate = "<task>\nDetermine the next step the assistant should take in this conversation to help the user reach their goal.\n</task>\n\n{{recentMessages}}\n\n# Multi-Step Workflow\n\nIn each step, decide:\n\n1. **Which providers (if any)** should be called to gather necessary data.\n2. **Which action (if any)** should be executed after providers return.\n3. Decide whether the task is complete. If so, set `isFinish: true`. Do not select the `REPLY` action; replies are handled separately after task completion.\n\nYou can select **multiple providers** and at most **one action** per step.\n\nIf the task is fully resolved and no further steps are needed, mark the step as `isFinish: true`.\n\n---\n\n{{actionsWithDescriptions}}\n\n{{providersWithDescriptions}}\n\nThese are the actions or data provider calls that have already been used in this run. Use this to avoid redundancy and guide your next move.\n\n{{actionResults}}\n\n<keys>\n\"thought\" Clearly explain your reasoning for the selected providers and/or action, and how this step contributes to resolving the user's request.\n\"action\" Name of the action to execute after providers return (can be empty if no action is needed).\n\"providers\" List of provider names to call in this step (can be empty if none are needed).\n\"isFinish\" Set to true only if the task is fully complete.\n</keys>\n\n\u26A0\uFE0F IMPORTANT: Do **not** mark the task as `isFinish: true` immediately after calling an action. Wait for the action to complete before deciding the task is finished.\n\n<output>\n<response>\n <thought>Your thought here</thought>\n <action>ACTION</action>\n <providers>PROVIDER1,PROVIDER2</providers>\n <isFinish>true | false</isFinish>\n</response>\n</output>";
7
- export declare const multiStepSummaryTemplate = "<task>\nSummarize what the assistant has done so far and provide a final response to the user based on the completed steps.\n</task>\n\n# Context Information\n{{bio}}\n\n---\n\n{{system}}\n\n---\n\n{{messageDirections}}\n\n# Conversation Summary\nBelow is the user's original request and conversation so far:\n{{recentMessages}}\n\n# Execution Trace\nHere are the actions taken by the assistant to fulfill the request:\n{{actionResults}}\n\n# Assistant's Last Reasoning Step\n{{recentMessage}}\n\n# Instructions\n\n - Review the execution trace and last reasoning step carefully\n\n - Your final output MUST be in this XML format:\n<output>\n<response>\n <thought>Your thought here</thought>\n <text>Your final message to the user</text>\n</response>\n</output>\n";
8
- export declare const replyTemplate = "# Task: Generate dialog for the character {{agentName}}.\n\n{{providers}}\n\n# Instructions: Write the next message for {{agentName}}.\n\"thought\" should be a short description of what the agent is thinking about and planning.\n\"text\" should be the next message for {{agentName}} which they will send to the conversation.\n\nIMPORTANT CODE BLOCK FORMATTING RULES:\n- If {{agentName}} includes code examples, snippets, or multi-line code in the response, ALWAYS wrap the code with ``` fenced code blocks (specify the language if known, e.g., ```python).\n- ONLY use fenced code blocks for actual code. Do NOT wrap non-code text, instructions, or single words in fenced code blocks.\n- If including inline code (short single words or function names), use single backticks (`) as appropriate.\n- This ensures the user sees clearly formatted and copyable code when relevant.\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\nRespond using XML format like this:\n<response>\n <thought>Your thought here</thought>\n <text>Your message here</text>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
9
- export declare const chooseOptionTemplate = "# Task: Choose an option from the available choices.\n\n{{providers}}\n\n# Available Options:\n{{options}}\n\n# Instructions: \nAnalyze the options and select the most appropriate one based on the current context.\nProvide your reasoning and the selected option ID.\n\nRespond using XML format like this:\n<response>\n <thought>Your reasoning for the selection</thought>\n <selected_id>The ID of the selected option</selected_id>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
10
- export declare const imageGenerationTemplate = "# Task: Generate an image prompt for {{agentName}}.\n\n{{providers}}\n\n# Instructions:\nBased on the conversation, create a detailed prompt for image generation.\nThe prompt should be specific, descriptive, and suitable for AI image generation.\n\n# Recent conversation:\n{{recentMessages}}\n\nRespond using XML format like this:\n<response>\n <thought>Your reasoning for the image prompt</thought>\n <prompt>Detailed image generation prompt</prompt>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
11
- export declare const reflectionTemplate = "# Task: Reflect on recent agent behavior and interactions.\n\n{{providers}}\n\n# Recent Interactions:\n{{recentInteractions}}\n\n# Instructions:\nAnalyze the agent's recent behavior and interactions. Consider:\n1. Was the communication clear and helpful?\n2. Were responses appropriate for the context?\n3. Were any mistakes made?\n4. What could be improved?\n\nRespond using XML format like this:\n<response>\n <thought>Your detailed analysis</thought>\n <quality_score>Score 0-100 for overall quality</quality_score>\n <strengths>What went well</strengths>\n <improvements>What could be improved</improvements>\n <learnings>Key takeaways for future interactions</learnings>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
12
- export declare const updateSettingsTemplate = "# Task: Update settings based on the request.\n\n{{providers}}\n\n# Current Settings:\n{{settings}}\n\n# Instructions:\nBased on the request, determine which settings to update.\nOnly update settings that the user has explicitly requested.\n\nRespond using XML format like this:\n<response>\n <thought>Your reasoning for the settings changes</thought>\n <updates>\n <update>\n <key>setting_key</key>\n <value>new_value</value>\n </update>\n </updates>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
13
- export declare const updateEntityTemplate = "# Task: Update entity information.\n\n{{providers}}\n\n# Current Entity Information:\n{{entityInfo}}\n\n# Instructions:\nBased on the request, determine what information about the entity should be updated.\nOnly update fields that the user has explicitly requested to change.\n\nRespond using XML format like this:\n<response>\n <thought>Your reasoning for the entity update</thought>\n <entity_id>The entity ID to update</entity_id>\n <updates>\n <field>\n <name>field_name</name>\n <value>new_value</value>\n </field>\n </updates>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
14
- export declare const optionExtractionTemplate = "# Task: Extract selected task and option from user message\n\n# Available Tasks:\n{{tasks}}\n\n# Recent Messages:\n{{recentMessages}}\n\n# Instructions:\n1. Review the user's message and identify which task and option they are selecting\n2. Match against the available tasks and their options, including ABORT\n3. Return the task ID (shortened UUID) and selected option name exactly as listed above\n4. If no clear selection is made, return null for both fields\n\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nReturn in XML format:\n<response>\n <taskId>string_or_null</taskId>\n <selectedOption>OPTION_NAME_or_null</selectedOption>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
15
- export declare const SHOULD_RESPOND_TEMPLATE = "<task>Decide on behalf of {{agentName}} whether they should respond to the message, ignore it or stop the conversation.</task>\n\n<providers>\n{{providers}}\n</providers>\n\n<instructions>Decide if {{agentName}} should respond to or interact with the conversation.\n\nIMPORTANT RULES FOR RESPONDING:\n- If YOUR name ({{agentName}}) is directly mentioned \u2192 RESPOND\n- If someone uses a DIFFERENT name (not {{agentName}}) \u2192 IGNORE (they're talking to someone else)\n- If you're actively participating in a conversation and the message continues that thread \u2192 RESPOND\n- If someone tells you to stop or be quiet \u2192 STOP\n- Otherwise \u2192 IGNORE\n\nThe key distinction is:\n- \"Talking TO {{agentName}}\" (your name mentioned, replies to you, continuing your conversation) \u2192 RESPOND\n- \"Talking ABOUT {{agentName}}\" or to someone else \u2192 IGNORE\n</instructions>\n\n<output>\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\nRespond using XML format like this:\n<response>\n <name>{{agentName}}</name>\n <reasoning>Your reasoning here</reasoning>\n <action>RESPOND | IGNORE | STOP</action>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.\n</output>";
16
- export declare const MESSAGE_HANDLER_TEMPLATE = "<task>Generate dialog and actions for the character {{agentName}}.</task>\n\n<providers>\n{{providers}}\n</providers>\n\n<instructions>\nWrite a thought and plan for {{agentName}} and decide what actions to take. Also include the providers that {{agentName}} will use to have the right context for responding and acting, if any.\n\nIMPORTANT ACTION ORDERING RULES:\n- Actions are executed in the ORDER you list them - the order MATTERS!\n- REPLY should come FIRST to acknowledge the user's request before executing other actions\n- Common patterns:\n - For requests requiring tool use: REPLY,CALL_MCP_TOOL (acknowledge first, then gather info)\n - For task execution: REPLY,SEND_MESSAGE or REPLY,EVM_SWAP_TOKENS (acknowledge first, then do the task)\n - For multi-step operations: REPLY,ACTION1,ACTION2 (acknowledge first, then complete all steps)\n- REPLY is used to acknowledge and inform the user about what you're going to do\n- Follow-up actions execute the actual tasks after acknowledgment\n- Use IGNORE only when you should not respond at all\n- If you use IGNORE, do not include any other actions. IGNORE should be used alone when you should not respond or take any actions.\n\nIMPORTANT ACTION PARAMETERS:\n- Some actions accept input parameters that you should extract from the conversation\n- When an action has parameters listed in its description, include a <params> block for that action\n- Extract parameter values from the user's message and conversation context\n- Required parameters MUST be provided; optional parameters can be omitted if not mentioned\n- If you cannot determine a required parameter value, ask the user for clarification in your <text>\n\nEXAMPLE (action parameters):\nUser message: \"Send a message to @dev_guru on telegram saying Hello!\"\nActions: REPLY,SEND_MESSAGE\nParams:\n<params>\n <SEND_MESSAGE>\n <targetType>user</targetType>\n <source>telegram</source>\n <target>dev_guru</target>\n <text>Hello!</text>\n </SEND_MESSAGE>\n</params>\n\nIMPORTANT PROVIDER SELECTION RULES:\n- Only include providers if they are needed to respond accurately.\n- If the message mentions images, photos, pictures, attachments, or visual content, OR if you see \"(Attachments:\" in the conversation, you MUST include \"ATTACHMENTS\" in your providers list\n- If the message asks about or references specific people, include \"ENTITIES\" in your providers list \n- If the message asks about relationships or connections between people, include \"RELATIONSHIPS\" in your providers list\n- If the message asks about facts or specific information, include \"FACTS\" in your providers list\n- If the message asks about the environment or world context, include \"WORLD\" in your providers list\n- If no additional context is needed, you may leave the providers list empty.\n\nIMPORTANT CODE BLOCK FORMATTING RULES:\n- If {{agentName}} includes code examples, snippets, or multi-line code in the response, ALWAYS wrap the code with ``` fenced code blocks (specify the language if known, e.g., ```python).\n- ONLY use fenced code blocks for actual code. Do NOT wrap non-code text, instructions, or single words in fenced code blocks.\n- If including inline code (short single words or function names), use single backticks (`) as appropriate.\n- This ensures the user sees clearly formatted and copyable code when relevant.\n\nFirst, think about what you want to do next and plan your actions. Then, write the next message and include the actions you plan to take.\n</instructions>\n\n<keys>\n\"thought\" should be a short description of what the agent is thinking about and planning.\n\"actions\" should be a comma-separated list of the actions {{agentName}} plans to take based on the thought, IN THE ORDER THEY SHOULD BE EXECUTED (if none, use IGNORE, if simply responding with text, use REPLY)\n\"providers\" should be a comma-separated list of the providers that {{agentName}} will use to have the right context for responding and acting (NEVER use \"IGNORE\" as a provider - use specific provider names like ATTACHMENTS, ENTITIES, FACTS, KNOWLEDGE, etc.)\n\"text\" should be the text of the next message for {{agentName}} which they will send to the conversation.\n\"params\" (optional) should contain action parameters when actions require input. Format as nested XML with action name as wrapper.\n</keys>\n\n<output>\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nRespond using XML format like this:\n<response>\n <thought>Your thought here</thought>\n <actions>ACTION1,ACTION2</actions>\n <providers>PROVIDER1,PROVIDER2</providers>\n <text>Your response text here</text>\n <params>\n <ACTION1>\n <paramName1>value1</paramName1>\n <paramName2>value2</paramName2>\n </ACTION1>\n <ACTION2>\n <paramName1>value1</paramName1>\n </ACTION2>\n </params>\n</response>\n\nThe <params> block is optional - only include when actions require input parameters.\nIf an action has no parameters or you're only using REPLY/IGNORE, omit <params> entirely.\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.\n</output>";
17
- export declare const POST_CREATION_TEMPLATE = "# Task: Create a post in the voice and style and perspective of {{agentName}} @{{xUserName}}.\n\nExample task outputs:\n1. A post about the importance of AI in our lives\n<response>\n <thought>I am thinking about writing a post about the importance of AI in our lives</thought>\n <post>AI is changing the world and it is important to understand how it works</post>\n <imagePrompt>A futuristic cityscape with flying cars and people using AI to do things</imagePrompt>\n</response>\n\n2. A post about dogs\n<response>\n <thought>I am thinking about writing a post about dogs</thought>\n <post>Dogs are man's best friend and they are loyal and loving</post>\n <imagePrompt>A dog playing with a ball in a park</imagePrompt>\n</response>\n\n3. A post about finding a new job\n<response>\n <thought>Getting a job is hard, I bet there's a good post in that</thought>\n <post>Just keep going!</post>\n <imagePrompt>A person looking at a computer screen with a job search website</imagePrompt>\n</response>\n\n{{providers}}\n\nWrite a post that is {{adjective}} about {{topic}} (without mentioning {{topic}} directly), from the perspective of {{agentName}}. Do not add commentary or acknowledge this request, just write the post.\nYour response should be 1, 2, or 3 sentences (choose the length at random).\nYour response should not contain any questions. Brief, concise statements only. The total character count MUST be less than 280. No emojis. Use \\n\\n (double spaces) between statements if there are multiple statements in your response.\n\nYour output should be formatted in XML like this:\n<response>\n <thought>Your thought here</thought>\n <post>Your post text here</post>\n <imagePrompt>Optional image prompt here</imagePrompt>\n</response>\n\nThe \"post\" field should be the post you want to send. Do not including any thinking or internal reflection in the \"post\" field.\nThe \"imagePrompt\" field is optional and should be a prompt for an image that is relevant to the post. It should be a single sentence that captures the essence of the post. ONLY USE THIS FIELD if it makes sense that the post would benefit from an image.\nThe \"thought\" field should be a short description of what the agent is thinking about before responding, including a brief justification for the response. Includate an explanation how the post is relevant to the topic but unique and different than other posts.\n\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
18
- export declare const BOOLEAN_FOOTER = "Respond with only a YES or a NO.";
19
- export declare const IMAGE_DESCRIPTION_TEMPLATE = "<task>Analyze the provided image and generate a comprehensive description with multiple levels of detail.</task>\n\n<instructions>\nCarefully examine the image and provide:\n1. A concise, descriptive title that captures the main subject or scene\n2. A brief summary description (1-2 sentences) highlighting the key elements\n3. An extensive, detailed description that covers all visible elements, composition, lighting, colors, mood, and any other relevant details\n\nBe objective and descriptive. Focus on what you can actually see in the image rather than making assumptions about context or meaning.\n</instructions>\n\n<output>\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nRespond using XML format like this:\n<response>\n <title>A concise, descriptive title for the image</title>\n <description>A brief 1-2 sentence summary of the key elements in the image</description>\n <text>An extensive, detailed description covering all visible elements, composition, lighting, colors, mood, setting, objects, people, activities, and any other relevant details you can observe in the image</text>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.\n</output>";
20
- export declare const MULTI_STEP_DECISION_TEMPLATE = "<task>\nDetermine the next step the assistant should take in this conversation to help the user reach their goal.\n</task>\n\n{{recentMessages}}\n\n# Multi-Step Workflow\n\nIn each step, decide:\n\n1. **Which providers (if any)** should be called to gather necessary data.\n2. **Which action (if any)** should be executed after providers return.\n3. Decide whether the task is complete. If so, set `isFinish: true`. Do not select the `REPLY` action; replies are handled separately after task completion.\n\nYou can select **multiple providers** and at most **one action** per step.\n\nIf the task is fully resolved and no further steps are needed, mark the step as `isFinish: true`.\n\n---\n\n{{actionsWithDescriptions}}\n\n{{providersWithDescriptions}}\n\nThese are the actions or data provider calls that have already been used in this run. Use this to avoid redundancy and guide your next move.\n\n{{actionResults}}\n\n<keys>\n\"thought\" Clearly explain your reasoning for the selected providers and/or action, and how this step contributes to resolving the user's request.\n\"action\" Name of the action to execute after providers return (can be empty if no action is needed).\n\"providers\" List of provider names to call in this step (can be empty if none are needed).\n\"isFinish\" Set to true only if the task is fully complete.\n</keys>\n\n\u26A0\uFE0F IMPORTANT: Do **not** mark the task as `isFinish: true` immediately after calling an action. Wait for the action to complete before deciding the task is finished.\n\n<output>\n<response>\n <thought>Your thought here</thought>\n <action>ACTION</action>\n <providers>PROVIDER1,PROVIDER2</providers>\n <isFinish>true | false</isFinish>\n</response>\n</output>";
21
- export declare const MULTI_STEP_SUMMARY_TEMPLATE = "<task>\nSummarize what the assistant has done so far and provide a final response to the user based on the completed steps.\n</task>\n\n# Context Information\n{{bio}}\n\n---\n\n{{system}}\n\n---\n\n{{messageDirections}}\n\n# Conversation Summary\nBelow is the user's original request and conversation so far:\n{{recentMessages}}\n\n# Execution Trace\nHere are the actions taken by the assistant to fulfill the request:\n{{actionResults}}\n\n# Assistant's Last Reasoning Step\n{{recentMessage}}\n\n# Instructions\n\n - Review the execution trace and last reasoning step carefully\n\n - Your final output MUST be in this XML format:\n<output>\n<response>\n <thought>Your thought here</thought>\n <text>Your final message to the user</text>\n</response>\n</output>\n";
22
- export declare const REPLY_TEMPLATE = "# Task: Generate dialog for the character {{agentName}}.\n\n{{providers}}\n\n# Instructions: Write the next message for {{agentName}}.\n\"thought\" should be a short description of what the agent is thinking about and planning.\n\"text\" should be the next message for {{agentName}} which they will send to the conversation.\n\nIMPORTANT CODE BLOCK FORMATTING RULES:\n- If {{agentName}} includes code examples, snippets, or multi-line code in the response, ALWAYS wrap the code with ``` fenced code blocks (specify the language if known, e.g., ```python).\n- ONLY use fenced code blocks for actual code. Do NOT wrap non-code text, instructions, or single words in fenced code blocks.\n- If including inline code (short single words or function names), use single backticks (`) as appropriate.\n- This ensures the user sees clearly formatted and copyable code when relevant.\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\nRespond using XML format like this:\n<response>\n <thought>Your thought here</thought>\n <text>Your message here</text>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
23
- export declare const CHOOSE_OPTION_TEMPLATE = "# Task: Choose an option from the available choices.\n\n{{providers}}\n\n# Available Options:\n{{options}}\n\n# Instructions: \nAnalyze the options and select the most appropriate one based on the current context.\nProvide your reasoning and the selected option ID.\n\nRespond using XML format like this:\n<response>\n <thought>Your reasoning for the selection</thought>\n <selected_id>The ID of the selected option</selected_id>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
24
- export declare const IMAGE_GENERATION_TEMPLATE = "# Task: Generate an image prompt for {{agentName}}.\n\n{{providers}}\n\n# Instructions:\nBased on the conversation, create a detailed prompt for image generation.\nThe prompt should be specific, descriptive, and suitable for AI image generation.\n\n# Recent conversation:\n{{recentMessages}}\n\nRespond using XML format like this:\n<response>\n <thought>Your reasoning for the image prompt</thought>\n <prompt>Detailed image generation prompt</prompt>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
25
- export declare const REFLECTION_TEMPLATE = "# Task: Reflect on recent agent behavior and interactions.\n\n{{providers}}\n\n# Recent Interactions:\n{{recentInteractions}}\n\n# Instructions:\nAnalyze the agent's recent behavior and interactions. Consider:\n1. Was the communication clear and helpful?\n2. Were responses appropriate for the context?\n3. Were any mistakes made?\n4. What could be improved?\n\nRespond using XML format like this:\n<response>\n <thought>Your detailed analysis</thought>\n <quality_score>Score 0-100 for overall quality</quality_score>\n <strengths>What went well</strengths>\n <improvements>What could be improved</improvements>\n <learnings>Key takeaways for future interactions</learnings>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
26
- export declare const UPDATE_SETTINGS_TEMPLATE = "# Task: Update settings based on the request.\n\n{{providers}}\n\n# Current Settings:\n{{settings}}\n\n# Instructions:\nBased on the request, determine which settings to update.\nOnly update settings that the user has explicitly requested.\n\nRespond using XML format like this:\n<response>\n <thought>Your reasoning for the settings changes</thought>\n <updates>\n <update>\n <key>setting_key</key>\n <value>new_value</value>\n </update>\n </updates>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
27
- export declare const UPDATE_ENTITY_TEMPLATE = "# Task: Update entity information.\n\n{{providers}}\n\n# Current Entity Information:\n{{entityInfo}}\n\n# Instructions:\nBased on the request, determine what information about the entity should be updated.\nOnly update fields that the user has explicitly requested to change.\n\nRespond using XML format like this:\n<response>\n <thought>Your reasoning for the entity update</thought>\n <entity_id>The entity ID to update</entity_id>\n <updates>\n <field>\n <name>field_name</name>\n <value>new_value</value>\n </field>\n </updates>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
28
- export declare const OPTION_EXTRACTION_TEMPLATE = "# Task: Extract selected task and option from user message\n\n# Available Tasks:\n{{tasks}}\n\n# Recent Messages:\n{{recentMessages}}\n\n# Instructions:\n1. Review the user's message and identify which task and option they are selecting\n2. Match against the available tasks and their options, including ABORT\n3. Return the task ID (shortened UUID) and selected option name exactly as listed above\n4. If no clear selection is made, return null for both fields\n\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nReturn in XML format:\n<response>\n <taskId>string_or_null</taskId>\n <selectedOption>OPTION_NAME_or_null</selectedOption>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
29
- export declare const scheduleFollowUpTemplate = "# Schedule Follow-up\n\nCurrent message: {{message}}\nSender: {{senderName}} (ID: {{senderId}})\n\n## Instructions\nExtract the follow-up scheduling information from the message:\n1. Who to follow up with (name or entity reference)\n2. When to follow up (date/time or relative time like \"tomorrow\", \"next week\")\n3. Reason for the follow-up\n4. Priority (high, medium, low)\n5. Any specific message or notes\n\n## Current Date/Time\n{{currentDateTime}}\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\n## Response Format\n<response>\n<contactName>Name of the contact to follow up with</contactName>\n<entityId>ID if known, otherwise leave empty</entityId>\n<scheduledAt>ISO datetime for the follow-up</scheduledAt>\n<reason>Reason for the follow-up</reason>\n<priority>high, medium, or low</priority>\n<message>Optional message or notes for the follow-up</message>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
30
- export declare const addContactTemplate = "# Add Contact to Rolodex\n\nCurrent message: {{message}}\nSender: {{senderName}} (ID: {{senderId}})\n\n## Instructions\nExtract the contact information from the message and determine:\n1. Who should be added as a contact (name or entity reference)\n2. What category they belong to (friend, family, colleague, acquaintance, vip, business)\n3. Any preferences or notes mentioned\n\nRespond with the extracted information in XML format.\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\n## Response Format\n<response>\n<contactName>Name of the contact to add</contactName>\n<entityId>ID if known, otherwise leave empty</entityId>\n<categories>comma-separated categories</categories>\n<notes>Any additional notes or preferences</notes>\n<timezone>Timezone if mentioned</timezone>\n<language>Language preference if mentioned</language>\n<reason>Reason for adding this contact</reason>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
31
- export declare const searchContactsTemplate = "# Search Contacts\n\nCurrent message: {{message}}\nSender: {{senderName}} (ID: {{senderId}})\n\n## Instructions\nExtract the search criteria from the message:\n1. Categories to filter by (friend, family, colleague, acquaintance, vip, business)\n2. Search terms (names or keywords)\n3. Tags to filter by\n4. Any other filters mentioned\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\n## Response Format\n<response>\n<categories>comma-separated list of categories to filter by</categories>\n<searchTerm>search term for names</searchTerm>\n<tags>comma-separated list of tags</tags>\n<intent>list, search, or count</intent>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
32
- export declare const removeContactTemplate = "# Remove Contact from Rolodex\n\nCurrent message: {{message}}\nSender: {{senderName}} (ID: {{senderId}})\n\n## Instructions\nExtract the contact removal information from the message:\n1. Who to remove (name or entity reference)\n2. Confirmation of the intent to remove\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\n## Response Format\n<response>\n<contactName>Name of the contact to remove</contactName>\n<confirmed>yes or no</confirmed>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
33
- export declare const updateContactTemplate = "# Update Contact Information\n\nCurrent message: {{message}}\nSender: {{senderName}} (ID: {{senderId}})\n\n## Instructions\nExtract the contact update information from the message:\n1. Who to update (name or entity reference)\n2. What fields to update (categories, tags, preferences, notes, custom fields)\n3. Whether to add to or replace existing values\n\n## Current Date/Time\n{{currentDateTime}}\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\n## Response Format\n<response>\n<contactName>Name of the contact to update</contactName>\n<operation>add_to or replace</operation>\n<categories>comma-separated list of categories</categories>\n<tags>comma-separated list of tags</tags>\n<preferences>key1:value1,key2:value2</preferences>\n<customFields>field1:value1,field2:value2</customFields>\n<notes>Any additional notes</notes>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
34
- export declare const shouldFollowRoomTemplate = "# Task: Decide if {{agentName}} should start following this room, i.e. eagerly participating without explicit mentions.\n\n{{recentMessages}}\n\nShould {{agentName}} start following this room, eagerly participating without explicit mentions?\nRespond with YES if:\n- The user has directly asked {{agentName}} to follow the conversation or participate more actively\n- The conversation topic is highly engaging and {{agentName}}'s input would add significant value\n- {{agentName}} has unique insights to contribute and the users seem receptive\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
35
- export declare const shouldUnfollowRoomTemplate = "# Task: Decide if {{agentName}} should stop closely following this previously followed room and only respond when mentioned.\n\n{{recentMessages}}\n\nShould {{agentName}} stop closely following this previously followed room and only respond when mentioned?\nRespond with YES if:\n- The user has suggested that {{agentName}} is over-participating or being disruptive\n- {{agentName}}'s eagerness to contribute is not well-received by the users\n- The conversation has shifted to a topic where {{agentName}} has less to add\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
36
- export declare const shouldMuteRoomTemplate = "# Task: Decide if {{agentName}} should mute this room and stop responding unless explicitly mentioned.\n\n{{recentMessages}}\n\nShould {{agentName}} mute this room and stop responding unless explicitly mentioned?\n\nRespond with YES if:\n- The user is being aggressive, rude, or inappropriate\n- The user has directly asked {{agentName}} to stop responding or be quiet\n- {{agentName}}'s responses are not well-received or are annoying the user(s)\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
37
- export declare const shouldUnmuteRoomTemplate = "# Task: Decide if {{agentName}} should unmute this previously muted room and start considering it for responses again.\n\n{{recentMessages}}\n\nShould {{agentName}} unmute this previously muted room and start considering it for responses again?\nRespond with YES if:\n- The user has explicitly asked {{agentName}} to start responding again\n- The user seems to want to re-engage with {{agentName}} in a respectful manner\n- The tone of the conversation has improved and {{agentName}}'s input would be welcome\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
38
- export declare const targetExtractionTemplate = "# Task: Extract Target and Source Information\n\n# Recent Messages:\n{{recentMessages}}\n\n# Instructions:\nAnalyze the conversation to identify:\n1. The target type (user or room)\n2. The target platform/source (e.g. telegram, discord, etc)\n3. Any identifying information about the target\n4. The message text to send\n\nReturn an XML response with:\n<response>\n <targetType>user|room</targetType>\n <source>platform-name</source>\n <messageText>text_to_send</messageText>\n <identifiers>\n <username>username_if_applicable</username>\n <roomName>room_name_if_applicable</roomName>\n </identifiers>\n</response>";
39
- export declare const updateRoleTemplate = "# Task: Update entity role in the world.\n\n{{providers}}\n\n# Current Role Assignments:\n{{roles}}\n\n# Instructions:\nBased on the request, determine the role assignment to make.\nValid roles are: OWNER, ADMIN, MEMBER, GUEST, NONE\n\nRespond using XML format like this:\n<response>\n <thought>Your reasoning for the role change</thought>\n <entity_id>The entity ID to update</entity_id>\n <new_role>The new role to assign (OWNER, ADMIN, MEMBER, GUEST, or NONE)</new_role>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
40
- export declare const initialSummarizationTemplate = "# Task: Summarize Conversation\n\nYou are analyzing a conversation to create a concise summary that captures the key points, topics, and important details.\n\n# Recent Messages\n{{recentMessages}}\n\n# Instructions\nGenerate a summary that:\n1. Captures the main topics discussed\n2. Highlights key information shared\n3. Notes any decisions made or questions asked\n4. Maintains context for future reference\n5. Is concise but comprehensive\n\n**IMPORTANT**: Keep the summary under 2500 tokens. Be comprehensive but concise.\n\nAlso extract:\n- **Topics**: List of main topics discussed (comma-separated)\n- **Key Points**: Important facts or decisions (bullet points)\n\nRespond in this XML format:\n<summary>\n <text>Your comprehensive summary here</text>\n <topics>topic1, topic2, topic3</topics>\n <keyPoints>\n <point>First key point</point>\n <point>Second key point</point>\n </keyPoints>\n</summary>";
41
- export declare const updateSummarizationTemplate = "# Task: Update and Condense Conversation Summary\n\nYou are updating an existing conversation summary with new messages, while keeping the total summary concise.\n\n# Existing Summary\n{{existingSummary}}\n\n# Existing Topics\n{{existingTopics}}\n\n# New Messages Since Last Summary\n{{newMessages}}\n\n# Instructions\nUpdate the summary by:\n1. Merging the existing summary with insights from the new messages\n2. Removing redundant or less important details to stay under the token limit\n3. Keeping the most important context and decisions\n4. Adding new topics if they emerge\n5. **CRITICAL**: Keep the ENTIRE updated summary under 2500 tokens\n\nThe goal is a rolling summary that captures the essence of the conversation without growing indefinitely.\n\nRespond in this XML format:\n<summary>\n <text>Your updated and condensed summary here</text>\n <topics>topic1, topic2, topic3</topics>\n <keyPoints>\n <point>First key point</point>\n <point>Second key point</point>\n </keyPoints>\n</summary>";
42
- export declare const longTermExtractionTemplate = "# Task: Extract Long-Term Memory (Strict Criteria)\n\nYou are analyzing a conversation to extract ONLY the most critical, persistent information about the user using cognitive science memory categories.\n\n# Recent Messages\n{{recentMessages}}\n\n# Current Long-Term Memories\n{{existingMemories}}\n\n# ULTRA-STRICT EXTRACTION CRITERIA\n\nDefault to NOT extracting. Confidence must be >= 0.85.\nIf there are no qualifying facts, respond with <memories></memories>\n\n# Response Format\n\n<memories>\n <memory>\n <category>semantic</category>\n <content>User is a senior TypeScript developer with 8 years of backend experience</content>\n <confidence>0.95</confidence>\n </memory>\n</memories>";
43
- export declare const messageClassifierTemplate = "Analyze this user request and classify it for planning purposes:\n\n\"{{text}}\"\n\nClassify the request across these dimensions:\n\n1. COMPLEXITY LEVEL:\n- simple: Direct actions that don't require planning\n- medium: Multi-step tasks requiring coordination\n- complex: Strategic initiatives with multiple stakeholders\n- enterprise: Large-scale transformations with full complexity\n\n2. PLANNING TYPE:\n- direct_action: Single action, no planning needed\n- sequential_planning: Multiple steps in sequence\n- strategic_planning: Complex coordination with stakeholders\n\n3. REQUIRED CAPABILITIES:\n- List specific capabilities needed (analysis, communication, project_management, etc.)\n\n4. STAKEHOLDERS:\n- List types of people/groups involved\n\n5. CONSTRAINTS:\n- List limitations or requirements mentioned\n\n6. DEPENDENCIES:\n- List dependencies between tasks or external factors\n\nRespond in this exact format:\nCOMPLEXITY: [simple|medium|complex|enterprise]\nPLANNING: [direct_action|sequential_planning|strategic_planning]\nCAPABILITIES: [comma-separated list]\nSTAKEHOLDERS: [comma-separated list]\nCONSTRAINTS: [comma-separated list]\nDEPENDENCIES: [comma-separated list]\nCONFIDENCE: [0.0-1.0]";
44
- export declare const SCHEDULE_FOLLOW_UP_TEMPLATE = "# Schedule Follow-up\n\nCurrent message: {{message}}\nSender: {{senderName}} (ID: {{senderId}})\n\n## Instructions\nExtract the follow-up scheduling information from the message:\n1. Who to follow up with (name or entity reference)\n2. When to follow up (date/time or relative time like \"tomorrow\", \"next week\")\n3. Reason for the follow-up\n4. Priority (high, medium, low)\n5. Any specific message or notes\n\n## Current Date/Time\n{{currentDateTime}}\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\n## Response Format\n<response>\n<contactName>Name of the contact to follow up with</contactName>\n<entityId>ID if known, otherwise leave empty</entityId>\n<scheduledAt>ISO datetime for the follow-up</scheduledAt>\n<reason>Reason for the follow-up</reason>\n<priority>high, medium, or low</priority>\n<message>Optional message or notes for the follow-up</message>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
45
- export declare const ADD_CONTACT_TEMPLATE = "# Add Contact to Rolodex\n\nCurrent message: {{message}}\nSender: {{senderName}} (ID: {{senderId}})\n\n## Instructions\nExtract the contact information from the message and determine:\n1. Who should be added as a contact (name or entity reference)\n2. What category they belong to (friend, family, colleague, acquaintance, vip, business)\n3. Any preferences or notes mentioned\n\nRespond with the extracted information in XML format.\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\n## Response Format\n<response>\n<contactName>Name of the contact to add</contactName>\n<entityId>ID if known, otherwise leave empty</entityId>\n<categories>comma-separated categories</categories>\n<notes>Any additional notes or preferences</notes>\n<timezone>Timezone if mentioned</timezone>\n<language>Language preference if mentioned</language>\n<reason>Reason for adding this contact</reason>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
46
- export declare const SEARCH_CONTACTS_TEMPLATE = "# Search Contacts\n\nCurrent message: {{message}}\nSender: {{senderName}} (ID: {{senderId}})\n\n## Instructions\nExtract the search criteria from the message:\n1. Categories to filter by (friend, family, colleague, acquaintance, vip, business)\n2. Search terms (names or keywords)\n3. Tags to filter by\n4. Any other filters mentioned\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\n## Response Format\n<response>\n<categories>comma-separated list of categories to filter by</categories>\n<searchTerm>search term for names</searchTerm>\n<tags>comma-separated list of tags</tags>\n<intent>list, search, or count</intent>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
47
- export declare const REMOVE_CONTACT_TEMPLATE = "# Remove Contact from Rolodex\n\nCurrent message: {{message}}\nSender: {{senderName}} (ID: {{senderId}})\n\n## Instructions\nExtract the contact removal information from the message:\n1. Who to remove (name or entity reference)\n2. Confirmation of the intent to remove\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\n## Response Format\n<response>\n<contactName>Name of the contact to remove</contactName>\n<confirmed>yes or no</confirmed>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
48
- export declare const UPDATE_CONTACT_TEMPLATE = "# Update Contact Information\n\nCurrent message: {{message}}\nSender: {{senderName}} (ID: {{senderId}})\n\n## Instructions\nExtract the contact update information from the message:\n1. Who to update (name or entity reference)\n2. What fields to update (categories, tags, preferences, notes, custom fields)\n3. Whether to add to or replace existing values\n\n## Current Date/Time\n{{currentDateTime}}\n\nDo NOT include any thinking, reasoning, or <think> sections in your response.\nGo directly to the XML response format without any preamble or explanation.\n\n## Response Format\n<response>\n<contactName>Name of the contact to update</contactName>\n<operation>add_to or replace</operation>\n<categories>comma-separated list of categories</categories>\n<tags>comma-separated list of tags</tags>\n<preferences>key1:value1,key2:value2</preferences>\n<customFields>field1:value1,field2:value2</customFields>\n<notes>Any additional notes</notes>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
49
- export declare const SHOULD_FOLLOW_ROOM_TEMPLATE = "# Task: Decide if {{agentName}} should start following this room, i.e. eagerly participating without explicit mentions.\n\n{{recentMessages}}\n\nShould {{agentName}} start following this room, eagerly participating without explicit mentions?\nRespond with YES if:\n- The user has directly asked {{agentName}} to follow the conversation or participate more actively\n- The conversation topic is highly engaging and {{agentName}}'s input would add significant value\n- {{agentName}} has unique insights to contribute and the users seem receptive\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
50
- export declare const SHOULD_UNFOLLOW_ROOM_TEMPLATE = "# Task: Decide if {{agentName}} should stop closely following this previously followed room and only respond when mentioned.\n\n{{recentMessages}}\n\nShould {{agentName}} stop closely following this previously followed room and only respond when mentioned?\nRespond with YES if:\n- The user has suggested that {{agentName}} is over-participating or being disruptive\n- {{agentName}}'s eagerness to contribute is not well-received by the users\n- The conversation has shifted to a topic where {{agentName}} has less to add\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
51
- export declare const SHOULD_MUTE_ROOM_TEMPLATE = "# Task: Decide if {{agentName}} should mute this room and stop responding unless explicitly mentioned.\n\n{{recentMessages}}\n\nShould {{agentName}} mute this room and stop responding unless explicitly mentioned?\n\nRespond with YES if:\n- The user is being aggressive, rude, or inappropriate\n- The user has directly asked {{agentName}} to stop responding or be quiet\n- {{agentName}}'s responses are not well-received or are annoying the user(s)\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
52
- export declare const SHOULD_UNMUTE_ROOM_TEMPLATE = "# Task: Decide if {{agentName}} should unmute this previously muted room and start considering it for responses again.\n\n{{recentMessages}}\n\nShould {{agentName}} unmute this previously muted room and start considering it for responses again?\nRespond with YES if:\n- The user has explicitly asked {{agentName}} to start responding again\n- The user seems to want to re-engage with {{agentName}} in a respectful manner\n- The tone of the conversation has improved and {{agentName}}'s input would be welcome\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
53
- export declare const shouldFollowTemplate = "# Task: Decide if {{agentName}} should start following this room, i.e. eagerly participating without explicit mentions.\n\n{{recentMessages}}\n\nShould {{agentName}} start following this room, eagerly participating without explicit mentions?\nRespond with YES if:\n- The user has directly asked {{agentName}} to follow the conversation or participate more actively\n- The conversation topic is highly engaging and {{agentName}}'s input would add significant value\n- {{agentName}} has unique insights to contribute and the users seem receptive\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
54
- export declare const shouldUnfollowTemplate = "# Task: Decide if {{agentName}} should stop closely following this previously followed room and only respond when mentioned.\n\n{{recentMessages}}\n\nShould {{agentName}} stop closely following this previously followed room and only respond when mentioned?\nRespond with YES if:\n- The user has suggested that {{agentName}} is over-participating or being disruptive\n- {{agentName}}'s eagerness to contribute is not well-received by the users\n- The conversation has shifted to a topic where {{agentName}} has less to add\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
55
- export declare const shouldMuteTemplate = "# Task: Decide if {{agentName}} should mute this room and stop responding unless explicitly mentioned.\n\n{{recentMessages}}\n\nShould {{agentName}} mute this room and stop responding unless explicitly mentioned?\n\nRespond with YES if:\n- The user is being aggressive, rude, or inappropriate\n- The user has directly asked {{agentName}} to stop responding or be quiet\n- {{agentName}}'s responses are not well-received or are annoying the user(s)\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
56
- export declare const shouldUnmuteTemplate = "# Task: Decide if {{agentName}} should unmute this previously muted room and start considering it for responses again.\n\n{{recentMessages}}\n\nShould {{agentName}} unmute this previously muted room and start considering it for responses again?\nRespond with YES if:\n- The user has explicitly asked {{agentName}} to start responding again\n- The user seems to want to re-engage with {{agentName}} in a respectful manner\n- The tone of the conversation has improved and {{agentName}}'s input would be welcome\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
57
- export declare const TARGET_EXTRACTION_TEMPLATE = "# Task: Extract Target and Source Information\n\n# Recent Messages:\n{{recentMessages}}\n\n# Instructions:\nAnalyze the conversation to identify:\n1. The target type (user or room)\n2. The target platform/source (e.g. telegram, discord, etc)\n3. Any identifying information about the target\n4. The message text to send\n\nReturn an XML response with:\n<response>\n <targetType>user|room</targetType>\n <source>platform-name</source>\n <messageText>text_to_send</messageText>\n <identifiers>\n <username>username_if_applicable</username>\n <roomName>room_name_if_applicable</roomName>\n </identifiers>\n</response>";
58
- export declare const UPDATE_ROLE_TEMPLATE = "# Task: Update entity role in the world.\n\n{{providers}}\n\n# Current Role Assignments:\n{{roles}}\n\n# Instructions:\nBased on the request, determine the role assignment to make.\nValid roles are: OWNER, ADMIN, MEMBER, GUEST, NONE\n\nRespond using XML format like this:\n<response>\n <thought>Your reasoning for the role change</thought>\n <entity_id>The entity ID to update</entity_id>\n <new_role>The new role to assign (OWNER, ADMIN, MEMBER, GUEST, or NONE)</new_role>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
59
- export declare const INITIAL_SUMMARIZATION_TEMPLATE = "# Task: Summarize Conversation\n\nYou are analyzing a conversation to create a concise summary that captures the key points, topics, and important details.\n\n# Recent Messages\n{{recentMessages}}\n\n# Instructions\nGenerate a summary that:\n1. Captures the main topics discussed\n2. Highlights key information shared\n3. Notes any decisions made or questions asked\n4. Maintains context for future reference\n5. Is concise but comprehensive\n\n**IMPORTANT**: Keep the summary under 2500 tokens. Be comprehensive but concise.\n\nAlso extract:\n- **Topics**: List of main topics discussed (comma-separated)\n- **Key Points**: Important facts or decisions (bullet points)\n\nRespond in this XML format:\n<summary>\n <text>Your comprehensive summary here</text>\n <topics>topic1, topic2, topic3</topics>\n <keyPoints>\n <point>First key point</point>\n <point>Second key point</point>\n </keyPoints>\n</summary>";
60
- export declare const UPDATE_SUMMARIZATION_TEMPLATE = "# Task: Update and Condense Conversation Summary\n\nYou are updating an existing conversation summary with new messages, while keeping the total summary concise.\n\n# Existing Summary\n{{existingSummary}}\n\n# Existing Topics\n{{existingTopics}}\n\n# New Messages Since Last Summary\n{{newMessages}}\n\n# Instructions\nUpdate the summary by:\n1. Merging the existing summary with insights from the new messages\n2. Removing redundant or less important details to stay under the token limit\n3. Keeping the most important context and decisions\n4. Adding new topics if they emerge\n5. **CRITICAL**: Keep the ENTIRE updated summary under 2500 tokens\n\nThe goal is a rolling summary that captures the essence of the conversation without growing indefinitely.\n\nRespond in this XML format:\n<summary>\n <text>Your updated and condensed summary here</text>\n <topics>topic1, topic2, topic3</topics>\n <keyPoints>\n <point>First key point</point>\n <point>Second key point</point>\n </keyPoints>\n</summary>";
61
- export declare const LONG_TERM_EXTRACTION_TEMPLATE = "# Task: Extract Long-Term Memory (Strict Criteria)\n\nYou are analyzing a conversation to extract ONLY the most critical, persistent information about the user using cognitive science memory categories.\n\n# Recent Messages\n{{recentMessages}}\n\n# Current Long-Term Memories\n{{existingMemories}}\n\n# ULTRA-STRICT EXTRACTION CRITERIA\n\nDefault to NOT extracting. Confidence must be >= 0.85.\nIf there are no qualifying facts, respond with <memories></memories>\n\n# Response Format\n\n<memories>\n <memory>\n <category>semantic</category>\n <content>User is a senior TypeScript developer with 8 years of backend experience</content>\n <confidence>0.95</confidence>\n </memory>\n</memories>";
62
- export declare const MESSAGE_CLASSIFIER_TEMPLATE = "Analyze this user request and classify it for planning purposes:\n\n\"{{text}}\"\n\nClassify the request across these dimensions:\n\n1. COMPLEXITY LEVEL:\n- simple: Direct actions that don't require planning\n- medium: Multi-step tasks requiring coordination\n- complex: Strategic initiatives with multiple stakeholders\n- enterprise: Large-scale transformations with full complexity\n\n2. PLANNING TYPE:\n- direct_action: Single action, no planning needed\n- sequential_planning: Multiple steps in sequence\n- strategic_planning: Complex coordination with stakeholders\n\n3. REQUIRED CAPABILITIES:\n- List specific capabilities needed (analysis, communication, project_management, etc.)\n\n4. STAKEHOLDERS:\n- List types of people/groups involved\n\n5. CONSTRAINTS:\n- List limitations or requirements mentioned\n\n6. DEPENDENCIES:\n- List dependencies between tasks or external factors\n\nRespond in this exact format:\nCOMPLEXITY: [simple|medium|complex|enterprise]\nPLANNING: [direct_action|sequential_planning|strategic_planning]\nCAPABILITIES: [comma-separated list]\nSTAKEHOLDERS: [comma-separated list]\nCONSTRAINTS: [comma-separated list]\nDEPENDENCIES: [comma-separated list]\nCONFIDENCE: [0.0-1.0]";
63
- export declare const reflectionEvaluatorTemplate = "# Task: Generate Agent Reflection, Extract Facts and Relationships\n\n{{providers}}\n\n# Examples:\n{{evaluationExamples}}\n\n# Entities in Room\n{{entitiesInRoom}}\n\n# Existing Relationships\n{{existingRelationships}}\n\n# Current Context:\nAgent Name: {{agentName}}\nRoom Type: {{roomType}}\nMessage Sender: {{senderName}} (ID: {{senderId}})\n\n{{recentMessages}}\n\n# Known Facts:\n{{knownFacts}}\n\n# Instructions:\n1. Generate a self-reflective thought on the conversation about your performance and interaction quality.\n2. Extract new facts from the conversation.\n3. Identify and describe relationships between entities.\n - The sourceEntityId is the UUID of the entity initiating the interaction.\n - The targetEntityId is the UUID of the entity being interacted with.\n - Relationships are one-direction, so a friendship would be two entity relationships where each entity is both the source and the target of the other.\n\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nGenerate a response in the following format:\n<response>\n <thought>a self-reflective thought on the conversation</thought>\n <facts>\n <fact>\n <claim>factual statement</claim>\n <type>fact|opinion|status</type>\n <in_bio>false</in_bio>\n <already_known>false</already_known>\n </fact>\n <!-- Add more facts as needed -->\n </facts>\n <relationships>\n <relationship>\n <sourceEntityId>entity_initiating_interaction</sourceEntityId>\n <targetEntityId>entity_being_interacted_with</targetEntityId>\n <tags>group_interaction,voice_interaction,dm_interaction,additional_tag1,additional_tag2</tags>\n </relationship>\n <!-- Add more relationships as needed -->\n </relationships>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
64
- export declare const REFLECTION_EVALUATOR_TEMPLATE = "# Task: Generate Agent Reflection, Extract Facts and Relationships\n\n{{providers}}\n\n# Examples:\n{{evaluationExamples}}\n\n# Entities in Room\n{{entitiesInRoom}}\n\n# Existing Relationships\n{{existingRelationships}}\n\n# Current Context:\nAgent Name: {{agentName}}\nRoom Type: {{roomType}}\nMessage Sender: {{senderName}} (ID: {{senderId}})\n\n{{recentMessages}}\n\n# Known Facts:\n{{knownFacts}}\n\n# Instructions:\n1. Generate a self-reflective thought on the conversation about your performance and interaction quality.\n2. Extract new facts from the conversation.\n3. Identify and describe relationships between entities.\n - The sourceEntityId is the UUID of the entity initiating the interaction.\n - The targetEntityId is the UUID of the entity being interacted with.\n - Relationships are one-direction, so a friendship would be two entity relationships where each entity is both the source and the target of the other.\n\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nGenerate a response in the following format:\n<response>\n <thought>a self-reflective thought on the conversation</thought>\n <facts>\n <fact>\n <claim>factual statement</claim>\n <type>fact|opinion|status</type>\n <in_bio>false</in_bio>\n <already_known>false</already_known>\n </fact>\n <!-- Add more facts as needed -->\n </facts>\n <relationships>\n <relationship>\n <sourceEntityId>entity_initiating_interaction</sourceEntityId>\n <targetEntityId>entity_being_interacted_with</targetEntityId>\n <tags>group_interaction,voice_interaction,dm_interaction,additional_tag1,additional_tag2</tags>\n </relationship>\n <!-- Add more relationships as needed -->\n </relationships>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.";
65
- export declare const entityResolutionTemplate = "# Task: Resolve Entity Name\nMessage Sender: {{senderName}} (ID: {{senderId}})\nAgent: {{agentName}} (ID: {{agentId}})\n\n# Entities in Room:\n{{#if entitiesInRoom}}\n{{entitiesInRoom}}\n{{/if}}\n\n{{recentMessages}}\n\n# Instructions:\n1. Analyze the context to identify which entity is being referenced\n2. Consider special references like \"me\" (the message sender) or \"you\" (agent the message is directed to)\n3. Look for usernames/handles in standard formats (e.g. @username, user#1234)\n4. Consider context from recent messages for pronouns and references\n5. If multiple matches exist, use context to disambiguate\n6. Consider recent interactions and relationship strength when resolving ambiguity\n\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nReturn an XML response with:\n<response>\n <entityId>exact-id-if-known-otherwise-null</entityId>\n <type>EXACT_MATCH | USERNAME_MATCH | NAME_MATCH | RELATIONSHIP_MATCH | AMBIGUOUS | UNKNOWN</type>\n <matches>\n <match>\n <name>matched-name</name>\n <reason>why this entity matches</reason>\n </match>\n </matches>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
66
- export declare const componentTemplate = "# Task: Extract Source and Update Component Data\n\n{{recentMessages}}\n\n{{#if existingData}}\n# Existing Component Data:\n{{existingData}}\n{{/if}}\n\n# Instructions:\n1. Analyze the conversation to identify:\n - The source/platform being referenced (e.g. telegram, x, discord)\n - Any specific component data being shared\n\n2. Generate updated component data that:\n - Is specific to the identified platform/source\n - Preserves existing data when appropriate\n - Includes the new information from the conversation\n - Contains only valid data for this component type\n\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nReturn an XML response with the following structure:\n<response>\n <source>platform-name</source>\n <data>\n <username>username_value</username>\n <displayName>display_name_value</displayName>\n </data>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
67
- export declare const settingsSuccessTemplate = "# Task: Generate a response for successful setting updates\n{{providers}}\n\n# Update Information:\n- Updated Settings: {{updateMessages}}\n- Next Required Setting: {{nextSetting.name}}\n- Remaining Required Settings: {{remainingRequired}}\n\n# Instructions:\n1. Acknowledge the successful update of settings\n2. Maintain {{agentName}}'s personality and tone\n3. Provide clear guidance on the next setting that needs to be configured\n4. Explain what the next setting is for and how to set it\n5. If appropriate, mention how many required settings remain\n\nWrite a natural, conversational response that {{agentName}} would send about the successful update and next steps.\nInclude the actions array [\"SETTING_UPDATED\"] in your response.";
68
- export declare const settingsFailureTemplate = "# Task: Generate a response for failed setting updates\n\n# About {{agentName}}:\n{{bio}}\n\n# Current Settings Status:\n{{settingsStatus}}\n\n# Next Required Setting:\n- Name: {{nextSetting.name}}\n- Description: {{nextSetting.description}}\n- Required: Yes\n- Remaining Required Settings: {{remainingRequired}}\n\n# Recent Conversation:\n{{recentMessages}}\n\n# Instructions:\n1. Express that you couldn't understand or process the setting update\n2. Maintain {{agentName}}'s personality and tone\n3. Provide clear guidance on what setting needs to be configured next\n4. Explain what the setting is for and how to set it properly\n5. Use a helpful, patient tone\n\nWrite a natural, conversational response that {{agentName}} would send about the failed update and how to proceed.\nInclude the actions array [\"SETTING_UPDATE_FAILED\"] in your response.";
69
- export declare const settingsErrorTemplate = "# Task: Generate a response for an error during setting updates\n\n# About {{agentName}}:\n{{bio}}\n\n# Recent Conversation:\n{{recentMessages}}\n\n# Instructions:\n1. Apologize for the technical difficulty\n2. Maintain {{agentName}}'s personality and tone\n3. Suggest trying again or contacting support if the issue persists\n4. Keep the message concise and helpful\n\nWrite a natural, conversational response that {{agentName}} would send about the error.\nInclude the actions array [\"SETTING_UPDATE_ERROR\"] in your response.";
70
- export declare const settingsCompletionTemplate = "# Task: Generate a response for settings completion\n\n# About {{agentName}}:\n{{bio}}\n\n# Settings Status:\n{{settingsStatus}}\n\n# Recent Conversation:\n{{recentMessages}}\n\n# Instructions:\n1. Congratulate the user on completing the settings process\n2. Maintain {{agentName}}'s personality and tone\n3. Summarize the key settings that have been configured\n4. Explain what functionality is now available\n5. Provide guidance on what the user can do next\n6. Express enthusiasm about working together\n\nWrite a natural, conversational response that {{agentName}} would send about the successful completion of settings.\nInclude the actions array [\"ONBOARDING_COMPLETE\"] in your response.";
71
- export declare const ENTITY_RESOLUTION_TEMPLATE = "# Task: Resolve Entity Name\nMessage Sender: {{senderName}} (ID: {{senderId}})\nAgent: {{agentName}} (ID: {{agentId}})\n\n# Entities in Room:\n{{#if entitiesInRoom}}\n{{entitiesInRoom}}\n{{/if}}\n\n{{recentMessages}}\n\n# Instructions:\n1. Analyze the context to identify which entity is being referenced\n2. Consider special references like \"me\" (the message sender) or \"you\" (agent the message is directed to)\n3. Look for usernames/handles in standard formats (e.g. @username, user#1234)\n4. Consider context from recent messages for pronouns and references\n5. If multiple matches exist, use context to disambiguate\n6. Consider recent interactions and relationship strength when resolving ambiguity\n\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nReturn an XML response with:\n<response>\n <entityId>exact-id-if-known-otherwise-null</entityId>\n <type>EXACT_MATCH | USERNAME_MATCH | NAME_MATCH | RELATIONSHIP_MATCH | AMBIGUOUS | UNKNOWN</type>\n <matches>\n <match>\n <name>matched-name</name>\n <reason>why this entity matches</reason>\n </match>\n </matches>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
72
- export declare const COMPONENT_TEMPLATE = "# Task: Extract Source and Update Component Data\n\n{{recentMessages}}\n\n{{#if existingData}}\n# Existing Component Data:\n{{existingData}}\n{{/if}}\n\n# Instructions:\n1. Analyze the conversation to identify:\n - The source/platform being referenced (e.g. telegram, x, discord)\n - Any specific component data being shared\n\n2. Generate updated component data that:\n - Is specific to the identified platform/source\n - Preserves existing data when appropriate\n - Includes the new information from the conversation\n - Contains only valid data for this component type\n\nDo NOT include any thinking, reasoning, or <think> sections in your response. \nGo directly to the XML response format without any preamble or explanation.\n\nReturn an XML response with the following structure:\n<response>\n <source>platform-name</source>\n <data>\n <username>username_value</username>\n <displayName>display_name_value</displayName>\n </data>\n</response>\n\nIMPORTANT: Your response must ONLY contain the <response></response> XML block above.";
73
- export declare const SETTINGS_SUCCESS_TEMPLATE = "# Task: Generate a response for successful setting updates\n{{providers}}\n\n# Update Information:\n- Updated Settings: {{updateMessages}}\n- Next Required Setting: {{nextSetting.name}}\n- Remaining Required Settings: {{remainingRequired}}\n\n# Instructions:\n1. Acknowledge the successful update of settings\n2. Maintain {{agentName}}'s personality and tone\n3. Provide clear guidance on the next setting that needs to be configured\n4. Explain what the next setting is for and how to set it\n5. If appropriate, mention how many required settings remain\n\nWrite a natural, conversational response that {{agentName}} would send about the successful update and next steps.\nInclude the actions array [\"SETTING_UPDATED\"] in your response.";
74
- export declare const SETTINGS_FAILURE_TEMPLATE = "# Task: Generate a response for failed setting updates\n\n# About {{agentName}}:\n{{bio}}\n\n# Current Settings Status:\n{{settingsStatus}}\n\n# Next Required Setting:\n- Name: {{nextSetting.name}}\n- Description: {{nextSetting.description}}\n- Required: Yes\n- Remaining Required Settings: {{remainingRequired}}\n\n# Recent Conversation:\n{{recentMessages}}\n\n# Instructions:\n1. Express that you couldn't understand or process the setting update\n2. Maintain {{agentName}}'s personality and tone\n3. Provide clear guidance on what setting needs to be configured next\n4. Explain what the setting is for and how to set it properly\n5. Use a helpful, patient tone\n\nWrite a natural, conversational response that {{agentName}} would send about the failed update and how to proceed.\nInclude the actions array [\"SETTING_UPDATE_FAILED\"] in your response.";
75
- export declare const SETTINGS_ERROR_TEMPLATE = "# Task: Generate a response for an error during setting updates\n\n# About {{agentName}}:\n{{bio}}\n\n# Recent Conversation:\n{{recentMessages}}\n\n# Instructions:\n1. Apologize for the technical difficulty\n2. Maintain {{agentName}}'s personality and tone\n3. Suggest trying again or contacting support if the issue persists\n4. Keep the message concise and helpful\n\nWrite a natural, conversational response that {{agentName}} would send about the error.\nInclude the actions array [\"SETTING_UPDATE_ERROR\"] in your response.";
76
- export declare const SETTINGS_COMPLETION_TEMPLATE = "# Task: Generate a response for settings completion\n\n# About {{agentName}}:\n{{bio}}\n\n# Settings Status:\n{{settingsStatus}}\n\n# Recent Conversation:\n{{recentMessages}}\n\n# Instructions:\n1. Congratulate the user on completing the settings process\n2. Maintain {{agentName}}'s personality and tone\n3. Summarize the key settings that have been configured\n4. Explain what functionality is now available\n5. Provide guidance on what the user can do next\n6. Express enthusiasm about working together\n\nWrite a natural, conversational response that {{agentName}} would send about the successful completion of settings.\nInclude the actions array [\"ONBOARDING_COMPLETE\"] in your response.";
77
- export declare const autonomyContinuousFirstTemplate = "You are running in AUTONOMOUS CONTINUOUS MODE.\n\nYour job: reflect on context, decide what you want to do next, and act if appropriate.\n- Use available actions/tools when they can advance the goal.\n- If you cannot act, state the missing info and the safest next step to obtain it.\n- Keep the response concise, focused on the next action.\n\nUSER CONTEXT (most recent last):\n{{targetRoomContext}}\n\nThink briefly, then state what you want to do next and take action if needed.";
78
- export declare const autonomyContinuousContinueTemplate = "You are running in AUTONOMOUS CONTINUOUS MODE.\n\nYour job: reflect on context, decide what you want to do next, and act if appropriate.\n- Use available actions/tools when they can advance the goal.\n- If you cannot act, state the missing info and the safest next step to obtain it.\n- Keep the response concise, focused on the next action.\n\nUSER CONTEXT (most recent last):\n{{targetRoomContext}}\n\nYour last autonomous note: \"{{lastThought}}\"\n\nContinue from that note. Decide the next step and act if needed.";
79
- export declare const autonomyTaskFirstTemplate = "You are running in AUTONOMOUS TASK MODE.\n\nYour job: continue helping the user and make progress toward the task.\n- Use available actions/tools to gather information or execute steps.\n- If you need UI control, use ComputerUse actions.\n- In MCP mode, selector-based actions require a process scope (pass process=... or prefix selector with \"process:<name> >> ...\").\n- Prefer safe, incremental steps; if unsure, gather more UI context before acting.\n\nUSER CHAT CONTEXT (most recent last):\n{{targetRoomContext}}\n\nDecide what to do next. Think briefly, then take the most useful action.";
80
- export declare const autonomyTaskContinueTemplate = "You are running in AUTONOMOUS TASK MODE.\n\nYour job: continue helping the user and make progress toward the task.\n- Use available actions/tools to gather information or execute steps.\n- If you need UI control, use ComputerUse actions.\n- In MCP mode, selector-based actions require a process scope (pass process=... or prefix selector with \"process:<name> >> ...\").\n- Prefer safe, incremental steps; if unsure, gather more UI context before acting.\n\nUSER CHAT CONTEXT (most recent last):\n{{targetRoomContext}}\n\nYour last autonomous note: \"{{lastThought}}\"\n\nContinue the task. Decide the next step and take action now.";
81
- export declare const AUTONOMY_CONTINUOUS_FIRST_TEMPLATE = "You are running in AUTONOMOUS CONTINUOUS MODE.\n\nYour job: reflect on context, decide what you want to do next, and act if appropriate.\n- Use available actions/tools when they can advance the goal.\n- If you cannot act, state the missing info and the safest next step to obtain it.\n- Keep the response concise, focused on the next action.\n\nUSER CONTEXT (most recent last):\n{{targetRoomContext}}\n\nThink briefly, then state what you want to do next and take action if needed.";
82
- export declare const AUTONOMY_CONTINUOUS_CONTINUE_TEMPLATE = "You are running in AUTONOMOUS CONTINUOUS MODE.\n\nYour job: reflect on context, decide what you want to do next, and act if appropriate.\n- Use available actions/tools when they can advance the goal.\n- If you cannot act, state the missing info and the safest next step to obtain it.\n- Keep the response concise, focused on the next action.\n\nUSER CONTEXT (most recent last):\n{{targetRoomContext}}\n\nYour last autonomous note: \"{{lastThought}}\"\n\nContinue from that note. Decide the next step and act if needed.";
83
- export declare const AUTONOMY_TASK_FIRST_TEMPLATE = "You are running in AUTONOMOUS TASK MODE.\n\nYour job: continue helping the user and make progress toward the task.\n- Use available actions/tools to gather information or execute steps.\n- If you need UI control, use ComputerUse actions.\n- In MCP mode, selector-based actions require a process scope (pass process=... or prefix selector with \"process:<name> >> ...\").\n- Prefer safe, incremental steps; if unsure, gather more UI context before acting.\n\nUSER CHAT CONTEXT (most recent last):\n{{targetRoomContext}}\n\nDecide what to do next. Think briefly, then take the most useful action.";
84
- export declare const AUTONOMY_TASK_CONTINUE_TEMPLATE = "You are running in AUTONOMOUS TASK MODE.\n\nYour job: continue helping the user and make progress toward the task.\n- Use available actions/tools to gather information or execute steps.\n- If you need UI control, use ComputerUse actions.\n- In MCP mode, selector-based actions require a process scope (pass process=... or prefix selector with \"process:<name> >> ...\").\n- Prefer safe, incremental steps; if unsure, gather more UI context before acting.\n\nUSER CHAT CONTEXT (most recent last):\n{{targetRoomContext}}\n\nYour last autonomous note: \"{{lastThought}}\"\n\nContinue the task. Decide the next step and take action now.";
85
- //# sourceMappingURL=prompts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,49CAgCxB,CAAC;AAEX,eAAO,MAAM,sBAAsB,g1KA4FzB,CAAC;AAEX,eAAO,MAAM,oBAAoB,iwFA4C+M,CAAC;AAEjP,eAAO,MAAM,aAAa,qCAAqC,CAAC;AAEhE,eAAO,MAAM,wBAAwB,y8CAuB3B,CAAC;AAEX,eAAO,MAAM,yBAAyB,isDA4C5B,CAAC;AAEX,eAAO,MAAM,wBAAwB,kwBAqCpC,CAAC;AAGF,eAAO,MAAM,aAAa,64CAuBsN,CAAC;AAEjP,eAAO,MAAM,oBAAoB,8hBAiBqD,CAAC;AAEvF,eAAO,MAAM,uBAAuB,ojBAiBkD,CAAC;AAEvF,eAAO,MAAM,kBAAkB,6xBAuBuD,CAAC;AAEvF,eAAO,MAAM,sBAAsB,2lBAsBmD,CAAC;AAEvF,eAAO,MAAM,oBAAoB,+qBAuBqD,CAAC;AAEvF,eAAO,MAAM,wBAAwB,i/BAuB2M,CAAC;AAGjP,eAAO,MAAM,uBAAuB,49CAAwB,CAAC;AAC7D,eAAO,MAAM,wBAAwB,g1KAAyB,CAAC;AAC/D,eAAO,MAAM,sBAAsB,iwFAAuB,CAAC;AAC3D,eAAO,MAAM,cAAc,qCAAgB,CAAC;AAC5C,eAAO,MAAM,0BAA0B,y8CAA2B,CAAC;AACnE,eAAO,MAAM,4BAA4B,isDAA4B,CAAC;AACtE,eAAO,MAAM,2BAA2B,kwBAA2B,CAAC;AACpE,eAAO,MAAM,cAAc,64CAAgB,CAAC;AAC5C,eAAO,MAAM,sBAAsB,8hBAAuB,CAAC;AAC3D,eAAO,MAAM,yBAAyB,ojBAA0B,CAAC;AACjE,eAAO,MAAM,mBAAmB,6xBAAqB,CAAC;AACtD,eAAO,MAAM,wBAAwB,2lBAAyB,CAAC;AAC/D,eAAO,MAAM,sBAAsB,+qBAAuB,CAAC;AAC3D,eAAO,MAAM,0BAA0B,i/BAA2B,CAAC;AAGnE,eAAO,MAAM,wBAAwB,ytCA6B2M,CAAC;AAEjP,eAAO,MAAM,kBAAkB,muCA2BiN,CAAC;AAEjP,eAAO,MAAM,sBAAsB,i+BAuB6M,CAAC;AAEjP,eAAO,MAAM,qBAAqB,6yBAmB8M,CAAC;AAEjP,eAAO,MAAM,qBAAqB,mrCA4B8M,CAAC;AAGjP,eAAO,MAAM,wBAAwB,qmBAWJ,CAAC;AAElC,eAAO,MAAM,0BAA0B,+kBAWN,CAAC;AAElC,eAAO,MAAM,sBAAsB,qgBAYF,CAAC;AAElC,eAAO,MAAM,wBAAwB,kkBAWJ,CAAC;AAGlC,eAAO,MAAM,wBAAwB,snBAqBzB,CAAC;AAGb,eAAO,MAAM,kBAAkB,6kBAkBuD,CAAC;AAGvF,eAAO,MAAM,4BAA4B,25BA6B9B,CAAC;AAEZ,eAAO,MAAM,2BAA2B,0/BA+B7B,CAAC;AAEZ,eAAO,MAAM,0BAA0B,osBAuB3B,CAAC;AAEb,eAAO,MAAM,yBAAyB,6rCAoChB,CAAC;AAGvB,eAAO,MAAM,2BAA2B,ytCAA2B,CAAC;AACpE,eAAO,MAAM,oBAAoB,muCAAqB,CAAC;AACvD,eAAO,MAAM,wBAAwB,i+BAAyB,CAAC;AAC/D,eAAO,MAAM,uBAAuB,6yBAAwB,CAAC;AAC7D,eAAO,MAAM,uBAAuB,mrCAAwB,CAAC;AAC7D,eAAO,MAAM,2BAA2B,qmBAA2B,CAAC;AACpE,eAAO,MAAM,6BAA6B,+kBAA6B,CAAC;AACxE,eAAO,MAAM,yBAAyB,qgBAAyB,CAAC;AAChE,eAAO,MAAM,2BAA2B,kkBAA2B,CAAC;AAEpE,eAAO,MAAM,oBAAoB,qmBAA2B,CAAC;AAC7D,eAAO,MAAM,sBAAsB,+kBAA6B,CAAC;AACjE,eAAO,MAAM,kBAAkB,qgBAAyB,CAAC;AACzD,eAAO,MAAM,oBAAoB,kkBAA2B,CAAC;AAC7D,eAAO,MAAM,0BAA0B,snBAA2B,CAAC;AACnE,eAAO,MAAM,oBAAoB,6kBAAqB,CAAC;AACvD,eAAO,MAAM,8BAA8B,25BAA+B,CAAC;AAC3E,eAAO,MAAM,6BAA6B,0/BAA8B,CAAC;AACzE,eAAO,MAAM,6BAA6B,osBAA6B,CAAC;AACxE,eAAO,MAAM,2BAA2B,6rCAA4B,CAAC;AAErE,eAAO,MAAM,2BAA2B,4iEAwDwM,CAAC;AAEjP,eAAO,MAAM,6BAA6B,4iEAA8B,CAAC;AAGzE,eAAO,MAAM,wBAAwB,8xCAkCiD,CAAC;AAGvF,eAAO,MAAM,iBAAiB,wiCAgCwD,CAAC;AAGvF,eAAO,MAAM,uBAAuB,wuBAgB4B,CAAC;AAEjE,eAAO,MAAM,uBAAuB,41BAyBkC,CAAC;AAEvE,eAAO,MAAM,qBAAqB,shBAemC,CAAC;AAEtE,eAAO,MAAM,0BAA0B,4rBAoB6B,CAAC;AAGrE,eAAO,MAAM,0BAA0B,8xCAA2B,CAAC;AACnE,eAAO,MAAM,kBAAkB,wiCAAoB,CAAC;AACpD,eAAO,MAAM,yBAAyB,wuBAA0B,CAAC;AACjE,eAAO,MAAM,yBAAyB,41BAA0B,CAAC;AACjE,eAAO,MAAM,uBAAuB,shBAAwB,CAAC;AAC7D,eAAO,MAAM,4BAA4B,4rBAA6B,CAAC;AAGvE,eAAO,MAAM,+BAA+B,seAUkC,CAAC;AAE/E,eAAO,MAAM,kCAAkC,2gBAYkB,CAAC;AAElE,eAAO,MAAM,yBAAyB,ulBAWmC,CAAC;AAE1E,eAAO,MAAM,4BAA4B,6nBAaoB,CAAC;AAG9D,eAAO,MAAM,kCAAkC,seACd,CAAC;AAClC,eAAO,MAAM,qCAAqC,2gBACd,CAAC;AACrC,eAAO,MAAM,4BAA4B,ulBAA4B,CAAC;AACtE,eAAO,MAAM,+BAA+B,6nBAA+B,CAAC"}
package/dist/roles.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import type { IAgentRuntime, Role, World } from "./types";
2
- export interface ServerOwnershipState {
3
- servers: {
4
- [serverId: string]: World;
5
- };
6
- }
7
- export declare function getUserServerRole(runtime: IAgentRuntime, entityId: string, serverId: string): Promise<Role>;
8
- export declare function findWorldsForOwner(runtime: IAgentRuntime, entityId: string): Promise<World[] | null>;
9
- //# sourceMappingURL=roles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../src/roles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAQ,KAAK,EAAE,MAAM,SAAS,CAAC;AAIhE,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE;QACP,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC;KAC3B,CAAC;CACH;AAED,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,CAAC,CAgBf;AAED,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CA6BzB"}