@dxos/plugin-assistant 0.8.4-main.fcfe5033a5 → 0.8.4-staging.60fe92afc8

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 (751) hide show
  1. package/LICENSE +102 -5
  2. package/PLUGIN.mdl +439 -0
  3. package/README.md +1 -1
  4. package/dist/lib/neutral/AgentArticle-K7XM46OQ.mjs +160 -0
  5. package/dist/lib/neutral/AgentArticle-K7XM46OQ.mjs.map +7 -0
  6. package/dist/lib/neutral/AgentProperties-LFTEYJ54.mjs +40 -0
  7. package/dist/lib/neutral/AgentProperties-LFTEYJ54.mjs.map +7 -0
  8. package/dist/lib/neutral/AssistantPlugin.mjs +10 -0
  9. package/dist/lib/neutral/AssistantPlugin.node.mjs +72 -0
  10. package/dist/lib/neutral/AssistantPlugin.node.mjs.map +7 -0
  11. package/dist/lib/neutral/AssistantPlugin.workerd.mjs +40 -0
  12. package/dist/lib/neutral/AssistantPlugin.workerd.mjs.map +7 -0
  13. package/dist/lib/neutral/AssistantSettings-GG52BLKS.mjs +40 -0
  14. package/dist/lib/neutral/AssistantSettings-GG52BLKS.mjs.map +7 -0
  15. package/dist/lib/neutral/BlueprintArticle-ZBOZNZM7.mjs +27 -0
  16. package/dist/lib/neutral/BlueprintArticle-ZBOZNZM7.mjs.map +7 -0
  17. package/dist/lib/neutral/ChatArticle-VNVZCDUR.mjs +8 -0
  18. package/dist/lib/neutral/ChatCompanion-LBUHYWQG.mjs +128 -0
  19. package/dist/lib/neutral/ChatCompanion-LBUHYWQG.mjs.map +7 -0
  20. package/dist/lib/neutral/ChatDialog-DCA6FLOV.mjs +73 -0
  21. package/dist/lib/neutral/ChatDialog-DCA6FLOV.mjs.map +7 -0
  22. package/dist/lib/neutral/PlanArticle-TS5ULWYS.mjs +28 -0
  23. package/dist/lib/neutral/PlanArticle-TS5ULWYS.mjs.map +7 -0
  24. package/dist/lib/neutral/RoutineArticle-5NYXHRG6.mjs +119 -0
  25. package/dist/lib/neutral/RoutineArticle-5NYXHRG6.mjs.map +7 -0
  26. package/dist/lib/neutral/RoutineList-SO5ETHNT.mjs +48 -0
  27. package/dist/lib/neutral/RoutineList-SO5ETHNT.mjs.map +7 -0
  28. package/dist/lib/neutral/RoutineProperties-FISLMW2R.mjs +17 -0
  29. package/dist/lib/neutral/RoutineProperties-FISLMW2R.mjs.map +7 -0
  30. package/dist/lib/neutral/TracePanel-KTZJ6JNR.mjs +167 -0
  31. package/dist/lib/neutral/TracePanel-KTZJ6JNR.mjs.map +7 -0
  32. package/dist/lib/neutral/TriggerStatus-X7Y5JFZJ.mjs +93 -0
  33. package/dist/lib/neutral/TriggerStatus-X7Y5JFZJ.mjs.map +7 -0
  34. package/dist/lib/neutral/agent-hydrator-PJBYVMBW.mjs +24 -0
  35. package/dist/lib/neutral/agent-hydrator-PJBYVMBW.mjs.map +7 -0
  36. package/dist/lib/neutral/agent-service-WCAP5MLI.mjs +32 -0
  37. package/dist/lib/neutral/agent-service-WCAP5MLI.mjs.map +7 -0
  38. package/dist/lib/neutral/ai-context-7WRHWYXY.mjs +42 -0
  39. package/dist/lib/neutral/ai-context-7WRHWYXY.mjs.map +7 -0
  40. package/dist/lib/neutral/ai-service-AADUIKBY.mjs +40 -0
  41. package/dist/lib/neutral/ai-service-AADUIKBY.mjs.map +7 -0
  42. package/dist/lib/neutral/app-graph-builder-WUFHQH3Y.mjs +232 -0
  43. package/dist/lib/neutral/app-graph-builder-WUFHQH3Y.mjs.map +7 -0
  44. package/dist/lib/neutral/automation-templates-M2XQWGR6.mjs +115 -0
  45. package/dist/lib/neutral/automation-templates-M2XQWGR6.mjs.map +7 -0
  46. package/dist/lib/neutral/blueprint-definition-MH2QLYQH.mjs +39 -0
  47. package/dist/lib/neutral/blueprint-definition-MH2QLYQH.mjs.map +7 -0
  48. package/dist/lib/{browser → neutral}/blueprints/index.mjs +1 -1
  49. package/dist/lib/neutral/capabilities/index.mjs +45 -0
  50. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  51. package/dist/lib/{browser/chunk-EZRS3J25.mjs → neutral/chunk-5H6UJHLF.mjs} +3 -3
  52. package/dist/lib/neutral/chunk-5H6UJHLF.mjs.map +7 -0
  53. package/dist/lib/neutral/chunk-HLANPOBA.mjs +10 -0
  54. package/dist/lib/neutral/chunk-HLANPOBA.mjs.map +7 -0
  55. package/dist/lib/neutral/chunk-KLYLW4WH.mjs +9 -0
  56. package/dist/lib/neutral/chunk-KLYLW4WH.mjs.map +7 -0
  57. package/dist/lib/neutral/chunk-QAZMOFPI.mjs +130 -0
  58. package/dist/lib/neutral/chunk-QAZMOFPI.mjs.map +7 -0
  59. package/dist/lib/neutral/chunk-RKVVK3R3.mjs +110 -0
  60. package/dist/lib/neutral/chunk-RKVVK3R3.mjs.map +7 -0
  61. package/dist/lib/neutral/chunk-SMFJD7BP.mjs +8 -0
  62. package/dist/lib/neutral/chunk-SMFJD7BP.mjs.map +7 -0
  63. package/dist/lib/neutral/chunk-VTK5R4H3.mjs +9 -0
  64. package/dist/lib/neutral/chunk-VTK5R4H3.mjs.map +7 -0
  65. package/dist/lib/neutral/chunk-XYHPOGTK.mjs +43 -0
  66. package/dist/lib/neutral/chunk-XYHPOGTK.mjs.map +7 -0
  67. package/dist/lib/neutral/chunk-YXRGZYYH.mjs +392 -0
  68. package/dist/lib/neutral/chunk-YXRGZYYH.mjs.map +7 -0
  69. package/dist/lib/neutral/companion-chat-provisioner-YZZ73P6E.mjs +120 -0
  70. package/dist/lib/neutral/companion-chat-provisioner-YZZ73P6E.mjs.map +7 -0
  71. package/dist/lib/neutral/components/index.mjs +2410 -0
  72. package/dist/lib/neutral/components/index.mjs.map +7 -0
  73. package/dist/lib/neutral/containers/index.mjs +29 -0
  74. package/dist/lib/neutral/containers/index.mjs.map +7 -0
  75. package/dist/lib/neutral/create-chat-SGGQ6HVN.mjs +54 -0
  76. package/dist/lib/neutral/create-chat-SGGQ6HVN.mjs.map +7 -0
  77. package/dist/lib/neutral/create-object-U2SOFZLR.mjs +92 -0
  78. package/dist/lib/neutral/create-object-U2SOFZLR.mjs.map +7 -0
  79. package/dist/lib/neutral/edge-model-resolver-BBVOJBGJ.mjs +55 -0
  80. package/dist/lib/neutral/edge-model-resolver-BBVOJBGJ.mjs.map +7 -0
  81. package/dist/lib/{browser/ensure-companion-chat-ZEZA34MZ.mjs → neutral/ensure-companion-chat-AMOF3C66.mjs} +14 -21
  82. package/dist/lib/neutral/ensure-companion-chat-AMOF3C66.mjs.map +7 -0
  83. package/dist/lib/neutral/execution-graph/index.mjs +703 -0
  84. package/dist/lib/neutral/execution-graph/index.mjs.map +7 -0
  85. package/dist/lib/neutral/fork-chat-34KEF4ZJ.mjs +95 -0
  86. package/dist/lib/neutral/fork-chat-34KEF4ZJ.mjs.map +7 -0
  87. package/dist/lib/neutral/hooks/index.mjs +992 -0
  88. package/dist/lib/neutral/hooks/index.mjs.map +7 -0
  89. package/dist/lib/neutral/index.mjs +38 -0
  90. package/dist/lib/neutral/integration-provider-RBD3AFJU.mjs +71 -0
  91. package/dist/lib/neutral/integration-provider-RBD3AFJU.mjs.map +7 -0
  92. package/dist/lib/neutral/local-model-resolver-I2BENFFS.mjs +24 -0
  93. package/dist/lib/neutral/local-model-resolver-I2BENFFS.mjs.map +7 -0
  94. package/dist/lib/neutral/markdown-extension-YMIFDMYF.mjs +110 -0
  95. package/dist/lib/neutral/markdown-extension-YMIFDMYF.mjs.map +7 -0
  96. package/dist/lib/neutral/meta.json +1 -0
  97. package/dist/lib/neutral/meta.mjs +12 -0
  98. package/dist/lib/neutral/migrations-7DEMVBOG.mjs +28 -0
  99. package/dist/lib/neutral/migrations-7DEMVBOG.mjs.map +7 -0
  100. package/dist/lib/neutral/operation-handler-SF36MOB5.mjs +13 -0
  101. package/dist/lib/neutral/operation-handler-SF36MOB5.mjs.map +7 -0
  102. package/dist/lib/neutral/operations/index.mjs +8 -0
  103. package/dist/lib/neutral/operations/index.mjs.map +7 -0
  104. package/dist/lib/neutral/plugin.mjs +16 -0
  105. package/dist/lib/neutral/plugin.mjs.map +7 -0
  106. package/dist/lib/neutral/react-surface-XRTBW5OJ.mjs +174 -0
  107. package/dist/lib/neutral/react-surface-XRTBW5OJ.mjs.map +7 -0
  108. package/dist/lib/{browser/resolve-navigation-targets-NZOD66NY.mjs → neutral/resolve-navigation-targets-ZHIMMH7L.mjs} +6 -6
  109. package/dist/lib/neutral/resolve-navigation-targets-ZHIMMH7L.mjs.map +7 -0
  110. package/dist/lib/{browser/run-prompt-in-new-chat-THLK5YQC.mjs → neutral/run-prompt-in-new-chat-D5IIE2C7.mjs} +22 -56
  111. package/dist/lib/neutral/run-prompt-in-new-chat-D5IIE2C7.mjs.map +7 -0
  112. package/dist/lib/{browser/set-current-chat-LRS3VFSH.mjs → neutral/set-current-chat-VWBPSIMZ.mjs} +7 -13
  113. package/dist/lib/neutral/set-current-chat-VWBPSIMZ.mjs.map +7 -0
  114. package/dist/lib/neutral/settings-W4BLWQ53.mjs +28 -0
  115. package/dist/lib/neutral/settings-W4BLWQ53.mjs.map +7 -0
  116. package/dist/lib/neutral/state-H3G7QCU6.mjs +28 -0
  117. package/dist/lib/neutral/state-H3G7QCU6.mjs.map +7 -0
  118. package/dist/lib/neutral/testing.mjs +8 -0
  119. package/dist/lib/neutral/testing.mjs.map +7 -0
  120. package/dist/lib/neutral/toggle-trace-panel-debug-JGTB6KVJ.mjs +21 -0
  121. package/dist/lib/neutral/toggle-trace-panel-debug-JGTB6KVJ.mjs.map +7 -0
  122. package/dist/lib/neutral/toolkit-GVWXPDLJ.mjs +14 -0
  123. package/dist/lib/neutral/toolkit-GVWXPDLJ.mjs.map +7 -0
  124. package/dist/lib/neutral/translations.mjs +179 -0
  125. package/dist/lib/neutral/translations.mjs.map +7 -0
  126. package/dist/lib/neutral/types/index.mjs +20 -0
  127. package/dist/lib/neutral/types/index.mjs.map +7 -0
  128. package/dist/lib/{browser/update-chat-name-3Y36KFAS.mjs → neutral/update-chat-name-Y7JWIP64.mjs} +26 -36
  129. package/dist/lib/neutral/update-chat-name-Y7JWIP64.mjs.map +7 -0
  130. package/dist/types/src/AssistantPlugin.d.ts +3 -1
  131. package/dist/types/src/AssistantPlugin.d.ts.map +1 -1
  132. package/dist/types/src/AssistantPlugin.node.d.ts +5 -0
  133. package/dist/types/src/AssistantPlugin.node.d.ts.map +1 -0
  134. package/dist/types/src/AssistantPlugin.test.d.ts +2 -0
  135. package/dist/types/src/AssistantPlugin.test.d.ts.map +1 -0
  136. package/dist/types/src/AssistantPlugin.workerd.d.ts +4 -0
  137. package/dist/types/src/AssistantPlugin.workerd.d.ts.map +1 -0
  138. package/dist/types/src/blueprints/assistant/blueprint.d.ts +2 -2
  139. package/dist/types/src/blueprints/assistant/blueprint.d.ts.map +1 -1
  140. package/dist/types/src/blueprints/assistant/blueprint.node.test.d.ts +2 -0
  141. package/dist/types/src/blueprints/assistant/blueprint.node.test.d.ts.map +1 -0
  142. package/dist/types/src/capabilities/agent-hydrator.d.ts +5 -0
  143. package/dist/types/src/capabilities/agent-hydrator.d.ts.map +1 -0
  144. package/dist/types/src/capabilities/agent-service.d.ts +6 -0
  145. package/dist/types/src/capabilities/agent-service.d.ts.map +1 -0
  146. package/dist/types/src/capabilities/ai-context.d.ts +6 -0
  147. package/dist/types/src/capabilities/ai-context.d.ts.map +1 -0
  148. package/dist/types/src/capabilities/ai-service.d.ts +2 -2
  149. package/dist/types/src/capabilities/ai-service.d.ts.map +1 -1
  150. package/dist/types/src/capabilities/app-graph-builder.d.ts +2 -1
  151. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  152. package/dist/types/src/capabilities/automation-templates.d.ts +6 -0
  153. package/dist/types/src/capabilities/automation-templates.d.ts.map +1 -0
  154. package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -1
  155. package/dist/types/src/capabilities/companion-chat-provisioner.d.ts.map +1 -1
  156. package/dist/types/src/capabilities/create-object.d.ts +31 -0
  157. package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
  158. package/dist/types/src/capabilities/edge-model-resolver.d.ts +1 -1
  159. package/dist/types/src/capabilities/edge-model-resolver.d.ts.map +1 -1
  160. package/dist/types/src/capabilities/index.d.ts +36 -3
  161. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  162. package/dist/types/src/capabilities/integration-provider.d.ts +5 -0
  163. package/dist/types/src/capabilities/integration-provider.d.ts.map +1 -0
  164. package/dist/types/src/capabilities/local-model-resolver.d.ts.map +1 -1
  165. package/dist/types/src/capabilities/{markdown.d.ts → markdown-extension.d.ts} +1 -1
  166. package/dist/types/src/capabilities/markdown-extension.d.ts.map +1 -0
  167. package/dist/types/src/capabilities/migrations.d.ts +2 -1
  168. package/dist/types/src/capabilities/migrations.d.ts.map +1 -1
  169. package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
  170. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
  171. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  172. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  173. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  174. package/dist/types/src/capabilities/toolkit.d.ts.map +1 -1
  175. package/dist/types/src/components/AgentProperties/AgentProperties.d.ts +7 -0
  176. package/dist/types/src/components/AgentProperties/AgentProperties.d.ts.map +1 -0
  177. package/dist/types/src/{containers → components}/AgentProperties/AgentProperties.stories.d.ts +1 -2
  178. package/dist/types/src/components/AgentProperties/AgentProperties.stories.d.ts.map +1 -0
  179. package/dist/types/src/components/AgentProperties/index.d.ts +2 -0
  180. package/dist/types/src/components/AgentProperties/index.d.ts.map +1 -0
  181. package/dist/types/src/components/AssistantSettings/AssistantSettings.d.ts +1 -1
  182. package/dist/types/src/components/AssistantSettings/AssistantSettings.d.ts.map +1 -1
  183. package/dist/types/src/components/AssistantSettings/AssistantSettings.stories.d.ts.map +1 -1
  184. package/dist/types/src/components/Chat/Chat.d.ts +44 -42
  185. package/dist/types/src/components/Chat/Chat.d.ts.map +1 -1
  186. package/dist/types/src/components/Chat/context.d.ts +29 -0
  187. package/dist/types/src/components/Chat/context.d.ts.map +1 -0
  188. package/dist/types/src/components/Chat/events.d.ts +3 -0
  189. package/dist/types/src/components/Chat/events.d.ts.map +1 -1
  190. package/dist/types/src/components/ChatPrompt/ChatActions.d.ts +1 -1
  191. package/dist/types/src/components/ChatPrompt/ChatActions.d.ts.map +1 -1
  192. package/dist/types/src/components/ChatPrompt/ChatMcpErrors.d.ts +12 -0
  193. package/dist/types/src/components/ChatPrompt/ChatMcpErrors.d.ts.map +1 -0
  194. package/dist/types/src/components/ChatPrompt/ChatOptions.d.ts +10 -14
  195. package/dist/types/src/components/ChatPrompt/ChatOptions.d.ts.map +1 -1
  196. package/dist/types/src/components/ChatPrompt/ChatOptions.stories.d.ts +1 -1
  197. package/dist/types/src/components/ChatPrompt/ChatOptions.stories.d.ts.map +1 -1
  198. package/dist/types/src/components/ChatPrompt/ChatPresets.d.ts +2 -9
  199. package/dist/types/src/components/ChatPrompt/ChatPresets.d.ts.map +1 -1
  200. package/dist/types/src/components/ChatPrompt/ChatPrompt.d.ts +27 -0
  201. package/dist/types/src/components/ChatPrompt/ChatPrompt.d.ts.map +1 -0
  202. package/dist/types/src/components/ChatPrompt/ChatReferences.d.ts +2 -2
  203. package/dist/types/src/components/ChatPrompt/ChatReferences.d.ts.map +1 -1
  204. package/dist/types/src/components/ChatPrompt/ChatStatus.d.ts +20 -0
  205. package/dist/types/src/components/ChatPrompt/ChatStatus.d.ts.map +1 -0
  206. package/dist/types/src/components/ChatPrompt/ChatStatusIndicator.d.ts +1 -1
  207. package/dist/types/src/components/ChatPrompt/ChatStatusIndicator.d.ts.map +1 -1
  208. package/dist/types/src/components/ChatPrompt/index.d.ts +3 -0
  209. package/dist/types/src/components/ChatPrompt/index.d.ts.map +1 -1
  210. package/dist/types/src/components/ChatThread/Anchor.stories.d.ts +14 -0
  211. package/dist/types/src/components/ChatThread/Anchor.stories.d.ts.map +1 -0
  212. package/dist/types/src/components/ChatThread/ChatThread.d.ts +6 -3
  213. package/dist/types/src/components/ChatThread/ChatThread.d.ts.map +1 -1
  214. package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts +5 -5
  215. package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts.map +1 -1
  216. package/dist/types/src/components/ChatThread/Link.d.ts +2 -2
  217. package/dist/types/src/components/ChatThread/Link.d.ts.map +1 -1
  218. package/dist/types/src/components/ChatThread/MarkdownStream.stories.d.ts +8 -1
  219. package/dist/types/src/components/ChatThread/MarkdownStream.stories.d.ts.map +1 -1
  220. package/dist/types/src/components/ChatThread/registry.d.ts +18 -0
  221. package/dist/types/src/components/ChatThread/registry.d.ts.map +1 -1
  222. package/dist/types/src/components/ChatThread/sync.d.ts +42 -16
  223. package/dist/types/src/components/ChatThread/sync.d.ts.map +1 -1
  224. package/dist/types/src/components/ChatThread/tool-widget-state.d.ts.map +1 -1
  225. package/dist/types/src/components/ChatThread/widgets/FallbackWidget.d.ts +4 -4
  226. package/dist/types/src/components/ChatThread/widgets/FallbackWidget.d.ts.map +1 -1
  227. package/dist/types/src/components/ChatThread/widgets/ReasoningWidget.d.ts.map +1 -1
  228. package/dist/types/src/components/ChatThread/widgets/ReasoningWidget.stories.d.ts.map +1 -1
  229. package/dist/types/src/components/ChatThread/widgets/ReferenceWidget.d.ts.map +1 -1
  230. package/dist/types/src/components/ChatThread/widgets/SelectWidget.d.ts.map +1 -1
  231. package/dist/types/src/components/ChatThread/widgets/StatsWidget.d.ts.map +1 -1
  232. package/dist/types/src/components/ChatThread/widgets/StatusWidget.d.ts +2 -15
  233. package/dist/types/src/components/ChatThread/widgets/StatusWidget.d.ts.map +1 -1
  234. package/dist/types/src/components/ChatThread/widgets/SuggestionWidget.d.ts.map +1 -1
  235. package/dist/types/src/components/ChatThread/widgets/SummaryWidget.d.ts.map +1 -1
  236. package/dist/types/src/components/ChatThread/widgets/ToolWidget.d.ts.map +1 -1
  237. package/dist/types/src/components/ChatThread/widgets/ToolWidget.stories.d.ts.map +1 -1
  238. package/dist/types/src/components/ChatThread/widgets/defaults.d.ts +5 -0
  239. package/dist/types/src/components/ChatThread/widgets/defaults.d.ts.map +1 -0
  240. package/dist/types/src/components/ChatThread/widgets/index.d.ts +1 -2
  241. package/dist/types/src/components/ChatThread/widgets/index.d.ts.map +1 -1
  242. package/dist/types/src/components/ProcessTree/ProcessTree.d.ts +4 -3
  243. package/dist/types/src/components/ProcessTree/ProcessTree.d.ts.map +1 -1
  244. package/dist/types/src/components/ProcessTree/ProcessTree.stories.d.ts +0 -1
  245. package/dist/types/src/components/ProcessTree/ProcessTree.stories.d.ts.map +1 -1
  246. package/dist/types/src/components/RoutineProperties/RoutineProperties.d.ts +7 -0
  247. package/dist/types/src/components/RoutineProperties/RoutineProperties.d.ts.map +1 -0
  248. package/dist/types/src/components/RoutineProperties/RoutineProperties.stories.d.ts +15 -0
  249. package/dist/types/src/components/RoutineProperties/RoutineProperties.stories.d.ts.map +1 -0
  250. package/dist/types/src/components/RoutineProperties/index.d.ts +2 -0
  251. package/dist/types/src/components/RoutineProperties/index.d.ts.map +1 -0
  252. package/dist/types/src/components/TaskList/TaskList.d.ts +10 -0
  253. package/dist/types/src/components/TaskList/TaskList.d.ts.map +1 -0
  254. package/dist/types/src/components/TaskList/TaskList.stories.d.ts +16 -0
  255. package/dist/types/src/components/TaskList/TaskList.stories.d.ts.map +1 -0
  256. package/dist/types/src/components/TaskList/index.d.ts +2 -0
  257. package/dist/types/src/components/TaskList/index.d.ts.map +1 -0
  258. package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts +5 -3
  259. package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts.map +1 -1
  260. package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts.map +1 -1
  261. package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts +4 -5
  262. package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts.map +1 -1
  263. package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts +1 -1
  264. package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts.map +1 -1
  265. package/dist/types/src/components/TemplateEditor/extensions/handlebars-extension.d.ts.map +1 -1
  266. package/dist/types/src/components/TemplateEditor/extensions/xml-extension.d.ts.map +1 -1
  267. package/dist/types/src/components/ToolBlock/ToolBlock.d.ts +4 -4
  268. package/dist/types/src/components/ToolBlock/ToolBlock.d.ts.map +1 -1
  269. package/dist/types/src/components/Toolbox/Toolbox.d.ts +3 -3
  270. package/dist/types/src/components/Toolbox/Toolbox.d.ts.map +1 -1
  271. package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts.map +1 -1
  272. package/dist/types/src/components/index.d.ts +4 -0
  273. package/dist/types/src/components/index.d.ts.map +1 -1
  274. package/dist/types/src/constants.d.ts +5 -0
  275. package/dist/types/src/constants.d.ts.map +1 -0
  276. package/dist/types/src/containers/AgentArticle/AgentArticle.d.ts.map +1 -1
  277. package/dist/types/src/containers/AgentArticle/AgentArticle.stories.d.ts +0 -2
  278. package/dist/types/src/containers/AgentArticle/AgentArticle.stories.d.ts.map +1 -1
  279. package/dist/types/src/containers/AgentProperties/AgentProperties.d.ts.map +1 -1
  280. package/dist/types/src/containers/BlueprintArticle/BlueprintArticle.d.ts +1 -1
  281. package/dist/types/src/containers/BlueprintArticle/BlueprintArticle.d.ts.map +1 -1
  282. package/dist/types/src/containers/ChatArticle/ChatArticle.d.ts +25 -0
  283. package/dist/types/src/containers/ChatArticle/ChatArticle.d.ts.map +1 -0
  284. package/dist/types/src/containers/ChatArticle/ChatArticle.stories.d.ts +15 -0
  285. package/dist/types/src/containers/ChatArticle/ChatArticle.stories.d.ts.map +1 -0
  286. package/dist/types/src/containers/ChatArticle/index.d.ts +2 -0
  287. package/dist/types/src/containers/ChatArticle/index.d.ts.map +1 -0
  288. package/dist/types/src/containers/ChatCompanion/ChatCompanion.d.ts +11 -3
  289. package/dist/types/src/containers/ChatCompanion/ChatCompanion.d.ts.map +1 -1
  290. package/dist/types/src/containers/ChatDialog/ChatDialog.d.ts.map +1 -1
  291. package/dist/types/src/containers/PlanArticle/PlanArticle.d.ts +6 -0
  292. package/dist/types/src/containers/PlanArticle/PlanArticle.d.ts.map +1 -0
  293. package/dist/types/src/containers/PlanArticle/index.d.ts +2 -0
  294. package/dist/types/src/containers/PlanArticle/index.d.ts.map +1 -0
  295. package/dist/types/src/containers/RoutineArticle/RoutineArticle.d.ts +6 -0
  296. package/dist/types/src/containers/RoutineArticle/RoutineArticle.d.ts.map +1 -0
  297. package/dist/types/src/containers/RoutineArticle/RoutineArticle.stories.d.ts +15 -0
  298. package/dist/types/src/containers/RoutineArticle/RoutineArticle.stories.d.ts.map +1 -0
  299. package/dist/types/src/containers/RoutineArticle/index.d.ts +2 -0
  300. package/dist/types/src/containers/RoutineArticle/index.d.ts.map +1 -0
  301. package/dist/types/src/containers/RoutineList/RoutineList.d.ts +6 -0
  302. package/dist/types/src/containers/RoutineList/RoutineList.d.ts.map +1 -0
  303. package/dist/types/src/containers/{PromptList/PromptList.stories.d.ts → RoutineList/RoutineList.stories.d.ts} +1 -1
  304. package/dist/types/src/containers/RoutineList/RoutineList.stories.d.ts.map +1 -0
  305. package/dist/types/src/containers/RoutineList/index.d.ts +2 -0
  306. package/dist/types/src/containers/RoutineList/index.d.ts.map +1 -0
  307. package/dist/types/src/containers/TracePanel/TracePanel.d.ts +4 -5
  308. package/dist/types/src/containers/TracePanel/TracePanel.d.ts.map +1 -1
  309. package/dist/types/src/containers/TracePanel/TracePanel.stories.d.ts +4 -3
  310. package/dist/types/src/containers/TracePanel/TracePanel.stories.d.ts.map +1 -1
  311. package/dist/types/src/containers/TracePanel/dxn-extractor.d.ts +6 -6
  312. package/dist/types/src/containers/TracePanel/dxn-extractor.d.ts.map +1 -1
  313. package/dist/types/src/containers/TracePanel/index.d.ts.map +1 -1
  314. package/dist/types/src/containers/TracePanel/testing/index.d.ts +3 -0
  315. package/dist/types/src/containers/TracePanel/testing/index.d.ts.map +1 -0
  316. package/dist/types/src/containers/TracePanel/testing/simulated-agent.d.ts +14 -0
  317. package/dist/types/src/containers/TracePanel/testing/simulated-agent.d.ts.map +1 -0
  318. package/dist/types/src/containers/TracePanel/testing/snapshot-playback.d.ts +12 -0
  319. package/dist/types/src/containers/TracePanel/testing/snapshot-playback.d.ts.map +1 -0
  320. package/dist/types/src/containers/TriggerStatus/TriggerStatus.d.ts +3 -2
  321. package/dist/types/src/containers/TriggerStatus/TriggerStatus.d.ts.map +1 -1
  322. package/dist/types/src/containers/TriggerStatus/index.d.ts +1 -1
  323. package/dist/types/src/containers/TriggerStatus/index.d.ts.map +1 -1
  324. package/dist/types/src/containers/index.d.ts +6 -5
  325. package/dist/types/src/containers/index.d.ts.map +1 -1
  326. package/dist/types/src/execution-graph/execution-graph.d.ts +108 -0
  327. package/dist/types/src/execution-graph/execution-graph.d.ts.map +1 -0
  328. package/dist/types/src/execution-graph/execution-graph.test.d.ts +2 -0
  329. package/dist/types/src/execution-graph/execution-graph.test.d.ts.map +1 -0
  330. package/dist/types/src/execution-graph/index.d.ts +3 -0
  331. package/dist/types/src/execution-graph/index.d.ts.map +1 -0
  332. package/dist/types/src/execution-graph/remote-snapshot.test.d.ts +2 -0
  333. package/dist/types/src/execution-graph/remote-snapshot.test.d.ts.map +1 -0
  334. package/dist/types/src/execution-graph/span-tree.d.ts +76 -0
  335. package/dist/types/src/execution-graph/span-tree.d.ts.map +1 -0
  336. package/dist/types/src/execution-graph/span-tree.test.d.ts +2 -0
  337. package/dist/types/src/execution-graph/span-tree.test.d.ts.map +1 -0
  338. package/dist/types/src/execution-graph/sub-agent-delegation.test.d.ts +2 -0
  339. package/dist/types/src/execution-graph/sub-agent-delegation.test.d.ts.map +1 -0
  340. package/dist/types/src/execution-graph/testing/collect-trace-events.d.ts +40 -0
  341. package/dist/types/src/execution-graph/testing/collect-trace-events.d.ts.map +1 -0
  342. package/dist/types/src/execution-graph/testing/index.d.ts +2 -0
  343. package/dist/types/src/execution-graph/testing/index.d.ts.map +1 -0
  344. package/dist/types/src/extensions/prompt-extension.d.ts.map +1 -1
  345. package/dist/types/src/feed-logger.d.ts +13 -0
  346. package/dist/types/src/feed-logger.d.ts.map +1 -0
  347. package/dist/types/src/functions/services.test.d.ts +2 -0
  348. package/dist/types/src/functions/services.test.d.ts.map +1 -0
  349. package/dist/types/src/hooks/index.d.ts +3 -0
  350. package/dist/types/src/hooks/index.d.ts.map +1 -1
  351. package/dist/types/src/hooks/useBlueprintRegistry.d.ts +56 -15
  352. package/dist/types/src/hooks/useBlueprintRegistry.d.ts.map +1 -1
  353. package/dist/types/src/hooks/useChatKeymap.d.ts +12 -0
  354. package/dist/types/src/hooks/useChatKeymap.d.ts.map +1 -0
  355. package/dist/types/src/hooks/useChatProcessor.d.ts +5 -5
  356. package/dist/types/src/hooks/useChatProcessor.d.ts.map +1 -1
  357. package/dist/types/src/hooks/useChatServices.d.ts +7 -3
  358. package/dist/types/src/hooks/useChatServices.d.ts.map +1 -1
  359. package/dist/types/src/hooks/useChatToolbarActions.d.ts.map +1 -1
  360. package/dist/types/src/hooks/useContextBinder.d.ts +2 -2
  361. package/dist/types/src/hooks/useContextBinder.d.ts.map +1 -1
  362. package/dist/types/src/hooks/useContextObjects.d.ts +5 -4
  363. package/dist/types/src/hooks/useContextObjects.d.ts.map +1 -1
  364. package/dist/types/src/hooks/useDebug.d.ts +10 -0
  365. package/dist/types/src/hooks/useDebug.d.ts.map +1 -0
  366. package/dist/types/src/hooks/useFilteredTypes.d.ts +1 -1
  367. package/dist/types/src/hooks/useFilteredTypes.d.ts.map +1 -1
  368. package/dist/types/src/hooks/useFlush.d.ts +1 -1
  369. package/dist/types/src/hooks/useFlush.d.ts.map +1 -1
  370. package/dist/types/src/hooks/usePresets.d.ts +2 -2
  371. package/dist/types/src/hooks/usePresets.d.ts.map +1 -1
  372. package/dist/types/src/hooks/useReferencesProvider.d.ts.map +1 -1
  373. package/dist/types/src/index.d.ts +1 -4
  374. package/dist/types/src/index.d.ts.map +1 -1
  375. package/dist/types/src/meta.d.ts +3 -2
  376. package/dist/types/src/meta.d.ts.map +1 -1
  377. package/dist/types/src/operations/create-chat.d.ts +3 -3
  378. package/dist/types/src/operations/create-chat.d.ts.map +1 -1
  379. package/dist/types/src/operations/ensure-companion-chat.d.ts +3 -3
  380. package/dist/types/src/operations/ensure-companion-chat.d.ts.map +1 -1
  381. package/dist/types/src/operations/fork-chat.d.ts +5 -0
  382. package/dist/types/src/operations/fork-chat.d.ts.map +1 -0
  383. package/dist/types/src/operations/index.d.ts +1 -2
  384. package/dist/types/src/operations/index.d.ts.map +1 -1
  385. package/dist/types/src/operations/prompt.node.test.d.ts +2 -0
  386. package/dist/types/src/operations/prompt.node.test.d.ts.map +1 -0
  387. package/dist/types/src/operations/resolve-navigation-targets.d.ts +4 -2
  388. package/dist/types/src/operations/resolve-navigation-targets.d.ts.map +1 -1
  389. package/dist/types/src/operations/run-prompt-in-new-chat.d.ts +3 -3
  390. package/dist/types/src/operations/run-prompt-in-new-chat.d.ts.map +1 -1
  391. package/dist/types/src/operations/set-current-chat.d.ts +3 -3
  392. package/dist/types/src/operations/set-current-chat.d.ts.map +1 -1
  393. package/dist/types/src/operations/toggle-trace-panel-debug.d.ts +5 -0
  394. package/dist/types/src/operations/toggle-trace-panel-debug.d.ts.map +1 -0
  395. package/dist/types/src/operations/update-chat-name.d.ts +3 -3
  396. package/dist/types/src/operations/update-chat-name.d.ts.map +1 -1
  397. package/dist/types/src/paths.d.ts +3 -0
  398. package/dist/types/src/paths.d.ts.map +1 -0
  399. package/dist/types/src/plugin.d.ts +4 -0
  400. package/dist/types/src/plugin.d.ts.map +1 -0
  401. package/dist/types/src/processor/presets.d.ts.map +1 -1
  402. package/dist/types/src/processor/processor.d.ts +263 -26
  403. package/dist/types/src/processor/processor.d.ts.map +1 -1
  404. package/dist/types/src/processor/processor.node.test.d.ts +2 -0
  405. package/dist/types/src/processor/processor.node.test.d.ts.map +1 -0
  406. package/dist/types/src/templates/automation-templates.test.d.ts +2 -0
  407. package/dist/types/src/templates/automation-templates.test.d.ts.map +1 -0
  408. package/dist/types/src/templates/daily-digest.d.ts +3 -0
  409. package/dist/types/src/templates/daily-digest.d.ts.map +1 -0
  410. package/dist/types/src/templates/index.d.ts +4 -0
  411. package/dist/types/src/templates/index.d.ts.map +1 -0
  412. package/dist/types/src/templates/research-brief.d.ts +3 -0
  413. package/dist/types/src/templates/research-brief.d.ts.map +1 -0
  414. package/dist/types/src/templates/scaffold.d.ts +17 -0
  415. package/dist/types/src/templates/scaffold.d.ts.map +1 -0
  416. package/dist/types/src/testing/index.d.ts +2 -0
  417. package/dist/types/src/testing/index.d.ts.map +1 -1
  418. package/dist/types/src/testing/snapshot.d.ts +21 -0
  419. package/dist/types/src/testing/snapshot.d.ts.map +1 -0
  420. package/dist/types/src/testing/test-generator.d.ts +2 -3
  421. package/dist/types/src/testing/test-generator.d.ts.map +1 -1
  422. package/dist/types/src/testing/test-generator.test.d.ts +2 -0
  423. package/dist/types/src/testing/test-generator.test.d.ts.map +1 -0
  424. package/dist/types/src/testing/test-sequence.d.ts +10 -3
  425. package/dist/types/src/testing/test-sequence.d.ts.map +1 -1
  426. package/dist/types/src/testing/test-services.d.ts.map +1 -1
  427. package/dist/types/src/testing/test-trace.d.ts +5 -0
  428. package/dist/types/src/testing/test-trace.d.ts.map +1 -0
  429. package/dist/types/src/testing/trace-timeline.node.test.d.ts +2 -0
  430. package/dist/types/src/testing/trace-timeline.node.test.d.ts.map +1 -0
  431. package/dist/types/src/testing.d.ts +2 -0
  432. package/dist/types/src/testing.d.ts.map +1 -0
  433. package/dist/types/src/translations.d.ts.map +1 -1
  434. package/dist/types/src/types/Assistant.d.ts +25 -8
  435. package/dist/types/src/types/Assistant.d.ts.map +1 -1
  436. package/dist/types/src/types/AssistantCapabilities.d.ts +30 -0
  437. package/dist/types/src/types/AssistantCapabilities.d.ts.map +1 -0
  438. package/dist/types/src/types/AssistantEvents.d.ts +3 -0
  439. package/dist/types/src/types/AssistantEvents.d.ts.map +1 -0
  440. package/dist/types/src/types/AssistantOperation.d.ts +153 -0
  441. package/dist/types/src/types/AssistantOperation.d.ts.map +1 -0
  442. package/dist/types/src/types/Settings.d.ts +21 -5
  443. package/dist/types/src/types/Settings.d.ts.map +1 -1
  444. package/dist/types/src/types/index.d.ts +8 -3
  445. package/dist/types/src/types/index.d.ts.map +1 -1
  446. package/dist/types/src/types/preset.d.ts +12 -0
  447. package/dist/types/src/types/preset.d.ts.map +1 -0
  448. package/dist/types/src/types/service.d.ts +2 -3
  449. package/dist/types/src/types/service.d.ts.map +1 -1
  450. package/dist/types/src/util/suggestions.d.ts +9 -0
  451. package/dist/types/src/util/suggestions.d.ts.map +1 -0
  452. package/dist/types/src/util/suggestions.test.d.ts +2 -0
  453. package/dist/types/src/util/suggestions.test.d.ts.map +1 -0
  454. package/dist/types/tsconfig.tsbuildinfo +1 -1
  455. package/package.json +177 -146
  456. package/src/AssistantPlugin.conversations.json +1 -0
  457. package/src/AssistantPlugin.node.ts +90 -0
  458. package/src/AssistantPlugin.test.ts +213 -0
  459. package/src/AssistantPlugin.ts +158 -0
  460. package/src/AssistantPlugin.workerd.ts +41 -0
  461. package/src/blueprints/assistant/{blueprint.test.ts → blueprint.node.test.ts} +5 -5
  462. package/src/blueprints/assistant/blueprint.ts +4 -4
  463. package/src/capabilities/agent-hydrator.ts +37 -0
  464. package/src/capabilities/agent-service.ts +38 -0
  465. package/src/capabilities/ai-context.ts +48 -0
  466. package/src/capabilities/ai-service.ts +31 -11
  467. package/src/capabilities/app-graph-builder.ts +106 -86
  468. package/src/capabilities/automation-templates.ts +16 -0
  469. package/src/capabilities/blueprint-definition.ts +15 -8
  470. package/src/capabilities/companion-chat-provisioner.ts +5 -5
  471. package/src/capabilities/create-object.ts +100 -0
  472. package/src/capabilities/edge-model-resolver.ts +53 -16
  473. package/src/capabilities/index.ts +23 -3
  474. package/src/capabilities/integration-provider.ts +86 -0
  475. package/src/capabilities/{markdown.ts → markdown-extension.ts} +3 -3
  476. package/src/capabilities/migrations.ts +4 -11
  477. package/src/capabilities/operation-handler.ts +1 -1
  478. package/src/capabilities/react-surface.tsx +41 -21
  479. package/src/components/AgentProperties/AgentProperties.stories.tsx +74 -0
  480. package/src/components/AgentProperties/AgentProperties.tsx +103 -0
  481. package/src/components/AgentProperties/index.ts +5 -0
  482. package/src/components/AssistantSettings/AssistantSettings.stories.tsx +3 -2
  483. package/src/components/AssistantSettings/AssistantSettings.tsx +22 -111
  484. package/src/components/Chat/Chat.tsx +145 -277
  485. package/src/components/Chat/context.ts +39 -0
  486. package/src/components/Chat/events.ts +7 -0
  487. package/src/components/ChatPrompt/ChatActions.tsx +11 -11
  488. package/src/components/ChatPrompt/ChatMcpErrors.tsx +50 -0
  489. package/src/components/ChatPrompt/ChatOptions.stories.tsx +32 -18
  490. package/src/components/ChatPrompt/ChatOptions.tsx +121 -103
  491. package/src/components/ChatPrompt/ChatPresets.tsx +3 -7
  492. package/src/components/ChatPrompt/ChatPrompt.tsx +180 -0
  493. package/src/components/ChatPrompt/ChatReferences.tsx +9 -13
  494. package/src/components/ChatPrompt/ChatStatus.tsx +123 -0
  495. package/src/components/ChatPrompt/ChatStatusIndicator.tsx +2 -2
  496. package/src/components/ChatPrompt/index.ts +3 -0
  497. package/src/components/ChatThread/Anchor.stories.tsx +95 -0
  498. package/src/components/ChatThread/ChatThread.stories.tsx +33 -37
  499. package/src/components/ChatThread/ChatThread.tsx +47 -23
  500. package/src/components/ChatThread/DEBUG.md +41 -0
  501. package/src/components/ChatThread/Link.tsx +5 -5
  502. package/src/components/ChatThread/MarkdownStream.stories.tsx +43 -5
  503. package/src/components/ChatThread/registry.tsx +80 -28
  504. package/src/components/ChatThread/sync.test.ts +180 -22
  505. package/src/components/ChatThread/sync.ts +89 -104
  506. package/src/components/ChatThread/testing/reasoning.md +25 -0
  507. package/src/components/ChatThread/widgets/FallbackWidget.tsx +8 -6
  508. package/src/components/ChatThread/widgets/ReasoningWidget.ts +13 -7
  509. package/src/components/ChatThread/widgets/ReferenceWidget.ts +3 -1
  510. package/src/components/ChatThread/widgets/SelectWidget.ts +4 -2
  511. package/src/components/ChatThread/widgets/StatsWidget.ts +3 -1
  512. package/src/components/ChatThread/widgets/StatusWidget.ts +6 -86
  513. package/src/components/ChatThread/widgets/SuggestionWidget.ts +2 -2
  514. package/src/components/ChatThread/widgets/SummaryWidget.tsx +7 -6
  515. package/src/components/ChatThread/widgets/ToolWidget.stories.tsx +2 -1
  516. package/src/components/ChatThread/widgets/ToolWidget.tsx +42 -25
  517. package/src/components/ChatThread/widgets/defaults.ts +8 -0
  518. package/src/components/ChatThread/widgets/index.ts +1 -2
  519. package/src/components/ProcessTree/ProcessTree.stories.tsx +13 -39
  520. package/src/components/ProcessTree/ProcessTree.tsx +101 -67
  521. package/src/components/RoutineProperties/RoutineProperties.stories.tsx +59 -0
  522. package/src/components/RoutineProperties/RoutineProperties.tsx +23 -0
  523. package/src/components/RoutineProperties/index.ts +5 -0
  524. package/src/components/TaskList/TaskList.stories.tsx +44 -0
  525. package/src/components/TaskList/TaskList.tsx +45 -0
  526. package/src/components/TaskList/index.ts +5 -0
  527. package/src/components/TemplateEditor/TemplateEditor.stories.tsx +6 -5
  528. package/src/components/TemplateEditor/TemplateEditor.tsx +12 -10
  529. package/src/components/TemplateEditor/TemplateForm.stories.tsx +6 -9
  530. package/src/components/TemplateEditor/TemplateForm.tsx +52 -73
  531. package/src/components/TemplateEditor/extensions/handlebars-extension.ts +2 -2
  532. package/src/components/ToolBlock/ToolBlock.tsx +25 -17
  533. package/src/components/Toolbox/Toolbox.stories.tsx +6 -5
  534. package/src/components/Toolbox/Toolbox.tsx +6 -5
  535. package/src/components/index.ts +6 -0
  536. package/src/constants.ts +9 -0
  537. package/src/containers/AgentArticle/AgentArticle.stories.tsx +19 -15
  538. package/src/containers/AgentArticle/AgentArticle.tsx +47 -53
  539. package/src/containers/AgentProperties/AgentProperties.tsx +20 -135
  540. package/src/containers/BlueprintArticle/BlueprintArticle.tsx +2 -2
  541. package/src/containers/ChatArticle/ChatArticle.stories.tsx +78 -0
  542. package/src/containers/ChatArticle/ChatArticle.tsx +112 -0
  543. package/src/containers/ChatArticle/index.ts +5 -0
  544. package/src/containers/ChatCompanion/ChatCompanion.tsx +94 -109
  545. package/src/containers/ChatDialog/ChatDialog.tsx +6 -11
  546. package/src/containers/PlanArticle/PlanArticle.tsx +33 -0
  547. package/src/containers/PlanArticle/index.ts +5 -0
  548. package/src/containers/RoutineArticle/RoutineArticle.stories.tsx +75 -0
  549. package/src/containers/RoutineArticle/RoutineArticle.tsx +109 -0
  550. package/src/containers/RoutineArticle/index.ts +5 -0
  551. package/src/containers/{PromptList/PromptList.stories.tsx → RoutineList/RoutineList.stories.tsx} +14 -13
  552. package/src/containers/{PromptList/PromptList.tsx → RoutineList/RoutineList.tsx} +9 -8
  553. package/src/containers/RoutineList/index.ts +5 -0
  554. package/src/containers/TracePanel/TracePanel.stories.tsx +285 -168
  555. package/src/containers/TracePanel/TracePanel.tsx +220 -77
  556. package/src/containers/TracePanel/dxn-extractor.test.ts +32 -32
  557. package/src/containers/TracePanel/dxn-extractor.ts +52 -64
  558. package/src/containers/TracePanel/testing/index.ts +6 -0
  559. package/src/containers/TracePanel/testing/simulated-agent.ts +114 -0
  560. package/src/containers/TracePanel/testing/snapshot-playback.ts +45 -0
  561. package/src/containers/TriggerStatus/TriggerStatus.tsx +20 -34
  562. package/src/containers/TriggerStatus/index.ts +1 -1
  563. package/src/containers/index.ts +6 -5
  564. package/src/execution-graph/SPEC.md +690 -0
  565. package/src/execution-graph/execution-graph.test.ts +891 -0
  566. package/src/execution-graph/execution-graph.ts +777 -0
  567. package/src/execution-graph/index.ts +24 -0
  568. package/src/execution-graph/remote-snapshot.test.ts +116 -0
  569. package/src/execution-graph/span-tree.test.ts +249 -0
  570. package/src/execution-graph/span-tree.ts +269 -0
  571. package/src/execution-graph/sub-agent-delegation.test.ts +50 -0
  572. package/src/execution-graph/testing/collect-trace-events.ts +74 -0
  573. package/src/execution-graph/testing/index.ts +5 -0
  574. package/src/execution-graph/testing/sub-agent-delegation.json +1285 -0
  575. package/src/{queue-logger.ts → feed-logger.ts} +39 -25
  576. package/src/functions/services.test.ts +53 -0
  577. package/src/hooks/index.ts +5 -0
  578. package/src/hooks/useBlueprintRegistry.ts +62 -46
  579. package/src/hooks/useChatKeymap.ts +52 -0
  580. package/src/hooks/useChatProcessor.ts +33 -17
  581. package/src/hooks/useChatServices.ts +8 -6
  582. package/src/hooks/useChatToolbarActions.ts +98 -96
  583. package/src/hooks/useContextBinder.ts +7 -7
  584. package/src/hooks/useContextObjects.ts +6 -5
  585. package/src/hooks/useDebug.ts +38 -0
  586. package/src/hooks/useFilteredTypes.ts +18 -16
  587. package/src/hooks/usePresets.ts +5 -3
  588. package/src/hooks/useReferencesProvider.ts +7 -15
  589. package/src/index.ts +1 -5
  590. package/src/meta.ts +27 -8
  591. package/src/operations/create-chat.ts +15 -38
  592. package/src/operations/ensure-companion-chat.ts +49 -47
  593. package/src/operations/fork-chat.ts +112 -0
  594. package/src/operations/index.ts +3 -4
  595. package/src/operations/prompt.node.test.ts +82 -0
  596. package/src/operations/resolve-navigation-targets.ts +8 -3
  597. package/src/operations/run-prompt-in-new-chat.ts +87 -87
  598. package/src/operations/set-current-chat.ts +6 -7
  599. package/src/operations/toggle-trace-panel-debug.ts +27 -0
  600. package/src/operations/update-chat-name.ts +24 -20
  601. package/src/paths.ts +10 -0
  602. package/src/plugin.ts +11 -0
  603. package/src/processor/presets.ts +15 -11
  604. package/src/processor/{processor.test.ts → processor.node.test.ts} +7 -7
  605. package/src/processor/processor.ts +160 -58
  606. package/src/templates/automation-templates.test.ts +66 -0
  607. package/src/templates/daily-digest.ts +37 -0
  608. package/src/templates/index.ts +11 -0
  609. package/src/templates/research-brief.ts +40 -0
  610. package/src/templates/scaffold.ts +74 -0
  611. package/src/testing/data/trace-timeline-multiple.dx.json +1 -0
  612. package/src/testing/data/trace-timeline-remote.dx.json +1 -0
  613. package/src/testing/data/trace-timeline.dx.json +4657 -0
  614. package/src/testing/index.ts +2 -0
  615. package/src/testing/snapshot.ts +35 -0
  616. package/src/testing/test-generator.test.ts +71 -0
  617. package/src/testing/test-generator.ts +196 -205
  618. package/src/testing/test-sequence.ts +3 -3
  619. package/src/testing/test-services.ts +1 -1
  620. package/src/testing/test-trace.ts +20 -0
  621. package/src/testing/trace-timeline.node.conversations.json +1 -0
  622. package/src/testing/{trace-timeline.test.ts → trace-timeline.node.test.ts} +45 -50
  623. package/src/testing.ts +9 -0
  624. package/src/translations.ts +40 -38
  625. package/src/types/Assistant.ts +13 -1
  626. package/src/types/AssistantCapabilities.ts +35 -0
  627. package/src/types/AssistantEvents.ts +11 -0
  628. package/src/{operations/definitions.ts → types/AssistantOperation.ts} +66 -29
  629. package/src/types/Settings.ts +68 -7
  630. package/src/types/index.ts +12 -3
  631. package/src/types/preset.ts +16 -0
  632. package/src/types/service.ts +5 -10
  633. package/src/util/suggestions.test.ts +52 -0
  634. package/src/util/suggestions.ts +42 -0
  635. package/src/vite-env.d.ts +5 -0
  636. package/dist/lib/browser/AssistantSettings-7QMO3LGF.mjs +0 -97
  637. package/dist/lib/browser/AssistantSettings-7QMO3LGF.mjs.map +0 -7
  638. package/dist/lib/browser/chunk-ATHYBVGN.mjs +0 -176
  639. package/dist/lib/browser/chunk-ATHYBVGN.mjs.map +0 -7
  640. package/dist/lib/browser/chunk-EZRS3J25.mjs.map +0 -7
  641. package/dist/lib/browser/chunk-LMVTXH54.mjs +0 -154
  642. package/dist/lib/browser/chunk-LMVTXH54.mjs.map +0 -7
  643. package/dist/lib/browser/create-chat-LBZHGVSN.mjs +0 -82
  644. package/dist/lib/browser/create-chat-LBZHGVSN.mjs.map +0 -7
  645. package/dist/lib/browser/ensure-companion-chat-ZEZA34MZ.mjs.map +0 -7
  646. package/dist/lib/browser/index.mjs +0 -3452
  647. package/dist/lib/browser/index.mjs.map +0 -7
  648. package/dist/lib/browser/meta.json +0 -1
  649. package/dist/lib/browser/on-create-space-54RNX5JI.mjs +0 -22
  650. package/dist/lib/browser/on-create-space-54RNX5JI.mjs.map +0 -7
  651. package/dist/lib/browser/operations/index.mjs +0 -13
  652. package/dist/lib/browser/operations/index.mjs.map +0 -7
  653. package/dist/lib/browser/resolve-navigation-targets-NZOD66NY.mjs.map +0 -7
  654. package/dist/lib/browser/run-prompt-in-new-chat-THLK5YQC.mjs.map +0 -7
  655. package/dist/lib/browser/set-current-chat-LRS3VFSH.mjs.map +0 -7
  656. package/dist/lib/browser/types/index.mjs +0 -20
  657. package/dist/lib/browser/update-chat-name-3Y36KFAS.mjs.map +0 -7
  658. package/dist/lib/node-esm/AssistantSettings-UVUTKO7E.mjs +0 -98
  659. package/dist/lib/node-esm/AssistantSettings-UVUTKO7E.mjs.map +0 -7
  660. package/dist/lib/node-esm/blueprints/index.mjs +0 -9
  661. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
  662. package/dist/lib/node-esm/chunk-NZIKC7AN.mjs +0 -32
  663. package/dist/lib/node-esm/chunk-NZIKC7AN.mjs.map +0 -7
  664. package/dist/lib/node-esm/chunk-PXAJSTGZ.mjs +0 -177
  665. package/dist/lib/node-esm/chunk-PXAJSTGZ.mjs.map +0 -7
  666. package/dist/lib/node-esm/chunk-W3JZ2F4T.mjs +0 -155
  667. package/dist/lib/node-esm/chunk-W3JZ2F4T.mjs.map +0 -7
  668. package/dist/lib/node-esm/create-chat-3BEG4R6J.mjs +0 -83
  669. package/dist/lib/node-esm/create-chat-3BEG4R6J.mjs.map +0 -7
  670. package/dist/lib/node-esm/ensure-companion-chat-6K2WEWFP.mjs +0 -66
  671. package/dist/lib/node-esm/ensure-companion-chat-6K2WEWFP.mjs.map +0 -7
  672. package/dist/lib/node-esm/index.mjs +0 -3453
  673. package/dist/lib/node-esm/index.mjs.map +0 -7
  674. package/dist/lib/node-esm/meta.json +0 -1
  675. package/dist/lib/node-esm/on-create-space-YRPZ6HZY.mjs +0 -23
  676. package/dist/lib/node-esm/on-create-space-YRPZ6HZY.mjs.map +0 -7
  677. package/dist/lib/node-esm/operations/index.mjs +0 -14
  678. package/dist/lib/node-esm/operations/index.mjs.map +0 -7
  679. package/dist/lib/node-esm/resolve-navigation-targets-3PPK7XLH.mjs +0 -23
  680. package/dist/lib/node-esm/resolve-navigation-targets-3PPK7XLH.mjs.map +0 -7
  681. package/dist/lib/node-esm/run-prompt-in-new-chat-OUYKCMQ7.mjs +0 -137
  682. package/dist/lib/node-esm/run-prompt-in-new-chat-OUYKCMQ7.mjs.map +0 -7
  683. package/dist/lib/node-esm/set-current-chat-SMXZJD3F.mjs +0 -55
  684. package/dist/lib/node-esm/set-current-chat-SMXZJD3F.mjs.map +0 -7
  685. package/dist/lib/node-esm/types/index.mjs +0 -21
  686. package/dist/lib/node-esm/update-chat-name-HM2P4NSI.mjs +0 -72
  687. package/dist/lib/node-esm/update-chat-name-HM2P4NSI.mjs.map +0 -7
  688. package/dist/types/src/blueprints/assistant/blueprint.test.d.ts +0 -2
  689. package/dist/types/src/blueprints/assistant/blueprint.test.d.ts.map +0 -1
  690. package/dist/types/src/capabilities/markdown.d.ts.map +0 -1
  691. package/dist/types/src/components/ChatProgress/ChatProgress.d.ts +0 -10
  692. package/dist/types/src/components/ChatProgress/ChatProgress.d.ts.map +0 -1
  693. package/dist/types/src/components/ChatProgress/index.d.ts +0 -2
  694. package/dist/types/src/components/ChatProgress/index.d.ts.map +0 -1
  695. package/dist/types/src/components/ChatThread/widgets/PromptWidget.d.ts +0 -14
  696. package/dist/types/src/components/ChatThread/widgets/PromptWidget.d.ts.map +0 -1
  697. package/dist/types/src/containers/AgentProperties/AgentProperties.stories.d.ts.map +0 -1
  698. package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts +0 -12
  699. package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts.map +0 -1
  700. package/dist/types/src/containers/ChatContainer/index.d.ts +0 -2
  701. package/dist/types/src/containers/ChatContainer/index.d.ts.map +0 -1
  702. package/dist/types/src/containers/PromptArticle/PromptArticle.d.ts +0 -6
  703. package/dist/types/src/containers/PromptArticle/PromptArticle.d.ts.map +0 -1
  704. package/dist/types/src/containers/PromptArticle/index.d.ts +0 -2
  705. package/dist/types/src/containers/PromptArticle/index.d.ts.map +0 -1
  706. package/dist/types/src/containers/PromptList/PromptList.d.ts +0 -6
  707. package/dist/types/src/containers/PromptList/PromptList.d.ts.map +0 -1
  708. package/dist/types/src/containers/PromptList/PromptList.stories.d.ts.map +0 -1
  709. package/dist/types/src/containers/PromptList/index.d.ts +0 -2
  710. package/dist/types/src/containers/PromptList/index.d.ts.map +0 -1
  711. package/dist/types/src/containers/TracePanel/execution-graph.d.ts +0 -17
  712. package/dist/types/src/containers/TracePanel/execution-graph.d.ts.map +0 -1
  713. package/dist/types/src/operations/definitions.d.ts +0 -135
  714. package/dist/types/src/operations/definitions.d.ts.map +0 -1
  715. package/dist/types/src/operations/on-create-space.d.ts +0 -5
  716. package/dist/types/src/operations/on-create-space.d.ts.map +0 -1
  717. package/dist/types/src/processor/processor.test.d.ts +0 -2
  718. package/dist/types/src/processor/processor.test.d.ts.map +0 -1
  719. package/dist/types/src/queue-logger.d.ts +0 -11
  720. package/dist/types/src/queue-logger.d.ts.map +0 -1
  721. package/dist/types/src/testing/trace-timeline.test.d.ts +0 -2
  722. package/dist/types/src/testing/trace-timeline.test.d.ts.map +0 -1
  723. package/dist/types/src/types/capabilities.d.ts +0 -32
  724. package/dist/types/src/types/capabilities.d.ts.map +0 -1
  725. package/dist/types/src/types/defs.d.ts +0 -2
  726. package/dist/types/src/types/defs.d.ts.map +0 -1
  727. package/dist/types/src/types/events.d.ts +0 -5
  728. package/dist/types/src/types/events.d.ts.map +0 -1
  729. package/src/AssistantPlugin.tsx +0 -233
  730. package/src/components/ChatProgress/ChatProgress.tsx +0 -56
  731. package/src/components/ChatProgress/index.ts +0 -5
  732. package/src/components/ChatThread/widgets/PromptWidget.ts +0 -28
  733. package/src/containers/AgentProperties/AgentProperties.stories.tsx +0 -100
  734. package/src/containers/ChatContainer/ChatContainer.tsx +0 -95
  735. package/src/containers/ChatContainer/index.ts +0 -5
  736. package/src/containers/PromptArticle/PromptArticle.tsx +0 -59
  737. package/src/containers/PromptArticle/index.ts +0 -5
  738. package/src/containers/PromptList/index.ts +0 -5
  739. package/src/containers/TracePanel/execution-graph.ts +0 -425
  740. package/src/operations/on-create-space.ts +0 -24
  741. package/src/testing/trace-timeline.conversations.json +0 -1
  742. package/src/types/capabilities.ts +0 -35
  743. package/src/types/defs.ts +0 -5
  744. package/src/types/events.ts +0 -11
  745. /package/dist/lib/{browser/blueprints/index.mjs.map → neutral/AssistantPlugin.mjs.map} +0 -0
  746. /package/dist/lib/{browser/chunk-J5LGTIGS.mjs.map → neutral/ChatArticle-VNVZCDUR.mjs.map} +0 -0
  747. /package/dist/lib/{browser/types → neutral/blueprints}/index.mjs.map +0 -0
  748. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
  749. /package/dist/lib/{node-esm/blueprints/index.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
  750. /package/dist/lib/{node-esm/types → neutral}/index.mjs.map +0 -0
  751. /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/meta.mjs.map} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-assistant",
3
- "version": "0.8.4-main.fcfe5033a5",
3
+ "version": "0.8.4-staging.60fe92afc8",
4
4
  "description": "Assistant plugin",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -8,194 +8,225 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/dxos/dxos"
10
10
  },
11
- "license": "MIT",
11
+ "license": "FSL-1.1-Apache-2.0",
12
12
  "author": "DXOS.org",
13
13
  "sideEffects": true,
14
14
  "type": "module",
15
15
  "imports": {
16
- "#blueprints": "./src/blueprints/index.ts",
17
- "#capabilities": "./src/capabilities/index.ts",
18
- "#components": "./src/components/index.ts",
19
- "#containers": "./src/containers/index.ts",
20
- "#hooks": "./src/hooks/index.ts",
21
- "#meta": "./src/meta.ts",
22
- "#operations": "./src/operations/index.ts",
16
+ "#blueprints": {
17
+ "source": "./src/blueprints/index.ts",
18
+ "types": "./dist/types/src/blueprints/index.d.ts",
19
+ "default": "./dist/lib/neutral/blueprints/index.mjs"
20
+ },
21
+ "#capabilities": {
22
+ "source": "./src/capabilities/index.ts",
23
+ "types": "./dist/types/src/capabilities/index.d.ts",
24
+ "default": "./dist/lib/neutral/capabilities/index.mjs"
25
+ },
26
+ "#components": {
27
+ "source": "./src/components/index.ts",
28
+ "types": "./dist/types/src/components/index.d.ts",
29
+ "default": "./dist/lib/neutral/components/index.mjs"
30
+ },
31
+ "#containers": {
32
+ "source": "./src/containers/index.ts",
33
+ "types": "./dist/types/src/containers/index.d.ts",
34
+ "default": "./dist/lib/neutral/containers/index.mjs"
35
+ },
36
+ "#execution-graph": {
37
+ "source": "./src/execution-graph/index.ts",
38
+ "types": "./dist/types/src/execution-graph/index.d.ts",
39
+ "default": "./dist/lib/neutral/execution-graph/index.mjs"
40
+ },
41
+ "#hooks": {
42
+ "source": "./src/hooks/index.ts",
43
+ "types": "./dist/types/src/hooks/index.d.ts",
44
+ "default": "./dist/lib/neutral/hooks/index.mjs"
45
+ },
46
+ "#meta": {
47
+ "source": "./src/meta.ts",
48
+ "types": "./dist/types/src/meta.d.ts",
49
+ "default": "./dist/lib/neutral/meta.mjs"
50
+ },
51
+ "#operations": {
52
+ "source": "./src/operations/index.ts",
53
+ "types": "./dist/types/src/operations/index.d.ts",
54
+ "default": "./dist/lib/neutral/operations/index.mjs"
55
+ },
56
+ "#plugin": {
57
+ "source": {
58
+ "workerd": "./src/AssistantPlugin.workerd.ts",
59
+ "node": "./src/AssistantPlugin.node.ts",
60
+ "default": "./src/AssistantPlugin.ts"
61
+ },
62
+ "types": "./dist/types/src/AssistantPlugin.d.ts",
63
+ "workerd": "./dist/lib/neutral/AssistantPlugin.workerd.mjs",
64
+ "node": "./dist/lib/neutral/AssistantPlugin.node.mjs",
65
+ "default": "./dist/lib/neutral/AssistantPlugin.mjs"
66
+ },
23
67
  "#testing": "./src/testing/index.ts",
24
- "#types": "./src/types/index.ts"
68
+ "#translations": {
69
+ "source": "./src/translations.ts",
70
+ "types": "./dist/types/src/translations.d.ts",
71
+ "default": "./dist/lib/neutral/translations.mjs"
72
+ },
73
+ "#types": {
74
+ "source": "./src/types/index.ts",
75
+ "types": "./dist/types/src/types/index.d.ts",
76
+ "default": "./dist/lib/neutral/types/index.mjs"
77
+ }
25
78
  },
26
79
  "exports": {
27
80
  ".": {
28
81
  "source": "./src/index.ts",
29
82
  "types": "./dist/types/src/index.d.ts",
30
- "browser": "./dist/lib/browser/index.mjs",
31
- "node": "./dist/lib/node-esm/index.mjs"
83
+ "default": "./dist/lib/neutral/index.mjs"
32
84
  },
85
+ "./assets/PLUGIN.mdl": "./PLUGIN.mdl",
33
86
  "./blueprints": {
34
87
  "source": "./src/blueprints/index.ts",
35
88
  "types": "./dist/types/src/blueprints/index.d.ts",
36
- "browser": "./dist/lib/browser/blueprints/index.mjs",
37
- "node": "./dist/lib/node-esm/blueprints/index.mjs",
38
- "default": "./src/blueprints/index.ts"
89
+ "default": "./dist/lib/neutral/blueprints/index.mjs"
39
90
  },
40
- "./operations": {
41
- "source": "./src/operations/index.ts",
42
- "types": "./dist/types/src/operations/index.d.ts",
43
- "browser": "./dist/lib/browser/operations/index.mjs",
44
- "node": "./dist/lib/node-esm/operations/index.mjs"
91
+ "./components": {
92
+ "source": "./src/components/index.ts",
93
+ "types": "./dist/types/src/components/index.d.ts",
94
+ "default": "./dist/lib/neutral/components/index.mjs"
95
+ },
96
+ "./hooks": {
97
+ "source": "./src/hooks/index.ts",
98
+ "types": "./dist/types/src/hooks/index.d.ts",
99
+ "default": "./dist/lib/neutral/hooks/index.mjs"
100
+ },
101
+ "./plugin": {
102
+ "source": "./src/plugin.ts",
103
+ "types": "./dist/types/src/plugin.d.ts",
104
+ "default": "./dist/lib/neutral/plugin.mjs"
105
+ },
106
+ "./testing": {
107
+ "source": "./src/testing.ts",
108
+ "types": "./dist/types/src/testing.d.ts",
109
+ "default": "./dist/lib/neutral/testing.mjs"
110
+ },
111
+ "./translations": {
112
+ "source": "./src/translations.ts",
113
+ "types": "./dist/types/src/translations.d.ts",
114
+ "default": "./dist/lib/neutral/translations.mjs"
45
115
  },
46
116
  "./types": {
47
117
  "source": "./src/types/index.ts",
48
118
  "types": "./dist/types/src/types/index.d.ts",
49
- "browser": "./dist/lib/browser/types/index.mjs",
50
- "node": "./dist/lib/node-esm/types/index.mjs"
119
+ "default": "./dist/lib/neutral/types/index.mjs"
51
120
  }
52
121
  },
53
122
  "types": "dist/types/src/index.d.ts",
54
- "typesVersions": {
55
- "*": {
56
- "blueprints": [
57
- "dist/types/src/blueprints/index.d.ts"
58
- ],
59
- "operations": [
60
- "dist/types/src/operations/index.d.ts"
61
- ],
62
- "types": [
63
- "dist/types/src/types/index.d.ts"
64
- ]
65
- }
66
- },
67
123
  "files": [
68
124
  "assets",
69
125
  "dist",
70
- "src"
126
+ "src",
127
+ "PLUGIN.mdl"
71
128
  ],
72
129
  "dependencies": {
73
- "@codemirror/autocomplete": "^6.19.0",
74
- "@codemirror/lang-html": "^6.4.11",
75
- "@codemirror/lang-markdown": "6.3.4",
76
- "@codemirror/lang-xml": "^6.1.0",
77
- "@codemirror/language": "^6.11.3",
78
- "@codemirror/lint": "6.8.5",
79
- "@codemirror/state": "^6.5.2",
80
- "@codemirror/view": "^6.38.4",
81
- "@effect-atom/atom": "^0.5.1",
130
+ "@codemirror/autocomplete": "^6.20.2",
131
+ "@codemirror/language": "^6.12.3",
132
+ "@codemirror/state": "^6.6.0",
133
+ "@codemirror/view": "^6.43.0",
134
+ "@effect-atom/atom": "^0.5.3",
82
135
  "@effect-atom/atom-react": "^0.5.0",
83
- "@effect/ai": "0.33.2",
84
- "@effect/ai-anthropic": "0.23.0",
85
- "@effect/ai-openai": "0.37.2",
86
- "@effect/experimental": "0.58.0",
87
- "@effect/platform-browser": "0.74.0",
136
+ "@effect/ai": "0.36.0",
137
+ "@effect/ai-anthropic": "0.26.0",
138
+ "@effect/ai-openai": "0.40.0",
139
+ "@effect/experimental": "0.60.0",
88
140
  "@radix-ui/react-compose-refs": "1.1.1",
89
141
  "@radix-ui/react-context": "1.1.1",
90
- "effect": "3.20.0",
91
- "exa-js": "^1.5.12",
92
- "json5": "^2.2.3",
93
- "jsonpointer": "^5.0.1",
94
- "lodash.defaultsdeep": "^4.6.1",
95
- "unified": "^11.0.0",
96
- "use-deep-compare-effect": "^1.8.1",
97
- "@dxos/app-graph": "0.8.4-main.fcfe5033a5",
98
- "@dxos/app-framework": "0.8.4-main.fcfe5033a5",
99
- "@dxos/app-toolkit": "0.8.4-main.fcfe5033a5",
100
- "@dxos/assistant-toolkit": "0.8.4-main.fcfe5033a5",
101
- "@dxos/assistant": "0.8.4-main.fcfe5033a5",
102
- "@dxos/async": "0.8.4-main.fcfe5033a5",
103
- "@dxos/blueprints": "0.8.4-main.fcfe5033a5",
104
- "@dxos/ai": "0.8.4-main.fcfe5033a5",
105
- "@dxos/compute": "0.8.4-main.fcfe5033a5",
106
- "@dxos/config": "0.8.4-main.fcfe5033a5",
107
- "@dxos/context": "0.8.4-main.fcfe5033a5",
108
- "@dxos/devtools": "0.8.4-main.fcfe5033a5",
109
- "@dxos/debug": "0.8.4-main.fcfe5033a5",
110
- "@dxos/conductor": "0.8.4-main.fcfe5033a5",
111
- "@dxos/echo": "0.8.4-main.fcfe5033a5",
112
- "@dxos/echo-atom": "0.8.4-main.fcfe5033a5",
113
- "@dxos/echo-db": "0.8.4-main.fcfe5033a5",
114
- "@dxos/echo-protocol": "0.8.4-main.fcfe5033a5",
115
- "@dxos/effect": "0.8.4-main.fcfe5033a5",
116
- "@dxos/edge-client": "0.8.4-main.fcfe5033a5",
117
- "@dxos/client": "0.8.4-main.fcfe5033a5",
118
- "@dxos/echo-query": "0.8.4-main.fcfe5033a5",
119
- "@dxos/functions": "0.8.4-main.fcfe5033a5",
120
- "@dxos/invariant": "0.8.4-main.fcfe5033a5",
121
- "@dxos/graph": "0.8.4-main.fcfe5033a5",
122
- "@dxos/keys": "0.8.4-main.fcfe5033a5",
123
- "@dxos/functions-runtime": "0.8.4-main.fcfe5033a5",
124
- "@dxos/lit-ui": "0.8.4-main.fcfe5033a5",
125
- "@dxos/operation": "0.8.4-main.fcfe5033a5",
126
- "@dxos/log": "0.8.4-main.fcfe5033a5",
127
- "@dxos/plugin-automation": "0.8.4-main.fcfe5033a5",
128
- "@dxos/plugin-deck": "0.8.4-main.fcfe5033a5",
129
- "@dxos/plugin-graph": "0.8.4-main.fcfe5033a5",
130
- "@dxos/plugin-attention": "0.8.4-main.fcfe5033a5",
131
- "@dxos/plugin-map": "0.8.4-main.fcfe5033a5",
132
- "@dxos/plugin-client": "0.8.4-main.fcfe5033a5",
133
- "@dxos/plugin-markdown": "0.8.4-main.fcfe5033a5",
134
- "@dxos/plugin-status-bar": "0.8.4-main.fcfe5033a5",
135
- "@dxos/plugin-space": "0.8.4-main.fcfe5033a5",
136
- "@dxos/plugin-table": "0.8.4-main.fcfe5033a5",
137
- "@dxos/plugin-transcription": "0.8.4-main.fcfe5033a5",
138
- "@dxos/react-edge-client": "0.8.4-main.fcfe5033a5",
139
- "@dxos/protocols": "0.8.4-main.fcfe5033a5",
140
- "@dxos/react-ui-attention": "0.8.4-main.fcfe5033a5",
141
- "@dxos/react-ui-canvas-compute": "0.8.4-main.fcfe5033a5",
142
- "@dxos/react-ui-canvas-editor": "0.8.4-main.fcfe5033a5",
143
- "@dxos/react-ui-chat": "0.8.4-main.fcfe5033a5",
144
- "@dxos/react-client": "0.8.4-main.fcfe5033a5",
145
- "@dxos/react-ui-components": "0.8.4-main.fcfe5033a5",
146
- "@dxos/react-ui-form": "0.8.4-main.fcfe5033a5",
147
- "@dxos/react-ui-editor": "0.8.4-main.fcfe5033a5",
148
- "@dxos/react-ui-list": "0.8.4-main.fcfe5033a5",
149
- "@dxos/react-ui-graph": "0.8.4-main.fcfe5033a5",
150
- "@dxos/react-ui-markdown": "0.8.4-main.fcfe5033a5",
151
- "@dxos/react-ui-menu": "0.8.4-main.fcfe5033a5",
152
- "@dxos/react-ui-search": "0.8.4-main.fcfe5033a5",
153
- "@dxos/react-ui-mosaic": "0.8.4-main.fcfe5033a5",
154
- "@dxos/react-ui-sfx": "0.8.4-main.fcfe5033a5",
155
- "@dxos/react-ui-syntax-highlighter": "0.8.4-main.fcfe5033a5",
156
- "@dxos/react-ui-tabs": "0.8.4-main.fcfe5033a5",
157
- "@dxos/react-ui-stack": "0.8.4-main.fcfe5033a5",
158
- "@dxos/schema": "0.8.4-main.fcfe5033a5",
159
- "@dxos/ui-editor": "0.8.4-main.fcfe5033a5",
160
- "@dxos/ui": "0.8.4-main.fcfe5033a5",
161
- "@dxos/types": "0.8.4-main.fcfe5033a5",
162
- "@dxos/util": "0.8.4-main.fcfe5033a5",
163
- "@dxos/react-ui-masonry": "0.8.4-main.fcfe5033a5"
142
+ "effect": "3.21.3",
143
+ "@dxos/ai": "0.8.4-staging.60fe92afc8",
144
+ "@dxos/app-graph": "0.8.4-staging.60fe92afc8",
145
+ "@dxos/app-toolkit": "0.8.4-staging.60fe92afc8",
146
+ "@dxos/assistant": "0.8.4-staging.60fe92afc8",
147
+ "@dxos/app-framework": "0.8.4-staging.60fe92afc8",
148
+ "@dxos/client": "0.8.4-staging.60fe92afc8",
149
+ "@dxos/async": "0.8.4-staging.60fe92afc8",
150
+ "@dxos/compute-runtime": "0.8.4-staging.60fe92afc8",
151
+ "@dxos/compute": "0.8.4-staging.60fe92afc8",
152
+ "@dxos/assistant-toolkit": "0.8.4-staging.60fe92afc8",
153
+ "@dxos/conductor": "0.8.4-staging.60fe92afc8",
154
+ "@dxos/devtools": "0.8.4-staging.60fe92afc8",
155
+ "@dxos/echo-client": "0.8.4-staging.60fe92afc8",
156
+ "@dxos/echo": "0.8.4-staging.60fe92afc8",
157
+ "@dxos/effect": "0.8.4-staging.60fe92afc8",
158
+ "@dxos/edge-client": "0.8.4-staging.60fe92afc8",
159
+ "@dxos/invariant": "0.8.4-staging.60fe92afc8",
160
+ "@dxos/functions-runtime": "0.8.4-staging.60fe92afc8",
161
+ "@dxos/keys": "0.8.4-staging.60fe92afc8",
162
+ "@dxos/plugin-automation": "0.8.4-staging.60fe92afc8",
163
+ "@dxos/lit-ui": "0.8.4-staging.60fe92afc8",
164
+ "@dxos/log": "0.8.4-staging.60fe92afc8",
165
+ "@dxos/plugin-client": "0.8.4-staging.60fe92afc8",
166
+ "@dxos/plugin-graph": "0.8.4-staging.60fe92afc8",
167
+ "@dxos/plugin-integration": "0.8.4-staging.60fe92afc8",
168
+ "@dxos/plugin-deck": "0.8.4-staging.60fe92afc8",
169
+ "@dxos/plugin-map": "0.8.4-staging.60fe92afc8",
170
+ "@dxos/plugin-markdown": "0.8.4-staging.60fe92afc8",
171
+ "@dxos/plugin-space": "0.8.4-staging.60fe92afc8",
172
+ "@dxos/plugin-status-bar": "0.8.4-staging.60fe92afc8",
173
+ "@dxos/plugin-table": "0.8.4-staging.60fe92afc8",
174
+ "@dxos/react-ui-attention": "0.8.4-staging.60fe92afc8",
175
+ "@dxos/react-client": "0.8.4-staging.60fe92afc8",
176
+ "@dxos/react-ui-chat": "0.8.4-staging.60fe92afc8",
177
+ "@dxos/plugin-transcription": "0.8.4-staging.60fe92afc8",
178
+ "@dxos/react-ui-components": "0.8.4-staging.60fe92afc8",
179
+ "@dxos/react-ui-form": "0.8.4-staging.60fe92afc8",
180
+ "@dxos/react-ui-list": "0.8.4-staging.60fe92afc8",
181
+ "@dxos/react-ui-editor": "0.8.4-staging.60fe92afc8",
182
+ "@dxos/react-ui-graph": "0.8.4-staging.60fe92afc8",
183
+ "@dxos/react-ui-markdown": "0.8.4-staging.60fe92afc8",
184
+ "@dxos/react-ui-masonry": "0.8.4-staging.60fe92afc8",
185
+ "@dxos/react-ui-menu": "0.8.4-staging.60fe92afc8",
186
+ "@dxos/react-ui-syntax-highlighter": "0.8.4-staging.60fe92afc8",
187
+ "@dxos/react-ui-search": "0.8.4-staging.60fe92afc8",
188
+ "@dxos/react-ui-mosaic": "0.8.4-staging.60fe92afc8",
189
+ "@dxos/schema": "0.8.4-staging.60fe92afc8",
190
+ "@dxos/types": "0.8.4-staging.60fe92afc8",
191
+ "@dxos/react-ui-tabs": "0.8.4-staging.60fe92afc8",
192
+ "@dxos/ui": "0.8.4-staging.60fe92afc8",
193
+ "@dxos/util": "0.8.4-staging.60fe92afc8",
194
+ "@dxos/ui-editor": "0.8.4-staging.60fe92afc8"
164
195
  },
165
196
  "devDependencies": {
166
- "@effect/platform": "0.94.4",
197
+ "@effect/platform": "0.96.1",
167
198
  "@types/lodash.defaultsdeep": "^4.6.6",
168
199
  "@types/react": "~19.2.7",
169
200
  "@types/react-dom": "~19.2.3",
170
- "effect": "3.20.0",
201
+ "effect": "3.21.3",
171
202
  "openapi-types": "^12.1.3",
172
203
  "react": "~19.2.3",
173
204
  "react-dom": "~19.2.3",
174
- "vite": "^7.1.11",
175
- "@dxos/devtools": "0.8.4-main.fcfe5033a5",
176
- "@dxos/assistant-toolkit": "0.8.4-main.fcfe5033a5",
177
- "@dxos/echo-db": "0.8.4-main.fcfe5033a5",
178
- "@dxos/plugin-chess": "0.8.4-main.fcfe5033a5",
179
- "@dxos/plugin-client": "0.8.4-main.fcfe5033a5",
180
- "@dxos/plugin-map": "0.8.4-main.fcfe5033a5",
181
- "@dxos/plugin-preview": "0.8.4-main.fcfe5033a5",
182
- "@dxos/random": "0.8.4-main.fcfe5033a5",
183
- "@dxos/plugin-table": "0.8.4-main.fcfe5033a5",
184
- "@dxos/plugin-testing": "0.8.4-main.fcfe5033a5",
185
- "@dxos/react-ui": "0.8.4-main.fcfe5033a5",
186
- "@dxos/react-ui-table": "0.8.4-main.fcfe5033a5",
187
- "@dxos/ui-theme": "0.8.4-main.fcfe5033a5",
188
- "@dxos/react-ui-menu": "0.8.4-main.fcfe5033a5",
189
- "@dxos/storybook-utils": "0.8.4-main.fcfe5033a5"
205
+ "vite": "^8.0.16",
206
+ "@dxos/assistant-toolkit": "0.8.4-staging.60fe92afc8",
207
+ "@dxos/devtools": "0.8.4-staging.60fe92afc8",
208
+ "@dxos/echo-client": "0.8.4-staging.60fe92afc8",
209
+ "@dxos/plugin-map": "0.8.4-staging.60fe92afc8",
210
+ "@dxos/plugin-client": "0.8.4-staging.60fe92afc8",
211
+ "@dxos/plugin-chess": "0.8.4-staging.60fe92afc8",
212
+ "@dxos/plugin-preview": "0.8.4-staging.60fe92afc8",
213
+ "@dxos/plugin-table": "0.8.4-staging.60fe92afc8",
214
+ "@dxos/plugin-testing": "0.8.4-staging.60fe92afc8",
215
+ "@dxos/random": "0.8.4-staging.60fe92afc8",
216
+ "@dxos/react-ui-table": "0.8.4-staging.60fe92afc8",
217
+ "@dxos/react-ui-menu": "0.8.4-staging.60fe92afc8",
218
+ "@dxos/react-ui": "0.8.4-staging.60fe92afc8",
219
+ "@dxos/storybook-utils": "0.8.4-staging.60fe92afc8",
220
+ "@dxos/ui-theme": "0.8.4-staging.60fe92afc8"
190
221
  },
191
222
  "peerDependencies": {
192
223
  "@effect-atom/atom-react": "^0.5.0",
193
- "@effect/platform": "0.94.4",
194
- "effect": "3.20.0",
224
+ "@effect/platform": "0.96.1",
225
+ "effect": "3.21.3",
195
226
  "react": "~19.2.3",
196
227
  "react-dom": "~19.2.3",
197
- "@dxos/react-ui": "0.8.4-main.fcfe5033a5",
198
- "@dxos/ui-theme": "0.8.4-main.fcfe5033a5"
228
+ "@dxos/ui-theme": "0.8.4-staging.60fe92afc8",
229
+ "@dxos/react-ui": "0.8.4-staging.60fe92afc8"
199
230
  },
200
231
  "publishConfig": {
201
232
  "access": "public"
@@ -0,0 +1 @@
1
+ {"conversations":[{"parameters":{"model":"ai.claude.model.claude-haiku-4-5","stream":false,"tools":[]},"prompt":{"content":[{"role":"user","content":"What is the capital of France?","options":{}}]},"response":[{"type":"response-metadata","id":"msg_01RAT1yY9tVtS52NYBywnUJB","modelId":"claude-haiku-4-5-20251001","timestamp":"2026-06-03T12:07:13.610Z","metadata":{}},{"type":"text","text":"The capital of France is Paris.","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":14,"outputTokens":10,"totalTokens":24,"cachedInputTokens":0},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":14,"output_tokens":10,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"ai.claude.model.claude-opus-4-6","stream":true,"tools":[{"name":"completeJob","inputSchema":{"type":"object","required":[],"properties":{"success":{"$id":"/schemas/any","title":"any"},"failure":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"Short message describing the error."},"description":{"type":"string","description":"Optional longer message describing in detail what went wrong"}},"additionalProperties":false}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"You are an agent running in the non-interactive mode.\nThe user is unable to see what you are doing, and cannot answer any questions.\nDo not ask questions.\nComplete the task before you, and at the end call [completeJob] with the output.\nIf you are unable to complete the task, call [completeJob] with the failure reason.\nIf no output is required, call [completeJob] with an empty object: {}\nDo not stop until you call [completeJob].","options":{}},{"role":"user","content":"Reply with the capital of the provided country. all lowercase.\n<input>{\"country\":\"France\"}</input>","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01CvujoLHHYXutqyKqLZ5QMW","modelId":"claude-opus-4-6","timestamp":"2026-06-03T12:26:08.176Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"paris","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EssBCmMIDhgCKkCM/bVIaQfSTF8ZExTrOGiJMTlhINeqLYjdGBN5d6WB2wznSWZwBIOHWFggpDGbo7lmj+V7CDd2Uf6RAI2XENrkMg9jbGF1ZGUtb3B1cy00LTY4AEIIdGhpbmtpbmcSDJQ219jieZ4FkG08mhoMionboLaCpp5UyBOwIjDS6S//RiWi7WY4iQlzoFsn48TJTk6xiMBy+rbNHTYrkNnCu8hP+4G1yNp/0PSaUzgqFsC+3a+IZb67uEB/OYaMJe4AIyb6AJwYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01WVzQgBTHKacGVNr2XsiEgD","name":"completeJob","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01WVzQgBTHKacGVNr2XsiEgD","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01WVzQgBTHKacGVNr2XsiEgD","delta":"{\"success\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01WVzQgBTHKacGVNr2XsiEgD","delta":" \"pa","metadata":{}},{"type":"tool-params-delta","id":"toolu_01WVzQgBTHKacGVNr2XsiEgD","delta":"ris\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01WVzQgBTHKacGVNr2XsiEgD","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":765,"outputTokens":70,"totalTokens":835},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":765,"output_tokens":48,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"ai.claude.model.claude-opus-4-6","stream":true,"tools":[{"name":"completeJob","inputSchema":{"type":"object","required":[],"properties":{"success":{"$id":"/schemas/any","title":"any"},"failure":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"Short message describing the error."},"description":{"type":"string","description":"Optional longer message describing in detail what went wrong"}},"additionalProperties":false}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"You are an agent running in the non-interactive mode.\nThe user is unable to see what you are doing, and cannot answer any questions.\nDo not ask questions.\nComplete the task before you, and at the end call [completeJob] with the output.\nIf you are unable to complete the task, call [completeJob] with the failure reason.\nIf no output is required, call [completeJob] with an empty object: {}\nDo not stop until you call [completeJob].","options":{}},{"role":"user","content":"Reply with the capital of the provided country. all lowercase.\n<input>{\"country\":\"France\"}</input>","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"paris","options":{}},{"type":"tool-call","id":"toolu_01WVzQgBTHKacGVNr2XsiEgD","name":"completeJob","params":{"success":"paris"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01WVzQgBTHKacGVNr2XsiEgD","name":"completeJob","isFailure":false,"result":{},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_018uyMDm9KkyaKoR1RmcptUT","modelId":"claude-opus-4-6","timestamp":"2026-06-03T12:26:10.072Z","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":831,"outputTokens":2,"totalTokens":833},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":831,"output_tokens":2,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"ai.claude.model.claude-haiku-4-5","stream":true,"tools":[{"name":"completeJob","inputSchema":{"type":"object","required":[],"properties":{"success":{"$id":"/schemas/any","title":"any"},"failure":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"Short message describing the error."},"description":{"type":"string","description":"Optional longer message describing in detail what went wrong"}},"additionalProperties":false}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"You are an agent running in the non-interactive mode.\nThe user is unable to see what you are doing, and cannot answer any questions.\nDo not ask questions.\nComplete the task before you, and at the end call [completeJob] with the output.\nIf you are unable to complete the task, call [completeJob] with the failure reason.\nIf no output is required, call [completeJob] with an empty object: {}\nDo not stop until you call [completeJob].","options":{}},{"role":"user","content":"Reply with the capital of the provided country. all lowercase.\n<input>{\"country\":\"France\"}</input>","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01G9aGiJEbcFVuTm7yZYswf2","modelId":"claude-haiku-4-5-20251001","timestamp":"2026-06-03T12:27:48.910Z","metadata":{}},{"type":"tool-params-start","id":"toolu_01333qQ84nAJZ7e8yV1wfRt4","name":"completeJob","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01333qQ84nAJZ7e8yV1wfRt4","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01333qQ84nAJZ7e8yV1wfRt4","delta":"{\"succes","metadata":{}},{"type":"tool-params-delta","id":"toolu_01333qQ84nAJZ7e8yV1wfRt4","delta":"s\": \"paris\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01333qQ84nAJZ7e8yV1wfRt4","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":764,"outputTokens":54,"totalTokens":818},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":764,"output_tokens":54,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"ai.claude.model.claude-haiku-4-5","stream":true,"tools":[{"name":"completeJob","inputSchema":{"type":"object","required":[],"properties":{"success":{"$id":"/schemas/any","title":"any"},"failure":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"Short message describing the error."},"description":{"type":"string","description":"Optional longer message describing in detail what went wrong"}},"additionalProperties":false}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"You are an agent running in the non-interactive mode.\nThe user is unable to see what you are doing, and cannot answer any questions.\nDo not ask questions.\nComplete the task before you, and at the end call [completeJob] with the output.\nIf you are unable to complete the task, call [completeJob] with the failure reason.\nIf no output is required, call [completeJob] with an empty object: {}\nDo not stop until you call [completeJob].","options":{}},{"role":"user","content":"Reply with the capital of the provided country. all lowercase.\n<input>{\"country\":\"France\"}</input>","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_01333qQ84nAJZ7e8yV1wfRt4","name":"completeJob","params":{"success":"paris"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01333qQ84nAJZ7e8yV1wfRt4","name":"completeJob","isFailure":false,"result":{},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01LaRe85bD4MGAeouB9kbQtt","modelId":"claude-haiku-4-5-20251001","timestamp":"2026-06-03T12:27:49.634Z","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":830,"outputTokens":2,"totalTokens":832},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":830,"output_tokens":2,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"ai.claude.model.claude-haiku-4-5","stream":true,"tools":[{"name":"completeJob","inputSchema":{"type":"object","required":[],"properties":{"success":{"$id":"/schemas/any","title":"any"},"failure":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"Short message describing the error."},"description":{"type":"string","description":"Optional longer message describing in detail what went wrong"}},"additionalProperties":false}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"You are an agent running in the non-interactive mode.\nThe user is unable to see what you are doing, and cannot answer any questions.\nDo not ask questions.\nComplete the task before you, and at the end call [completeJob] with the output.\nIf you are unable to complete the task, call [completeJob] with the failure reason.\nIf no output is required, call [completeJob] with an empty object: {}\nDo not stop until you call [completeJob].","options":{}},{"role":"user","content":"Call completeJob with success set to a JSON object { \"capital\": \"<lowercase country capital>\" } for the country in input.\n<input>{\"country\":\"France\"}</input>","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_015jteJyGb5nE3WmLmVtGVZw","modelId":"claude-haiku-4-5-20251001","timestamp":"2026-06-03T12:29:09.994Z","metadata":{}},{"type":"tool-params-start","id":"toolu_01427PGZw3XpRqSJVkk5boDy","name":"completeJob","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01427PGZw3XpRqSJVkk5boDy","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01427PGZw3XpRqSJVkk5boDy","delta":"{\"success","metadata":{}},{"type":"tool-params-delta","id":"toolu_01427PGZw3XpRqSJVkk5boDy","delta":"\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01427PGZw3XpRqSJVkk5boDy","delta":" {\"capital\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01427PGZw3XpRqSJVkk5boDy","delta":"\"paris\"}}","metadata":{}},{"type":"tool-params-end","id":"toolu_01427PGZw3XpRqSJVkk5boDy","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":779,"outputTokens":59,"totalTokens":838},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":779,"output_tokens":59,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"ai.claude.model.claude-haiku-4-5","stream":true,"tools":[{"name":"completeJob","inputSchema":{"type":"object","required":[],"properties":{"success":{"$id":"/schemas/any","title":"any"},"failure":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"Short message describing the error."},"description":{"type":"string","description":"Optional longer message describing in detail what went wrong"}},"additionalProperties":false}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"You are an agent running in the non-interactive mode.\nThe user is unable to see what you are doing, and cannot answer any questions.\nDo not ask questions.\nComplete the task before you, and at the end call [completeJob] with the output.\nIf you are unable to complete the task, call [completeJob] with the failure reason.\nIf no output is required, call [completeJob] with an empty object: {}\nDo not stop until you call [completeJob].","options":{}},{"role":"user","content":"Call completeJob with success set to a JSON object { \"capital\": \"<lowercase country capital>\" } for the country in input.\n<input>{\"country\":\"France\"}</input>","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_01427PGZw3XpRqSJVkk5boDy","name":"completeJob","params":{"success":{"capital":"paris"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01427PGZw3XpRqSJVkk5boDy","name":"completeJob","isFailure":false,"result":{},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_018FbdhevYwss68E5nCRy5gj","modelId":"claude-haiku-4-5-20251001","timestamp":"2026-06-03T12:29:10.686Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done","metadata":{}},{"type":"text-delta","id":"0","delta":"! I've completed the job by calling completeJob with the success parameter set to a JSON object containing the lowercase capital","metadata":{}},{"type":"text-delta","id":"0","delta":" of France, which is \"paris\".","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":850,"outputTokens":36,"totalTokens":886},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":850,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"ai.claude.model.claude-opus-4-6","stream":true,"tools":[{"name":"set-alarm","description":"Schedule an alarm to wake yourself up in the future.\nProvide exactly one of \"in\" (a duration from now) or \"at\" (an absolute time).\nWhen the alarm fires you will receive a prompt and can continue working.\nSetting a new alarm replaces any previously scheduled one.","inputSchema":{"type":"object","required":[],"properties":{"in":{"type":"string","description":"Duration from now expressed as \"<number> <unit>\", e.g. \"30 seconds\", \"5 minutes\", \"2 hours\"."},"at":{"type":"string","description":"Absolute ISO-8601 timestamp to wake at, e.g. \"2026-06-04T18:00:00.000Z\"."}},"additionalProperties":false}},{"name":"get-current-date","description":"Get the current date and time as an ISO-8601 string.","inputSchema":{"type":"object","required":[],"properties":{"timezone":{"type":"string","description":"Optional IANA timezone name. Defaults to the process clock when omitted."}},"additionalProperties":false}},{"name":"add-to-context","description":"Adds the object to the chat context.\nUse this it for objects that are useful long-term for the conversation.","inputSchema":{"type":"object","required":["obj"],"properties":{"obj":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]}},"additionalProperties":false}},{"name":"remove-from-context","description":"Removes the object from the chat context.\nUse this it for objects that are no longer useful for the conversation.","inputSchema":{"type":"object","required":["obj"],"properties":{"obj":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]}},"additionalProperties":false}},{"name":"load-object","description":"Loads the object or relation content.\nCan load multiple objects at at time.\nUse the to read the data when you have a DXN.\nCall this tool with an array of one or more DXNs or object IDs.\nWhen use see a reference ({ '/': 'echo:...' }), you can call this function to load the object.\nNote that returned data is only a snapshot in time, and might have changed since the object was last loaded.","inputSchema":{"type":"object","required":["refs"],"properties":{"refs":{"type":"array","items":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]}}},"additionalProperties":false}},{"name":"create-object","description":"Creates a new object and adds it to the current space.\nGet the schema from the schema-list tool and ensure that the data matches the corresponding schema.\nReferences are provided in the following format: { \"/\": \"echo:...\" }.\nReference examples: { \"/\": \"echo:/01KG7R1ZXWFMWQ4DA1Q6TN1DG4\" }, { \"/\": \"echo://<space id>/01KG7R1ZXWFMWQ4DA1Q6TN1DG4\" }","inputSchema":{"type":"object","required":["typename","data"],"properties":{"typename":{"type":"string"},"data":{"$id":"/schemas/any","title":"any"}},"additionalProperties":false}},{"name":"delete-object","description":"Deletes the object.","inputSchema":{"type":"object","required":["obj"],"properties":{"obj":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]}},"additionalProperties":false}},{"name":"update-object","description":"Updates the object properties.\nReferences are provided in the following format: { \"/\": \"echo:...\" }.\nReference examples: { \"/\": \"echo:/01KG7R1ZXWFMWQ4DA1Q6TN1DG4\" }, { \"/\": \"echo://<space id>/01KG7R1ZXWFMWQ4DA1Q6TN1DG4\" }","inputSchema":{"type":"object","required":["obj","properties"],"properties":{"obj":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]},"properties":{"type":"object","required":[],"properties":{},"additionalProperties":{"$id":"/schemas/any","title":"any"}}},"additionalProperties":false}},{"name":"query","description":"Query for objects in ECHO.\nUse this tool when searching for information in the space (both automerge and queues).\nCurrently, two types of queries are supported:\n - Full-text search - terms may appear anywhere in the object.\n - Type-based search - objects of a specific type.\nYou can use them together, for example, to search for objects of a specific type that match a full-text query.\nImportant: Whem querying by typename, make sure to list the schema first, to get the exact typename.\n\nOmit both typename and text to search for all objects.\n\n<output_format>\n You can choose to either return the full object data, or just the DXN, type and label.\n When expecting a lot of results, run with includeContent=false to not pollute the context, and then load specific objects using the load tool.\n\n You can choose to get the content right away, if you don't expect a lot of results.\n To load content right away, run with includeContent=true.\n When loading content, set an appropriate limit on the number of results to avoid overwhelming the context.\n</output_format>\n\n<example description=\"All tasks related to Cyberdyne and Bob\">\n {\n \"typename\": \"org.dxos.type.task\",\n \"text\": \"cyberdyne bob\",\n }\n</example>\n\n<example description=\"Financial report Q1 2026\">\n {\n \"typename\": \"org.dxos.type.document\",\n \"text\": \"financial report Q1 2026\",\n \"includeContent\": true\n \"limit\": 3\n }\n</example>\n\n<example description=\"Emails from specific mailboxes\">\n {\n \"in\": [{\"/\" : \"echo:/YYYYYY\"}, {\"/\" : \"echo:/XXXXXXX\"}],\n \"typename\": \"org.dxos.type.email\",\n \"includeContent\": true,\n \"limit\": 20\n }\n</example>","inputSchema":{"type":"object","required":[],"properties":{"in":{"type":"array","items":{"$id":"/schemas/echo/ref","$ref":"/schemas/echo/ref","reference":{"schema":{"$ref":"dxn:org.dxos.schema.anyObject"},"schemaVersion":"0.0.0"}},"description":"Scope the query to children of specific objects (transitively). Use this to query items within containers such as feeds or folders. For example, to find emails use `in: [mailbox1.feed, mailbox2.feed]`."},"typename":{"type":"string","description":"The typename of the objects to list."},"text":{"type":"string","description":"Full text search query."},"includeContent":{"type":"boolean","description":"Include the full object data in the response."},"limit":{"type":"number","description":"The maximum number of results to return."},"includeQueues":{"type":"boolean","description":"Search in queues as well as spaces. Only use this if searching for emails."}},"additionalProperties":false}},{"name":"create-relation","description":"Creates a new relation and adds it to the current space.\nGet the schema from the schema-list tool and ensure that the data matches the corresponding schema.","inputSchema":{"type":"object","required":["typename","source","target","properties"],"properties":{"typename":{"type":"string"},"source":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]},"target":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]},"properties":{"$id":"/schemas/any","description":"The data to be stored in the relation.","title":"any"}},"additionalProperties":false}},{"name":"delete-relation","description":"Deletes the relation.","inputSchema":{"type":"object","required":["rel"],"properties":{"rel":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]}},"additionalProperties":false}},{"name":"add-schema","description":"Adds a schema to the space.\nThe name will be used when displayed to the user.","inputSchema":{"type":"object","required":["name","typename","jsonSchema"],"properties":{"name":{"type":"string"},"typename":{"type":"string","description":"The typename of the schema in the format of \"com.example.type.type\"."},"jsonSchema":{"$id":"/schemas/any","title":"any"}},"additionalProperties":false}},{"name":"list-schemas","description":"Lists schemas definitions.","inputSchema":{"type":"object","required":[],"properties":{"limit":{"type":"number"}},"additionalProperties":false}},{"name":"add-tag","description":"Adds a tag to an object.\nTags are objects of type org.dxos.type.tag.\nYou must search database for available tags, or create a new one.","inputSchema":{"type":"object","required":["tag","obj"],"properties":{"tag":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]},"obj":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]}},"additionalProperties":false}},{"name":"remove-tag","description":"Removes a tag from an object.\nTags are objects of type org.dxos.type.tag.","inputSchema":{"type":"object","required":["tag","obj"],"properties":{"tag":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]},"obj":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]}},"additionalProperties":false}},{"name":"resolve-navigation-targets","description":"Resolve navigation targets within the application. The returned paths can be used with the Open operation. Without a query, returns pages that can be navigated to.","inputSchema":{"type":"object","required":[],"properties":{"query":{"type":"object","required":[],"properties":{"dxn":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false}},{"name":"query-blueprints","description":"Queries available blueprints.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"enable-blueprints","description":"Enables blueprints in the current conversation by their keys. Only blueprints with agentCanEnable=true can be enabled. Always call [query-blueprints] first to discover available blueprint keys.","inputSchema":{"type":"object","required":["keys"],"properties":{"keys":{"type":"array","items":{"type":"string"},"description":"The keys of the blueprints to enable."}},"additionalProperties":false}},{"name":"agent-rules","description":"Gets the rules for creating an agent.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"create-agent","description":"Creates a new agent.","inputSchema":{"type":"object","required":["name","instructions","blueprints","subscriptions"],"properties":{"name":{"type":"string","description":"The name of the agent to create."},"instructions":{"type":"string","description":"The goal of the agent. Be specific but not too verbose. The agent will use this as a core objective and set of rules to follow."},"blueprints":{"type":"array","items":{"type":"string"},"description":"The blueprint keys to use for the agent."},"subscriptions":{"type":"array","items":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]},"description":"The objects to subscribe to for the agent. Can be references to mailboxes."}},"additionalProperties":false}},{"name":"sync-triggers","description":"Synchronizes triggers with the agent: subscriptions, cron, filter-events, and enabled (copied to every trigger). Call after editing those fields.","inputSchema":{"type":"object","required":["agent"],"properties":{"agent":{"type":"string","description":"The URI of the referenced object. Protocols accepted:\n- echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4. \n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)\n- dxn:org.dxos.type.calendar:0.1.0 -- named entity from the registry. Absoutely make sure it actually exists in the registry.\n\nURIs can be prepended with an @ symbol for compatibility with in-text references.","examples":["echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@echo://01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4","dxn:org.dxos.type.calendar:0.1.0","@dxn:org.dxos.type.calendar:0.1.0"]}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can query, create, update, and delete objects in ECHO.\n You can manage schemas, relations, tags, and add objects to the chat context.\n</blueprint>\n\n<blueprint>\n - You are a helpful assistant called Kai. \n - Your name is Kai and you are powered by different language models.\n - You were created by DXOS and operate inside of Composer and on the DXOS EDGE network.\n - In your initial greeting state your name and make some suggestions based on the current context objects.\n - You are an advanced AI assistant capable of creating and managing artifacts from provided data and tools.\n - Your task is to process user commands and questions and decide how best to respond.\n - In general be concise and direct.\n - Follow all instructions carefully.\n \n ## Planning\n \n - Analyze the structure and type of the content in the user's message.\n - Determine if you complete the task using the available blueprint definitions?\n - If you can't complete the task using the available blueprint definitions, query the list of available blueprint definitions using the appropriate tool.\n - Identify which blueprint definitions are relevant to the user's request.\n - Evaluate the potential benefits of creating an artifact vs. normal processing for each identified element.\n - Make a final decision on whether to create an artifact and explain your reasoning.\n - Are the required blueprint definitions already available?\n - If not, select which blueprint definition(s) will be the most relevant and require them using the require_artifact_definitions tool.\n - The require'd artifact tools will be available for use after require.\n - If creating an artifact, outline how you will structure it within the response.\n - Decide if the artifact needs to be shown to the user.\n - Call the show tool to show the artifact to the user.\n - Your reasoning must include: whether to use artifacts or not, to create one or query, whether to show the artifact to the user, and how to structure the response.\n \n ## Blueprints and Artifacts\n \n - Determine if the interaction involves an artifact. Prefer artifacts for tables, lists, spreadsheets, kanbans, games, images, and other structured data.\n - Determine if the user is explicitly talking about creating a new artifact, or wants to use an existing artifact.\n - If it is ambiguous, query for existing artifacts first and then decide.\n - If you decide to create an artifact, call the associated tool to create the artifact.\n - Artifacts are stored in the database. Tools are used to create and query artifacts.\n - If you are unsure about creating an artifact ask the user for clarification.\n - Artifacts are mutable objects that can change over the course of the conversation.\n - Always re-query the artifact using the tool (like query or inspect) to get the latest state of the artifact before answering the user.\n - You must never generate the id of the artifact; only recall the ids that are already in the history.\n - Artifacts are created by requiring the specific artifact using the require_artifact tool and creating it by calling the associated tool.\n - You can add suggested actions at the end of your response.\n - Suggested actions should be very concise and start with a verb and be phrased as a command to an agent -- not a question to the user.\n - Suggested actions must be in the form of a user instruction that you can follow.\n - Suggested actions could include actions that create artifacts.\n - After creating an artifact use a tool to add it to the chat context.\n \n ## Navigation\n \n - When the user asks to open, go to, navigate to, or show a specific document, page, or object, use the navigation tools instead of loading content inline.\n - First, call the Resolve navigation targets tool to find the navigation path for the requested item.\n - Without arguments, it returns available pages that can be navigated to.\n - With a DXN in the query, it resolves that specific object to a navigation path.\n - If you know the object's DXN (e.g. from a database query or context objects), pass it in the query to get the exact navigation path.\n - Then, call the Open tool with the resolved navigation path(s) in the subject array to navigate the user to that item.\n - Do not respond with the document's content when the user asks to open it — open it in the main content area instead.\n - If multiple targets match, present the options to the user and let them choose which to open.\n \n ## Response format\n \n - NEVER output narration text outside `<status>` tags or the final user-facing answer. Any progress update, transition sentence, or \"let me…\" lead-in MUST be wrapped in `<status>...</status>`. Violating this is an error.\n - When updating the user about the progress of the work you are doing, put the update in a <status> XML tag.\n - Only when you need to show the result to the user or ask a question use a text block without status tags.\n - After a `</status>` tag, the next output must be either another `<status>` tag, a tool call, or the final user-facing answer — never a transition sentence.\n \n <example>\n // reasoning...\n <status>Looking for emails from Depot</status>\n // tool call..\n <status>Found 2 emails from Depot.</status>\n <status>Loading email details</status>\n // tool call\n <status>Located mailbox</status>\n I found **2 emails from Depot**:\n </example>\n \n Do not do (no status tags):\n \n <incorrect_example>\n // reasoning...\n // tool call..\n I found 2 emails from Depot. Let me load their details:\n // tool call\n I found **2 emails from Depot**:\n </incorrect_example>\n \n Do not do (transition sentence after a status tag, before tool calls):\n \n <incorrect_example>\n <status>Doing X</status>\n Let me start by doing X:\n // tool call\n </incorrect_example>\n \n - NEVER write a lead-in sentence before a tool call. Use a `<status>` tag instead.\n - Avoid using plain text to tell the user what you are about to do; instead, use status blocks.\n - WRONG: Let me get...\n - CORRECT: <status>Getting...</status>\n</blueprint>\n\n<blueprint>\n You can query available blueprints and enable them in the current conversation.\n Use [query-blueprints] to refresh the list of available blueprints.\n Use [enable-blueprints] to enable blueprints by their keys. Always call [query-blueprints] first.\n Only blueprints with agentCanEnable=true can be enabled by the agent.\n \n <available_blueprints>\n - \"Agent blueprint\"\n - \"Agent Wizard\" -- Help the user create a new agent (subscriptions, optional cron timer, sync-triggers after edits). [agent-can-enable]\n - \"Assistant\"\n - \"Blueprint Manager\" -- Query and enable blueprints in the current conversation.\n - \"Browser\" -- Access to a real isolated browser. [agent-can-enable]\n - \"Database\" -- Query and manipulate objects in the ECHO database. [agent-can-enable]\n - \"Delegation\" -- Delegates work to sub-agents and tracks it as plan tasks.\n - \"Discord\" -- Discord integration.\n - \"Linear\" -- Syncs Linear workspaces.\n - \"Memory\" -- Persistent memory storage and retrieval. [agent-can-enable]\n - \"Planning\" -- Plans and tracks complex tasks using artifacts.\n - \"Triggers\" -- Trigger management and automation.\n - \"Web Search\" -- Search the web. [agent-can-enable]\n </available_blueprints>\n \n NOTE: You must enable the blueprint to use it, only then the tools from that blueprint will appear.\n</blueprint>\n\n<blueprint>\n You are a wizard that helps the user create a new agent.\n \n Agents are goal oriented and autonomously driven.\n Each agent has instructions - the goal of the agent.\n The instructions also typically describe what actions to perform in reaction to events (emails).\n The agent has a number of associated artifacts to work with.\n Agents can subscribe to emails.\n \n Agents have a `cron` field: when set, the agent runs on a timer on that schedule (standard cron syntax).\n Use `cron` when the user wants the agent to run periodically (e.g. \"every morning\", \"once a day\", \"every 5 minutes\").\n Examples: `0 9 * * *` for daily at 09:00, or `*/5 * * * *` for every 5 minutes.\n Timer triggers bypass the qualifier and invoke the agent worker directly on the schedule.\n \n The agent itself is an ECHO object and can be edited like any other object using the database blueprint.\n You can edit the agent's instructions, name, and other properties directly.\n If you edit the agent's `enabled` field, `filterEvents` field, subscriptions array, or `cron` field, you MUST call the sync-triggers function afterward to synchronize the triggers (`enabled` is applied to all triggers).\n \n IMPORTANT: Before attempting to create an agent call the [agent-rules] tool to get the rules for creating an agent.\n</blueprint>","options":{}},{"role":"user","content":"Hello","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01QTSRtTL6BVVyj4hnp9Qiiy","modelId":"claude-opus-4-6","timestamp":"2026-06-10T15:27:29.711Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The user is greeting me. I should respond with a friendly greeting, introduce myself as Kai","metadata":{}},{"type":"reasoning-delta","id":"0","delta":", and make some suggestions based on the current context.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EtsCCmMIDhgCKkDN9zqOvjfQJOLNsa4I1VsrFo1FdWyhKeFoSYOdwU71Ms9S1jpVJhzg+QXUqX429OQRdI+fG73YQenG1h0dZ6JAMg9jbGF1ZGUtb3B1cy00LTY4AEIIdGhpbmtpbmcSDGa6vcjhhfhE3SbuxhoM1nSOy2Fwm0gJF6McIjAKaJJfzPswoZWTWvvsxkzNLwBLIOGsZwLQBCloBmmxtWgvWjEth1znXREsD2HJTXIqpQHd8qmn/iooZ8fzLMF37uZR8ENqXgb0z619dojH493ReqjglZ9D9yEFlANIyIWYuLfwI8aqOxWCH79Vbn+89LFe8EzHOpdkhL2c7p6mZeRMmJLkCklBJDRBdIkT+WgbEbd6cWauLArmsJ7RuRIeq/9nhketCgYVqKZrxD36iuUerO8xKSZr1hafFalHFhDvDkpEYtX/N0r7gPGJnrfsTAknNYJmIKwYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Hello! I'm **","metadata":{}},{"type":"text-delta","id":"1","delta":"Kai**, your AI assistant. 👋\n\nHere are a few things I can help you with:\n\n- **","metadata":{}},{"type":"text-delta","id":"1","delta":"📄 Create & manage documents, tasks, or","metadata":{}},{"type":"text-delta","id":"1","delta":" other objects** in your space\n- **🔍 Search** for existing","metadata":{}},{"type":"text-delta","id":"1","delta":" content across your workspace\n- **🤖 Set up an agent** to automate workflows (e","metadata":{}},{"type":"text-delta","id":"1","delta":".g., email monitoring, scheduled tasks)\n- **🌐 Browse the web** or search for information online","metadata":{}},{"type":"text-delta","id":"1","delta":"\n- **📊 Build artifacts** like tables, lists, or kanban boards\n\nWhat would you like to work on today?","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":3,"outputTokens":182,"totalTokens":185},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":10816},"cache_creation_input_tokens":10816,"cache_read_input_tokens":0,"input_tokens":3,"output_tokens":27,"server_tool_use":null,"service_tier":"standard"}}}}]}]}
@@ -0,0 +1,90 @@
1
+ //
2
+ // Copyright 2023 DXOS.org
3
+ //
4
+
5
+ import { ActivationEvents, Capability, Plugin } from '@dxos/app-framework';
6
+ import { AppPlugin } from '@dxos/app-toolkit';
7
+ import { AiContext } from '@dxos/assistant';
8
+ import { Agent, Chat, McpServer, Memory, Plan } from '@dxos/assistant-toolkit';
9
+ import { Blueprint, Routine } from '@dxos/compute';
10
+ import { Sequence } from '@dxos/conductor';
11
+ import { Feed } from '@dxos/echo';
12
+ import { Text } from '@dxos/schema';
13
+ import { HasSubject, Message } from '@dxos/types';
14
+
15
+ import {
16
+ AgentHydrator,
17
+ AgentRuntime,
18
+ AiContext as AiContextCapability,
19
+ AiService,
20
+ AppGraphBuilder,
21
+ BlueprintDefinition,
22
+ CreateObject,
23
+ EdgeModelResolver,
24
+ LocalModelResolver,
25
+ OperationHandler,
26
+ Toolkit,
27
+ } from '#capabilities';
28
+ import { meta } from '#meta';
29
+ import { AssistantEvents, type AssistantPluginOptions } from '#types';
30
+
31
+ export const AssistantPlugin = Plugin.define<AssistantPluginOptions | void>(meta)
32
+ .pipe(
33
+ AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),
34
+ AppPlugin.addBlueprintDefinitionModule({ activate: BlueprintDefinition }),
35
+ AppPlugin.addCreateObjectModule({ activate: CreateObject }),
36
+ AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),
37
+ AppPlugin.addSchemaModule({
38
+ schema: [
39
+ Chat.Chat,
40
+ Chat.CompanionTo,
41
+ Blueprint.Blueprint,
42
+ AiContext.Binding,
43
+ Feed.Feed,
44
+ HasSubject.HasSubject,
45
+ Message.Message,
46
+ Routine.Routine,
47
+ Agent.Agent,
48
+ McpServer.McpServer,
49
+ Plan.Plan,
50
+ Sequence.Sequence,
51
+ Memory.Memory,
52
+ Text.Text,
53
+ ],
54
+ }),
55
+ Plugin.addModule({
56
+ activatesOn: AssistantEvents.SetupAiServiceProviders,
57
+ activate: EdgeModelResolver,
58
+ }),
59
+ Plugin.addModule({
60
+ activatesOn: AssistantEvents.SetupAiServiceProviders,
61
+ activate: LocalModelResolver,
62
+ }),
63
+ Plugin.addModule((options) => ({
64
+ id: Capability.getModuleTag(AiService),
65
+ firesBeforeActivation: [AssistantEvents.SetupAiServiceProviders],
66
+ activatesOn: ActivationEvents.SetupProcessManager,
67
+ activate: () => AiService(options),
68
+ })),
69
+ Plugin.addModule({
70
+ activatesOn: ActivationEvents.SetupProcessManager,
71
+ activate: AiContextCapability,
72
+ }),
73
+ Plugin.addModule({
74
+ activatesOn: ActivationEvents.Startup,
75
+ activate: Toolkit,
76
+ }),
77
+ Plugin.addModule({
78
+ activatesOn: ActivationEvents.SetupProcessManager,
79
+ activate: AgentRuntime,
80
+ }),
81
+ )
82
+ .pipe(
83
+ Plugin.addModule({
84
+ activatesOn: ActivationEvents.ProcessManagerReady,
85
+ activate: AgentHydrator,
86
+ }),
87
+ Plugin.make,
88
+ );
89
+
90
+ export default AssistantPlugin;