@dxos/assistant-toolkit 0.8.4-main.ae835ea → 0.8.4-main.c85a9c8dae

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 (403) hide show
  1. package/dist/lib/neutral/chunk-J5LGTIGS.mjs +10 -0
  2. package/dist/lib/neutral/chunk-J5LGTIGS.mjs.map +7 -0
  3. package/dist/lib/{browser → neutral}/index.mjs +2989 -1842
  4. package/dist/lib/neutral/index.mjs.map +7 -0
  5. package/dist/lib/neutral/meta.json +1 -0
  6. package/dist/lib/neutral/testing/index.mjs +81 -0
  7. package/dist/lib/neutral/testing/index.mjs.map +7 -0
  8. package/dist/types/src/blueprints/browser/blueprint.d.ts +4 -0
  9. package/dist/types/src/blueprints/browser/blueprint.d.ts.map +1 -0
  10. package/dist/types/src/blueprints/browser/blueprint.test.d.ts +2 -0
  11. package/dist/types/src/blueprints/browser/blueprint.test.d.ts.map +1 -0
  12. package/dist/types/src/blueprints/browser/index.d.ts +2 -0
  13. package/dist/types/src/blueprints/browser/index.d.ts.map +1 -0
  14. package/dist/types/src/blueprints/database/blueprint.d.ts +4 -0
  15. package/dist/types/src/blueprints/database/blueprint.d.ts.map +1 -0
  16. package/dist/types/src/blueprints/database/blueprint.test.d.ts +2 -0
  17. package/dist/types/src/blueprints/database/blueprint.test.d.ts.map +1 -0
  18. package/dist/types/src/blueprints/database/functions/context-add.d.ts +6 -0
  19. package/dist/types/src/blueprints/database/functions/context-add.d.ts.map +1 -0
  20. package/dist/types/src/blueprints/database/functions/context-remove.d.ts +6 -0
  21. package/dist/types/src/blueprints/database/functions/context-remove.d.ts.map +1 -0
  22. package/dist/types/src/blueprints/database/functions/index.d.ts +57 -0
  23. package/dist/types/src/blueprints/database/functions/index.d.ts.map +1 -0
  24. package/dist/types/src/blueprints/database/functions/load.d.ts +6 -0
  25. package/dist/types/src/blueprints/database/functions/load.d.ts.map +1 -0
  26. package/dist/types/src/blueprints/database/functions/object-create.d.ts +6 -0
  27. package/dist/types/src/blueprints/database/functions/object-create.d.ts.map +1 -0
  28. package/dist/types/src/blueprints/database/functions/object-delete.d.ts +6 -0
  29. package/dist/types/src/blueprints/database/functions/object-delete.d.ts.map +1 -0
  30. package/dist/types/src/blueprints/database/functions/object-update.d.ts +9 -0
  31. package/dist/types/src/blueprints/database/functions/object-update.d.ts.map +1 -0
  32. package/dist/types/src/blueprints/database/functions/query.d.ts +9 -0
  33. package/dist/types/src/blueprints/database/functions/query.d.ts.map +1 -0
  34. package/dist/types/src/blueprints/database/functions/relation-create.d.ts +9 -0
  35. package/dist/types/src/blueprints/database/functions/relation-create.d.ts.map +1 -0
  36. package/dist/types/src/blueprints/database/functions/relation-delete.d.ts +6 -0
  37. package/dist/types/src/blueprints/database/functions/relation-delete.d.ts.map +1 -0
  38. package/dist/types/src/blueprints/database/functions/schema-add.d.ts +7 -0
  39. package/dist/types/src/blueprints/database/functions/schema-add.d.ts.map +1 -0
  40. package/dist/types/src/blueprints/database/functions/schema-list.d.ts +5 -0
  41. package/dist/types/src/blueprints/database/functions/schema-list.d.ts.map +1 -0
  42. package/dist/types/src/blueprints/database/functions/tag-add.d.ts +7 -0
  43. package/dist/types/src/blueprints/database/functions/tag-add.d.ts.map +1 -0
  44. package/dist/types/src/blueprints/database/functions/tag-remove.d.ts +7 -0
  45. package/dist/types/src/blueprints/database/functions/tag-remove.d.ts.map +1 -0
  46. package/dist/types/src/blueprints/database/index.d.ts +3 -0
  47. package/dist/types/src/blueprints/database/index.d.ts.map +1 -0
  48. package/dist/types/src/blueprints/design/blueprint.d.ts +4 -0
  49. package/dist/types/src/blueprints/design/blueprint.d.ts.map +1 -0
  50. package/dist/types/src/blueprints/design/blueprint.test.d.ts +2 -0
  51. package/dist/types/src/blueprints/design/blueprint.test.d.ts.map +1 -0
  52. package/dist/types/src/blueprints/design/index.d.ts +1 -2
  53. package/dist/types/src/blueprints/design/index.d.ts.map +1 -1
  54. package/dist/types/src/blueprints/discord/blueprint.d.ts +4 -0
  55. package/dist/types/src/blueprints/discord/blueprint.d.ts.map +1 -0
  56. package/dist/types/src/{functions/discord → blueprints/discord/functions}/fetch-messages.d.ts +1 -1
  57. package/dist/types/src/blueprints/discord/functions/fetch-messages.d.ts.map +1 -0
  58. package/dist/types/src/blueprints/discord/functions/fetch-messages.test.d.ts.map +1 -0
  59. package/dist/types/src/{functions/discord → blueprints/discord/functions}/index.d.ts +4 -4
  60. package/dist/types/src/blueprints/discord/functions/index.d.ts.map +1 -0
  61. package/dist/types/src/blueprints/discord/index.d.ts +1 -2
  62. package/dist/types/src/blueprints/discord/index.d.ts.map +1 -1
  63. package/dist/types/src/{functions/github → blueprints/github/functions}/fetch-prs.d.ts +1 -1
  64. package/dist/types/src/blueprints/github/functions/fetch-prs.d.ts.map +1 -0
  65. package/dist/types/src/blueprints/github/functions/index.d.ts +7 -0
  66. package/dist/types/src/blueprints/github/functions/index.d.ts.map +1 -0
  67. package/dist/types/src/blueprints/github/index.d.ts +1 -0
  68. package/dist/types/src/blueprints/github/index.d.ts.map +1 -0
  69. package/dist/types/src/blueprints/index.d.ts +10 -6
  70. package/dist/types/src/blueprints/index.d.ts.map +1 -1
  71. package/dist/types/src/blueprints/linear/blueprint.d.ts +4 -0
  72. package/dist/types/src/blueprints/linear/blueprint.d.ts.map +1 -0
  73. package/dist/types/src/blueprints/linear/functions/index.d.ts +9 -0
  74. package/dist/types/src/blueprints/linear/functions/index.d.ts.map +1 -0
  75. package/dist/types/src/blueprints/linear/functions/linear.test.d.ts.map +1 -0
  76. package/dist/types/src/{functions/linear → blueprints/linear/functions}/sync-issues.d.ts +2 -2
  77. package/dist/types/src/blueprints/linear/functions/sync-issues.d.ts.map +1 -0
  78. package/dist/types/src/blueprints/linear/index.d.ts +1 -2
  79. package/dist/types/src/blueprints/linear/index.d.ts.map +1 -1
  80. package/dist/types/src/blueprints/markdown/blueprint.d.ts +4 -0
  81. package/dist/types/src/blueprints/markdown/blueprint.d.ts.map +1 -0
  82. package/dist/types/src/{functions/research/create-document.d.ts → blueprints/markdown/functions/create.d.ts} +2 -3
  83. package/dist/types/src/blueprints/markdown/functions/create.d.ts.map +1 -0
  84. package/dist/types/src/blueprints/markdown/functions/index.d.ts +30 -0
  85. package/dist/types/src/blueprints/markdown/functions/index.d.ts.map +1 -0
  86. package/dist/types/src/blueprints/markdown/functions/read.d.ts +14 -0
  87. package/dist/types/src/blueprints/markdown/functions/read.d.ts.map +1 -0
  88. package/dist/types/src/blueprints/markdown/functions/update.d.ts +13 -0
  89. package/dist/types/src/blueprints/markdown/functions/update.d.ts.map +1 -0
  90. package/dist/types/src/blueprints/markdown/index.d.ts +3 -0
  91. package/dist/types/src/blueprints/markdown/index.d.ts.map +1 -0
  92. package/dist/types/src/blueprints/planning/blueprint.d.ts +4 -0
  93. package/dist/types/src/blueprints/planning/blueprint.d.ts.map +1 -0
  94. package/dist/types/src/blueprints/planning/functions/index.d.ts +10 -0
  95. package/dist/types/src/blueprints/planning/functions/index.d.ts.map +1 -0
  96. package/dist/types/src/blueprints/planning/functions/update-tasks.d.ts +9 -0
  97. package/dist/types/src/blueprints/planning/functions/update-tasks.d.ts.map +1 -0
  98. package/dist/types/src/blueprints/planning/index.d.ts +1 -2
  99. package/dist/types/src/blueprints/planning/index.d.ts.map +1 -1
  100. package/dist/types/src/blueprints/planning-old/blueprint.d.ts +4 -0
  101. package/dist/types/src/blueprints/planning-old/blueprint.d.ts.map +1 -0
  102. package/dist/types/src/blueprints/planning-old/blueprint.test.d.ts +2 -0
  103. package/dist/types/src/blueprints/planning-old/blueprint.test.d.ts.map +1 -0
  104. package/dist/types/src/blueprints/planning-old/functions/index.d.ts +29 -0
  105. package/dist/types/src/blueprints/planning-old/functions/index.d.ts.map +1 -0
  106. package/dist/types/src/blueprints/planning-old/functions/read.d.ts +14 -0
  107. package/dist/types/src/blueprints/planning-old/functions/read.d.ts.map +1 -0
  108. package/dist/types/src/blueprints/planning-old/functions/task-list.d.ts.map +1 -0
  109. package/dist/types/src/blueprints/planning-old/functions/task-list.test.d.ts.map +1 -0
  110. package/dist/types/src/blueprints/planning-old/functions/update.d.ts +16 -0
  111. package/dist/types/src/blueprints/planning-old/functions/update.d.ts.map +1 -0
  112. package/dist/types/src/blueprints/planning-old/index.d.ts +2 -0
  113. package/dist/types/src/blueprints/planning-old/index.d.ts.map +1 -0
  114. package/dist/types/src/blueprints/project/blueprint.d.ts +4 -0
  115. package/dist/types/src/blueprints/project/blueprint.d.ts.map +1 -0
  116. package/dist/types/src/blueprints/project/blueprint.test.d.ts +2 -0
  117. package/dist/types/src/blueprints/project/blueprint.test.d.ts.map +1 -0
  118. package/dist/types/src/blueprints/project/functions/add-artifact.d.ts +7 -0
  119. package/dist/types/src/blueprints/project/functions/add-artifact.d.ts.map +1 -0
  120. package/dist/types/src/blueprints/project/functions/agent.d.ts +62 -0
  121. package/dist/types/src/blueprints/project/functions/agent.d.ts.map +1 -0
  122. package/dist/types/src/blueprints/project/functions/get-context.d.ts +13 -0
  123. package/dist/types/src/blueprints/project/functions/get-context.d.ts.map +1 -0
  124. package/dist/types/src/blueprints/project/functions/index.d.ts +133 -0
  125. package/dist/types/src/blueprints/project/functions/index.d.ts.map +1 -0
  126. package/dist/types/src/blueprints/project/functions/qualifier.d.ts +60 -0
  127. package/dist/types/src/blueprints/project/functions/qualifier.d.ts.map +1 -0
  128. package/dist/types/src/blueprints/project/index.d.ts +3 -0
  129. package/dist/types/src/blueprints/project/index.d.ts.map +1 -0
  130. package/dist/types/src/blueprints/research/blueprint.d.ts +4 -0
  131. package/dist/types/src/blueprints/research/blueprint.d.ts.map +1 -0
  132. package/dist/types/src/blueprints/research/blueprint.test.d.ts +2 -0
  133. package/dist/types/src/blueprints/research/blueprint.test.d.ts.map +1 -0
  134. package/dist/types/src/blueprints/research/functions/document-create.d.ts +10 -0
  135. package/dist/types/src/blueprints/research/functions/document-create.d.ts.map +1 -0
  136. package/dist/types/src/blueprints/research/functions/index.d.ts +19 -0
  137. package/dist/types/src/blueprints/research/functions/index.d.ts.map +1 -0
  138. package/dist/types/src/{functions/research → blueprints/research/functions}/research.d.ts +4 -3
  139. package/dist/types/src/blueprints/research/functions/research.d.ts.map +1 -0
  140. package/dist/types/src/blueprints/research/functions/research.test.d.ts.map +1 -0
  141. package/dist/types/src/blueprints/research/index.d.ts +2 -2
  142. package/dist/types/src/blueprints/research/index.d.ts.map +1 -1
  143. package/dist/types/src/blueprints/research/types/ResearchGraph.d.ts +18 -0
  144. package/dist/types/src/blueprints/research/types/ResearchGraph.d.ts.map +1 -0
  145. package/dist/types/src/blueprints/research/types/index.d.ts +7 -0
  146. package/dist/types/src/blueprints/research/types/index.d.ts.map +1 -0
  147. package/dist/types/src/blueprints/testing.d.ts +18 -4
  148. package/dist/types/src/blueprints/testing.d.ts.map +1 -1
  149. package/dist/types/src/blueprints/websearch/blueprint.d.ts +4 -0
  150. package/dist/types/src/blueprints/websearch/blueprint.d.ts.map +1 -0
  151. package/dist/types/src/blueprints/websearch/index.d.ts +2 -3
  152. package/dist/types/src/blueprints/websearch/index.d.ts.map +1 -1
  153. package/dist/types/src/blueprints/websearch/{websearch-toolkit.d.ts → toolkit.d.ts} +2 -1
  154. package/dist/types/src/blueprints/websearch/toolkit.d.ts.map +1 -0
  155. package/dist/types/src/{functions/research → crud}/graph.d.ts +14 -11
  156. package/dist/types/src/crud/graph.d.ts.map +1 -0
  157. package/dist/types/src/crud/graph.test.d.ts.map +1 -0
  158. package/dist/types/src/crud/index.d.ts +2 -0
  159. package/dist/types/src/crud/index.d.ts.map +1 -0
  160. package/dist/types/src/functions/agent/index.d.ts +84 -4
  161. package/dist/types/src/functions/agent/index.d.ts.map +1 -1
  162. package/dist/types/src/functions/agent/prompt.d.ts +81 -8
  163. package/dist/types/src/functions/agent/prompt.d.ts.map +1 -1
  164. package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts +142 -136
  165. package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts.map +1 -1
  166. package/dist/types/src/functions/entity-extraction/index.d.ts +144 -139
  167. package/dist/types/src/functions/entity-extraction/index.d.ts.map +1 -1
  168. package/dist/types/src/functions/exa/data/exa-search-1748337321991.d.ts.map +1 -0
  169. package/dist/types/src/functions/exa/data/exa-search-1748337331526.d.ts.map +1 -0
  170. package/dist/types/src/functions/exa/data/exa-search-1748337344119.d.ts.map +1 -0
  171. package/dist/types/src/functions/exa/data/index.d.ts.map +1 -0
  172. package/dist/types/src/functions/exa/exa.d.ts +1 -1
  173. package/dist/types/src/functions/exa/index.d.ts +8 -2
  174. package/dist/types/src/functions/exa/index.d.ts.map +1 -1
  175. package/dist/types/src/functions/exa/mock.d.ts +1 -1
  176. package/dist/types/src/functions/index.d.ts +1 -5
  177. package/dist/types/src/functions/index.d.ts.map +1 -1
  178. package/dist/types/src/index.d.ts +3 -1
  179. package/dist/types/src/index.d.ts.map +1 -1
  180. package/dist/types/src/sync/sync.d.ts +3 -3
  181. package/dist/types/src/sync/sync.d.ts.map +1 -1
  182. package/dist/types/src/testing/index.d.ts +2 -1
  183. package/dist/types/src/testing/index.d.ts.map +1 -1
  184. package/dist/types/src/testing/plugins.d.ts +19 -0
  185. package/dist/types/src/testing/plugins.d.ts.map +1 -0
  186. package/dist/types/src/toolkits/WebToolkit.d.ts +38 -0
  187. package/dist/types/src/toolkits/WebToolkit.d.ts.map +1 -0
  188. package/dist/types/src/toolkits/index.d.ts +2 -0
  189. package/dist/types/src/toolkits/index.d.ts.map +1 -0
  190. package/dist/types/src/types/Chat.d.ts +31 -0
  191. package/dist/types/src/types/Chat.d.ts.map +1 -0
  192. package/dist/types/src/types/Plan.d.ts +77 -0
  193. package/dist/types/src/types/Plan.d.ts.map +1 -0
  194. package/dist/types/src/types/Project.d.ts +67 -0
  195. package/dist/types/src/types/Project.d.ts.map +1 -0
  196. package/dist/types/src/types/index.d.ts +4 -0
  197. package/dist/types/src/types/index.d.ts.map +1 -0
  198. package/dist/types/tsconfig.tsbuildinfo +1 -1
  199. package/package.json +49 -38
  200. package/src/blueprints/browser/blueprint.conversations.json +1 -0
  201. package/src/blueprints/browser/blueprint.test.ts +70 -0
  202. package/src/blueprints/browser/blueprint.ts +41 -0
  203. package/src/blueprints/browser/index.ts +5 -0
  204. package/src/blueprints/database/blueprint.conversations.json +1 -0
  205. package/src/blueprints/database/blueprint.test.ts +321 -0
  206. package/src/blueprints/database/blueprint.ts +39 -0
  207. package/src/blueprints/database/functions/context-add.ts +35 -0
  208. package/src/blueprints/database/functions/context-remove.ts +35 -0
  209. package/src/blueprints/database/functions/index.ts +33 -0
  210. package/src/blueprints/database/functions/load.ts +31 -0
  211. package/src/blueprints/database/functions/object-create.ts +35 -0
  212. package/src/blueprints/database/functions/object-delete.ts +27 -0
  213. package/src/blueprints/database/functions/object-update.ts +32 -0
  214. package/src/blueprints/database/functions/query.ts +126 -0
  215. package/src/blueprints/database/functions/relation-create.ts +47 -0
  216. package/src/blueprints/database/functions/relation-delete.ts +28 -0
  217. package/src/blueprints/database/functions/schema-add.ts +40 -0
  218. package/src/blueprints/database/functions/schema-list.ts +34 -0
  219. package/src/blueprints/database/functions/tag-add.ts +31 -0
  220. package/src/blueprints/database/functions/tag-remove.ts +30 -0
  221. package/src/blueprints/database/index.ts +6 -0
  222. package/src/blueprints/design/{design-blueprint.test.ts → blueprint.test.ts} +25 -37
  223. package/src/blueprints/design/blueprint.ts +46 -0
  224. package/src/blueprints/design/index.ts +1 -3
  225. package/src/blueprints/discord/blueprint.ts +46 -0
  226. package/src/{functions/discord → blueprints/discord/functions}/fetch-messages.test.ts +10 -14
  227. package/src/{functions/discord → blueprints/discord/functions}/fetch-messages.ts +11 -10
  228. package/src/blueprints/discord/functions/index.ts +9 -0
  229. package/src/blueprints/discord/index.ts +1 -3
  230. package/src/{functions/github → blueprints/github/functions}/fetch-prs.ts +3 -2
  231. package/src/blueprints/github/functions/index.ts +9 -0
  232. package/src/blueprints/github/index.ts +3 -0
  233. package/src/blueprints/index.ts +10 -6
  234. package/src/blueprints/linear/blueprint.ts +47 -0
  235. package/src/blueprints/linear/functions/index.ts +9 -0
  236. package/src/blueprints/linear/functions/linear.test.ts +58 -0
  237. package/src/{functions/linear → blueprints/linear/functions}/sync-issues.ts +17 -15
  238. package/src/blueprints/linear/index.ts +1 -3
  239. package/src/blueprints/markdown/blueprint.ts +38 -0
  240. package/src/blueprints/markdown/functions/create.ts +29 -0
  241. package/src/blueprints/markdown/functions/index.ts +13 -0
  242. package/src/blueprints/markdown/functions/read.ts +32 -0
  243. package/src/{functions/document → blueprints/markdown/functions}/update.ts +9 -7
  244. package/src/blueprints/markdown/index.ts +6 -0
  245. package/src/blueprints/planning/blueprint.ts +28 -0
  246. package/src/blueprints/planning/functions/index.ts +9 -0
  247. package/src/blueprints/planning/functions/update-tasks.ts +168 -0
  248. package/src/blueprints/planning/index.ts +2 -4
  249. package/src/blueprints/{planning/planning-blueprint.test.ts → planning-old/blueprint.test.ts} +25 -32
  250. package/src/blueprints/{planning/planning-blueprint.ts → planning-old/blueprint.ts} +24 -12
  251. package/src/blueprints/planning-old/functions/index.ts +11 -0
  252. package/src/{functions/tasks → blueprints/planning-old/functions}/read.ts +6 -6
  253. package/src/{functions/tasks → blueprints/planning-old/functions}/update.ts +6 -6
  254. package/src/blueprints/planning-old/index.ts +5 -0
  255. package/src/blueprints/project/blueprint.test.ts +579 -0
  256. package/src/blueprints/project/blueprint.ts +68 -0
  257. package/src/blueprints/project/functions/add-artifact.ts +41 -0
  258. package/src/blueprints/project/functions/agent.ts +72 -0
  259. package/src/blueprints/project/functions/get-context.ts +63 -0
  260. package/src/blueprints/project/functions/index.ts +15 -0
  261. package/src/blueprints/project/functions/qualifier.ts +96 -0
  262. package/src/blueprints/project/index.ts +6 -0
  263. package/src/blueprints/research/blueprint.ts +65 -0
  264. package/src/blueprints/research/functions/document-create.ts +73 -0
  265. package/src/blueprints/research/functions/index.ts +11 -0
  266. package/src/{functions/research/instructions-research.tpl → blueprints/research/functions/research-instructions.tpl} +14 -6
  267. package/src/blueprints/research/functions/research.conversations.json +1 -0
  268. package/src/blueprints/research/functions/research.test.ts +149 -0
  269. package/src/blueprints/research/functions/research.ts +175 -0
  270. package/src/blueprints/research/index.ts +2 -3
  271. package/src/blueprints/research/types/ResearchGraph.ts +49 -0
  272. package/src/blueprints/research/types/index.ts +32 -0
  273. package/src/blueprints/testing.ts +36 -5
  274. package/src/blueprints/websearch/blueprint.ts +32 -0
  275. package/src/blueprints/websearch/index.ts +2 -4
  276. package/src/crud/graph.test.ts +46 -0
  277. package/src/{functions/research → crud}/graph.ts +32 -40
  278. package/src/crud/index.ts +5 -0
  279. package/src/functions/READ_THIS.md +5 -0
  280. package/src/functions/agent/index.ts +4 -6
  281. package/src/functions/agent/prompt.ts +32 -25
  282. package/src/functions/entity-extraction/entity-extraction.conversations.json +1 -1
  283. package/src/functions/entity-extraction/entity-extraction.test.ts +17 -43
  284. package/src/functions/entity-extraction/entity-extraction.ts +54 -36
  285. package/src/functions/entity-extraction/index.ts +4 -4
  286. package/src/functions/exa/exa.ts +2 -2
  287. package/src/functions/exa/index.ts +7 -2
  288. package/src/functions/exa/mock.ts +1 -1
  289. package/src/functions/index.ts +1 -5
  290. package/src/index.ts +3 -1
  291. package/src/sync/sync.ts +38 -30
  292. package/src/testing/index.ts +2 -1
  293. package/src/testing/plugins.tsx +72 -0
  294. package/src/toolkits/WebToolkit.ts +33 -0
  295. package/src/toolkits/index.ts +5 -0
  296. package/src/types/Chat.ts +49 -0
  297. package/src/types/Plan.ts +107 -0
  298. package/src/types/Project.ts +196 -0
  299. package/src/types/index.ts +7 -0
  300. package/dist/lib/browser/index.mjs.map +0 -7
  301. package/dist/lib/browser/meta.json +0 -1
  302. package/dist/lib/node-esm/index.mjs +0 -2483
  303. package/dist/lib/node-esm/index.mjs.map +0 -7
  304. package/dist/lib/node-esm/meta.json +0 -1
  305. package/dist/types/src/blueprints/design/design-blueprint.d.ts +0 -4
  306. package/dist/types/src/blueprints/design/design-blueprint.d.ts.map +0 -1
  307. package/dist/types/src/blueprints/design/design-blueprint.test.d.ts +0 -2
  308. package/dist/types/src/blueprints/design/design-blueprint.test.d.ts.map +0 -1
  309. package/dist/types/src/blueprints/discord/discord-blueprint.d.ts +0 -18
  310. package/dist/types/src/blueprints/discord/discord-blueprint.d.ts.map +0 -1
  311. package/dist/types/src/blueprints/linear/linear-blueprint.d.ts +0 -18
  312. package/dist/types/src/blueprints/linear/linear-blueprint.d.ts.map +0 -1
  313. package/dist/types/src/blueprints/planning/planning-blueprint.d.ts +0 -4
  314. package/dist/types/src/blueprints/planning/planning-blueprint.d.ts.map +0 -1
  315. package/dist/types/src/blueprints/planning/planning-blueprint.test.d.ts +0 -2
  316. package/dist/types/src/blueprints/planning/planning-blueprint.test.d.ts.map +0 -1
  317. package/dist/types/src/blueprints/research/research-blueprint.d.ts +0 -4
  318. package/dist/types/src/blueprints/research/research-blueprint.d.ts.map +0 -1
  319. package/dist/types/src/blueprints/research/research-blueprint.test.d.ts +0 -2
  320. package/dist/types/src/blueprints/research/research-blueprint.test.d.ts.map +0 -1
  321. package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts +0 -4
  322. package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts.map +0 -1
  323. package/dist/types/src/blueprints/websearch/websearch-toolkit.d.ts.map +0 -1
  324. package/dist/types/src/experimental/feed.test.d.ts +0 -2
  325. package/dist/types/src/experimental/feed.test.d.ts.map +0 -1
  326. package/dist/types/src/functions/discord/fetch-messages.d.ts.map +0 -1
  327. package/dist/types/src/functions/discord/fetch-messages.test.d.ts.map +0 -1
  328. package/dist/types/src/functions/discord/index.d.ts.map +0 -1
  329. package/dist/types/src/functions/document/index.d.ts +0 -12
  330. package/dist/types/src/functions/document/index.d.ts.map +0 -1
  331. package/dist/types/src/functions/document/read.d.ts +0 -7
  332. package/dist/types/src/functions/document/read.d.ts.map +0 -1
  333. package/dist/types/src/functions/document/update.d.ts +0 -6
  334. package/dist/types/src/functions/document/update.d.ts.map +0 -1
  335. package/dist/types/src/functions/github/fetch-prs.d.ts.map +0 -1
  336. package/dist/types/src/functions/linear/index.d.ts +0 -9
  337. package/dist/types/src/functions/linear/index.d.ts.map +0 -1
  338. package/dist/types/src/functions/linear/linear.test.d.ts.map +0 -1
  339. package/dist/types/src/functions/linear/sync-issues.d.ts.map +0 -1
  340. package/dist/types/src/functions/research/create-document.d.ts.map +0 -1
  341. package/dist/types/src/functions/research/graph.d.ts.map +0 -1
  342. package/dist/types/src/functions/research/graph.test.d.ts.map +0 -1
  343. package/dist/types/src/functions/research/index.d.ts +0 -19
  344. package/dist/types/src/functions/research/index.d.ts.map +0 -1
  345. package/dist/types/src/functions/research/research-graph.d.ts +0 -18
  346. package/dist/types/src/functions/research/research-graph.d.ts.map +0 -1
  347. package/dist/types/src/functions/research/research.d.ts.map +0 -1
  348. package/dist/types/src/functions/research/research.test.d.ts.map +0 -1
  349. package/dist/types/src/functions/research/types.d.ts +0 -384
  350. package/dist/types/src/functions/research/types.d.ts.map +0 -1
  351. package/dist/types/src/functions/tasks/index.d.ts +0 -15
  352. package/dist/types/src/functions/tasks/index.d.ts.map +0 -1
  353. package/dist/types/src/functions/tasks/read.d.ts +0 -7
  354. package/dist/types/src/functions/tasks/read.d.ts.map +0 -1
  355. package/dist/types/src/functions/tasks/task-list.d.ts.map +0 -1
  356. package/dist/types/src/functions/tasks/task-list.test.d.ts.map +0 -1
  357. package/dist/types/src/functions/tasks/update.d.ts +0 -9
  358. package/dist/types/src/functions/tasks/update.d.ts.map +0 -1
  359. package/dist/types/src/plugins.d.ts +0 -19
  360. package/dist/types/src/plugins.d.ts.map +0 -1
  361. package/dist/types/src/testing/data/exa-search-1748337321991.d.ts.map +0 -1
  362. package/dist/types/src/testing/data/exa-search-1748337331526.d.ts.map +0 -1
  363. package/dist/types/src/testing/data/exa-search-1748337344119.d.ts.map +0 -1
  364. package/dist/types/src/testing/data/index.d.ts.map +0 -1
  365. package/src/blueprints/design/design-blueprint.ts +0 -33
  366. package/src/blueprints/discord/discord-blueprint.ts +0 -34
  367. package/src/blueprints/linear/linear-blueprint.ts +0 -35
  368. package/src/blueprints/research/research-blueprint.ts +0 -45
  369. package/src/blueprints/websearch/websearch-blueprint.ts +0 -20
  370. package/src/experimental/feed.test.ts +0 -108
  371. package/src/functions/discord/index.ts +0 -9
  372. package/src/functions/document/index.ts +0 -11
  373. package/src/functions/document/read.ts +0 -29
  374. package/src/functions/linear/index.ts +0 -9
  375. package/src/functions/linear/linear.test.ts +0 -86
  376. package/src/functions/research/create-document.ts +0 -69
  377. package/src/functions/research/graph.test.ts +0 -69
  378. package/src/functions/research/index.ts +0 -15
  379. package/src/functions/research/research-graph.ts +0 -47
  380. package/src/functions/research/research.conversations.json +0 -10714
  381. package/src/functions/research/research.test.ts +0 -240
  382. package/src/functions/research/research.ts +0 -155
  383. package/src/functions/research/types.ts +0 -24
  384. package/src/functions/tasks/index.ts +0 -11
  385. package/src/plugins.tsx +0 -68
  386. /package/dist/types/src/{functions/discord → blueprints/discord/functions}/fetch-messages.test.d.ts +0 -0
  387. /package/dist/types/src/{functions/linear → blueprints/linear/functions}/linear.test.d.ts +0 -0
  388. /package/dist/types/src/{functions/tasks → blueprints/planning-old/functions}/task-list.d.ts +0 -0
  389. /package/dist/types/src/{functions/tasks → blueprints/planning-old/functions}/task-list.test.d.ts +0 -0
  390. /package/dist/types/src/{functions/research → blueprints/research/functions}/research.test.d.ts +0 -0
  391. /package/dist/types/src/{functions/research → crud}/graph.test.d.ts +0 -0
  392. /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337321991.d.ts +0 -0
  393. /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337331526.d.ts +0 -0
  394. /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337344119.d.ts +0 -0
  395. /package/dist/types/src/{testing → functions/exa}/data/index.d.ts +0 -0
  396. /package/src/{functions/tasks → blueprints/planning-old/functions}/task-list.test.ts +0 -0
  397. /package/src/{functions/tasks → blueprints/planning-old/functions}/task-list.ts +0 -0
  398. /package/src/blueprints/research/{research-blueprint.test.ts → blueprint.test.ts} +0 -0
  399. /package/src/blueprints/websearch/{websearch-toolkit.ts → toolkit.ts} +0 -0
  400. /package/src/{testing → functions/exa}/data/exa-search-1748337321991.ts +0 -0
  401. /package/src/{testing → functions/exa}/data/exa-search-1748337331526.ts +0 -0
  402. /package/src/{testing → functions/exa}/data/exa-search-1748337344119.ts +0 -0
  403. /package/src/{testing → functions/exa}/data/index.ts +0 -0
@@ -1,50 +1,48 @@
1
- export declare namespace EntityExtraction {
2
- const extract: import("@dxos/functions").FunctionDefinition<{
1
+ export declare const EntityExtractionFunctions: {
2
+ Extract: import("@dxos/functions").FunctionDefinition<{
3
3
  readonly instructions?: string | undefined;
4
- readonly source: import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
5
- properties?: {
6
- [x: string]: any;
7
- } | undefined;
8
- id: string;
9
- parentMessage?: string | undefined;
10
- created: string;
11
- sender: {
12
- name?: string | undefined;
13
- contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
14
- fields?: {
15
- readonly value: string;
16
- readonly category?: string | undefined;
17
- readonly label: string;
18
- }[] | undefined;
19
- fullName?: string | undefined;
20
- preferredName?: string | undefined;
21
- nickname?: string | undefined;
22
- image?: string | undefined;
23
- organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
24
- id: string;
25
- description?: string | undefined;
26
- name?: string | undefined;
27
- status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
28
- image?: string | undefined;
29
- website?: string | undefined;
30
- location?: readonly [number, number, (number | undefined)?] | undefined;
4
+ readonly source: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
5
+ readonly id: string;
6
+ readonly parentMessage?: string | undefined;
7
+ readonly created: string;
8
+ readonly sender: {
9
+ readonly name?: string | undefined;
10
+ readonly role?: "user" | "assistant" | "tool" | undefined;
11
+ readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
12
+ readonly image?: string | undefined;
13
+ readonly fullName?: string | undefined;
14
+ readonly preferredName?: string | undefined;
15
+ readonly nickname?: string | undefined;
16
+ readonly organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
17
+ readonly description?: string | undefined;
18
+ readonly name?: string | undefined;
19
+ readonly status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
20
+ readonly image?: string | undefined;
21
+ readonly website?: string | undefined;
22
+ } & {
23
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
31
24
  }> | undefined;
32
- jobTitle?: string | undefined;
33
- department?: string | undefined;
34
- notes?: string | undefined;
35
- emails?: {
25
+ readonly jobTitle?: string | undefined;
26
+ readonly department?: string | undefined;
27
+ readonly notes?: string | undefined;
28
+ readonly emails?: readonly {
36
29
  readonly value: string;
37
30
  readonly label?: string | undefined;
38
31
  }[] | undefined;
39
- identities?: {
32
+ readonly identities?: readonly {
40
33
  readonly value: string;
41
34
  readonly label?: string | undefined;
42
35
  }[] | undefined;
43
- phoneNumbers?: {
36
+ readonly phoneNumbers?: readonly {
44
37
  readonly value: string;
45
38
  readonly label?: string | undefined;
46
39
  }[] | undefined;
47
- addresses?: {
40
+ readonly fields?: readonly {
41
+ readonly value: string;
42
+ readonly label: string;
43
+ readonly category?: string | undefined;
44
+ }[] | undefined;
45
+ readonly addresses?: readonly {
48
46
  readonly value: {
49
47
  readonly street?: string | undefined;
50
48
  readonly extended?: string | undefined;
@@ -56,119 +54,126 @@ export declare namespace EntityExtraction {
56
54
  };
57
55
  readonly label?: string | undefined;
58
56
  }[] | undefined;
59
- urls?: {
57
+ readonly urls?: readonly {
60
58
  readonly value: string;
61
59
  readonly label?: string | undefined;
62
60
  }[] | undefined;
63
- birthday?: string | undefined;
64
- location?: readonly [number, number, (number | undefined)?] | undefined;
61
+ readonly birthday?: string | undefined;
62
+ } & {
63
+ readonly location?: readonly [number, number, (number | undefined)?] | undefined;
65
64
  }> | undefined;
66
- identityDid?: string | undefined;
67
- identityKey?: string | undefined;
68
- email?: string | undefined;
69
- role?: "user" | "assistant" | "tool" | undefined;
65
+ readonly identityDid?: string | undefined;
66
+ readonly identityKey?: string | undefined;
67
+ readonly email?: string | undefined;
70
68
  };
71
- blocks: ({
72
- version: unknown;
73
- _tag: "anchor";
74
- pending?: boolean | undefined;
75
- objectId: string;
76
- } | {
77
- name?: string | undefined;
78
- _tag: "file";
79
- url: string;
80
- pending?: boolean | undefined;
81
- mediaType?: string | undefined;
82
- } | {
83
- source?: {
84
- type: "base64";
85
- data: string;
86
- mediaType: string;
87
- } | {
88
- type: "http";
89
- url: string;
90
- } | undefined;
91
- id?: string | undefined;
92
- _tag: "image";
93
- pending?: boolean | undefined;
94
- } | {
95
- data: string;
96
- _tag: "json";
97
- pending?: boolean | undefined;
98
- disposition?: string | undefined;
99
- } | {
100
- _tag: "proposal";
101
- text: string;
102
- pending?: boolean | undefined;
103
- } | {
104
- _tag: "reasoning";
105
- pending?: boolean | undefined;
106
- reasoningText?: string | undefined;
107
- redactedText?: string | undefined;
108
- signature?: string | undefined;
109
- } | {
110
- reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").Expando>;
111
- _tag: "reference";
112
- pending?: boolean | undefined;
113
- } | {
114
- _tag: "select";
115
- pending?: boolean | undefined;
116
- options: readonly string[];
117
- } | {
118
- _tag: "status";
119
- pending?: boolean | undefined;
120
- statusText: string;
121
- } | {
122
- _tag: "suggestion";
123
- text: string;
124
- pending?: boolean | undefined;
125
- } | {
126
- model?: string | undefined;
127
- _tag: "summary";
128
- pending?: boolean | undefined;
129
- mimeType?: string | undefined;
130
- message?: string | undefined;
131
- usage?: {
69
+ readonly blocks: readonly ({
70
+ readonly pending?: boolean | undefined;
71
+ readonly text: string;
72
+ readonly mimeType?: string | undefined;
73
+ readonly disposition?: string | undefined;
74
+ readonly _tag: "text";
75
+ } | {
76
+ readonly pending?: boolean | undefined;
77
+ readonly _tag: "reasoning";
78
+ readonly reasoningText?: string | undefined;
79
+ readonly redactedText?: string | undefined;
80
+ readonly signature?: string | undefined;
81
+ } | {
82
+ readonly name: string;
83
+ readonly pending?: boolean | undefined;
84
+ readonly _tag: "toolCall";
85
+ readonly toolCallId: string;
86
+ readonly input: string;
87
+ readonly providerExecuted: boolean;
88
+ } | {
89
+ readonly name: string;
90
+ readonly pending?: boolean | undefined;
91
+ readonly _tag: "toolResult";
92
+ readonly toolCallId: string;
93
+ readonly providerExecuted: boolean;
94
+ readonly result?: string | undefined;
95
+ readonly error?: string | undefined;
96
+ } | {
97
+ readonly pending?: boolean | undefined;
98
+ readonly mimeType?: string | undefined;
99
+ readonly _tag: "stats";
100
+ readonly message?: string | undefined;
101
+ readonly model?: string | undefined;
102
+ readonly usage?: {
132
103
  readonly inputTokens?: number | undefined;
133
104
  readonly outputTokens?: number | undefined;
134
105
  readonly totalTokens?: number | undefined;
135
106
  } | undefined;
136
- toolCalls?: number | undefined;
137
- errors?: number | undefined;
138
- duration?: number | undefined;
139
- } | {
140
- _tag: "text";
141
- text: string;
142
- pending?: boolean | undefined;
143
- disposition?: string | undefined;
144
- mimeType?: string | undefined;
145
- } | {
146
- _tag: "toolkit";
147
- pending?: boolean | undefined;
148
- } | {
149
- name: string;
150
- input: string;
151
- _tag: "toolCall";
152
- pending?: boolean | undefined;
153
- toolCallId: string;
154
- providerExecuted: boolean;
155
- } | {
156
- name: string;
157
- _tag: "toolResult";
158
- pending?: boolean | undefined;
159
- toolCallId: string;
160
- providerExecuted: boolean;
161
- result?: string | undefined;
162
- error?: string | undefined;
163
- } | {
164
- _tag: "transcript";
165
- text: string;
166
- pending?: boolean | undefined;
167
- started: string;
107
+ readonly toolCalls?: number | undefined;
108
+ readonly errors?: number | undefined;
109
+ readonly duration?: number | undefined;
110
+ } | {
111
+ readonly source?: {
112
+ readonly type: "base64";
113
+ readonly mediaType: string;
114
+ readonly data: string;
115
+ } | {
116
+ readonly type: "http";
117
+ readonly url: string;
118
+ } | undefined;
119
+ readonly id?: string | undefined;
120
+ readonly pending?: boolean | undefined;
121
+ readonly _tag: "image";
122
+ } | {
123
+ readonly name?: string | undefined;
124
+ readonly pending?: boolean | undefined;
125
+ readonly _tag: "file";
126
+ readonly mediaType?: string | undefined;
127
+ readonly url: string;
128
+ } | {
129
+ readonly pending?: boolean | undefined;
130
+ readonly _tag: "reference";
131
+ readonly reference: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
132
+ } | {
133
+ readonly pending?: boolean | undefined;
134
+ readonly text: string;
135
+ readonly _tag: "transcript";
136
+ readonly started: string;
137
+ } | {
138
+ readonly pending?: boolean | undefined;
139
+ readonly _tag: "status";
140
+ readonly statusText: string;
141
+ } | {
142
+ readonly pending?: boolean | undefined;
143
+ readonly text: string;
144
+ readonly _tag: "suggestion";
145
+ } | {
146
+ readonly pending?: boolean | undefined;
147
+ readonly _tag: "select";
148
+ readonly options: string[];
149
+ } | {
150
+ readonly version: unknown;
151
+ readonly pending?: boolean | undefined;
152
+ readonly _tag: "anchor";
153
+ readonly objectId: string;
154
+ } | {
155
+ readonly pending?: boolean | undefined;
156
+ readonly text: string;
157
+ readonly _tag: "proposal";
158
+ } | {
159
+ readonly pending?: boolean | undefined;
160
+ readonly _tag: "summary";
161
+ readonly content: string;
162
+ } | {
163
+ readonly pending?: boolean | undefined;
164
+ readonly _tag: "toolkit";
165
+ } | {
166
+ readonly pending?: boolean | undefined;
167
+ readonly disposition?: string | undefined;
168
+ readonly _tag: "json";
169
+ readonly data: string;
168
170
  })[];
171
+ readonly properties?: {
172
+ readonly [x: string]: any;
173
+ } | undefined;
169
174
  };
170
175
  }, {
171
- readonly entities?: readonly (import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {})[] | undefined;
172
- }>;
173
- }
176
+ readonly entities?: readonly (import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown)[] | undefined;
177
+ }, import("@dxos/functions").FunctionServices>;
178
+ };
174
179
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/entity-extraction/index.ts"],"names":[],"mappings":"AAMA,yBAAiB,gBAAgB,CAAC;IACzB,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAW,CAAC;CACjC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/entity-extraction/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,yBAAyB;;;;;;;;6BAG8M,CAAC;6BAA2C,CAAC;gCAAqE,CAAC;kCAAsJ,CAAC;qCAAmD,CAAC;0CAAwD,CAAC;qCAAmD,CAAC;yCAAuD,CAAC;4CAAgK,CAAC;qCAAmD,CAAC;uCAAqD,CAAC;sCAAuG,CAAC;wCAAsD,CAAC;;yCAAyE,CAAC;;qCAAyH,CAAC;uCAAqD,CAAC;kCAAgD,CAAC;mCAAiD,CAAC;;sCAAmF,CAAC;;uCAAkF,CAAC;;sCAAmF,CAAC;;yCAAoF,CAAC;;sCAAmF,CAAC;;mCAA8E,CAAC;;;yCAA8H,CAAC;;sCAAiF,CAAC;;2CAAkF,CAAC;6CAA2D,CAAC;6CAA2D,CAAC;2CAAyD,CAAC;+CAA6D,CAAC;wDAAsE,CAAC;4CAA0D,CAAC;;sCAAuE,CAAC;;iCAA4E,CAAC;;sCAAmF,CAAC;;qCAAgF,CAAC;;qCAAiE,CAAC;;oCAAoH,CAAC;oCAAkD,CAAC;8BAA4C,CAAC;;;gCAAsF,CAAC;;iCAA+E,CAAC;oCAAkD,CAAC;;;gCAAuF,CAAC;;sCAAyF,CAAC;qCAAmD,CAAC;kCAAgD,CAAC;;;gCAAuF,CAAC;;;;;;;gCAA4O,CAAC;;;;+BAAoK,CAAC;8BAA4C,CAAC;;gCAAwD,CAAC;iCAAgD,CAAC;;gCAA8E,CAAC;8BAA4C,CAAC;8BAA4C,CAAC;wCAAoC,CAAC;yCAAuD,CAAC;wCAAsD,CAAC;;kCAAuE,CAAC;+BAA6C,CAAC;iCAA+C,CAAC;;+BAAuD,CAAC;;;;;;;;2BAAiP,CAAC;gCAA8C,CAAC;;;6BAAsF,CAAC;gCAA8C,CAAC;;kCAAgF,CAAC;;;gCAAsF,CAAC;;;;gCAA+P,CAAC;;;;;gCAA+J,CAAC;;;;gCAA+H,CAAC;;;;gCAA6H,CAAC;;;;;gCAAiK,CAAC;;;;gCAA6H,CAAC;;;;gCAA2H,CAAC;;;;gCAA6H,CAAC;;;gCAA2F,CAAC;oCAAmD,CAAC;;;;;;;;;;;CAD3tN,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exa-search-1748337321991.d.ts","sourceRoot":"","sources":["../../../../../../src/functions/exa/data/exa-search-1748337321991.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBA8HE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exa-search-1748337331526.d.ts","sourceRoot":"","sources":["../../../../../../src/functions/exa/data/exa-search-1748337331526.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBA2IE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exa-search-1748337344119.d.ts","sourceRoot":"","sources":["../../../../../../src/functions/exa/data/exa-search-1748337344119.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAgIE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/functions/exa/data/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAM7C,eAAO,MAAM,cAAc,EAAE,cAAc,CAAC,GAAG,CAAC,EAAgC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: import("@dxos/functions").FunctionDefinition<{
2
2
  readonly query: string;
3
- }, unknown>;
3
+ }, unknown, import("@dxos/functions").FunctionServices>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=exa.d.ts.map
@@ -1,3 +1,9 @@
1
- export { default as exaFunction } from './exa';
2
- export { default as exaMockFunction } from './mock';
1
+ export declare const ExaFunctions: {
2
+ Search: import("@dxos/functions").FunctionDefinition<{
3
+ readonly query: string;
4
+ }, unknown, import("@dxos/functions").FunctionServices>;
5
+ Mock: import("@dxos/functions").FunctionDefinition<{
6
+ readonly query: string;
7
+ }, unknown, import("@dxos/functions").FunctionServices>;
8
+ };
3
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/exa/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/exa/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY;;;;;;;CAGxB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  declare const _default: import("@dxos/functions").FunctionDefinition<{
2
2
  readonly query: string;
3
- }, unknown>;
3
+ }, unknown, import("@dxos/functions").FunctionServices>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=mock.d.ts.map
@@ -1,8 +1,4 @@
1
1
  export * from './agent';
2
- export * from './discord';
3
- export * from './document';
4
2
  export * from './entity-extraction';
5
- export * from './linear';
6
- export * from './research';
7
- export * from './tasks';
3
+ export * from './exa';
8
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/functions/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/functions/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,OAAO,CAAC"}
@@ -1,5 +1,7 @@
1
1
  export * from './blueprints';
2
+ export * from './crud';
2
3
  export * from './functions';
3
- export * from './plugins';
4
4
  export * from './sync';
5
+ export * from './toolkits';
6
+ export * from './types';
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Obj } from '@dxos/echo';
3
- import { DatabaseService } from '@dxos/functions';
3
+ import { Database } from '@dxos/echo';
4
4
  /**
5
5
  * Syncs objects to the database.
6
6
  * If there's an object with a matching foreign key in the database, it will be updated.
@@ -9,7 +9,7 @@ import { DatabaseService } from '@dxos/functions';
9
9
  *
10
10
  * @param opts.foreignKeyId - The key to use for matching objects.
11
11
  */
12
- export declare const syncObjects: (objs: Obj.Any[], opts: {
12
+ export declare const syncObjects: (objs: Obj.Unknown[], opts: {
13
13
  foreignKeyId: string;
14
- }) => Effect.Effect<Obj.Any[], never, DatabaseService>;
14
+ }) => Effect.Effect<Obj.Unknown[], never, Database.Service>;
15
15
  //# sourceMappingURL=sync.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../src/sync/sync.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAU,GAAG,EAAc,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIlD;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,EAAE,CACxB,IAAI,EAAE,GAAG,CAAC,GAAG,EAAE,EACf,IAAI,EAAE;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,KAC3B,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,eAAe,CAuClD,CAAC"}
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../src/sync/sync.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAU,GAAG,EAAc,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,EAAE,CACxB,IAAI,EAAE,GAAG,CAAC,OAAO,EAAE,EACnB,IAAI,EAAE;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,KAC3B,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAwCvD,CAAC"}
@@ -1,2 +1,3 @@
1
- export * from './data';
1
+ export * from '../blueprints/testing';
2
+ export * from './plugins';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/testing/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/testing/index.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as Schema from 'effect/Schema';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { type Obj, Type } from '@dxos/echo';
4
+ export declare const MapSchema: Type.Obj<{
5
+ readonly coordinates: readonly [number, number, (number | undefined)?];
6
+ }, Schema.Struct.Fields>;
7
+ export type MapSchema = Schema.Schema.Type<typeof MapSchema>;
8
+ export type ArtifactsContext = {
9
+ items: Obj.Unknown[];
10
+ getArtifacts: () => Obj.Unknown[];
11
+ addArtifact: (artifact: Obj.Unknown) => void;
12
+ };
13
+ declare global {
14
+ interface ToolContextExtensions {
15
+ artifacts?: ArtifactsContext;
16
+ }
17
+ }
18
+ export declare const capabilities: Capability.Any[];
19
+ //# sourceMappingURL=plugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../src/testing/plugins.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,EAAU,KAAK,GAAG,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAIpD,eAAO,MAAM,SAAS;;wBAOrB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAG7D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,CAAC,OAAO,EAAE,CAAC;IAClC,WAAW,EAAE,CAAC,QAAQ,EAAE,GAAG,CAAC,OAAO,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,CAAC,EAAE,gBAAgB,CAAC;KAC9B;CACF;AAKD,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,GAAG,EA+BxC,CAAC"}
@@ -0,0 +1,38 @@
1
+ import * as Tool from '@effect/ai/Tool';
2
+ import * as Toolkit from '@effect/ai/Toolkit';
3
+ import * as Schema from 'effect/Schema';
4
+ export declare const WebToolkit: Toolkit.Toolkit<{
5
+ readonly AnthropicWebSearch: Tool.ProviderDefined<"AnthropicWebSearch", {
6
+ readonly args: Schema.Struct<{
7
+ readonly cache_control: Schema.optionalWith<typeof import("@effect/ai-anthropic/Generated").CacheControlEphemeral, {
8
+ nullable: true;
9
+ }>;
10
+ readonly allowed_domains: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
11
+ nullable: true;
12
+ }>;
13
+ readonly blocked_domains: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
14
+ nullable: true;
15
+ }>;
16
+ readonly max_uses: Schema.optionalWith<Schema.filter<typeof Schema.Int>, {
17
+ nullable: true;
18
+ }>;
19
+ readonly user_location: Schema.optionalWith<typeof import("@effect/ai-anthropic/Generated").UserLocation, {
20
+ nullable: true;
21
+ }>;
22
+ }>;
23
+ readonly parameters: Schema.Struct<{}>;
24
+ readonly success: Schema.Array$<typeof import("@effect/ai-anthropic/Generated").RequestWebSearchResultBlock>;
25
+ readonly failure: typeof import("@effect/ai-anthropic/Generated").ResponseWebSearchToolResultError;
26
+ readonly failureMode: "error";
27
+ }, false>;
28
+ readonly WebFetch: Tool.Tool<"WebFetch", {
29
+ readonly parameters: Schema.Struct<{
30
+ url: typeof Schema.String;
31
+ }>;
32
+ readonly success: typeof Schema.String;
33
+ readonly failure: typeof Schema.Never;
34
+ readonly failureMode: "error";
35
+ }, never>;
36
+ }>;
37
+ export declare const layer: import("effect/Layer").Layer<Tool.Handler<"WebFetch">, never, never>;
38
+ //# sourceMappingURL=WebToolkit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebToolkit.d.ts","sourceRoot":"","sources":["../../../../src/toolkits/WebToolkit.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAG9C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EActB,CAAC;AAEF,eAAO,MAAM,KAAK,sEAKhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * as WebToolkit from './WebToolkit';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/toolkits/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC"}
@@ -0,0 +1,31 @@
1
+ import * as Schema from 'effect/Schema';
2
+ import { Obj, Type } from '@dxos/echo';
3
+ import { Queue } from '@dxos/echo-db';
4
+ /**
5
+ * AI chat.
6
+ */
7
+ export declare const Chat: Type.Obj<{
8
+ readonly name?: string | undefined;
9
+ readonly queue: import("@dxos/echo/internal").Ref<Queue<import("@dxos/echo/Entity").Unknown>>;
10
+ readonly traceQueue?: import("@dxos/echo/internal").Ref<Queue<import("@dxos/echo/Entity").Unknown>> | undefined;
11
+ }, Schema.Struct.Fields>;
12
+ export interface Chat extends Schema.Schema.Type<typeof Chat> {
13
+ }
14
+ export declare const make: (props: Obj.MakeProps<typeof Chat>) => Obj.OfShape<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
15
+ readonly name?: string | undefined;
16
+ readonly queue: import("@dxos/echo/internal").Ref<Queue<import("@dxos/echo/Entity").Unknown>>;
17
+ readonly traceQueue?: import("@dxos/echo/internal").Ref<Queue<import("@dxos/echo/Entity").Unknown>> | undefined;
18
+ }>;
19
+ /**
20
+ * Relation between a Chat and companion objects (e.g., artifacts).
21
+ */
22
+ export declare const CompanionTo: Type.Relation<{
23
+ readonly id: string;
24
+ }, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
25
+ readonly name?: string | undefined;
26
+ readonly queue: import("@dxos/echo/internal").Ref<Queue<import("@dxos/echo/Entity").Unknown>>;
27
+ readonly traceQueue?: import("@dxos/echo/internal").Ref<Queue<import("@dxos/echo/Entity").Unknown>> | undefined;
28
+ }, import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown, Schema.Struct.Fields>;
29
+ export interface CompanionTo extends Schema.Schema.Type<typeof CompanionTo> {
30
+ }
31
+ //# sourceMappingURL=Chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/types/Chat.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAc,GAAG,EAAO,IAAI,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,IAAI;;;;wBAehB,CAAC;AAEF,MAAM,WAAW,IAAK,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC;CAAG;AAEhE,eAAO,MAAM,IAAI,GAAI,OAAO,GAAG,CAAC,SAAS,CAAC,OAAO,IAAI,CAAC;;;;EAA0B,CAAC;AAEjF;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;2HASvB,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC;CAAG"}