@dxos/plugin-automation 0.8.4-main.c4373fc → 0.8.4-main.c85a9c8dae

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/dist/lib/browser/AutomationPanel-EHRSV2DL.mjs +11 -0
  2. package/dist/lib/browser/AutomationSettings-TJYG77L6.mjs +37 -0
  3. package/dist/lib/browser/AutomationSettings-TJYG77L6.mjs.map +7 -0
  4. package/dist/lib/browser/FunctionsContainer-XHEQSNNO.mjs +43 -0
  5. package/dist/lib/browser/FunctionsContainer-XHEQSNNO.mjs.map +7 -0
  6. package/dist/lib/browser/{FunctionsPanel-NRIKAPQV.mjs → FunctionsPanel-5WPUZGRB.mjs} +3 -3
  7. package/dist/lib/browser/FunctionsRegistry-XRXIZRLL.mjs +10 -0
  8. package/dist/lib/browser/TriggerSettings-HUQT53SV.mjs +13 -0
  9. package/dist/lib/browser/TriggerSettings-HUQT53SV.mjs.map +7 -0
  10. package/dist/lib/browser/app-graph-builder-HLARI3VW.mjs +85 -0
  11. package/dist/lib/browser/app-graph-builder-HLARI3VW.mjs.map +7 -0
  12. package/dist/lib/browser/chunk-3P4R5WNC.mjs +8 -0
  13. package/dist/lib/browser/chunk-3P4R5WNC.mjs.map +7 -0
  14. package/dist/lib/browser/chunk-4EY2KMCM.mjs +272 -0
  15. package/dist/lib/browser/chunk-4EY2KMCM.mjs.map +7 -0
  16. package/dist/lib/browser/chunk-PZNBEKO5.mjs +17 -0
  17. package/dist/lib/browser/chunk-PZNBEKO5.mjs.map +7 -0
  18. package/dist/lib/browser/chunk-QPG3AKFX.mjs +93 -0
  19. package/dist/lib/browser/chunk-QPG3AKFX.mjs.map +7 -0
  20. package/dist/lib/browser/chunk-SEG5OCGB.mjs +31 -0
  21. package/dist/lib/browser/chunk-SEG5OCGB.mjs.map +7 -0
  22. package/dist/lib/browser/chunk-U55ZXRYM.mjs +98 -0
  23. package/dist/lib/browser/chunk-U55ZXRYM.mjs.map +7 -0
  24. package/dist/lib/browser/chunk-WOBCY2FQ.mjs +83 -0
  25. package/dist/lib/browser/chunk-WOBCY2FQ.mjs.map +7 -0
  26. package/dist/lib/browser/chunk-XFXYU645.mjs +96 -0
  27. package/dist/lib/browser/chunk-XFXYU645.mjs.map +7 -0
  28. package/dist/lib/browser/chunk-ZNI2CGQP.mjs +270 -0
  29. package/dist/lib/browser/chunk-ZNI2CGQP.mjs.map +7 -0
  30. package/dist/lib/browser/cli/index.mjs +1108 -0
  31. package/dist/lib/browser/cli/index.mjs.map +7 -0
  32. package/dist/lib/browser/compute-runtime-L2RVWXY2.mjs +124 -0
  33. package/dist/lib/browser/compute-runtime-L2RVWXY2.mjs.map +7 -0
  34. package/dist/lib/browser/hooks/index.mjs +5 -4
  35. package/dist/lib/browser/index.mjs +66 -64
  36. package/dist/lib/browser/index.mjs.map +4 -4
  37. package/dist/lib/browser/meta.json +1 -1
  38. package/dist/lib/browser/operation-resolver-2U6ZQVXR.mjs +83 -0
  39. package/dist/lib/browser/operation-resolver-2U6ZQVXR.mjs.map +7 -0
  40. package/dist/lib/browser/{react-surface-JXFO46V4.mjs → react-surface-U6FAYV42.mjs} +20 -14
  41. package/dist/lib/browser/react-surface-U6FAYV42.mjs.map +7 -0
  42. package/dist/lib/browser/types/index.mjs +10 -4
  43. package/dist/lib/node-esm/{AutomationPanel-GHK5UG4K.mjs → AutomationPanel-F7MPUR7U.mjs} +4 -4
  44. package/dist/lib/node-esm/AutomationSettings-5AHJMILI.mjs +38 -0
  45. package/dist/lib/node-esm/AutomationSettings-5AHJMILI.mjs.map +7 -0
  46. package/dist/lib/node-esm/FunctionsContainer-U5UVRKVT.mjs +44 -0
  47. package/dist/lib/node-esm/FunctionsContainer-U5UVRKVT.mjs.map +7 -0
  48. package/dist/lib/node-esm/{FunctionsPanel-SAMRTELO.mjs → FunctionsPanel-UFL5LT2R.mjs} +3 -3
  49. package/dist/lib/node-esm/FunctionsPanel-UFL5LT2R.mjs.map +7 -0
  50. package/dist/lib/node-esm/FunctionsRegistry-574OBZ5T.mjs +11 -0
  51. package/dist/lib/node-esm/FunctionsRegistry-574OBZ5T.mjs.map +7 -0
  52. package/dist/lib/node-esm/TriggerSettings-RDIJHUKK.mjs +14 -0
  53. package/dist/lib/node-esm/TriggerSettings-RDIJHUKK.mjs.map +7 -0
  54. package/dist/lib/node-esm/app-graph-builder-Z2TMQHVX.mjs +86 -0
  55. package/dist/lib/node-esm/app-graph-builder-Z2TMQHVX.mjs.map +7 -0
  56. package/dist/lib/node-esm/chunk-2X564LII.mjs +10 -0
  57. package/dist/lib/node-esm/chunk-2X564LII.mjs.map +7 -0
  58. package/dist/lib/node-esm/chunk-34HGM46Z.mjs +32 -0
  59. package/dist/lib/node-esm/chunk-34HGM46Z.mjs.map +7 -0
  60. package/dist/lib/node-esm/chunk-4DK33JDH.mjs +84 -0
  61. package/dist/lib/node-esm/chunk-4DK33JDH.mjs.map +7 -0
  62. package/dist/lib/node-esm/{chunk-5MQJPJR2.mjs → chunk-5FXNN3MV.mjs} +6 -2
  63. package/dist/lib/node-esm/chunk-5FXNN3MV.mjs.map +7 -0
  64. package/dist/lib/node-esm/chunk-7AIKTEAX.mjs +273 -0
  65. package/dist/lib/node-esm/chunk-7AIKTEAX.mjs.map +7 -0
  66. package/dist/lib/node-esm/chunk-CMZ4NKSK.mjs +271 -0
  67. package/dist/lib/node-esm/chunk-CMZ4NKSK.mjs.map +7 -0
  68. package/dist/lib/node-esm/chunk-GXFQR3KI.mjs +99 -0
  69. package/dist/lib/node-esm/chunk-GXFQR3KI.mjs.map +7 -0
  70. package/dist/lib/node-esm/chunk-QNPYY3XZ.mjs +94 -0
  71. package/dist/lib/node-esm/chunk-QNPYY3XZ.mjs.map +7 -0
  72. package/dist/lib/node-esm/chunk-RTEXGGBX.mjs +97 -0
  73. package/dist/lib/node-esm/chunk-RTEXGGBX.mjs.map +7 -0
  74. package/dist/lib/node-esm/cli/index.mjs +1109 -0
  75. package/dist/lib/node-esm/cli/index.mjs.map +7 -0
  76. package/dist/lib/node-esm/compute-runtime-XD6A5Q7Q.mjs +125 -0
  77. package/dist/lib/node-esm/compute-runtime-XD6A5Q7Q.mjs.map +7 -0
  78. package/dist/lib/node-esm/hooks/index.mjs +5 -4
  79. package/dist/lib/node-esm/index.mjs +66 -64
  80. package/dist/lib/node-esm/index.mjs.map +4 -4
  81. package/dist/lib/node-esm/meta.json +1 -1
  82. package/dist/lib/node-esm/operation-resolver-XWJGBHJZ.mjs +84 -0
  83. package/dist/lib/node-esm/operation-resolver-XWJGBHJZ.mjs.map +7 -0
  84. package/dist/lib/node-esm/{react-surface-YDJ43B3N.mjs → react-surface-BVNHCWQ7.mjs} +20 -14
  85. package/dist/lib/node-esm/react-surface-BVNHCWQ7.mjs.map +7 -0
  86. package/dist/lib/node-esm/types/index.mjs +10 -4
  87. package/dist/types/src/AutomationPlugin.d.ts +2 -1
  88. package/dist/types/src/AutomationPlugin.d.ts.map +1 -1
  89. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
  90. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
  91. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
  92. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
  93. package/dist/types/src/capabilities/compute-runtime/compute-runtime.d.ts +6 -0
  94. package/dist/types/src/capabilities/compute-runtime/compute-runtime.d.ts.map +1 -0
  95. package/dist/types/src/capabilities/compute-runtime/index.d.ts +3 -0
  96. package/dist/types/src/capabilities/compute-runtime/index.d.ts.map +1 -0
  97. package/dist/types/src/capabilities/index.d.ts +4 -5
  98. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  99. package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
  100. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
  101. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
  102. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
  103. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  104. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  105. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  106. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  107. package/dist/types/src/cli/commands/index.d.ts +2 -0
  108. package/dist/types/src/cli/commands/index.d.ts.map +1 -0
  109. package/dist/types/src/cli/commands/trigger/create/index.d.ts +25 -0
  110. package/dist/types/src/cli/commands/trigger/create/index.d.ts.map +1 -0
  111. package/dist/types/src/cli/commands/trigger/create/queue.d.ts +13 -0
  112. package/dist/types/src/cli/commands/trigger/create/queue.d.ts.map +1 -0
  113. package/dist/types/src/cli/commands/trigger/create/subscription.d.ts +15 -0
  114. package/dist/types/src/cli/commands/trigger/create/subscription.d.ts.map +1 -0
  115. package/dist/types/src/cli/commands/trigger/create/timer.d.ts +13 -0
  116. package/dist/types/src/cli/commands/trigger/create/timer.d.ts.map +1 -0
  117. package/dist/types/src/cli/commands/trigger/index.d.ts +57 -0
  118. package/dist/types/src/cli/commands/trigger/index.d.ts.map +1 -0
  119. package/dist/types/src/cli/commands/trigger/list.d.ts +7 -0
  120. package/dist/types/src/cli/commands/trigger/list.d.ts.map +1 -0
  121. package/dist/types/src/cli/commands/trigger/options.d.ts +11 -0
  122. package/dist/types/src/cli/commands/trigger/options.d.ts.map +1 -0
  123. package/dist/types/src/cli/commands/trigger/remove.d.ts +8 -0
  124. package/dist/types/src/cli/commands/trigger/remove.d.ts.map +1 -0
  125. package/dist/types/src/cli/commands/trigger/update/index.d.ts +28 -0
  126. package/dist/types/src/cli/commands/trigger/update/index.d.ts.map +1 -0
  127. package/dist/types/src/cli/commands/trigger/update/queue.d.ts +12 -0
  128. package/dist/types/src/cli/commands/trigger/update/queue.d.ts.map +1 -0
  129. package/dist/types/src/cli/commands/trigger/update/subscription.d.ts +13 -0
  130. package/dist/types/src/cli/commands/trigger/update/subscription.d.ts.map +1 -0
  131. package/dist/types/src/cli/commands/trigger/update/timer.d.ts +11 -0
  132. package/dist/types/src/cli/commands/trigger/update/timer.d.ts.map +1 -0
  133. package/dist/types/src/cli/commands/trigger/util.d.ts +46 -0
  134. package/dist/types/src/cli/commands/trigger/util.d.ts.map +1 -0
  135. package/dist/types/src/cli/index.d.ts +2 -0
  136. package/dist/types/src/cli/index.d.ts.map +1 -0
  137. package/dist/types/src/cli/plugin.d.ts +3 -0
  138. package/dist/types/src/cli/plugin.d.ts.map +1 -0
  139. package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts +6 -7
  140. package/dist/types/src/components/AutomationPanel/AutomationPanel.d.ts.map +1 -1
  141. package/dist/types/src/components/AutomationPanel/AutomationPanel.stories.d.ts +5 -0
  142. package/dist/types/src/components/AutomationPanel/AutomationPanel.stories.d.ts.map +1 -1
  143. package/dist/types/src/components/FunctionsPanel/FunctionsPanel.d.ts.map +1 -1
  144. package/dist/types/src/components/FunctionsRegistry/FunctionsRegistry.d.ts +8 -0
  145. package/dist/types/src/components/FunctionsRegistry/FunctionsRegistry.d.ts.map +1 -0
  146. package/dist/types/src/components/FunctionsRegistry/index.d.ts +4 -0
  147. package/dist/types/src/components/FunctionsRegistry/index.d.ts.map +1 -0
  148. package/dist/types/src/components/TriggerEditor/FunctionInputEditor.d.ts +12 -9
  149. package/dist/types/src/components/TriggerEditor/FunctionInputEditor.d.ts.map +1 -1
  150. package/dist/types/src/components/TriggerEditor/SpecSelector.d.ts +6 -3
  151. package/dist/types/src/components/TriggerEditor/SpecSelector.d.ts.map +1 -1
  152. package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts +10 -8
  153. package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts.map +1 -1
  154. package/dist/types/src/components/TriggerEditor/TriggerEditor.stories.d.ts +74 -2
  155. package/dist/types/src/components/TriggerEditor/TriggerEditor.stories.d.ts.map +1 -1
  156. package/dist/types/src/components/index.d.ts +3 -4
  157. package/dist/types/src/components/index.d.ts.map +1 -1
  158. package/dist/types/src/containers/AutomationSettings/AutomationSettings.d.ts +4 -0
  159. package/dist/types/src/containers/AutomationSettings/AutomationSettings.d.ts.map +1 -0
  160. package/dist/types/src/containers/AutomationSettings/index.d.ts +3 -0
  161. package/dist/types/src/containers/AutomationSettings/index.d.ts.map +1 -0
  162. package/dist/types/src/{components → containers/FunctionsContainer}/FunctionsContainer.d.ts +0 -1
  163. package/dist/types/src/containers/FunctionsContainer/FunctionsContainer.d.ts.map +1 -0
  164. package/dist/types/src/containers/FunctionsContainer/index.d.ts +3 -0
  165. package/dist/types/src/containers/FunctionsContainer/index.d.ts.map +1 -0
  166. package/dist/types/src/containers/TriggerSettings/TriggerSettings.d.ts +6 -0
  167. package/dist/types/src/containers/TriggerSettings/TriggerSettings.d.ts.map +1 -0
  168. package/dist/types/src/containers/TriggerSettings/index.d.ts +3 -0
  169. package/dist/types/src/containers/TriggerSettings/index.d.ts.map +1 -0
  170. package/dist/types/src/containers/index.d.ts +5 -0
  171. package/dist/types/src/containers/index.d.ts.map +1 -0
  172. package/dist/types/src/hooks/useComputeRuntimeCallback.d.ts +8 -4
  173. package/dist/types/src/hooks/useComputeRuntimeCallback.d.ts.map +1 -1
  174. package/dist/types/src/hooks/useTriggerRuntimeControls.d.ts +6 -5
  175. package/dist/types/src/hooks/useTriggerRuntimeControls.d.ts.map +1 -1
  176. package/dist/types/src/index.d.ts +2 -2
  177. package/dist/types/src/index.d.ts.map +1 -1
  178. package/dist/types/src/meta.d.ts +2 -2
  179. package/dist/types/src/meta.d.ts.map +1 -1
  180. package/dist/types/src/testing/test-functions.d.ts +202 -3
  181. package/dist/types/src/testing/test-functions.d.ts.map +1 -1
  182. package/dist/types/src/translations.d.ts +5 -0
  183. package/dist/types/src/translations.d.ts.map +1 -1
  184. package/dist/types/src/types/capabilities.d.ts +22 -0
  185. package/dist/types/src/types/capabilities.d.ts.map +1 -0
  186. package/dist/types/src/types/events.d.ts +5 -0
  187. package/dist/types/src/types/events.d.ts.map +1 -0
  188. package/dist/types/src/types/index.d.ts +2 -0
  189. package/dist/types/src/types/index.d.ts.map +1 -1
  190. package/dist/types/src/types/schema.d.ts +30 -1
  191. package/dist/types/src/types/schema.d.ts.map +1 -1
  192. package/dist/types/tsconfig.tsbuildinfo +1 -1
  193. package/package.json +66 -47
  194. package/src/AutomationPlugin.tsx +15 -34
  195. package/src/capabilities/app-graph-builder/app-graph-builder.ts +72 -0
  196. package/src/capabilities/app-graph-builder/index.ts +7 -0
  197. package/src/capabilities/compute-runtime/compute-runtime.ts +146 -0
  198. package/src/capabilities/compute-runtime/index.ts +7 -0
  199. package/src/capabilities/index.ts +4 -8
  200. package/src/capabilities/operation-resolver/index.ts +7 -0
  201. package/src/capabilities/operation-resolver/operation-resolver.ts +80 -0
  202. package/src/capabilities/react-surface/index.ts +7 -0
  203. package/src/capabilities/react-surface/react-surface.tsx +61 -0
  204. package/src/cli/commands/index.ts +5 -0
  205. package/src/cli/commands/trigger/create/index.ts +14 -0
  206. package/src/cli/commands/trigger/create/queue.ts +89 -0
  207. package/src/cli/commands/trigger/create/subscription.ts +128 -0
  208. package/src/cli/commands/trigger/create/timer.ts +93 -0
  209. package/src/cli/commands/trigger/index.ts +16 -0
  210. package/src/cli/commands/trigger/list.ts +67 -0
  211. package/src/cli/commands/trigger/options.ts +59 -0
  212. package/src/cli/commands/trigger/remove.ts +45 -0
  213. package/src/cli/commands/trigger/update/index.ts +14 -0
  214. package/src/cli/commands/trigger/update/queue.ts +195 -0
  215. package/src/cli/commands/trigger/update/subscription.ts +278 -0
  216. package/src/cli/commands/trigger/update/timer.ts +193 -0
  217. package/src/cli/commands/trigger/util.ts +395 -0
  218. package/src/cli/index.ts +5 -0
  219. package/src/cli/plugin.ts +24 -0
  220. package/src/components/AutomationPanel/AutomationPanel.stories.tsx +5 -6
  221. package/src/components/AutomationPanel/AutomationPanel.tsx +189 -86
  222. package/src/components/FunctionsPanel/FunctionsPanel.tsx +34 -22
  223. package/src/components/FunctionsRegistry/FunctionsRegistry.tsx +110 -0
  224. package/src/components/FunctionsRegistry/index.ts +8 -0
  225. package/src/components/TriggerEditor/FunctionInputEditor.tsx +34 -33
  226. package/src/components/TriggerEditor/SpecSelector.tsx +12 -11
  227. package/src/components/TriggerEditor/TriggerEditor.stories.tsx +89 -23
  228. package/src/components/TriggerEditor/TriggerEditor.tsx +83 -85
  229. package/src/components/index.ts +1 -2
  230. package/src/{components → containers/AutomationSettings}/AutomationSettings.tsx +9 -12
  231. package/src/containers/AutomationSettings/index.ts +7 -0
  232. package/src/containers/FunctionsContainer/FunctionsContainer.tsx +33 -0
  233. package/src/containers/FunctionsContainer/index.ts +7 -0
  234. package/src/containers/TriggerSettings/TriggerSettings.tsx +26 -0
  235. package/src/containers/TriggerSettings/index.ts +7 -0
  236. package/src/containers/index.ts +9 -0
  237. package/src/hooks/useComputeRuntimeCallback.ts +45 -8
  238. package/src/hooks/useTriggerRuntimeControls.ts +30 -15
  239. package/src/index.ts +2 -2
  240. package/src/meta.ts +7 -4
  241. package/src/testing/test-functions.ts +6 -6
  242. package/src/translations.ts +7 -0
  243. package/src/{capabilities → types}/capabilities.ts +9 -14
  244. package/src/types/events.ts +11 -0
  245. package/src/types/index.ts +2 -0
  246. package/src/types/schema.ts +23 -2
  247. package/dist/lib/browser/AutomationPanel-PNBH5L5C.mjs +0 -11
  248. package/dist/lib/browser/AutomationSettings-3LABN6ER.mjs +0 -69
  249. package/dist/lib/browser/AutomationSettings-3LABN6ER.mjs.map +0 -7
  250. package/dist/lib/browser/FunctionsContainer-HHBMPUOD.mjs +0 -36
  251. package/dist/lib/browser/FunctionsContainer-HHBMPUOD.mjs.map +0 -7
  252. package/dist/lib/browser/app-graph-builder-DV5HMFX4.mjs +0 -81
  253. package/dist/lib/browser/app-graph-builder-DV5HMFX4.mjs.map +0 -7
  254. package/dist/lib/browser/chunk-5ARH77PV.mjs +0 -15
  255. package/dist/lib/browser/chunk-5ARH77PV.mjs.map +0 -7
  256. package/dist/lib/browser/chunk-AY67OUDA.mjs +0 -14
  257. package/dist/lib/browser/chunk-AY67OUDA.mjs.map +0 -7
  258. package/dist/lib/browser/chunk-DLLE4FKP.mjs +0 -94
  259. package/dist/lib/browser/chunk-DLLE4FKP.mjs.map +0 -7
  260. package/dist/lib/browser/chunk-LC3QQU47.mjs +0 -171
  261. package/dist/lib/browser/chunk-LC3QQU47.mjs.map +0 -7
  262. package/dist/lib/browser/chunk-MVPRI3DB.mjs +0 -53
  263. package/dist/lib/browser/chunk-MVPRI3DB.mjs.map +0 -7
  264. package/dist/lib/browser/chunk-NIJWEQRD.mjs +0 -283
  265. package/dist/lib/browser/chunk-NIJWEQRD.mjs.map +0 -7
  266. package/dist/lib/browser/chunk-QT3YWUOT.mjs +0 -14
  267. package/dist/lib/browser/chunk-QT3YWUOT.mjs.map +0 -7
  268. package/dist/lib/browser/chunk-VGBZKM3O.mjs +0 -38
  269. package/dist/lib/browser/chunk-VGBZKM3O.mjs.map +0 -7
  270. package/dist/lib/browser/chunk-WWURMV25.mjs +0 -13
  271. package/dist/lib/browser/chunk-WWURMV25.mjs.map +0 -7
  272. package/dist/lib/browser/compute-runtime-YJREH6WP.mjs +0 -160
  273. package/dist/lib/browser/compute-runtime-YJREH6WP.mjs.map +0 -7
  274. package/dist/lib/browser/intent-resolver-D2OHKQRR.mjs +0 -77
  275. package/dist/lib/browser/intent-resolver-D2OHKQRR.mjs.map +0 -7
  276. package/dist/lib/browser/react-surface-JXFO46V4.mjs.map +0 -7
  277. package/dist/lib/node-esm/AutomationSettings-XENNIIZM.mjs +0 -70
  278. package/dist/lib/node-esm/AutomationSettings-XENNIIZM.mjs.map +0 -7
  279. package/dist/lib/node-esm/FunctionsContainer-ZKVOBUHV.mjs +0 -37
  280. package/dist/lib/node-esm/FunctionsContainer-ZKVOBUHV.mjs.map +0 -7
  281. package/dist/lib/node-esm/app-graph-builder-TR2WXPX2.mjs +0 -82
  282. package/dist/lib/node-esm/app-graph-builder-TR2WXPX2.mjs.map +0 -7
  283. package/dist/lib/node-esm/chunk-3EWMZAU6.mjs +0 -172
  284. package/dist/lib/node-esm/chunk-3EWMZAU6.mjs.map +0 -7
  285. package/dist/lib/node-esm/chunk-5MQJPJR2.mjs.map +0 -7
  286. package/dist/lib/node-esm/chunk-CJUI6AKX.mjs +0 -39
  287. package/dist/lib/node-esm/chunk-CJUI6AKX.mjs.map +0 -7
  288. package/dist/lib/node-esm/chunk-EX74SIDO.mjs +0 -284
  289. package/dist/lib/node-esm/chunk-EX74SIDO.mjs.map +0 -7
  290. package/dist/lib/node-esm/chunk-LWASMQIF.mjs +0 -16
  291. package/dist/lib/node-esm/chunk-LWASMQIF.mjs.map +0 -7
  292. package/dist/lib/node-esm/chunk-QCA543ZR.mjs +0 -54
  293. package/dist/lib/node-esm/chunk-QCA543ZR.mjs.map +0 -7
  294. package/dist/lib/node-esm/chunk-U7LJXQS4.mjs +0 -16
  295. package/dist/lib/node-esm/chunk-U7LJXQS4.mjs.map +0 -7
  296. package/dist/lib/node-esm/chunk-WHCSOUNN.mjs +0 -16
  297. package/dist/lib/node-esm/chunk-WHCSOUNN.mjs.map +0 -7
  298. package/dist/lib/node-esm/chunk-YQXW3JXD.mjs +0 -95
  299. package/dist/lib/node-esm/chunk-YQXW3JXD.mjs.map +0 -7
  300. package/dist/lib/node-esm/compute-runtime-CMEPAYND.mjs +0 -161
  301. package/dist/lib/node-esm/compute-runtime-CMEPAYND.mjs.map +0 -7
  302. package/dist/lib/node-esm/intent-resolver-2LGBVXT5.mjs +0 -78
  303. package/dist/lib/node-esm/intent-resolver-2LGBVXT5.mjs.map +0 -7
  304. package/dist/lib/node-esm/react-surface-YDJ43B3N.mjs.map +0 -7
  305. package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
  306. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
  307. package/dist/types/src/capabilities/capabilities.d.ts +0 -19
  308. package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
  309. package/dist/types/src/capabilities/compute-runtime.d.ts +0 -5
  310. package/dist/types/src/capabilities/compute-runtime.d.ts.map +0 -1
  311. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  312. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  313. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  314. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  315. package/dist/types/src/components/AutomationSettings.d.ts +0 -5
  316. package/dist/types/src/components/AutomationSettings.d.ts.map +0 -1
  317. package/dist/types/src/components/FunctionsContainer.d.ts.map +0 -1
  318. package/dist/types/src/components/TriggerSettings.d.ts +0 -6
  319. package/dist/types/src/components/TriggerSettings.d.ts.map +0 -1
  320. package/dist/types/src/events.d.ts +0 -4
  321. package/dist/types/src/events.d.ts.map +0 -1
  322. package/src/capabilities/app-graph-builder.ts +0 -87
  323. package/src/capabilities/compute-runtime.ts +0 -138
  324. package/src/capabilities/intent-resolver.ts +0 -72
  325. package/src/capabilities/react-surface.tsx +0 -55
  326. package/src/components/FunctionsContainer.tsx +0 -29
  327. package/src/components/TriggerSettings.tsx +0 -25
  328. package/src/events.ts +0 -11
  329. /package/dist/lib/browser/{AutomationPanel-PNBH5L5C.mjs.map → AutomationPanel-EHRSV2DL.mjs.map} +0 -0
  330. /package/dist/lib/browser/{FunctionsPanel-NRIKAPQV.mjs.map → FunctionsPanel-5WPUZGRB.mjs.map} +0 -0
  331. /package/dist/lib/{node-esm/AutomationPanel-GHK5UG4K.mjs.map → browser/FunctionsRegistry-XRXIZRLL.mjs.map} +0 -0
  332. /package/dist/lib/node-esm/{FunctionsPanel-SAMRTELO.mjs.map → AutomationPanel-F7MPUR7U.mjs.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/events.ts", "../../../src/AutomationPlugin.tsx", "../../../src/translations.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { defineEvent } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport namespace AutomationEvents {\n export const ComputeRuntimeReady = defineEvent(`${meta.id}/event/compute-runtime-ready`);\n}\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { Capabilities, Events, contributes, defineModule, definePlugin } from '@dxos/app-framework';\nimport { FunctionTrigger, FunctionType } from '@dxos/functions';\nimport { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';\n\nimport { AppGraphBuilder, ComputeRuntime, IntentResolver, ReactSurface } from './capabilities';\nimport { AutomationEvents } from './events';\nimport { meta } from './meta';\nimport { translations } from './translations';\n\nexport const AutomationPlugin = definePlugin(meta, () => [\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/schema`,\n activatesOn: ClientEvents.SetupSchema,\n activate: () => contributes(ClientCapabilities.Schema, [FunctionType, FunctionTrigger]),\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n defineModule({\n id: `${meta.id}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: IntentResolver,\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n defineModule({\n id: `${meta.id}/module/compute-runtime`,\n activatesOn: ClientEvents.ClientReady,\n activatesAfter: [AutomationEvents.ComputeRuntimeReady],\n activate: ComputeRuntime,\n }),\n]);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from './meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin name': 'Automation',\n 'automation panel label': 'Automations',\n 'script automation label': 'Automation',\n 'automation verbose label': 'Manage automations',\n 'automation description': 'You can manage all the triggers which automate your space here.',\n\n 'runtime label': 'Enable Local Runtime',\n 'runtime description':\n 'This will start a trigger dispatcher locally for this space to run triggers on your device while Composer is running.',\n\n 'functions panel label': 'Functions',\n 'functions verbose label': 'Manage deployed functions',\n 'functions description': 'You can manage all the functions deployed from your space on EDGE here.',\n 'function copy id': 'Copy Function ID',\n 'no functions found': 'No functions found',\n 'go to function source button label': 'Show function source',\n\n 'trigger editor title': 'Configure Trigger',\n 'new trigger label': 'Add Trigger',\n 'trigger type timer': 'Timer',\n 'trigger type webhook': 'Webhook',\n 'trigger type websocket': 'Websocket',\n 'trigger type subscription': 'Subscription',\n 'trigger type email': 'Email',\n 'trigger type queue': 'Queue',\n\n 'trigger copy url': 'Copy URL',\n 'trigger copy email': 'Copy Email',\n\n 'trigger payload add': 'Add',\n 'trigger payload remove': 'Remove',\n 'trigger payload prop name placeholder': 'New payload property name',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAIA,SAASA,mBAAmB;UAIXC,mBAAAA;oBACFC,sBAAsBC,YAAY,GAAGC,KAAKC,EAAE,8BAA8B;AACzF,GAFiBJ,qBAAAA,mBAAAA,CAAAA,EAAAA;;;;ACJjB,SAASK,cAAcC,QAAQC,aAAaC,cAAcC,oBAAoB;AAC9E,SAASC,iBAAiBC,oBAAoB;AAC9C,SAASC,oBAAoBC,oBAAoB;;;ACE1C,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,0BAA0B;QAC1B,2BAA2B;QAC3B,4BAA4B;QAC5B,0BAA0B;QAE1B,iBAAiB;QACjB,uBACE;QAEF,yBAAyB;QACzB,2BAA2B;QAC3B,yBAAyB;QACzB,oBAAoB;QACpB,sBAAsB;QACtB,sCAAsC;QAEtC,wBAAwB;QACxB,qBAAqB;QACrB,sBAAsB;QACtB,wBAAwB;QACxB,0BAA0B;QAC1B,6BAA6B;QAC7B,sBAAsB;QACtB,sBAAsB;QAEtB,oBAAoB;QACpB,sBAAsB;QAEtB,uBAAuB;QACvB,0BAA0B;QAC1B,yCAAyC;MAC3C;IACF;EACF;;;;ADjCK,IAAMC,mBAAmBC,aAAaC,MAAM,MAAM;EACvDC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBC,UAAU,MAAMC,YAAYC,aAAaC,cAAcC,YAAAA;EACzD,CAAA;EACAT,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaQ,aAAaC;IAC1BN,UAAU,MAAMC,YAAYM,mBAAmBC,QAAQ;MAACC;MAAcC;KAAgB;EACxF,CAAA;EACAf,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOa;IACpBX,UAAUY;EACZ,CAAA;EACAjB,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOe;IACpBb,UAAUc;EACZ,CAAA;EACAnB,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOiB;IACpBf,UAAUgB;EACZ,CAAA;EACArB,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaQ,aAAaY;IAC1BC,gBAAgB;MAACC,iBAAiBC;;IAClCpB,UAAUqB;EACZ,CAAA;CACD;",
6
- "names": ["defineEvent", "AutomationEvents", "ComputeRuntimeReady", "defineEvent", "meta", "id", "Capabilities", "Events", "contributes", "defineModule", "definePlugin", "FunctionTrigger", "FunctionType", "ClientCapabilities", "ClientEvents", "translations", "meta", "id", "AutomationPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "Events", "SetupTranslations", "activate", "contributes", "Capabilities", "Translations", "translations", "ClientEvents", "SetupSchema", "ClientCapabilities", "Schema", "FunctionType", "FunctionTrigger", "SetupAppGraph", "AppGraphBuilder", "SetupIntentResolver", "IntentResolver", "SetupReactSurface", "ReactSurface", "ClientReady", "activatesAfter", "AutomationEvents", "ComputeRuntimeReady", "ComputeRuntime"]
3
+ "sources": ["../../../src/components/index.ts", "../../../src/AutomationPlugin.tsx", "../../../src/capabilities/app-graph-builder/index.ts", "../../../src/capabilities/operation-resolver/index.ts", "../../../src/capabilities/react-surface/index.ts", "../../../src/translations.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { lazy } from 'react';\n\nexport * from './TriggerEditor';\n\nexport const AutomationPanel = lazy(() => import('./AutomationPanel'));\nexport const FunctionsPanel = lazy(() => import('./FunctionsPanel'));\nexport const FunctionsRegistry = lazy(() => import('./FunctionsRegistry'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\nimport { AppPlugin } from '@dxos/app-toolkit';\nimport { Function, Trigger } from '@dxos/functions';\nimport { ClientEvents } from '@dxos/plugin-client/types';\n\nimport { AppGraphBuilder, ComputeRuntime, OperationResolver, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { translations } from './translations';\nimport { AutomationEvents } from './types';\n\nexport const AutomationPlugin = Plugin.define(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addOperationResolverModule({ activate: OperationResolver }),\n AppPlugin.addSchemaModule({ schema: [Function.Function, Trigger.Trigger] }),\n AppPlugin.addSurfaceModule({ activate: ReactSurface }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule({\n activatesOn: ClientEvents.ClientReady,\n activatesAfter: [AutomationEvents.ComputeRuntimeReady],\n activate: ComputeRuntime,\n }),\n Plugin.make,\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = Capability.lazy('AppGraphBuilder', () => import('./app-graph-builder'));\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const OperationResolver = Capability.lazy('OperationResolver', () => import('./operation-resolver'));\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from './meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin name': 'Automation',\n 'automation panel label': 'Automations',\n 'script automation label': 'Automation',\n 'automation verbose label': 'Manage automations',\n 'automation description': 'You can manage all the triggers which automate your space here.',\n\n 'runtime label': 'Enable Local Runtime',\n 'runtime description':\n 'This will start a trigger dispatcher locally for this space to run triggers on your device while Composer is running.',\n\n 'functions panel label': 'Functions',\n 'functions verbose label': 'Manage deployed functions',\n 'functions registry verbose label': 'Functions registry',\n 'functions registry description': 'Import functions from the registry',\n 'functions description': 'You can manage all the functions deployed from your space on EDGE here.',\n 'function copy id': 'Copy Function ID',\n 'no functions found': 'No functions found',\n 'go to function source button label': 'Show function source',\n 'delete function button label': 'Delete function',\n\n 'function parameters label': 'Function parameters',\n\n 'trigger editor title': 'Configure Trigger',\n 'trigger editor description':\n 'Triggers are used to run functions at specific times or when specific events occur.',\n 'new trigger label': 'Add Trigger',\n 'trigger type timer': 'Timer',\n 'trigger type webhook': 'Webhook',\n 'trigger type websocket': 'Websocket',\n 'trigger type subscription': 'Subscription',\n 'trigger type email': 'Email',\n 'trigger type queue': 'Queue',\n\n 'trigger copy url': 'Copy URL',\n 'trigger copy email': 'Copy Email',\n\n 'trigger payload add': 'Add',\n 'trigger payload remove': 'Remove',\n 'trigger payload prop name placeholder': 'New payload property name',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAIA,SAASA,YAAY;AAId,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,gCAAA,CAAA;AAC1C,IAAMC,iBAAiBD,KAAK,MAAM,OAAO,+BAAA,CAAA;AACzC,IAAME,oBAAoBF,KAAK,MAAM,OAAO,kCAAA,CAAA;;;ACNnD,SAASG,cAAc;AACvB,SAASC,iBAAiB;AAC1B,SAASC,UAAUC,eAAe;AAClC,SAASC,oBAAoB;;;ACH7B,SAASC,kBAAkB;AAEpB,IAAMC,kBAAkBC,WAAWC,KAAK,mBAAmB,MAAM,OAAO,kCAAA,CAAA;;;ACF/E,SAASC,cAAAA,mBAAkB;AAEpB,IAAMC,oBAAoBC,YAAWC,KAAK,qBAAqB,MAAM,OAAO,mCAAA,CAAA;;;ACFnF,SAASC,cAAAA,mBAAkB;AAEpB,IAAMC,eAAeC,YAAWC,KAAK,gBAAgB,MAAM,OAAO,8BAAA,CAAA;;;ACElE,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,0BAA0B;QAC1B,2BAA2B;QAC3B,4BAA4B;QAC5B,0BAA0B;QAE1B,iBAAiB;QACjB,uBACE;QAEF,yBAAyB;QACzB,2BAA2B;QAC3B,oCAAoC;QACpC,kCAAkC;QAClC,yBAAyB;QACzB,oBAAoB;QACpB,sBAAsB;QACtB,sCAAsC;QACtC,gCAAgC;QAEhC,6BAA6B;QAE7B,wBAAwB;QACxB,8BACE;QACF,qBAAqB;QACrB,sBAAsB;QACtB,wBAAwB;QACxB,0BAA0B;QAC1B,6BAA6B;QAC7B,sBAAsB;QACtB,sBAAsB;QAEtB,oBAAoB;QACpB,sBAAsB;QAEtB,uBAAuB;QACvB,0BAA0B;QAC1B,yCAAyC;MAC3C;IACF;EACF;;;;AJvCK,IAAMC,mBAAmBC,OAAOC,OAAOC,IAAAA,EAAMC,KAClDC,UAAUC,kBAAkB;EAAEC,UAAUC;AAAgB,CAAA,GACxDH,UAAUI,2BAA2B;EAAEF,UAAUG;AAAkB,CAAA,GACnEL,UAAUM,gBAAgB;EAAEC,QAAQ;IAACC,SAASA;IAAUC,QAAQA;;AAAS,CAAA,GACzET,UAAUU,iBAAiB;EAAER,UAAUS;AAAa,CAAA,GACpDX,UAAUY,sBAAsB;EAAEC;AAAa,CAAA,GAC/CjB,OAAOkB,UAAU;EACfC,aAAaC,aAAaC;EAC1BC,gBAAgB;IAACC,iBAAiBC;;EAClClB,UAAUmB;AACZ,CAAA,GACAzB,OAAO0B,IAAI;",
6
+ "names": ["lazy", "AutomationPanel", "lazy", "FunctionsPanel", "FunctionsRegistry", "Plugin", "AppPlugin", "Function", "Trigger", "ClientEvents", "Capability", "AppGraphBuilder", "Capability", "lazy", "Capability", "OperationResolver", "Capability", "lazy", "Capability", "ReactSurface", "Capability", "lazy", "translations", "meta", "id", "AutomationPlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addAppGraphModule", "activate", "AppGraphBuilder", "addOperationResolverModule", "OperationResolver", "addSchemaModule", "schema", "Function", "Trigger", "addSurfaceModule", "ReactSurface", "addTranslationsModule", "translations", "addModule", "activatesOn", "ClientEvents", "ClientReady", "activatesAfter", "AutomationEvents", "ComputeRuntimeReady", "ComputeRuntime", "make"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/meta.ts":{"bytes":1486,"imports":[],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":2872,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":11666,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/compute-runtime.ts":{"bytes":21116,"imports":[{"path":"@effect/ai/Toolkit","kind":"import-statement","external":true},{"path":"@effect/platform-browser/BrowserKeyValueStore","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/ManagedRuntime","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/types/schema.ts":{"bytes":4040,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":465,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":9190,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytes":9100,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"format":"esm"},"src/components/TriggerEditor/SpecSelector.tsx":{"bytes":7461,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/TriggerEditor/TriggerEditor.tsx":{"bytes":19423,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/TriggerEditor/FunctionInputEditor.tsx","kind":"import-statement","original":"./FunctionInputEditor"},{"path":"src/components/TriggerEditor/SpecSelector.tsx","kind":"import-statement","original":"./SpecSelector"}],"format":"esm"},"src/components/TriggerEditor/index.ts":{"bytes":503,"imports":[{"path":"src/components/TriggerEditor/TriggerEditor.tsx","kind":"import-statement","original":"./TriggerEditor"}],"format":"esm"},"src/components/AutomationPanel/AutomationPanel.tsx":{"bytes":26112,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/TriggerEditor/index.ts","kind":"import-statement","original":"../TriggerEditor"}],"format":"esm"},"src/components/AutomationPanel/index.ts":{"bytes":800,"imports":[{"path":"src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"},{"path":"src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"src/hooks/useComputeRuntimeCallback.ts":{"bytes":3164,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"}],"format":"esm"},"src/hooks/useTriggerRuntimeControls.ts":{"bytes":4806,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/useComputeRuntimeCallback.ts","kind":"import-statement","original":"./useComputeRuntimeCallback"}],"format":"esm"},"src/hooks/index.ts":{"bytes":641,"imports":[{"path":"src/hooks/useComputeRuntimeCallback.ts","kind":"import-statement","original":"./useComputeRuntimeCallback"},{"path":"src/hooks/useTriggerRuntimeControls.ts","kind":"import-statement","original":"./useTriggerRuntimeControls"}],"format":"esm"},"src/components/TriggerSettings.tsx":{"bytes":3616,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/AutomationSettings.tsx":{"bytes":3450,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/components/AutomationPanel/index.ts","kind":"import-statement","original":"./AutomationPanel"},{"path":"src/components/TriggerSettings.tsx","kind":"import-statement","original":"./TriggerSettings"}],"format":"esm"},"src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytes":12095,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/FunctionsPanel/index.ts":{"bytes":783,"imports":[{"path":"src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"},{"path":"src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"src/components/FunctionsContainer.tsx":{"bytes":3121,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/components/FunctionsPanel/index.ts","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"src/components/index.ts":{"bytes":1681,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/TriggerEditor/index.ts","kind":"import-statement","original":"./TriggerEditor"},{"path":"src/components/AutomationPanel/index.ts","kind":"dynamic-import","original":"./AutomationPanel"},{"path":"src/components/AutomationSettings.tsx","kind":"dynamic-import","original":"./AutomationSettings"},{"path":"src/components/FunctionsContainer.tsx","kind":"dynamic-import","original":"./FunctionsContainer"},{"path":"src/components/FunctionsPanel/index.ts","kind":"dynamic-import","original":"./FunctionsPanel"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":6932,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1665,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/compute-runtime.ts","kind":"dynamic-import","original":"./compute-runtime"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/events.ts":{"bytes":1230,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":5231,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/AutomationPlugin.tsx":{"bytes":6366,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":950,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/AutomationPlugin.tsx","kind":"import-statement","original":"./AutomationPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/FunctionsPanel-NRIKAPQV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/FunctionsPanel-NRIKAPQV.mjs":{"imports":[{"path":"dist/lib/browser/chunk-DLLE4FKP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"}],"exports":["FunctionsPanel","default"],"entryPoint":"src/components/FunctionsPanel/index.ts","inputs":{},"bytes":233},"dist/lib/browser/FunctionsContainer-HHBMPUOD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1495},"dist/lib/browser/FunctionsContainer-HHBMPUOD.mjs":{"imports":[{"path":"dist/lib/browser/chunk-DLLE4FKP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["FunctionsContainer","default"],"entryPoint":"src/components/FunctionsContainer.tsx","inputs":{"src/components/FunctionsContainer.tsx":{"bytesInOutput":793}},"bytes":1070},"dist/lib/browser/chunk-DLLE4FKP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6607},"dist/lib/browser/chunk-DLLE4FKP.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["FunctionsPanel","FunctionsPanel_default"],"inputs":{"src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytesInOutput":3201},"src/components/FunctionsPanel/index.ts":{"bytesInOutput":45}},"bytes":3489},"dist/lib/browser/react-surface-JXFO46V4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3420},"dist/lib/browser/react-surface-JXFO46V4.mjs":{"imports":[{"path":"dist/lib/browser/chunk-AY67OUDA.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-NIJWEQRD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1612}},"bytes":1911},"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5874},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-AY67OUDA.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QT3YWUOT.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5ARH77PV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-NIJWEQRD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true}],"exports":["AutomationCapabilities","AutomationEvents","AutomationPanel","AutomationPlugin","AutomationSettings","FunctionsContainer","FunctionsPanel","TriggerEditor","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/events.ts":{"bytesInOutput":250},"src/AutomationPlugin.tsx":{"bytesInOutput":1313},"src/translations.ts":{"bytesInOutput":1563}},"bytes":3842},"dist/lib/browser/chunk-AY67OUDA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":833},"dist/lib/browser/chunk-AY67OUDA.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/AutomationPanel-PNBH5L5C.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/AutomationSettings-3LABN6ER.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/FunctionsContainer-HHBMPUOD.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/FunctionsPanel-NRIKAPQV.mjs","kind":"dynamic-import"}],"exports":["AutomationPanel","AutomationSettings","FunctionsContainer","FunctionsPanel"],"inputs":{"src/components/index.ts":{"bytesInOutput":344}},"bytes":508},"dist/lib/browser/hooks/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/hooks/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-MVPRI3DB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QT3YWUOT.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5ARH77PV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"}],"exports":["useComputeRuntimeCallback","useTriggerRuntimeControls"],"entryPoint":"src/hooks/index.ts","inputs":{},"bytes":298},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VGBZKM3O.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"}],"exports":["AutomationAction"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":158},"dist/lib/browser/app-graph-builder-DV5HMFX4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5357},"dist/lib/browser/app-graph-builder-DV5HMFX4.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":2606}},"bytes":2802},"dist/lib/browser/compute-runtime-YJREH6WP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10422},"dist/lib/browser/compute-runtime-YJREH6WP.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5ARH77PV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"@effect/ai/Toolkit","kind":"import-statement","external":true},{"path":"@effect/platform-browser/BrowserKeyValueStore","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/ManagedRuntime","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/compute-runtime.ts","inputs":{"src/capabilities/compute-runtime.ts":{"bytesInOutput":6769}},"bytes":7008},"dist/lib/browser/intent-resolver-D2OHKQRR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4442},"dist/lib/browser/intent-resolver-D2OHKQRR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VGBZKM3O.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":2030}},"bytes":2263},"dist/lib/browser/chunk-VGBZKM3O.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1946},"dist/lib/browser/chunk-VGBZKM3O.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["AutomationAction"],"inputs":{"src/types/schema.ts":{"bytesInOutput":971},"src/types/index.ts":{"bytesInOutput":0}},"bytes":1118},"dist/lib/browser/AutomationPanel-PNBH5L5C.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/AutomationPanel-PNBH5L5C.mjs":{"imports":[{"path":"dist/lib/browser/chunk-LC3QQU47.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-NIJWEQRD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"}],"exports":["AutomationPanel","default"],"entryPoint":"src/components/AutomationPanel/index.ts","inputs":{},"bytes":269},"dist/lib/browser/AutomationSettings-3LABN6ER.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3360},"dist/lib/browser/AutomationSettings-3LABN6ER.mjs":{"imports":[{"path":"dist/lib/browser/chunk-MVPRI3DB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QT3YWUOT.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5ARH77PV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-LC3QQU47.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-NIJWEQRD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["AutomationSettings","default"],"entryPoint":"src/components/AutomationSettings.tsx","inputs":{"src/components/AutomationSettings.tsx":{"bytesInOutput":894},"src/components/TriggerSettings.tsx":{"bytesInOutput":927}},"bytes":2341},"dist/lib/browser/chunk-MVPRI3DB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4258},"dist/lib/browser/chunk-MVPRI3DB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5ARH77PV.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["useComputeRuntimeCallback","useTriggerRuntimeControls"],"inputs":{"src/hooks/useComputeRuntimeCallback.ts":{"bytesInOutput":524},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useTriggerRuntimeControls.ts":{"bytesInOutput":1041}},"bytes":1830},"dist/lib/browser/chunk-QT3YWUOT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":821},"dist/lib/browser/chunk-QT3YWUOT.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-DV5HMFX4.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/compute-runtime-YJREH6WP.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-D2OHKQRR.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-JXFO46V4.mjs","kind":"dynamic-import"}],"exports":["AppGraphBuilder","ComputeRuntime","IntentResolver","ReactSurface"],"inputs":{"src/capabilities/index.ts":{"bytesInOutput":343}},"bytes":499},"dist/lib/browser/chunk-5ARH77PV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1792},"dist/lib/browser/chunk-5ARH77PV.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["AutomationCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":284}},"bytes":450},"dist/lib/browser/chunk-LC3QQU47.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14309},"dist/lib/browser/chunk-LC3QQU47.mjs":{"imports":[{"path":"dist/lib/browser/chunk-NIJWEQRD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["AutomationPanel","AutomationPanel_default"],"inputs":{"src/components/AutomationPanel/AutomationPanel.tsx":{"bytesInOutput":6402},"src/components/AutomationPanel/index.ts":{"bytesInOutput":47}},"bytes":6753},"dist/lib/browser/chunk-NIJWEQRD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":18323},"dist/lib/browser/chunk-NIJWEQRD.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WWURMV25.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["TriggerEditor"],"inputs":{"src/components/TriggerEditor/TriggerEditor.tsx":{"bytesInOutput":4683},"src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytesInOutput":2343},"src/components/TriggerEditor/SpecSelector.tsx":{"bytesInOutput":1930},"src/components/TriggerEditor/index.ts":{"bytesInOutput":0}},"bytes":9285},"dist/lib/browser/chunk-WWURMV25.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":718},"dist/lib/browser/chunk-WWURMV25.mjs":{"imports":[],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":339}},"bytes":418}}}
1
+ {"inputs":{"src/meta.ts":{"bytes":1789,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytes":10057,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/TriggerEditor/SpecSelector.tsx":{"bytes":7274,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/TriggerEditor/TriggerEditor.tsx":{"bytes":16986,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-components","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/components/TriggerEditor/FunctionInputEditor.tsx","kind":"import-statement","original":"./FunctionInputEditor"},{"path":"src/components/TriggerEditor/SpecSelector.tsx","kind":"import-statement","original":"./SpecSelector"}],"format":"esm"},"src/components/TriggerEditor/index.ts":{"bytes":503,"imports":[{"path":"src/components/TriggerEditor/TriggerEditor.tsx","kind":"import-statement","original":"./TriggerEditor"}],"format":"esm"},"src/components/AutomationPanel/AutomationPanel.tsx":{"bytes":36046,"imports":[{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions-runtime","kind":"import-statement","external":true},{"path":"@dxos/functions-runtime/edge","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/TriggerEditor/index.ts","kind":"import-statement","original":"../TriggerEditor"}],"format":"esm"},"src/components/AutomationPanel/index.ts":{"bytes":800,"imports":[{"path":"src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"},{"path":"src/components/AutomationPanel/AutomationPanel.tsx","kind":"import-statement","original":"./AutomationPanel"}],"format":"esm"},"src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytes":13157,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/FunctionsPanel/index.ts":{"bytes":783,"imports":[{"path":"src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"},{"path":"src/components/FunctionsPanel/FunctionsPanel.tsx","kind":"import-statement","original":"./FunctionsPanel"}],"format":"esm"},"src/components/FunctionsRegistry/FunctionsRegistry.tsx":{"bytes":13913,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions-runtime/edge","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/FunctionsRegistry/index.ts":{"bytes":815,"imports":[{"path":"src/components/FunctionsRegistry/FunctionsRegistry.tsx","kind":"import-statement","original":"./FunctionsRegistry"}],"format":"esm"},"src/components/index.ts":{"bytes":1395,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/TriggerEditor/index.ts","kind":"import-statement","original":"./TriggerEditor"},{"path":"src/components/AutomationPanel/index.ts","kind":"dynamic-import","original":"./AutomationPanel"},{"path":"src/components/FunctionsPanel/index.ts","kind":"dynamic-import","original":"./FunctionsPanel"},{"path":"src/components/FunctionsRegistry/index.ts","kind":"dynamic-import","original":"./FunctionsRegistry"}],"format":"esm"},"src/types/capabilities.ts":{"bytes":2970,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/events.ts":{"bytes":1298,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/schema.ts":{"bytes":7004,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":647,"imports":[{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/types/events.ts","kind":"import-statement","original":"./events"},{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/hooks/useComputeRuntimeCallback.ts":{"bytes":8118,"imports":[{"path":"effect/Cause","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Exit","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/hooks/useTriggerRuntimeControls.ts":{"bytes":5774,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions-runtime","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/hooks/useComputeRuntimeCallback.ts","kind":"import-statement","original":"./useComputeRuntimeCallback"}],"format":"esm"},"src/hooks/index.ts":{"bytes":641,"imports":[{"path":"src/hooks/useComputeRuntimeCallback.ts","kind":"import-statement","original":"./useComputeRuntimeCallback"},{"path":"src/hooks/useTriggerRuntimeControls.ts","kind":"import-statement","original":"./useTriggerRuntimeControls"}],"format":"esm"},"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytes":9678,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/app-graph-builder/index.ts":{"bytes":948,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"src/capabilities/compute-runtime/compute-runtime.ts":{"bytes":21149,"imports":[{"path":"@effect/platform-browser/BrowserKeyValueStore","kind":"import-statement","external":true},{"path":"@effect-atom/atom","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/ManagedRuntime","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions-runtime","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/compute-runtime/index.ts":{"bytes":938,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/compute-runtime/compute-runtime.ts","kind":"dynamic-import","original":"./compute-runtime"}],"format":"esm"},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytes":10623,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/operation-resolver/index.ts":{"bytes":966,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/operation-resolver/operation-resolver.ts","kind":"dynamic-import","original":"./operation-resolver"}],"format":"esm"},"src/containers/TriggerSettings/TriggerSettings.tsx":{"bytes":3473,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/containers/AutomationSettings/AutomationSettings.tsx":{"bytes":3220,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/components/AutomationPanel/index.ts","kind":"import-statement","original":"../../components/AutomationPanel"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/containers/TriggerSettings/TriggerSettings.tsx","kind":"import-statement","original":"../TriggerSettings/TriggerSettings"}],"format":"esm"},"src/containers/AutomationSettings/index.ts":{"bytes":721,"imports":[{"path":"src/containers/AutomationSettings/AutomationSettings.tsx","kind":"import-statement","original":"./AutomationSettings"}],"format":"esm"},"src/containers/FunctionsContainer/FunctionsContainer.tsx":{"bytes":3945,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/components/FunctionsPanel/index.ts","kind":"import-statement","original":"../../components/FunctionsPanel"},{"path":"src/components/FunctionsRegistry/index.ts","kind":"import-statement","original":"../../components/FunctionsRegistry"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/containers/FunctionsContainer/index.ts":{"bytes":721,"imports":[{"path":"src/containers/FunctionsContainer/FunctionsContainer.tsx","kind":"import-statement","original":"./FunctionsContainer"}],"format":"esm"},"src/containers/TriggerSettings/index.ts":{"bytes":699,"imports":[{"path":"src/containers/TriggerSettings/TriggerSettings.tsx","kind":"import-statement","original":"./TriggerSettings"}],"format":"esm"},"src/containers/index.ts":{"bytes":1428,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/containers/AutomationSettings/index.ts","kind":"dynamic-import","original":"./AutomationSettings"},{"path":"src/containers/FunctionsContainer/index.ts","kind":"dynamic-import","original":"./FunctionsContainer"},{"path":"src/containers/TriggerSettings/index.ts","kind":"dynamic-import","original":"./TriggerSettings"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":7733,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/containers/index.ts","kind":"import-statement","original":"../../containers"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":914,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":821,"imports":[{"path":"src/capabilities/app-graph-builder/index.ts","kind":"import-statement","original":"./app-graph-builder"},{"path":"src/capabilities/compute-runtime/index.ts","kind":"import-statement","original":"./compute-runtime"},{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"./operation-resolver"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":6297,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/AutomationPlugin.tsx":{"bytes":4271,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":821,"imports":[{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/AutomationPlugin.tsx","kind":"import-statement","original":"./AutomationPlugin"}],"format":"esm"},"src/cli/commands/trigger/options.ts":{"bytes":5767,"imports":[{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/trigger/util.ts":{"bytes":49186,"imports":[{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"@effect/printer-ansi/Ansi","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/trigger/create/queue.ts":{"bytes":11604,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/HashMap","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/options.ts","kind":"import-statement","original":"../options"},{"path":"src/cli/commands/trigger/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/trigger/create/subscription.ts":{"bytes":17077,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/HashMap","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/options.ts","kind":"import-statement","original":"../options"},{"path":"src/cli/commands/trigger/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/trigger/create/timer.ts":{"bytes":11912,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/HashMap","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/options.ts","kind":"import-statement","original":"../options"},{"path":"src/cli/commands/trigger/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/trigger/create/index.ts":{"bytes":1616,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/create/queue.ts","kind":"import-statement","original":"./queue"},{"path":"src/cli/commands/trigger/create/subscription.ts","kind":"import-statement","original":"./subscription"},{"path":"src/cli/commands/trigger/create/timer.ts","kind":"import-statement","original":"./timer"}],"format":"esm"},"src/cli/commands/trigger/list.ts":{"bytes":8206,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/cli/commands/trigger/remove.ts":{"bytes":6060,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/options.ts","kind":"import-statement","original":"./options"},{"path":"src/cli/commands/trigger/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/cli/commands/trigger/update/queue.ts":{"bytes":25138,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/options.ts","kind":"import-statement","original":"../options"},{"path":"src/cli/commands/trigger/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/trigger/update/subscription.ts":{"bytes":36986,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/options.ts","kind":"import-statement","original":"../options"},{"path":"src/cli/commands/trigger/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/trigger/update/timer.ts":{"bytes":25112,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/options.ts","kind":"import-statement","original":"../options"},{"path":"src/cli/commands/trigger/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/cli/commands/trigger/update/index.ts":{"bytes":1616,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/update/queue.ts","kind":"import-statement","original":"./queue"},{"path":"src/cli/commands/trigger/update/subscription.ts","kind":"import-statement","original":"./subscription"},{"path":"src/cli/commands/trigger/update/timer.ts","kind":"import-statement","original":"./timer"}],"format":"esm"},"src/cli/commands/trigger/index.ts":{"bytes":1906,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"src/cli/commands/trigger/create/index.ts","kind":"import-statement","original":"./create"},{"path":"src/cli/commands/trigger/list.ts","kind":"import-statement","original":"./list"},{"path":"src/cli/commands/trigger/remove.ts","kind":"import-statement","original":"./remove"},{"path":"src/cli/commands/trigger/update/index.ts","kind":"import-statement","original":"./update"}],"format":"esm"},"src/cli/commands/index.ts":{"bytes":473,"imports":[{"path":"src/cli/commands/trigger/index.ts","kind":"import-statement","original":"./trigger"}],"format":"esm"},"src/cli/plugin.ts":{"bytes":2989,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"src/capabilities/compute-runtime/index.ts","kind":"import-statement","original":"../capabilities/compute-runtime"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/cli/commands/index.ts","kind":"import-statement","original":"./commands"}],"format":"esm"},"src/cli/index.ts":{"bytes":463,"imports":[{"path":"src/cli/plugin.ts","kind":"import-statement","original":"./plugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/compute-runtime-L2RVWXY2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11169},"dist/lib/browser/compute-runtime-L2RVWXY2.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WOBCY2FQ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"@effect/platform-browser/BrowserKeyValueStore","kind":"import-statement","external":true},{"path":"@effect-atom/atom","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/ManagedRuntime","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions-runtime","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/compute-runtime/compute-runtime.ts","inputs":{"src/capabilities/compute-runtime/compute-runtime.ts":{"bytesInOutput":5356}},"bytes":5611},"dist/lib/browser/operation-resolver-2U6ZQVXR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5238},"dist/lib/browser/operation-resolver-2U6ZQVXR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WOBCY2FQ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/operation-resolver/operation-resolver.ts","inputs":{"src/capabilities/operation-resolver/operation-resolver.ts":{"bytesInOutput":2460}},"bytes":2724},"dist/lib/browser/AutomationSettings-TJYG77L6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1854},"dist/lib/browser/AutomationSettings-TJYG77L6.mjs":{"imports":[{"path":"dist/lib/browser/chunk-SEG5OCGB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QPG3AKFX.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WOBCY2FQ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-4EY2KMCM.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ZNI2CGQP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/AutomationSettings/index.ts","inputs":{"src/containers/AutomationSettings/AutomationSettings.tsx":{"bytesInOutput":622},"src/containers/AutomationSettings/index.ts":{"bytesInOutput":53}},"bytes":1149},"dist/lib/browser/FunctionsContainer-XHEQSNNO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2192},"dist/lib/browser/FunctionsContainer-XHEQSNNO.mjs":{"imports":[{"path":"dist/lib/browser/chunk-U55ZXRYM.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-XFXYU645.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/FunctionsContainer/index.ts","inputs":{"src/containers/FunctionsContainer/FunctionsContainer.tsx":{"bytesInOutput":840},"src/containers/FunctionsContainer/index.ts":{"bytesInOutput":53}},"bytes":1274},"dist/lib/browser/TriggerSettings-HUQT53SV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":317},"dist/lib/browser/TriggerSettings-HUQT53SV.mjs":{"imports":[{"path":"dist/lib/browser/chunk-SEG5OCGB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QPG3AKFX.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WOBCY2FQ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"src/containers/TriggerSettings/index.ts","inputs":{"src/containers/TriggerSettings/index.ts":{"bytesInOutput":48}},"bytes":347},"dist/lib/browser/chunk-SEG5OCGB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1808},"dist/lib/browser/chunk-SEG5OCGB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QPG3AKFX.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["TriggersSettings"],"inputs":{"src/containers/TriggerSettings/TriggerSettings.tsx":{"bytesInOutput":747}},"bytes":993},"dist/lib/browser/react-surface-U6FAYV42.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4500},"dist/lib/browser/react-surface-U6FAYV42.mjs":{"imports":[{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/AutomationSettings-TJYG77L6.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/FunctionsContainer-XHEQSNNO.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/TriggerSettings-HUQT53SV.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":1777},"src/containers/index.ts":{"bytesInOutput":270}},"bytes":2327},"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6676},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-3P4R5WNC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QPG3AKFX.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WOBCY2FQ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ZNI2CGQP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/AutomationPanel-EHRSV2DL.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/FunctionsPanel-5WPUZGRB.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/FunctionsRegistry-XRXIZRLL.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-HLARI3VW.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/operation-resolver-2U6ZQVXR.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-U6FAYV42.mjs","kind":"dynamic-import"}],"exports":["AutomationAction","AutomationCapabilities","AutomationEvents","AutomationOperation","AutomationPanel","AutomationPlugin","FunctionsPanel","FunctionsRegistry","TriggerEditor","invokeFunctionWithTracing","meta","useComputeRuntimeCallback","useTriggerRuntimeControls"],"entryPoint":"src/index.ts","inputs":{"src/components/index.ts":{"bytesInOutput":260},"src/index.ts":{"bytesInOutput":0},"src/AutomationPlugin.tsx":{"bytesInOutput":760},"src/capabilities/app-graph-builder/index.ts":{"bytesInOutput":158},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/operation-resolver/index.ts":{"bytesInOutput":179},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/translations.ts":{"bytesInOutput":1953}},"bytes":4464},"dist/lib/browser/cli/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":103820},"dist/lib/browser/cli/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-3P4R5WNC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WOBCY2FQ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/HashMap","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"@effect/printer-ansi/Ansi","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/HashMap","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/HashMap","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/client","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Options","kind":"import-statement","external":true},{"path":"@effect/cli/Prompt","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true}],"exports":["AutomationPlugin"],"entryPoint":"src/cli/index.ts","inputs":{"src/cli/plugin.ts":{"bytesInOutput":433},"src/cli/commands/trigger/index.ts":{"bytesInOutput":217},"src/cli/commands/trigger/create/index.ts":{"bytesInOutput":203},"src/cli/commands/trigger/create/queue.ts":{"bytesInOutput":2612},"src/cli/commands/trigger/options.ts":{"bytesInOutput":1312},"src/cli/commands/trigger/util.ts":{"bytesInOutput":10898},"src/cli/commands/trigger/create/subscription.ts":{"bytesInOutput":4052},"src/cli/commands/trigger/create/timer.ts":{"bytesInOutput":2770},"src/cli/commands/trigger/list.ts":{"bytesInOutput":1902},"src/cli/commands/trigger/remove.ts":{"bytesInOutput":1420},"src/cli/commands/trigger/update/index.ts":{"bytesInOutput":210},"src/cli/commands/trigger/update/queue.ts":{"bytesInOutput":5883},"src/cli/commands/trigger/update/subscription.ts":{"bytesInOutput":8713},"src/cli/commands/trigger/update/timer.ts":{"bytesInOutput":5881},"src/cli/commands/index.ts":{"bytesInOutput":0},"src/cli/index.ts":{"bytesInOutput":0}},"bytes":47520},"dist/lib/browser/chunk-3P4R5WNC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":469},"dist/lib/browser/chunk-3P4R5WNC.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/compute-runtime-L2RVWXY2.mjs","kind":"dynamic-import"}],"exports":["ComputeRuntime"],"inputs":{"src/capabilities/compute-runtime/index.ts":{"bytesInOutput":154}},"bytes":273},"dist/lib/browser/hooks/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/hooks/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QPG3AKFX.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WOBCY2FQ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"}],"exports":["invokeFunctionWithTracing","useComputeRuntimeCallback","useTriggerRuntimeControls"],"entryPoint":"src/hooks/index.ts","inputs":{},"bytes":324},"dist/lib/browser/chunk-QPG3AKFX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7323},"dist/lib/browser/chunk-QPG3AKFX.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WOBCY2FQ.mjs","kind":"import-statement"},{"path":"effect/Cause","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Exit","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions-runtime","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["invokeFunctionWithTracing","useComputeRuntimeCallback","useTriggerRuntimeControls"],"inputs":{"src/hooks/useComputeRuntimeCallback.ts":{"bytesInOutput":1753},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useTriggerRuntimeControls.ts":{"bytesInOutput":1254}},"bytes":3301},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WOBCY2FQ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"}],"exports":["AutomationAction","AutomationCapabilities","AutomationEvents","AutomationOperation"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":296},"dist/lib/browser/chunk-WOBCY2FQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5627},"dist/lib/browser/chunk-WOBCY2FQ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["AutomationAction","AutomationCapabilities","AutomationEvents","AutomationOperation"],"inputs":{"src/types/capabilities.ts":{"bytesInOutput":277},"src/types/index.ts":{"bytesInOutput":0},"src/types/events.ts":{"bytesInOutput":263},"src/types/schema.ts":{"bytesInOutput":1855}},"bytes":2665},"dist/lib/browser/AutomationPanel-EHRSV2DL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/AutomationPanel-EHRSV2DL.mjs":{"imports":[{"path":"dist/lib/browser/chunk-4EY2KMCM.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ZNI2CGQP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"}],"exports":["AutomationPanel","default"],"entryPoint":"src/components/AutomationPanel/index.ts","inputs":{},"bytes":269},"dist/lib/browser/chunk-4EY2KMCM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":19683},"dist/lib/browser/chunk-4EY2KMCM.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZNI2CGQP.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions-runtime","kind":"import-statement","external":true},{"path":"@dxos/functions-runtime/edge","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["AutomationPanel","AutomationPanel_default"],"inputs":{"src/components/AutomationPanel/AutomationPanel.tsx":{"bytesInOutput":9030},"src/components/AutomationPanel/index.ts":{"bytesInOutput":47}},"bytes":9381},"dist/lib/browser/chunk-ZNI2CGQP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":18034},"dist/lib/browser/chunk-ZNI2CGQP.mjs":{"imports":[{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-components","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["TriggerEditor"],"inputs":{"src/components/TriggerEditor/TriggerEditor.tsx":{"bytesInOutput":4009},"src/components/TriggerEditor/FunctionInputEditor.tsx":{"bytesInOutput":2457},"src/components/TriggerEditor/SpecSelector.tsx":{"bytesInOutput":1734},"src/components/TriggerEditor/index.ts":{"bytesInOutput":0}},"bytes":8529},"dist/lib/browser/FunctionsPanel-5WPUZGRB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/FunctionsPanel-5WPUZGRB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-U55ZXRYM.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"}],"exports":["FunctionsPanel","default"],"entryPoint":"src/components/FunctionsPanel/index.ts","inputs":{},"bytes":233},"dist/lib/browser/chunk-U55ZXRYM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7316},"dist/lib/browser/chunk-U55ZXRYM.mjs":{"imports":[{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["FunctionsPanel","FunctionsPanel_default"],"inputs":{"src/components/FunctionsPanel/FunctionsPanel.tsx":{"bytesInOutput":3278},"src/components/FunctionsPanel/index.ts":{"bytesInOutput":45}},"bytes":3566},"dist/lib/browser/FunctionsRegistry-XRXIZRLL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/FunctionsRegistry-XRXIZRLL.mjs":{"imports":[{"path":"dist/lib/browser/chunk-XFXYU645.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"}],"exports":["FunctionsRegistry","default"],"entryPoint":"src/components/FunctionsRegistry/index.ts","inputs":{},"bytes":248},"dist/lib/browser/chunk-XFXYU645.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7746},"dist/lib/browser/chunk-XFXYU645.mjs":{"imports":[{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/functions-runtime/edge","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["FunctionsRegistry","FunctionsRegistry_default"],"inputs":{"src/components/FunctionsRegistry/FunctionsRegistry.tsx":{"bytesInOutput":3624},"src/components/FunctionsRegistry/index.ts":{"bytesInOutput":51}},"bytes":3933},"dist/lib/browser/app-graph-builder-HLARI3VW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4441},"dist/lib/browser/app-graph-builder-HLARI3VW.mjs":{"imports":[{"path":"dist/lib/browser/chunk-PZNBEKO5.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytesInOutput":2423}},"bytes":2637},"dist/lib/browser/chunk-PZNBEKO5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":849},"dist/lib/browser/chunk-PZNBEKO5.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":438}},"bytes":517}}}
@@ -0,0 +1,83 @@
1
+ import {
2
+ AutomationOperation
3
+ } from "./chunk-WOBCY2FQ.mjs";
4
+ import "./chunk-PZNBEKO5.mjs";
5
+
6
+ // src/capabilities/operation-resolver/operation-resolver.ts
7
+ import * as Effect from "effect/Effect";
8
+ import { Capabilities, Capability } from "@dxos/app-framework";
9
+ import { LayoutOperation } from "@dxos/app-toolkit";
10
+ import { Obj, Ref } from "@dxos/echo";
11
+ import { Function, Script, Trigger } from "@dxos/functions";
12
+ import { Operation, OperationResolver } from "@dxos/operation";
13
+ import { ATTENDABLE_PATH_SEPARATOR } from "@dxos/plugin-deck/types";
14
+ import { SpaceOperation } from "@dxos/plugin-space/types";
15
+ import { Filter } from "@dxos/react-client/echo";
16
+ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(function* () {
17
+ return Capability.contributes(Capabilities.OperationResolver, [
18
+ OperationResolver.make({
19
+ operation: AutomationOperation.CreateTriggerFromTemplate,
20
+ handler: Effect.fnUntraced(function* ({ db, template, enabled = false, scriptName, input }) {
21
+ const trigger = Trigger.make({
22
+ enabled,
23
+ input
24
+ });
25
+ if (scriptName) {
26
+ const scripts = yield* Effect.promise(() => db.query(Filter.type(Script.Script, {
27
+ name: scriptName
28
+ })).run());
29
+ const [script] = scripts;
30
+ if (script) {
31
+ const functions = yield* Effect.promise(() => db.query(Filter.type(Function.Function, {
32
+ source: Ref.make(script)
33
+ })).run());
34
+ const [fn] = functions;
35
+ if (fn) {
36
+ Obj.change(trigger, (t) => {
37
+ t.function = Ref.make(fn);
38
+ });
39
+ }
40
+ }
41
+ }
42
+ switch (template.type) {
43
+ case "timer": {
44
+ Obj.change(trigger, (t) => {
45
+ t.spec = {
46
+ kind: "timer",
47
+ cron: template.cron
48
+ };
49
+ });
50
+ break;
51
+ }
52
+ case "queue": {
53
+ Obj.change(trigger, (t) => {
54
+ t.spec = {
55
+ kind: "queue",
56
+ queue: template.queueDXN.toString()
57
+ };
58
+ });
59
+ break;
60
+ }
61
+ default: {
62
+ break;
63
+ }
64
+ }
65
+ yield* Operation.invoke(SpaceOperation.AddObject, {
66
+ object: trigger,
67
+ target: db,
68
+ hidden: true
69
+ });
70
+ yield* Operation.invoke(LayoutOperation.Open, {
71
+ subject: [
72
+ `automation-settings${ATTENDABLE_PATH_SEPARATOR}${db.spaceId}`
73
+ ],
74
+ workspace: db.spaceId
75
+ });
76
+ })
77
+ })
78
+ ]);
79
+ }));
80
+ export {
81
+ operation_resolver_default as default
82
+ };
83
+ //# sourceMappingURL=operation-resolver-2U6ZQVXR.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/operation-resolver/operation-resolver.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { LayoutOperation } from '@dxos/app-toolkit';\nimport { Obj, Ref } from '@dxos/echo';\nimport { Function, Script, Trigger } from '@dxos/functions';\nimport { type DXN } from '@dxos/keys';\nimport { Operation, OperationResolver } from '@dxos/operation';\nimport { ATTENDABLE_PATH_SEPARATOR } from '@dxos/plugin-deck/types';\nimport { SpaceOperation } from '@dxos/plugin-space/types';\nimport { Filter } from '@dxos/react-client/echo';\n\nimport { AutomationOperation } from '../../types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n return Capability.contributes(Capabilities.OperationResolver, [\n OperationResolver.make({\n operation: AutomationOperation.CreateTriggerFromTemplate,\n handler: Effect.fnUntraced(function* ({ db, template, enabled = false, scriptName, input }) {\n const trigger = Trigger.make({ enabled, input });\n\n // TODO(wittjosiah): Factor out function lookup by script name?\n if (scriptName) {\n const scripts = yield* Effect.promise(() =>\n db.query(Filter.type(Script.Script, { name: scriptName })).run(),\n );\n const [script] = scripts;\n if (script) {\n const functions = yield* Effect.promise(() =>\n db.query(Filter.type(Function.Function, { source: Ref.make(script) })).run(),\n );\n const [fn] = functions;\n if (fn) {\n Obj.change(trigger, (t) => {\n t.function = Ref.make(fn);\n });\n }\n }\n }\n\n switch (template.type) {\n case 'timer': {\n Obj.change(trigger, (t) => {\n t.spec = { kind: 'timer', cron: template.cron };\n });\n break;\n }\n case 'queue': {\n Obj.change(trigger, (t) => {\n t.spec = {\n kind: 'queue',\n queue: (template.queueDXN as DXN).toString(),\n };\n });\n break;\n }\n default: {\n break;\n }\n }\n\n yield* Operation.invoke(SpaceOperation.AddObject, {\n object: trigger,\n target: db,\n hidden: true,\n });\n yield* Operation.invoke(LayoutOperation.Open, {\n subject: [`automation-settings${ATTENDABLE_PATH_SEPARATOR}${db.spaceId}`],\n workspace: db.spaceId,\n });\n }),\n }),\n ]);\n }),\n);\n"],
5
+ "mappings": ";;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,uBAAuB;AAChC,SAASC,KAAKC,WAAW;AACzB,SAASC,UAAUC,QAAQC,eAAe;AAE1C,SAASC,WAAWC,yBAAyB;AAC7C,SAASC,iCAAiC;AAC1C,SAASC,sBAAsB;AAC/B,SAASC,cAAc;AAIvB,IAAA,6BAAeC,WAAWC,WACjBC,kBAAW,aAAA;AAChB,SAAOF,WAAWG,YAAYC,aAAaC,mBAAmB;IAC5DA,kBAAkBC,KAAK;MACrBC,WAAWC,oBAAoBC;MAC/BC,SAAgBR,kBAAW,WAAW,EAAES,IAAIC,UAAUC,UAAU,OAAOC,YAAYC,MAAK,GAAE;AACxF,cAAMC,UAAUC,QAAQX,KAAK;UAAEO;UAASE;QAAM,CAAA;AAG9C,YAAID,YAAY;AACd,gBAAMI,UAAU,OAAcC,eAAQ,MACpCR,GAAGS,MAAMC,OAAOC,KAAKC,OAAOA,QAAQ;YAAEC,MAAMV;UAAW,CAAA,CAAA,EAAIW,IAAG,CAAA;AAEhE,gBAAM,CAACC,MAAAA,IAAUR;AACjB,cAAIQ,QAAQ;AACV,kBAAMC,YAAY,OAAcR,eAAQ,MACtCR,GAAGS,MAAMC,OAAOC,KAAKM,SAASA,UAAU;cAAEC,QAAQC,IAAIxB,KAAKoB,MAAAA;YAAQ,CAAA,CAAA,EAAID,IAAG,CAAA;AAE5E,kBAAM,CAACM,EAAAA,IAAMJ;AACb,gBAAII,IAAI;AACNC,kBAAIC,OAAOjB,SAAS,CAACkB,MAAAA;AACnBA,kBAAEC,WAAWL,IAAIxB,KAAKyB,EAAAA;cACxB,CAAA;YACF;UACF;QACF;AAEA,gBAAQnB,SAASU,MAAI;UACnB,KAAK,SAAS;AACZU,gBAAIC,OAAOjB,SAAS,CAACkB,MAAAA;AACnBA,gBAAEE,OAAO;gBAAEC,MAAM;gBAASC,MAAM1B,SAAS0B;cAAK;YAChD,CAAA;AACA;UACF;UACA,KAAK,SAAS;AACZN,gBAAIC,OAAOjB,SAAS,CAACkB,MAAAA;AACnBA,gBAAEE,OAAO;gBACPC,MAAM;gBACNE,OAAQ3B,SAAS4B,SAAiBC,SAAQ;cAC5C;YACF,CAAA;AACA;UACF;UACA,SAAS;AACP;UACF;QACF;AAEA,eAAOC,UAAUC,OAAOC,eAAeC,WAAW;UAChDC,QAAQ9B;UACR+B,QAAQpC;UACRqC,QAAQ;QACV,CAAA;AACA,eAAON,UAAUC,OAAOM,gBAAgBC,MAAM;UAC5CC,SAAS;YAAC,sBAAsBC,yBAAAA,GAA4BzC,GAAG0C,OAAO;;UACtEC,WAAW3C,GAAG0C;QAChB,CAAA;MACF,CAAA;IACF,CAAA;GACD;AACH,CAAA,CAAA;",
6
+ "names": ["Effect", "Capabilities", "Capability", "LayoutOperation", "Obj", "Ref", "Function", "Script", "Trigger", "Operation", "OperationResolver", "ATTENDABLE_PATH_SEPARATOR", "SpaceOperation", "Filter", "Capability", "makeModule", "fnUntraced", "contributes", "Capabilities", "OperationResolver", "make", "operation", "AutomationOperation", "CreateTriggerFromTemplate", "handler", "db", "template", "enabled", "scriptName", "input", "trigger", "Trigger", "scripts", "promise", "query", "Filter", "type", "Script", "name", "run", "script", "functions", "Function", "source", "Ref", "fn", "Obj", "change", "t", "function", "spec", "kind", "cron", "queue", "queueDXN", "toString", "Operation", "invoke", "SpaceOperation", "AddObject", "object", "target", "hidden", "LayoutOperation", "Open", "subject", "ATTENDABLE_PATH_SEPARATOR", "spaceId", "workspace"]
7
+ }
@@ -1,19 +1,25 @@
1
- import {
2
- AutomationSettings,
3
- FunctionsContainer
4
- } from "./chunk-AY67OUDA.mjs";
5
- import "./chunk-NIJWEQRD.mjs";
6
1
  import {
7
2
  meta
8
- } from "./chunk-WWURMV25.mjs";
3
+ } from "./chunk-PZNBEKO5.mjs";
9
4
 
10
- // src/capabilities/react-surface.tsx
5
+ // src/capabilities/react-surface/react-surface.tsx
6
+ import * as Effect from "effect/Effect";
11
7
  import React from "react";
12
- import { Capabilities, contributes, createSurface, useLayout } from "@dxos/app-framework";
8
+ import { Capabilities, Capability } from "@dxos/app-framework";
9
+ import { Surface } from "@dxos/app-framework/ui";
10
+ import { useLayout } from "@dxos/app-toolkit/ui";
13
11
  import { Obj } from "@dxos/echo";
14
12
  import { getSpace, parseId, useSpace } from "@dxos/react-client/echo";
15
- var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
16
- createSurface({
13
+
14
+ // src/containers/index.ts
15
+ import { lazy } from "react";
16
+ var AutomationSettings = lazy(() => import("./AutomationSettings-TJYG77L6.mjs"));
17
+ var FunctionsContainer = lazy(() => import("./FunctionsContainer-XHEQSNNO.mjs"));
18
+ var TriggerSettings = lazy(() => import("./TriggerSettings-HUQT53SV.mjs"));
19
+
20
+ // src/capabilities/react-surface/react-surface.tsx
21
+ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, [
22
+ Surface.create({
17
23
  id: `${meta.id}/space-settings-functions`,
18
24
  role: "article",
19
25
  filter: (data) => data.subject === `${meta.id}/space-settings-functions`,
@@ -29,7 +35,7 @@ var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
29
35
  });
30
36
  }
31
37
  }),
32
- createSurface({
38
+ Surface.create({
33
39
  id: `${meta.id}/space-settings-automation`,
34
40
  role: "article",
35
41
  filter: (data) => data.subject === `${meta.id}/space-settings-automation`,
@@ -45,7 +51,7 @@ var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
45
51
  });
46
52
  }
47
53
  }),
48
- createSurface({
54
+ Surface.create({
49
55
  id: `${meta.id}/companion/automation`,
50
56
  role: "article",
51
57
  filter: (data) => Obj.isObject(data.companionTo) && data.subject === "automation",
@@ -56,8 +62,8 @@ var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
56
62
  });
57
63
  }
58
64
  })
59
- ]));
65
+ ])));
60
66
  export {
61
67
  react_surface_default as default
62
68
  };
63
- //# sourceMappingURL=react-surface-JXFO46V4.mjs.map
69
+ //# sourceMappingURL=react-surface-U6FAYV42.mjs.map