@powerhousedao/workflow 6.2.3 → 6.3.0-dev.1

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 (536) hide show
  1. package/README.md +3 -1
  2. package/dist/{node/BlockSelector-C3XYZfPY.mjs → browser/BlockSelector-CEdYUqjx.js} +2006 -1692
  3. package/dist/browser/BlockSelector-CEdYUqjx.js.map +1 -0
  4. package/dist/browser/PieceMarkdown-DSdZd-Jc.js +92 -0
  5. package/dist/browser/PieceMarkdown-DSdZd-Jc.js.map +1 -0
  6. package/dist/browser/connection-form-Biksq2jW.js +1524 -0
  7. package/dist/browser/connection-form-Biksq2jW.js.map +1 -0
  8. package/dist/browser/{connection-BUum0hJI.js → connection-ilYFCRUK.js} +2 -2
  9. package/dist/browser/{connection-BUum0hJI.js.map → connection-ilYFCRUK.js.map} +1 -1
  10. package/dist/browser/data-tree-Cq-s6bJp.js +76 -0
  11. package/dist/browser/data-tree-Cq-s6bJp.js.map +1 -0
  12. package/dist/browser/document-models/connection/index.js +3 -3
  13. package/dist/browser/document-models/index.js +3 -3
  14. package/dist/browser/document-models/workflow/index.js +3 -3
  15. package/dist/browser/document-models-C2SAP1SX.js +164 -0
  16. package/dist/browser/{document-models-C1ZgIZyV.js.map → document-models-C2SAP1SX.js.map} +1 -1
  17. package/dist/browser/editor-CIqKi7XK.js +3219 -0
  18. package/dist/browser/editor-CIqKi7XK.js.map +1 -0
  19. package/dist/browser/editor-DYjoPfta.js +4669 -0
  20. package/dist/browser/editor-DYjoPfta.js.map +1 -0
  21. package/dist/browser/{editor-BCH8vdej.js → editor-GeRXGdie.js} +174 -48
  22. package/dist/browser/editor-GeRXGdie.js.map +1 -0
  23. package/dist/browser/editors/connection-editor/module.js +1 -1
  24. package/dist/browser/editors/connection-editor/module.js.map +1 -1
  25. package/dist/browser/editors/runtime/index.js +2 -0
  26. package/dist/browser/editors/workflow-editor/module.js +1 -1
  27. package/dist/browser/editors/workflow-editor/module.js.map +1 -1
  28. package/dist/browser/editors/workflow-studio/module.js +1 -1
  29. package/dist/browser/index.js +164 -88
  30. package/dist/browser/index.js.map +1 -1
  31. package/dist/browser/{module-jDZ4pq3W.js → module-DJz6oTX0.js} +237 -30
  32. package/dist/browser/module-DJz6oTX0.js.map +1 -0
  33. package/dist/browser/{module-DU2vb3FH.js → module-mFCt9WHJ.js} +267 -89
  34. package/dist/browser/module-mFCt9WHJ.js.map +1 -0
  35. package/dist/{node/piece-auth-BS5CtQOG.mjs → browser/piece-auth-63iuNFTs.js} +11 -3
  36. package/dist/browser/piece-auth-63iuNFTs.js.map +1 -0
  37. package/dist/browser/reactor/index.js +2 -2
  38. package/dist/browser/rolldown-runtime-D7D4PA-g.js +13 -0
  39. package/dist/browser/runtime-queries-FmEzElOY.js +993 -0
  40. package/dist/browser/runtime-queries-FmEzElOY.js.map +1 -0
  41. package/dist/browser/trigger-text-DH6HIeoa.js +3210 -0
  42. package/dist/browser/trigger-text-DH6HIeoa.js.map +1 -0
  43. package/dist/browser/upgrade-manifests-C2Qa6myy.js +8 -0
  44. package/dist/browser/{upgrade-manifests-BpakVE9l.js.map → upgrade-manifests-C2Qa6myy.js.map} +1 -1
  45. package/dist/{node/workflow-CGzYGZnr.mjs → browser/workflow-2gR2JXUS.js} +4 -3
  46. package/dist/browser/workflow-2gR2JXUS.js.map +1 -0
  47. package/dist/node/document-models/connection/index.mjs +67 -3
  48. package/dist/node/document-models/connection/index.mjs.map +1 -0
  49. package/dist/node/document-models/index.mjs +3 -3
  50. package/dist/node/document-models/workflow/index.mjs +86 -3
  51. package/dist/node/document-models/workflow/index.mjs.map +1 -0
  52. package/dist/node/editors/index.mjs +6 -4
  53. package/dist/node/editors/index.mjs.map +1 -0
  54. package/dist/node/index.mjs +69 -381
  55. package/dist/node/index.mjs.map +1 -1
  56. package/dist/node/{module-Dhe5E-VA.mjs → module-BXKUB58R.mjs} +273 -90
  57. package/dist/node/module-BXKUB58R.mjs.map +1 -0
  58. package/dist/node/{module-BMwJQh65.mjs → module-CaBtkQmd.mjs} +226 -19
  59. package/dist/node/module-CaBtkQmd.mjs.map +1 -0
  60. package/dist/node/pieces/ai/descriptor.json +857 -0
  61. package/dist/node/pieces/ai/index.mjs +624 -0
  62. package/dist/node/pieces/ai/package.json +9 -0
  63. package/dist/node/pieces/index.mjs +3 -0
  64. package/dist/node/pieces/index.mjs.map +1 -1
  65. package/dist/node/pieces/reactor/descriptor.json +104 -18
  66. package/dist/node/pieces/reactor/index.mjs +48 -17670
  67. package/dist/node/pieces/reactor/package.json +2 -2
  68. package/dist/node/rolldown-runtime-D7D4PA-g.mjs +13 -0
  69. package/dist/node/upgrade-manifests-BCCpSD1J.mjs +8 -0
  70. package/dist/node/{upgrade-manifests-CmNd742Y.mjs.map → upgrade-manifests-BCCpSD1J.mjs.map} +1 -1
  71. package/dist/powerhouse.manifest.json +72 -6
  72. package/dist/style.css +3 -2520
  73. package/dist/types/ai/runtime.d.ts +13 -0
  74. package/dist/types/ai/runtime.d.ts.map +1 -0
  75. package/dist/types/ai/tools.d.ts +10 -6
  76. package/dist/types/ai/tools.d.ts.map +1 -1
  77. package/dist/types/ai/workflow-tools.d.ts.map +1 -1
  78. package/dist/types/document-models/connection/v1/actions.d.ts +3 -0
  79. package/dist/types/document-models/connection/v1/actions.d.ts.map +1 -1
  80. package/dist/types/document-models/connection/v1/gen/config/actions.d.ts +10 -2
  81. package/dist/types/document-models/connection/v1/gen/config/actions.d.ts.map +1 -1
  82. package/dist/types/document-models/connection/v1/gen/config/creators.d.ts +4 -2
  83. package/dist/types/document-models/connection/v1/gen/config/creators.d.ts.map +1 -1
  84. package/dist/types/document-models/connection/v1/gen/config/error.d.ts +29 -1
  85. package/dist/types/document-models/connection/v1/gen/config/error.d.ts.map +1 -1
  86. package/dist/types/document-models/connection/v1/gen/config/operations.d.ts +3 -1
  87. package/dist/types/document-models/connection/v1/gen/config/operations.d.ts.map +1 -1
  88. package/dist/types/document-models/connection/v1/gen/connection/error.d.ts +13 -1
  89. package/dist/types/document-models/connection/v1/gen/connection/error.d.ts.map +1 -1
  90. package/dist/types/document-models/connection/v1/gen/document-model.d.ts.map +1 -1
  91. package/dist/types/document-models/connection/v1/gen/reducer.d.ts.map +1 -1
  92. package/dist/types/document-models/connection/v1/gen/schema/types.d.ts +18 -2
  93. package/dist/types/document-models/connection/v1/gen/schema/types.d.ts.map +1 -1
  94. package/dist/types/document-models/connection/v1/gen/schema/zod.d.ts +5 -1
  95. package/dist/types/document-models/connection/v1/gen/schema/zod.d.ts.map +1 -1
  96. package/dist/types/document-models/connection/v1/module.d.ts +3 -0
  97. package/dist/types/document-models/connection/v1/module.d.ts.map +1 -1
  98. package/dist/types/document-models/connection/v1/src/reactor-connection.d.ts +17 -0
  99. package/dist/types/document-models/connection/v1/src/reactor-connection.d.ts.map +1 -0
  100. package/dist/types/document-models/connection/v1/src/reducers/config.d.ts.map +1 -1
  101. package/dist/types/document-models/connection/v1/src/reducers/connection.d.ts.map +1 -1
  102. package/dist/types/document-models/connection/v1/src/utils.d.ts +1 -1
  103. package/dist/types/document-models/connection/v1/src/utils.d.ts.map +1 -1
  104. package/dist/types/document-models/connection/v1/tests/config-values.test.d.ts +2 -0
  105. package/dist/types/document-models/connection/v1/tests/config-values.test.d.ts.map +1 -0
  106. package/dist/types/document-models/connection/v1/tests/reactor-connection.test.d.ts +2 -0
  107. package/dist/types/document-models/connection/v1/tests/reactor-connection.test.d.ts.map +1 -0
  108. package/dist/types/document-models/document-models.d.ts +8 -0
  109. package/dist/types/document-models/document-models.d.ts.map +1 -1
  110. package/dist/types/document-models/workflow/v1/actions.d.ts +5 -0
  111. package/dist/types/document-models/workflow/v1/actions.d.ts.map +1 -1
  112. package/dist/types/document-models/workflow/v1/gen/document-model.d.ts.map +1 -1
  113. package/dist/types/document-models/workflow/v1/gen/document-schema.d.ts +3 -0
  114. package/dist/types/document-models/workflow/v1/gen/document-schema.d.ts.map +1 -1
  115. package/dist/types/document-models/workflow/v1/gen/ph-factories.d.ts.map +1 -1
  116. package/dist/types/document-models/workflow/v1/gen/reducer.d.ts.map +1 -1
  117. package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts +52 -6
  118. package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts.map +1 -1
  119. package/dist/types/document-models/workflow/v1/gen/schema/zod.d.ts +7 -1
  120. package/dist/types/document-models/workflow/v1/gen/schema/zod.d.ts.map +1 -1
  121. package/dist/types/document-models/workflow/v1/gen/trigger/actions.d.ts +14 -2
  122. package/dist/types/document-models/workflow/v1/gen/trigger/actions.d.ts.map +1 -1
  123. package/dist/types/document-models/workflow/v1/gen/trigger/creators.d.ts +5 -2
  124. package/dist/types/document-models/workflow/v1/gen/trigger/creators.d.ts.map +1 -1
  125. package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts +32 -1
  126. package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts.map +1 -1
  127. package/dist/types/document-models/workflow/v1/gen/trigger/operations.d.ts +4 -1
  128. package/dist/types/document-models/workflow/v1/gen/trigger/operations.d.ts.map +1 -1
  129. package/dist/types/document-models/workflow/v1/gen/utils.d.ts.map +1 -1
  130. package/dist/types/document-models/workflow/v1/gen/workflow/actions.d.ts +6 -2
  131. package/dist/types/document-models/workflow/v1/gen/workflow/actions.d.ts.map +1 -1
  132. package/dist/types/document-models/workflow/v1/gen/workflow/creators.d.ts +3 -2
  133. package/dist/types/document-models/workflow/v1/gen/workflow/creators.d.ts.map +1 -1
  134. package/dist/types/document-models/workflow/v1/gen/workflow/operations.d.ts +2 -1
  135. package/dist/types/document-models/workflow/v1/gen/workflow/operations.d.ts.map +1 -1
  136. package/dist/types/document-models/workflow/v1/module.d.ts +5 -0
  137. package/dist/types/document-models/workflow/v1/module.d.ts.map +1 -1
  138. package/dist/types/document-models/workflow/v1/src/reducers/steps.d.ts.map +1 -1
  139. package/dist/types/document-models/workflow/v1/src/reducers/trigger.d.ts.map +1 -1
  140. package/dist/types/document-models/workflow/v1/src/reducers/workflow.d.ts.map +1 -1
  141. package/dist/types/document-models/workflow/v1/tests/managed-by.test.d.ts +2 -0
  142. package/dist/types/document-models/workflow/v1/tests/managed-by.test.d.ts.map +1 -0
  143. package/dist/types/document-models/workflow/v1/tests/reactor-connection.test.d.ts +2 -0
  144. package/dist/types/document-models/workflow/v1/tests/reactor-connection.test.d.ts.map +1 -0
  145. package/dist/types/document-models/workflow/v1/tests/trigger-fields.test.d.ts +2 -0
  146. package/dist/types/document-models/workflow/v1/tests/trigger-fields.test.d.ts.map +1 -0
  147. package/dist/types/editors/connection-editor/ConnectionToolbar.d.ts +1 -1
  148. package/dist/types/editors/connection-editor/ConnectionToolbar.d.ts.map +1 -1
  149. package/dist/types/editors/connection-editor/ReactorBindings.d.ts +6 -0
  150. package/dist/types/editors/connection-editor/ReactorBindings.d.ts.map +1 -0
  151. package/dist/types/editors/connection-editor/ReactorConnectionSettings.d.ts +7 -0
  152. package/dist/types/editors/connection-editor/ReactorConnectionSettings.d.ts.map +1 -0
  153. package/dist/types/editors/connection-editor/UsedBy.d.ts.map +1 -1
  154. package/dist/types/editors/connection-editor/connection-callbacks.d.ts.map +1 -1
  155. package/dist/types/editors/connection-editor/connection-form.d.ts +4 -1
  156. package/dist/types/editors/connection-editor/connection-form.d.ts.map +1 -1
  157. package/dist/types/editors/connection-editor/connection-usage.d.ts +13 -3
  158. package/dist/types/editors/connection-editor/connection-usage.d.ts.map +1 -1
  159. package/dist/types/editors/connection-editor/editor.d.ts +3 -1
  160. package/dist/types/editors/connection-editor/editor.d.ts.map +1 -1
  161. package/dist/types/editors/connection-editor/module.d.ts +2 -1
  162. package/dist/types/editors/connection-editor/module.d.ts.map +1 -1
  163. package/dist/types/editors/connection-editor/piece-auth.d.ts +6 -1
  164. package/dist/types/editors/connection-editor/piece-auth.d.ts.map +1 -1
  165. package/dist/types/editors/connection-editor/status.d.ts.map +1 -1
  166. package/dist/types/editors/runtime/index.d.ts +21 -0
  167. package/dist/types/editors/runtime/index.d.ts.map +1 -0
  168. package/dist/types/editors/runtime/runtime-export.test.d.ts +2 -0
  169. package/dist/types/editors/runtime/runtime-export.test.d.ts.map +1 -0
  170. package/dist/types/editors/shared/DocumentErrorBoundary.d.ts.map +1 -1
  171. package/dist/types/editors/shared/controls.d.ts +1 -0
  172. package/dist/types/editors/shared/controls.d.ts.map +1 -1
  173. package/dist/types/editors/shared/data-tree.d.ts.map +1 -1
  174. package/dist/types/editors/shared/data-viewer.d.ts.map +1 -1
  175. package/dist/types/editors/shared/document-ref.d.ts +5 -0
  176. package/dist/types/editors/shared/document-ref.d.ts.map +1 -0
  177. package/dist/types/editors/shared/editor-chrome.d.ts +6 -1
  178. package/dist/types/editors/shared/editor-chrome.d.ts.map +1 -1
  179. package/dist/types/editors/shared/editor-chrome.test.d.ts +2 -0
  180. package/dist/types/editors/shared/editor-chrome.test.d.ts.map +1 -0
  181. package/dist/types/editors/shared/icons.d.ts +5 -0
  182. package/dist/types/editors/shared/icons.d.ts.map +1 -1
  183. package/dist/types/editors/shared/pending-echo.d.ts +9 -0
  184. package/dist/types/editors/shared/pending-echo.d.ts.map +1 -0
  185. package/dist/types/editors/shared/undo-plan.d.ts +12 -5
  186. package/dist/types/editors/shared/undo-plan.d.ts.map +1 -1
  187. package/dist/types/editors/shared/url-param.d.ts +14 -0
  188. package/dist/types/editors/shared/url-param.d.ts.map +1 -0
  189. package/dist/types/editors/shared/url-param.test.d.ts +2 -0
  190. package/dist/types/editors/shared/url-param.test.d.ts.map +1 -0
  191. package/dist/types/editors/workflow-editor/document/useWorkflowModel.d.ts.map +1 -1
  192. package/dist/types/editors/workflow-editor/editor.d.ts +3 -1
  193. package/dist/types/editors/workflow-editor/editor.d.ts.map +1 -1
  194. package/dist/types/editors/workflow-editor/module.d.ts +2 -1
  195. package/dist/types/editors/workflow-editor/module.d.ts.map +1 -1
  196. package/dist/types/editors/workflow-editor/reactor-hooks.d.ts +25 -0
  197. package/dist/types/editors/workflow-editor/reactor-hooks.d.ts.map +1 -0
  198. package/dist/types/editors/workflow-editor/runtime-api.d.ts +13 -11
  199. package/dist/types/editors/workflow-editor/runtime-api.d.ts.map +1 -1
  200. package/dist/types/editors/workflow-editor/runtime-client.d.ts +96 -9
  201. package/dist/types/editors/workflow-editor/runtime-client.d.ts.map +1 -1
  202. package/dist/types/editors/workflow-editor/runtime-context.d.ts +12 -3
  203. package/dist/types/editors/workflow-editor/runtime-context.d.ts.map +1 -1
  204. package/dist/types/editors/workflow-editor/runtime-contract.test.d.ts +2 -0
  205. package/dist/types/editors/workflow-editor/runtime-contract.test.d.ts.map +1 -0
  206. package/dist/types/editors/workflow-editor/runtime-persist.d.ts +1 -1
  207. package/dist/types/editors/workflow-editor/runtime-queries.d.ts +21 -1
  208. package/dist/types/editors/workflow-editor/runtime-queries.d.ts.map +1 -1
  209. package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts +15 -2
  210. package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts.map +1 -1
  211. package/dist/types/editors/workflow-editor/ui/CanvasContextMenu.d.ts.map +1 -1
  212. package/dist/types/editors/workflow-editor/ui/ConnectionField.d.ts.map +1 -1
  213. package/dist/types/editors/workflow-editor/ui/ConnectionName.d.ts +8 -0
  214. package/dist/types/editors/workflow-editor/ui/ConnectionName.d.ts.map +1 -0
  215. package/dist/types/editors/workflow-editor/ui/CreateConnectionModal.d.ts.map +1 -1
  216. package/dist/types/editors/workflow-editor/ui/PanelResizer.d.ts +12 -0
  217. package/dist/types/editors/workflow-editor/ui/PanelResizer.d.ts.map +1 -0
  218. package/dist/types/editors/workflow-editor/ui/PickerPopover.d.ts +12 -0
  219. package/dist/types/editors/workflow-editor/ui/PickerPopover.d.ts.map +1 -0
  220. package/dist/types/editors/workflow-editor/ui/PieceMarkdown.d.ts +2 -1
  221. package/dist/types/editors/workflow-editor/ui/PieceMarkdown.d.ts.map +1 -1
  222. package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts +9 -0
  223. package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts.map +1 -1
  224. package/dist/types/editors/workflow-editor/ui/PublishControls.d.ts +17 -0
  225. package/dist/types/editors/workflow-editor/ui/PublishControls.d.ts.map +1 -1
  226. package/dist/types/editors/workflow-editor/ui/ReactorConnectionField.d.ts +9 -0
  227. package/dist/types/editors/workflow-editor/ui/ReactorConnectionField.d.ts.map +1 -0
  228. package/dist/types/editors/workflow-editor/ui/ScheduleBuilder.d.ts.map +1 -1
  229. package/dist/types/editors/workflow-editor/ui/SignInPrompt.d.ts +6 -0
  230. package/dist/types/editors/workflow-editor/ui/SignInPrompt.d.ts.map +1 -0
  231. package/dist/types/editors/workflow-editor/ui/StepError.d.ts +4 -0
  232. package/dist/types/editors/workflow-editor/ui/StepError.d.ts.map +1 -0
  233. package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts +1 -0
  234. package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts.map +1 -1
  235. package/dist/types/editors/workflow-editor/ui/StepTest.d.ts.map +1 -1
  236. package/dist/types/editors/workflow-editor/ui/SwitchboardGrants.d.ts +2 -0
  237. package/dist/types/editors/workflow-editor/ui/SwitchboardGrants.d.ts.map +1 -0
  238. package/dist/types/editors/workflow-editor/ui/VirtualList.d.ts +14 -0
  239. package/dist/types/editors/workflow-editor/ui/VirtualList.d.ts.map +1 -0
  240. package/dist/types/editors/workflow-editor/ui/WorkflowEditorApp.d.ts.map +1 -1
  241. package/dist/types/editors/workflow-editor/ui/ap-edge.d.ts +1 -0
  242. package/dist/types/editors/workflow-editor/ui/ap-edge.d.ts.map +1 -1
  243. package/dist/types/editors/workflow-editor/ui/ap-layout.d.ts.map +1 -1
  244. package/dist/types/editors/workflow-editor/ui/ap-nodes.d.ts +4 -0
  245. package/dist/types/editors/workflow-editor/ui/ap-nodes.d.ts.map +1 -1
  246. package/dist/types/editors/workflow-editor/ui/block-meta.d.ts +3 -0
  247. package/dist/types/editors/workflow-editor/ui/block-meta.d.ts.map +1 -1
  248. package/dist/types/editors/workflow-editor/ui/block-picker-layout.test.d.ts +2 -0
  249. package/dist/types/editors/workflow-editor/ui/block-picker-layout.test.d.ts.map +1 -0
  250. package/dist/types/editors/workflow-editor/ui/blocks.d.ts +12 -0
  251. package/dist/types/editors/workflow-editor/ui/blocks.d.ts.map +1 -1
  252. package/dist/types/editors/workflow-editor/ui/canvas-menu.d.ts.map +1 -1
  253. package/dist/types/editors/workflow-editor/ui/design-time.d.ts +1 -0
  254. package/dist/types/editors/workflow-editor/ui/design-time.d.ts.map +1 -1
  255. package/dist/types/editors/workflow-editor/ui/document-options.d.ts +24 -0
  256. package/dist/types/editors/workflow-editor/ui/document-options.d.ts.map +1 -0
  257. package/dist/types/editors/workflow-editor/ui/document-options.test.d.ts +2 -0
  258. package/dist/types/editors/workflow-editor/ui/document-options.test.d.ts.map +1 -0
  259. package/dist/types/editors/workflow-editor/ui/document-shape.d.ts +8 -0
  260. package/dist/types/editors/workflow-editor/ui/document-shape.d.ts.map +1 -0
  261. package/dist/types/editors/workflow-editor/ui/document-shape.test.d.ts +2 -0
  262. package/dist/types/editors/workflow-editor/ui/document-shape.test.d.ts.map +1 -0
  263. package/dist/types/editors/workflow-editor/ui/expression-scope.d.ts +2 -0
  264. package/dist/types/editors/workflow-editor/ui/expression-scope.d.ts.map +1 -1
  265. package/dist/types/editors/workflow-editor/ui/flow-control.test.d.ts +2 -0
  266. package/dist/types/editors/workflow-editor/ui/flow-control.test.d.ts.map +1 -0
  267. package/dist/types/editors/workflow-editor/ui/forms.d.ts +11 -2
  268. package/dist/types/editors/workflow-editor/ui/forms.d.ts.map +1 -1
  269. package/dist/types/editors/workflow-editor/ui/item-summary.test.d.ts +2 -0
  270. package/dist/types/editors/workflow-editor/ui/item-summary.test.d.ts.map +1 -0
  271. package/dist/types/editors/workflow-editor/ui/manual-inputs.d.ts +7 -0
  272. package/dist/types/editors/workflow-editor/ui/manual-inputs.d.ts.map +1 -0
  273. package/dist/types/editors/workflow-editor/ui/manual-inputs.test.d.ts +2 -0
  274. package/dist/types/editors/workflow-editor/ui/manual-inputs.test.d.ts.map +1 -0
  275. package/dist/types/editors/workflow-editor/ui/model.d.ts +31 -0
  276. package/dist/types/editors/workflow-editor/ui/model.d.ts.map +1 -1
  277. package/dist/types/editors/workflow-editor/ui/picker-placement.d.ts +19 -0
  278. package/dist/types/editors/workflow-editor/ui/picker-placement.d.ts.map +1 -0
  279. package/dist/types/editors/workflow-editor/ui/picker-recent.d.ts +4 -0
  280. package/dist/types/editors/workflow-editor/ui/picker-recent.d.ts.map +1 -0
  281. package/dist/types/editors/workflow-editor/ui/piece-source.d.ts +23 -3
  282. package/dist/types/editors/workflow-editor/ui/piece-source.d.ts.map +1 -1
  283. package/dist/types/editors/workflow-editor/ui/prop-layout.d.ts +1 -0
  284. package/dist/types/editors/workflow-editor/ui/prop-layout.d.ts.map +1 -1
  285. package/dist/types/editors/workflow-editor/ui/prop-layout.test.d.ts +2 -0
  286. package/dist/types/editors/workflow-editor/ui/prop-layout.test.d.ts.map +1 -0
  287. package/dist/types/editors/workflow-editor/ui/query-keys.d.ts +16 -4
  288. package/dist/types/editors/workflow-editor/ui/query-keys.d.ts.map +1 -1
  289. package/dist/types/editors/workflow-editor/ui/reactor-access.d.ts +43 -0
  290. package/dist/types/editors/workflow-editor/ui/reactor-access.d.ts.map +1 -0
  291. package/dist/types/editors/workflow-editor/ui/reactor-access.test.d.ts +2 -0
  292. package/dist/types/editors/workflow-editor/ui/reactor-access.test.d.ts.map +1 -0
  293. package/dist/types/editors/workflow-editor/ui/reactor-connection-create.d.ts +2 -0
  294. package/dist/types/editors/workflow-editor/ui/reactor-connection-create.d.ts.map +1 -0
  295. package/dist/types/editors/workflow-editor/ui/reactor-connection-create.test.d.ts +2 -0
  296. package/dist/types/editors/workflow-editor/ui/reactor-connection-create.test.d.ts.map +1 -0
  297. package/dist/types/editors/workflow-editor/ui/reactor-view.d.ts +25 -0
  298. package/dist/types/editors/workflow-editor/ui/reactor-view.d.ts.map +1 -0
  299. package/dist/types/editors/workflow-editor/ui/reactor-view.test.d.ts +2 -0
  300. package/dist/types/editors/workflow-editor/ui/reactor-view.test.d.ts.map +1 -0
  301. package/dist/types/editors/workflow-editor/ui/retry-policy.d.ts +8 -0
  302. package/dist/types/editors/workflow-editor/ui/retry-policy.d.ts.map +1 -0
  303. package/dist/types/editors/workflow-editor/ui/retry-policy.test.d.ts +2 -0
  304. package/dist/types/editors/workflow-editor/ui/retry-policy.test.d.ts.map +1 -0
  305. package/dist/types/editors/workflow-editor/ui/step-test.d.ts +2 -0
  306. package/dist/types/editors/workflow-editor/ui/step-test.d.ts.map +1 -1
  307. package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts +2 -0
  308. package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts.map +1 -1
  309. package/dist/types/editors/workflow-editor/ui/use-selected-block.d.ts +4 -0
  310. package/dist/types/editors/workflow-editor/ui/use-selected-block.d.ts.map +1 -0
  311. package/dist/types/editors/workflow-editor/ui/use-selected-block.test.d.ts +2 -0
  312. package/dist/types/editors/workflow-editor/ui/use-selected-block.test.d.ts.map +1 -0
  313. package/dist/types/editors/workflow-editor/ui/use-validity.d.ts +1 -0
  314. package/dist/types/editors/workflow-editor/ui/use-validity.d.ts.map +1 -1
  315. package/dist/types/editors/workflow-editor/ui/validation.d.ts +7 -2
  316. package/dist/types/editors/workflow-editor/ui/validation.d.ts.map +1 -1
  317. package/dist/types/editors/workflow-editor/use-workflow-runtime.d.ts +13 -0
  318. package/dist/types/editors/workflow-editor/use-workflow-runtime.d.ts.map +1 -0
  319. package/dist/types/editors/workflow-editor/use-workflow-runtime.test.d.ts +2 -0
  320. package/dist/types/editors/workflow-editor/use-workflow-runtime.test.d.ts.map +1 -0
  321. package/dist/types/editors/workflow-studio/components/RunDialog.d.ts +7 -0
  322. package/dist/types/editors/workflow-studio/components/RunDialog.d.ts.map +1 -0
  323. package/dist/types/editors/workflow-studio/components/RunsTable.d.ts +11 -1
  324. package/dist/types/editors/workflow-studio/components/RunsTable.d.ts.map +1 -1
  325. package/dist/types/editors/workflow-studio/components/RunsView.d.ts +3 -1
  326. package/dist/types/editors/workflow-studio/components/RunsView.d.ts.map +1 -1
  327. package/dist/types/editors/workflow-studio/components/ScrollFade.d.ts +7 -0
  328. package/dist/types/editors/workflow-studio/components/ScrollFade.d.ts.map +1 -0
  329. package/dist/types/editors/workflow-studio/components/Sidebar.d.ts +4 -0
  330. package/dist/types/editors/workflow-studio/components/Sidebar.d.ts.map +1 -1
  331. package/dist/types/editors/workflow-studio/components/Waitpoints.d.ts +57 -0
  332. package/dist/types/editors/workflow-studio/components/Waitpoints.d.ts.map +1 -0
  333. package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts +4 -0
  334. package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts.map +1 -1
  335. package/dist/types/editors/workflow-studio/components/WorkflowGraph.d.ts +41 -0
  336. package/dist/types/editors/workflow-studio/components/WorkflowGraph.d.ts.map +1 -0
  337. package/dist/types/editors/workflow-studio/components/WorkflowMenu.d.ts +2 -0
  338. package/dist/types/editors/workflow-studio/components/WorkflowMenu.d.ts.map +1 -1
  339. package/dist/types/editors/workflow-studio/components/WorkflowSteps.d.ts.map +1 -1
  340. package/dist/types/editors/workflow-studio/components/WorkflowStudio.d.ts.map +1 -1
  341. package/dist/types/editors/workflow-studio/components/chain.d.ts +6 -0
  342. package/dist/types/editors/workflow-studio/components/chain.d.ts.map +1 -1
  343. package/dist/types/editors/workflow-studio/components/fit-geometry.test.d.ts +2 -0
  344. package/dist/types/editors/workflow-studio/components/fit-geometry.test.d.ts.map +1 -0
  345. package/dist/types/editors/workflow-studio/components/graph-layout.d.ts +30 -0
  346. package/dist/types/editors/workflow-studio/components/graph-layout.d.ts.map +1 -0
  347. package/dist/types/editors/workflow-studio/components/graph-layout.test.d.ts +2 -0
  348. package/dist/types/editors/workflow-studio/components/graph-layout.test.d.ts.map +1 -0
  349. package/dist/types/editors/workflow-studio/components/run-dialog.test.d.ts +2 -0
  350. package/dist/types/editors/workflow-studio/components/run-dialog.test.d.ts.map +1 -0
  351. package/dist/types/editors/workflow-studio/components/run-format.d.ts +6 -1
  352. package/dist/types/editors/workflow-studio/components/run-format.d.ts.map +1 -1
  353. package/dist/types/editors/workflow-studio/components/tips.d.ts +23 -0
  354. package/dist/types/editors/workflow-studio/components/tips.d.ts.map +1 -0
  355. package/dist/types/editors/workflow-studio/components/use-collapsed.d.ts +5 -0
  356. package/dist/types/editors/workflow-studio/components/use-collapsed.d.ts.map +1 -0
  357. package/dist/types/editors/workflow-studio/components/use-item-selection.d.ts +10 -0
  358. package/dist/types/editors/workflow-studio/components/use-item-selection.d.ts.map +1 -0
  359. package/dist/types/editors/workflow-studio/components/use-item-selection.test.d.ts +2 -0
  360. package/dist/types/editors/workflow-studio/components/use-item-selection.test.d.ts.map +1 -0
  361. package/dist/types/editors/workflow-studio/components/waitpoints-view.test.d.ts +2 -0
  362. package/dist/types/editors/workflow-studio/components/waitpoints-view.test.d.ts.map +1 -0
  363. package/dist/types/editors/workflow-studio/components/waitpoints.test.d.ts +2 -0
  364. package/dist/types/editors/workflow-studio/components/waitpoints.test.d.ts.map +1 -0
  365. package/dist/types/editors/workflow-studio/components/workflow-order.d.ts +19 -0
  366. package/dist/types/editors/workflow-studio/components/workflow-order.d.ts.map +1 -0
  367. package/dist/types/editors/workflow-studio/components/workflow-order.test.d.ts +2 -0
  368. package/dist/types/editors/workflow-studio/components/workflow-order.test.d.ts.map +1 -0
  369. package/dist/types/pieces/ai/ai-actions.test.d.ts +2 -0
  370. package/dist/types/pieces/ai/ai-actions.test.d.ts.map +1 -0
  371. package/dist/types/pieces/ai/ai-documents.test.d.ts +2 -0
  372. package/dist/types/pieces/ai/ai-documents.test.d.ts.map +1 -0
  373. package/dist/types/pieces/ai/ai.test.d.ts +2 -0
  374. package/dist/types/pieces/ai/ai.test.d.ts.map +1 -0
  375. package/dist/types/pieces/ai/index.d.ts +7 -0
  376. package/dist/types/pieces/ai/index.d.ts.map +1 -0
  377. package/dist/types/pieces/ai/lib/action-schema.d.ts +11 -0
  378. package/dist/types/pieces/ai/lib/action-schema.d.ts.map +1 -0
  379. package/dist/types/pieces/ai/lib/actions/ask-ai.d.ts +38 -0
  380. package/dist/types/pieces/ai/lib/actions/ask-ai.d.ts.map +1 -0
  381. package/dist/types/pieces/ai/lib/actions/decide-on-documents.d.ts +45 -0
  382. package/dist/types/pieces/ai/lib/actions/decide-on-documents.d.ts.map +1 -0
  383. package/dist/types/pieces/ai/lib/actions/decide.d.ts +39 -0
  384. package/dist/types/pieces/ai/lib/actions/decide.d.ts.map +1 -0
  385. package/dist/types/pieces/ai/lib/actions/extract.d.ts +41 -0
  386. package/dist/types/pieces/ai/lib/actions/extract.d.ts.map +1 -0
  387. package/dist/types/pieces/ai/lib/actions/propose-actions.d.ts +55 -0
  388. package/dist/types/pieces/ai/lib/actions/propose-actions.d.ts.map +1 -0
  389. package/dist/types/pieces/ai/lib/actions/summarize.d.ts +38 -0
  390. package/dist/types/pieces/ai/lib/actions/summarize.d.ts.map +1 -0
  391. package/dist/types/pieces/ai/lib/auth.d.ts +16 -0
  392. package/dist/types/pieces/ai/lib/auth.d.ts.map +1 -0
  393. package/dist/types/pieces/ai/lib/decision-model.d.ts +17 -0
  394. package/dist/types/pieces/ai/lib/decision-model.d.ts.map +1 -0
  395. package/dist/types/pieces/ai/lib/documents.d.ts +11 -0
  396. package/dist/types/pieces/ai/lib/documents.d.ts.map +1 -0
  397. package/dist/types/pieces/ai/lib/model-list.d.ts +8 -0
  398. package/dist/types/pieces/ai/lib/model-list.d.ts.map +1 -0
  399. package/dist/types/pieces/ai/lib/models.d.ts +19 -0
  400. package/dist/types/pieces/ai/lib/models.d.ts.map +1 -0
  401. package/dist/types/pieces/ai/lib/props.d.ts +16 -0
  402. package/dist/types/pieces/ai/lib/props.d.ts.map +1 -0
  403. package/dist/types/pieces/ai/lib/providers.d.ts +9 -0
  404. package/dist/types/pieces/ai/lib/providers.d.ts.map +1 -0
  405. package/dist/types/pieces/ai/lib/questions.d.ts +7 -0
  406. package/dist/types/pieces/ai/lib/questions.d.ts.map +1 -0
  407. package/dist/types/pieces/index.d.ts.map +1 -1
  408. package/dist/types/pieces/reactor/index.d.ts.map +1 -1
  409. package/dist/types/pieces/reactor/lib/actions/document-create.d.ts +5 -2
  410. package/dist/types/pieces/reactor/lib/actions/document-create.d.ts.map +1 -1
  411. package/dist/types/pieces/reactor/lib/actions/document-dispatch.d.ts +3 -1
  412. package/dist/types/pieces/reactor/lib/actions/document-dispatch.d.ts.map +1 -1
  413. package/dist/types/pieces/reactor/lib/actions/document-find.d.ts +4 -1
  414. package/dist/types/pieces/reactor/lib/actions/document-find.d.ts.map +1 -1
  415. package/dist/types/pieces/reactor/lib/actions/document-get.d.ts +3 -1
  416. package/dist/types/pieces/reactor/lib/actions/document-get.d.ts.map +1 -1
  417. package/dist/types/pieces/reactor/lib/actions/document-schema.d.ts +3 -1
  418. package/dist/types/pieces/reactor/lib/actions/document-schema.d.ts.map +1 -1
  419. package/dist/types/pieces/reactor/lib/actions/document-types.d.ts +3 -1
  420. package/dist/types/pieces/reactor/lib/actions/document-types.d.ts.map +1 -1
  421. package/dist/types/pieces/reactor/lib/actions/index-query.d.ts +14 -0
  422. package/dist/types/pieces/reactor/lib/actions/index-query.d.ts.map +1 -0
  423. package/dist/types/pieces/reactor/lib/documents.d.ts +33 -0
  424. package/dist/types/pieces/reactor/lib/documents.d.ts.map +1 -0
  425. package/dist/types/pieces/reactor/lib/documents.test.d.ts +2 -0
  426. package/dist/types/pieces/reactor/lib/documents.test.d.ts.map +1 -0
  427. package/dist/types/pieces/reactor/lib/input-props.d.ts.map +1 -1
  428. package/dist/types/pieces/reactor/lib/input-schema.d.ts.map +1 -1
  429. package/dist/types/pieces/reactor/lib/parse.d.ts.map +1 -1
  430. package/dist/types/pieces/reactor/lib/reactor.d.ts +27 -4
  431. package/dist/types/pieces/reactor/lib/reactor.d.ts.map +1 -1
  432. package/dist/types/pieces/reactor/lib/triggers/document-event.d.ts +6 -6
  433. package/dist/types/pieces/reactor/lib/triggers/document-event.d.ts.map +1 -1
  434. package/dist/types/pieces/reactor/lib/writes.d.ts +7 -0
  435. package/dist/types/pieces/reactor/lib/writes.d.ts.map +1 -0
  436. package/dist/types/pieces/reactor/reactor.test.d.ts +2 -0
  437. package/dist/types/pieces/reactor/reactor.test.d.ts.map +1 -0
  438. package/dist/types/pieces/reactor/test-signer.d.ts +3 -0
  439. package/dist/types/pieces/reactor/test-signer.d.ts.map +1 -0
  440. package/dist/types/scripts/ui-stack.d.ts +21 -6
  441. package/dist/types/scripts/ui-stack.d.ts.map +1 -1
  442. package/dist/types/test/graphql-server.d.ts +9 -0
  443. package/dist/types/test/graphql-server.d.ts.map +1 -0
  444. package/dist/types/test/runtime-schema.d.ts +17 -0
  445. package/dist/types/test/runtime-schema.d.ts.map +1 -0
  446. package/dist/types/test/switchboards.d.ts +20 -0
  447. package/dist/types/test/switchboards.d.ts.map +1 -0
  448. package/dist/types/test/ui/flow-control.spec.d.ts +2 -0
  449. package/dist/types/test/ui/flow-control.spec.d.ts.map +1 -0
  450. package/dist/types/test/ui/harness/property-form-echo.d.ts +12 -0
  451. package/dist/types/test/ui/harness/property-form-echo.d.ts.map +1 -0
  452. package/dist/types/test/ui/harness/schedule-builder.d.ts +8 -0
  453. package/dist/types/test/ui/harness/schedule-builder.d.ts.map +1 -0
  454. package/dist/types/test/ui/manual-inputs.spec.d.ts +2 -0
  455. package/dist/types/test/ui/manual-inputs.spec.d.ts.map +1 -0
  456. package/dist/types/test/ui/property-form-echo.spec.d.ts +2 -0
  457. package/dist/types/test/ui/property-form-echo.spec.d.ts.map +1 -0
  458. package/dist/types/test/ui/reactor-connection.spec.d.ts +2 -0
  459. package/dist/types/test/ui/reactor-connection.spec.d.ts.map +1 -0
  460. package/dist/types/test/ui/schedule-builder.spec.d.ts +2 -0
  461. package/dist/types/test/ui/schedule-builder.spec.d.ts.map +1 -0
  462. package/dist/types/test/waitpoint-record.d.ts +3 -0
  463. package/dist/types/test/waitpoint-record.d.ts.map +1 -0
  464. package/dist/workflow.css +68 -0
  465. package/package.json +40 -11
  466. package/dist/browser/BlockSelector-BQDqIbRZ.js +0 -3053
  467. package/dist/browser/BlockSelector-BQDqIbRZ.js.map +0 -1
  468. package/dist/browser/PieceMarkdown-B8EEaQgT.js +0 -21435
  469. package/dist/browser/PieceMarkdown-B8EEaQgT.js.map +0 -1
  470. package/dist/browser/assets/entry-D62sYiFV.js +0 -318
  471. package/dist/browser/assets/projection-entry-BGcu_9-p.js +0 -446
  472. package/dist/browser/connection-form-BCxGD8Zk.js +0 -831
  473. package/dist/browser/connection-form-BCxGD8Zk.js.map +0 -1
  474. package/dist/browser/data-tree-CZZkfzSH.js +0 -1896
  475. package/dist/browser/data-tree-CZZkfzSH.js.map +0 -1
  476. package/dist/browser/document-models-C1ZgIZyV.js +0 -103
  477. package/dist/browser/editor-BCH8vdej.js.map +0 -1
  478. package/dist/browser/editor-Bd2Cu8Mx.js +0 -1793
  479. package/dist/browser/editor-Bd2Cu8Mx.js.map +0 -1
  480. package/dist/browser/editor-Bl1Xp7N8.js +0 -17234
  481. package/dist/browser/editor-Bl1Xp7N8.js.map +0 -1
  482. package/dist/browser/module-DU2vb3FH.js.map +0 -1
  483. package/dist/browser/module-jDZ4pq3W.js.map +0 -1
  484. package/dist/browser/piece-auth-BS5CtQOG.js +0 -146
  485. package/dist/browser/piece-auth-BS5CtQOG.js.map +0 -1
  486. package/dist/browser/rolldown-runtime-DC62tzP2.js +0 -33
  487. package/dist/browser/runtime-queries-Ds2kk-Ow.js +0 -2535
  488. package/dist/browser/runtime-queries-Ds2kk-Ow.js.map +0 -1
  489. package/dist/browser/trigger-text-Ld2uv0Cf.js +0 -5569
  490. package/dist/browser/trigger-text-Ld2uv0Cf.js.map +0 -1
  491. package/dist/browser/upgrade-manifests-BpakVE9l.js +0 -8
  492. package/dist/browser/workflow-BxShRhVy.js +0 -108
  493. package/dist/browser/workflow-BxShRhVy.js.map +0 -1
  494. package/dist/node/BlockSelector-C3XYZfPY.mjs.map +0 -1
  495. package/dist/node/PieceMarkdown-BMhBGa4t.mjs +0 -23281
  496. package/dist/node/PieceMarkdown-BMhBGa4t.mjs.map +0 -1
  497. package/dist/node/connection-D544oqVW.mjs +0 -90
  498. package/dist/node/connection-D544oqVW.mjs.map +0 -1
  499. package/dist/node/connection-form-CjUay_qz.mjs +0 -831
  500. package/dist/node/connection-form-CjUay_qz.mjs.map +0 -1
  501. package/dist/node/data-tree-CGfeCLr7.mjs +0 -1903
  502. package/dist/node/data-tree-CGfeCLr7.mjs.map +0 -1
  503. package/dist/node/editor-BXtXOryt.mjs +0 -247
  504. package/dist/node/editor-BXtXOryt.mjs.map +0 -1
  505. package/dist/node/editor-CXGHkwd9.mjs +0 -1793
  506. package/dist/node/editor-CXGHkwd9.mjs.map +0 -1
  507. package/dist/node/editor-D0FCvyPb.mjs +0 -17365
  508. package/dist/node/editor-D0FCvyPb.mjs.map +0 -1
  509. package/dist/node/editors/connection-editor/module.mjs +0 -15
  510. package/dist/node/editors/connection-editor/module.mjs.map +0 -1
  511. package/dist/node/editors/workflow-editor/module.mjs +0 -15
  512. package/dist/node/editors/workflow-editor/module.mjs.map +0 -1
  513. package/dist/node/editors/workflow-studio/module.mjs +0 -15
  514. package/dist/node/editors/workflow-studio/module.mjs.map +0 -1
  515. package/dist/node/module-BMwJQh65.mjs.map +0 -1
  516. package/dist/node/module-Dhe5E-VA.mjs.map +0 -1
  517. package/dist/node/piece-auth-BS5CtQOG.mjs.map +0 -1
  518. package/dist/node/pieces/reactor/index.mjs.map +0 -1
  519. package/dist/node/rolldown-runtime-BMI-E3GI.mjs +0 -44
  520. package/dist/node/runtime-queries-D5EGaCrH.mjs +0 -2544
  521. package/dist/node/runtime-queries-D5EGaCrH.mjs.map +0 -1
  522. package/dist/node/style.css +0 -667
  523. package/dist/node/trigger-text-CMWxL7t_.mjs +0 -6765
  524. package/dist/node/trigger-text-CMWxL7t_.mjs.map +0 -1
  525. package/dist/node/upgrade-manifests-CmNd742Y.mjs +0 -8
  526. package/dist/node/workflow-CGzYGZnr.mjs.map +0 -1
  527. package/dist/types/ai/runtime-url.d.ts +0 -2
  528. package/dist/types/ai/runtime-url.d.ts.map +0 -1
  529. package/dist/types/ai/runtime-url.test.d.ts +0 -2
  530. package/dist/types/ai/runtime-url.test.d.ts.map +0 -1
  531. package/dist/types/editors/workflow-editor/use-runtime-url.d.ts +0 -2
  532. package/dist/types/editors/workflow-editor/use-runtime-url.d.ts.map +0 -1
  533. package/dist/types/editors/workflow-studio/components/use-hash-selection.d.ts +0 -5
  534. package/dist/types/editors/workflow-studio/components/use-hash-selection.d.ts.map +0 -1
  535. package/dist/types/pieces/reactor/lib/actions/dispatch-outcome.test.d.ts +0 -2
  536. package/dist/types/pieces/reactor/lib/actions/dispatch-outcome.test.d.ts.map +0 -1
@@ -0,0 +1,7 @@
1
+ import { type ConnectionState } from "document-models/connection";
2
+ import type { ConnectionCallbacks } from "./connection-form.js";
3
+ export declare function ReactorConnectionSettings(props: {
4
+ state: ConnectionState;
5
+ callbacks: ConnectionCallbacks;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=ReactorConnectionSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactorConnectionSettings.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/ReactorConnectionSettings.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,eAAe,EACrB,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,wBAAgB,yBAAyB,CAAC,KAAK,EAAE;IAC/C,KAAK,EAAE,eAAe,CAAC;IACvB,SAAS,EAAE,mBAAmB,CAAC;CAChC,2CAqCA"}
@@ -1 +1 @@
1
- {"version":3,"file":"UsedBy.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/UsedBy.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,eAAe,EAErB,MAAM,uBAAuB,CAAC;AAE/B,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,MAAM,qBAYtD;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,eAAe,EAAE,CAAA;CAAE,2CA+CzD"}
1
+ {"version":3,"file":"UsedBy.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/UsedBy.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,eAAe,EAErB,MAAM,uBAAuB,CAAC;AAE/B,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,MAAM,qBAYtD;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,eAAe,EAAE,CAAA;CAAE,2CAgDzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"connection-callbacks.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-callbacks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAOhE,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,GAC3C,mBAAmB,CA8DrB"}
1
+ {"version":3,"file":"connection-callbacks.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-callbacks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,OAAO,EAKL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAOhE,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,GAC3C,mBAAmB,CAwGrB"}
@@ -1,4 +1,4 @@
1
- import type { ConnectionAuthType, ConnectionState, ConnectionStatus } from "document-models/connection";
1
+ import { type ConnectionAuthType, type ConnectionState, type ConnectionStatus } from "document-models/connection";
2
2
  import type { PieceSummary } from "../workflow-editor/runtime-client.js";
3
3
  export interface ConnectionCallbacks {
4
4
  setName: (name: string) => void;
@@ -11,10 +11,13 @@ export interface ConnectionCallbacks {
11
11
  setSecretRef: (name: string, ref: string) => void;
12
12
  removeSecretRef: (name: string) => void;
13
13
  setStatus: (status: ConnectionStatus) => void;
14
+ pickReactor: () => void;
15
+ setReactorAccess: (access: "read" | "write") => void;
14
16
  }
15
17
  export declare function ConnectionForm(props: {
16
18
  state: ConnectionState;
17
19
  callbacks: ConnectionCallbacks;
18
20
  connectionId?: string;
21
+ offerReactor?: boolean;
19
22
  }): import("react/jsx-runtime").JSX.Element;
20
23
  //# sourceMappingURL=connection-form.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connection-form.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-form.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,YAAY,EAEb,MAAM,sCAAsC,CAAC;AAiC9C,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,SAAS,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAEzC,WAAW,EAAE,CACX,QAAQ,EAAE,kBAAkB,EAC5B,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,CAAA;KAAE,KAC1C,IAAI,CAAC;IACV,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACvD,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC/C;AAmgBD,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,KAAK,EAAE,eAAe,CAAC;IACvB,SAAS,EAAE,mBAAmB,CAAC;IAE/B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,2CAyLA"}
1
+ {"version":3,"file":"connection-form.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-form.tsx"],"names":[],"mappings":"AAIA,OAAO,EAGL,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,YAAY,EAEb,MAAM,sCAAsC,CAAC;AAoC9C,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,SAAS,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAEzC,WAAW,EAAE,CACX,QAAQ,EAAE,kBAAkB,EAC5B,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,CAAA;KAAE,KAC1C,IAAI,CAAC;IACV,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACvD,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAE9C,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;CACtD;AAghBD,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,KAAK,EAAE,eAAe,CAAC;IACvB,SAAS,EAAE,mBAAmB,CAAC;IAE/B,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,2CAqOA"}
@@ -5,20 +5,30 @@ export interface UsageStep {
5
5
  pieceName: string;
6
6
  pieceVersion: string;
7
7
  actionName: string;
8
+ connectionId?: string | null;
9
+ reactorConnectionId?: string | null;
10
+ }
11
+ export interface UsageTrigger {
12
+ id?: string;
13
+ pieceName?: string;
14
+ pieceVersion?: string;
15
+ triggerName?: string;
16
+ connectionId?: string | null;
17
+ reactorConnectionId?: string | null;
8
18
  }
9
19
  export interface UsageWorkflow {
10
20
  id: string;
11
21
  name: string;
12
22
  status: string;
13
- trigger?: {
14
- connectionId?: string | null;
15
- } | null;
23
+ trigger?: UsageTrigger | null;
16
24
  steps: readonly UsageStep[];
17
25
  }
18
26
  export interface ConnectionUsage {
19
27
  workflow: UsageWorkflow;
20
28
  trigger: boolean;
21
29
  steps: UsageStep[];
30
+ reactorTrigger: boolean;
31
+ reactorSteps: UsageStep[];
22
32
  }
23
33
  export declare function connectionUsage(connectionId: string, workflows: readonly UsageWorkflow[]): ConnectionUsage[];
24
34
  export declare function enabledDependents(usage: ConnectionUsage[]): number;
@@ -1 +1 @@
1
- {"version":3,"file":"connection-usage.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-usage.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC;IAClD,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,aAAa,CAAC;IAExB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAED,wBAAgB,eAAe,CAC7B,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,SAAS,aAAa,EAAE,GAClC,eAAe,EAAE,CAYnB;AAID,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,MAAM,CAElE"}
1
+ {"version":3,"file":"connection-usage.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-usage.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC9B,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,aAAa,CAAC;IAExB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,SAAS,EAAE,CAAC;IAEnB,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,SAAS,EAAE,CAAC;CAC3B;AAYD,wBAAgB,eAAe,CAC7B,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,SAAS,aAAa,EAAE,GAClC,eAAe,EAAE,CAmBnB;AAID,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,MAAM,CAElE"}
@@ -1,2 +1,4 @@
1
- export default function Editor(): import("react/jsx-runtime").JSX.Element;
1
+ import type { EditorProps } from "document-model";
2
+ import type { ConnectionAction, ConnectionDocument } from "document-models/connection";
3
+ export default function Editor({ document, }: EditorProps<ConnectionDocument, ConnectionAction>): import("react/jsx-runtime").JSX.Element;
2
4
  //# sourceMappingURL=editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/editor.tsx"],"names":[],"mappings":"AAmDA,MAAM,CAAC,OAAO,UAAU,MAAM,4CAS7B"}
1
+ {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/editor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,4BAA4B,CAAC;AA8EpC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,QAAQ,GACT,EAAE,WAAW,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,2CAQnD"}
@@ -3,6 +3,7 @@
3
3
  * This file is auto-generated and updated by codegen
4
4
  */
5
5
  import type { EditorModule } from "document-model";
6
+ import type { ConnectionAction, ConnectionDocument } from "document-models/connection";
6
7
  /** Document editor module for the "powerhouse/connection" document type */
7
- export declare const ConnectionEditor: EditorModule;
8
+ export declare const ConnectionEditor: EditorModule<ConnectionDocument, ConnectionAction>;
8
9
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/module.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,2EAA2E;AAC3E,eAAO,MAAM,gBAAgB,EAAE,YAO9B,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/module.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,4BAA4B,CAAC;AAGpC,2EAA2E;AAC3E,eAAO,MAAM,gBAAgB,EAAE,YAAY,CACzC,kBAAkB,EAClB,gBAAgB,CAQjB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { ConnectionAuthType } from "document-models/connection";
1
+ import { type ConnectionAuthType } from "document-models/connection";
2
2
  export interface AuthField {
3
3
  name: string;
4
4
  displayName: string;
@@ -31,4 +31,9 @@ export declare function planForConnection(auth: unknown, authType: ConnectionAut
31
31
  export declare function planFromAuth(auth: unknown): AuthPlan;
32
32
  export declare function connectorIdForPiece(packageName: string): string;
33
33
  export declare function packageFromConnectorId(connectorId: string): string;
34
+ export declare const REACTOR_SERVICE_LABEL = "Powerhouse documents";
35
+ export declare function serviceName(connectorId: string, catalog: readonly {
36
+ name: string;
37
+ displayName: string;
38
+ }[] | null): string | null;
34
39
  //# sourceMappingURL=piece-auth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"piece-auth.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/piece-auth.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CAC/C;AAGD,eAAO,MAAM,YAAY,YAAY,CAAC;AAEtC,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,kBAAkB,GAAG,OAAO,YAAY,CAAC;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,SAAS,EAAE,CAAC;IAC1B,YAAY,EAAE,SAAS,EAAE,CAAC;IAE1B,SAAS,EAAE,OAAO,CAAC;IAEnB,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAGD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE5D;AAID,wBAAgB,cAAc,CAC5B,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACxB,OAAO,CAQT;AAuBD,eAAO,MAAM,eAA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E,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAKrE,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAKpE,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAClC,kBAAkB,GAAG,OAAO,YAAY,EACxC,MAAM,CASP,CAAC"}
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/status.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAKrE,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAKpE,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAClC,kBAAkB,GAAG,OAAO,YAAY,EACxC,MAAM,CAUP,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The standalone, React-free workflow-runtime data layer, surfaced as its own
3
+ * package entry (`@powerhousedao/workflow/editors/runtime`).
4
+ *
5
+ * Workflow Studio's runtime client and its query-option factories reach the
6
+ * `/graphql/workflow-runtime` subgraph with no dependency on the Connect-bound
7
+ * view components (`WorkflowStudio`, `WorkflowHeader`, `RunsTable`) or on
8
+ * `@powerhousedao/design-system`. This barrel re-exports exactly that slice so a
9
+ * non-Connect consumer -- the Reactor Monitor's Workflows tab -- can read a
10
+ * reactor's run history over the same contract the studio uses, passing its own
11
+ * `token`/`fetch` rather than the ambient Renown token the client defaults to.
12
+ *
13
+ * Deliberately NOT re-exported: `useTestStep` and `testStepMutation` (the
14
+ * React-hook mutation helpers), and every view component. The runtime-export
15
+ * test asserts this entry's import graph pulls in neither the design system nor
16
+ * a React view.
17
+ */
18
+ export { createRuntimeClient, RuntimeRequestError, isSyncingError, fetchRuns, fetchRunsPage, fetchRun, } from "../workflow-editor/runtime-client.js";
19
+ export type { RuntimeClient, RuntimeClientOptions, Transport, RunRecord, RunStepRecord, RunPage, RunsScope, } from "../workflow-editor/runtime-client.js";
20
+ export { createRuntimeQueryClient, runsQuery, runPagesQuery, runQuery, runsOfPages, } from "../workflow-editor/runtime-queries.js";
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../editors/runtime/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,SAAS,EACT,aAAa,EACb,QAAQ,GACT,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EACV,aAAa,EACb,oBAAoB,EACpB,SAAS,EACT,SAAS,EACT,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,WAAW,GACZ,MAAM,uCAAuC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=runtime-export.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime-export.test.d.ts","sourceRoot":"","sources":["../../../../editors/runtime/runtime-export.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../editors/shared/DocumentErrorBoundary.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAY,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5E,+EAA+E;AAC/E,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAInD;AAED,qFAAqF;AACrF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,KAAK,CA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AC,KAAK,EAAE;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,2CAuCA;AAED,KAAK,KAAK,GAAG;IACX,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,KAAK,KAAK,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,qBAAa,qBAAsB,SAAQ,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACvD,KAAK,EAAE,KAAK,CAAoC;IAEzD,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAE9D;IAEQ,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,QAMzD;IAED,OAAO,CAAC,KAAK,CAKX;IAEF,OAAO,CAAC,OAAO,CAGb;IAEO,MAAM,4CAcd;CACF"}
@@ -100,6 +100,7 @@ interface SelectProps {
100
100
  searchable?: boolean;
101
101
  onQueryChange?: (query: string) => void;
102
102
  actions?: SelectAction[];
103
+ valueLabel?: ReactNode;
103
104
  }
104
105
  export interface SelectAction {
105
106
  label: string;
@@ -1 +1 @@
1
- {"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../editors/shared/controls.tsx"],"names":[],"mappings":"AAEA,OAAO,EAOL,KAAK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CAAC;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,gBAAgB,GAAG,WAAW,GAAG;IACpC,QAAQ,EAAE,IAAI,CAAC;IACf,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACrC,CAAC;AAIF,wBAAgB,MAAM,CAAC,KAAK,EAAE,iBAAiB,GAAG,gBAAgB,2CAqYjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"data-tree.d.ts","sourceRoot":"","sources":["../../../../editors/shared/data-tree.tsx"],"names":[],"mappings":"AAkCA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,2CA8CvE"}
1
+ {"version":3,"file":"data-tree.d.ts","sourceRoot":"","sources":["../../../../editors/shared/data-tree.tsx"],"names":[],"mappings":"AAwCA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,2CA4DvE"}
@@ -1 +1 @@
1
- {"version":3,"file":"data-viewer.d.ts","sourceRoot":"","sources":["../../../../editors/shared/data-viewer.tsx"],"names":[],"mappings":"AAiDA,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IAEf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CA4DA"}
1
+ {"version":3,"file":"data-viewer.d.ts","sourceRoot":"","sources":["../../../../editors/shared/data-viewer.tsx"],"names":[],"mappings":"AAuDA,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IAEf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CA0EA"}
@@ -0,0 +1,5 @@
1
+ import type { DocumentReference } from "@powerhousedao/pieces-framework/workflow";
2
+ export declare function DocumentRefs(props: {
3
+ references: DocumentReference[];
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=document-ref.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-ref.d.ts","sourceRoot":"","sources":["../../../../editors/shared/document-ref.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAuDlF,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAAE,UAAU,EAAE,iBAAiB,EAAE,CAAA;CAAE,2CA4BtE"}
@@ -1,9 +1,14 @@
1
+ import { type PHBaseState, type Reducer } from "@powerhousedao/shared/document-model";
1
2
  import { type UndoPolicy } from "./undo-plan.js";
3
+ /** Back where the user came from, else to the studio's root. */
2
4
  export declare function BackButton(props: {
5
+ documentId: string;
3
6
  label?: string;
4
7
  }): import("react/jsx-runtime").JSX.Element;
5
- export declare function UndoRedo(props: {
8
+ export declare function UndoRedo<TState extends PHBaseState>(props: {
6
9
  documentId: string;
10
+ reducer: Reducer<TState>;
7
11
  policy?: UndoPolicy;
12
+ readOnly?: boolean;
8
13
  }): import("react/jsx-runtime").JSX.Element;
9
14
  //# sourceMappingURL=editor-chrome.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor-chrome.d.ts","sourceRoot":"","sources":["../../../../editors/shared/editor-chrome.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAML,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AAExB,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,2CAYnD;AA2CD,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,2CA2I1E"}
1
+ {"version":3,"file":"editor-chrome.d.ts","sourceRoot":"","sources":["../../../../editors/shared/editor-chrome.tsx"],"names":[],"mappings":"AASA,OAAO,EAKL,KAAK,WAAW,EAEhB,KAAK,OAAO,EACb,MAAM,sCAAsC,CAAC;AAI9C,OAAO,EAWL,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AAGxB,gEAAgE;AAChE,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,2CAevE;AA4FD,wBAAgB,QAAQ,CAAC,MAAM,SAAS,WAAW,EAAE,KAAK,EAAE;IAC1D,UAAU,EAAE,MAAM,CAAC;IAEnB,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,2CAsPA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=editor-chrome.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-chrome.test.d.ts","sourceRoot":"","sources":["../../../../editors/shared/editor-chrome.test.tsx"],"names":[],"mappings":""}
@@ -5,6 +5,7 @@ declare const ICON_PATHS: {
5
5
  minus: string;
6
6
  list: string;
7
7
  play: string;
8
+ stop: string;
8
9
  chevron: string;
9
10
  chevronDown: string;
10
11
  retry: string;
@@ -25,9 +26,13 @@ declare const ICON_PATHS: {
25
26
  clock: string;
26
27
  bolt: string;
27
28
  branch: string;
29
+ route: string;
30
+ loop: string;
28
31
  lock: string;
29
32
  more: string;
30
33
  archive: string;
34
+ subflow: string;
35
+ reply: string;
31
36
  };
32
37
  export type IconName = keyof typeof ICON_PATHS;
33
38
  export declare function isIconName(name: unknown): name is IconName;
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../editors/shared/icons.tsx"],"names":[],"mappings":"AACA,QAAA,MAAM,UAAU;IACd,MAAM;IACN,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,WAAW;IACX,KAAK;IACL,IAAI;IACJ,KAAK;IACL,KAAK;IACL,MAAM;IACN,MAAM;IAEN,IAAI;IACJ,UAAU;IACV,KAAK;IAEL,IAAI;IACJ,OAAO;IACP,GAAG;IACH,MAAM;IAEN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,MAAM;IAEN,IAAI;IACJ,IAAI;IACJ,OAAO;CACR,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,UAAU,CAAC;AAG/C,wBAAgB,UAAU,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,QAAQ,CAE1D;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE;IAC1B,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,2CAiBA"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../editors/shared/icons.tsx"],"names":[],"mappings":"AACA,QAAA,MAAM,UAAU;IACd,MAAM;IACN,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,WAAW;IACX,KAAK;IACL,IAAI;IACJ,KAAK;IACL,KAAK;IACL,MAAM;IACN,MAAM;IAEN,IAAI;IACJ,UAAU;IACV,KAAK;IAEL,IAAI;IACJ,OAAO;IACP,GAAG;IACH,MAAM;IAEN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,MAAM;IAEN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,OAAO;IACP,KAAK;CACN,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,UAAU,CAAC;AAG/C,wBAAgB,UAAU,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,QAAQ,CAE1D;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE;IAC1B,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,2CAiBA"}
@@ -0,0 +1,9 @@
1
+ import { type FocusEvent } from "react";
2
+ export declare function keyOf(value: unknown): string;
3
+ export interface PendingEcho<T, N extends T> {
4
+ value: T;
5
+ commit: (next: N) => void;
6
+ onBlur: (event: FocusEvent<HTMLElement>) => void;
7
+ }
8
+ export declare function usePendingEcho<T, N extends T = T>(saved: T, onChange: (next: N, shown: T) => void): PendingEcho<T, N>;
9
+ //# sourceMappingURL=pending-echo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pending-echo.d.ts","sourceRoot":"","sources":["../../../../editors/shared/pending-echo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAGlD,wBAAgB,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAQ5C;AAED,MAAM,WAAW,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC;IAEzC,KAAK,EAAE,CAAC,CAAC;IAET,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAE1B,MAAM,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAClD;AAID,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,EAC/C,KAAK,EAAE,CAAC,EACR,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,IAAI,GACpC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,CA4BnB"}
@@ -1,4 +1,4 @@
1
- import { type Action, type Operation } from "@powerhousedao/shared/document-model";
1
+ import { type Action, type BaseReducerCapabilities, type Operation, type PHBaseState, type PHDocument, type PHDocumentHeader, type Reducer } from "@powerhousedao/shared/document-model";
2
2
  export interface UndoPolicy {
3
3
  skip: ReadonlySet<string>;
4
4
  replay?: (action: Action, undone: readonly Action[]) => Action | undefined;
@@ -8,13 +8,20 @@ export interface UndoPlan {
8
8
  replay: Action[];
9
9
  undone: Action[];
10
10
  }
11
- export declare function newUndoGroup(): string;
12
- export declare function groupedAction<A extends Action>(action: A, group: string): A;
11
+ export declare function newUndoGroup(caps?: BaseReducerCapabilities): string;
12
+ export declare function groupedAction<A extends Action>(action: A, group: string, caps?: BaseReducerCapabilities): A;
13
13
  export declare function undoGroupOf(action: Action): string | undefined;
14
+ export declare function documentCapabilities(header: PHDocumentHeader, create?: Operation): BaseReducerCapabilities | undefined;
15
+ export declare function isRetractionDocument(header: PHDocumentHeader, create?: Operation): boolean;
14
16
  export declare function effectiveOperations(operations: readonly Operation[], protocolVersion: number): Operation[];
17
+ export declare function liveOperations(operations: readonly Operation[]): Operation[];
18
+ export declare function appliedActionIds<TState extends PHBaseState>(document: PHDocument, documentScope: readonly Operation[], history: readonly Operation[], reducer: Reducer<TState>): ReadonlySet<string>;
19
+ export declare function planRetraction(operations: readonly Operation[], policy: UndoPolicy, applied: ReadonlySet<string>): string[] | null;
20
+ export declare function canUndoOn3(operations: readonly Operation[], policy: UndoPolicy, applied: ReadonlySet<string>): boolean;
21
+ export declare function retractions(ids: readonly string[], scope?: string): Action[];
15
22
  export declare function planUndo(effective: readonly Operation[], policy: UndoPolicy): UndoPlan | null;
16
23
  export declare function headIndex(operations: readonly Operation[]): number;
17
24
  export declare function editedSince(operations: readonly Operation[], head: number, policy: UndoPolicy): boolean;
18
- export declare function redoAction(action: Action): Action;
19
- export declare function redoActions(actions: readonly Action[]): Action[];
25
+ export declare function redoAction(action: Action, caps?: BaseReducerCapabilities): Action;
26
+ export declare function redoActions(actions: readonly Action[], caps?: BaseReducerCapabilities): Action[];
20
27
  //# sourceMappingURL=undo-plan.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"undo-plan.d.ts","sourceRoot":"","sources":["../../../../editors/shared/undo-plan.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,MAAM,EACX,KAAK,SAAS,EACf,MAAM,sCAAsC,CAAC;AAE9C,MAAM,WAAW,UAAU;IAEzB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAG1B,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,MAAM,EAAE,KAAK,MAAM,GAAG,SAAS,CAAC;CAC5E;AAED,MAAM,WAAW,QAAQ;IAEvB,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAKD,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,CAE3E;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM9D;AAGD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,SAAS,SAAS,EAAE,EAChC,eAAe,EAAE,MAAM,GACtB,SAAS,EAAE,CAKb;AAqBD,wBA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GD,wBAAgB,SAAS,CAAC,UAAU,EAAE,SAAS,SAAS,EAAE,GAAG,MAAM,CAElE;AAGD,wBAAgB,WAAW,CACzB,UAAU,EAAE,SAAS,SAAS,EAAE,EAChC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,UAAU,GACjB,OAAO,CAOT;AAGD,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,uBAAuB,GAC7B,MAAM,CAQR;AAGD,wBAAgB,WAAW,CACzB,OAAO,EAAE,SAAS,MAAM,EAAE,EAC1B,IAAI,CAAC,EAAE,uBAAuB,GAC7B,MAAM,EAAE,CAQV"}
@@ -0,0 +1,14 @@
1
+ import type { PHSearchUpdate } from "@powerhousedao/reactor-browser";
2
+ /** The studio's sidebar selection. */
3
+ export declare const ITEM_PARAM = "item";
4
+ export type SetParam<T extends string> = (value: T, options?: {
5
+ replace?: boolean;
6
+ also?: PHSearchUpdate;
7
+ }) => void;
8
+ /** A query param read as one of `allowed`, else `fallback`; the fallback is
9
+ * kept out of the URL. `also` updates other params in the same entry. */
10
+ export declare function useSearchParam<T extends string>(key: string, fallback: T, allowed?: readonly T[]): [T, SetParam<T>];
11
+ /** A text param with a local draft, so typing never waits on a navigation;
12
+ * the draft follows other URL changes, e.g. back and forward. */
13
+ export declare function useSearchParamDraft(key: string): [string, (value: string) => void];
14
+ //# sourceMappingURL=url-param.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-param.d.ts","sourceRoot":"","sources":["../../../../editors/shared/url-param.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAOrE,sCAAsC;AACtC,eAAO,MAAM,UAAU,SAAS,CAAC;AAEjC,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI,CACvC,KAAK,EAAE,CAAC,EACR,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,cAAc,CAAA;CAAE,KACnD,IAAI,CAAC;AAEV;yEACyE;AACzE,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAC7C,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,CAAC,EACX,OAAO,CAAC,EAAE,SAAS,CAAC,EAAE,GACrB,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAoBlB;AAED;iEACiE;AACjE,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,GACV,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC,CAuBnC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=url-param.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-param.test.d.ts","sourceRoot":"","sources":["../../../../editors/shared/url-param.test.tsx"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"useWorkflowModel.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/document/useWorkflowModel.ts"],"names":[],"mappings":"AAcA,OAAO,EAIL,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EACnB,MAAM,gBAAgB,CAAC;AAmGxB,wBAAgB,gBAAgB,IAAI;IAClC,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,uBAAuB,CAAC;CACpC,CA+QA"}
1
+ {"version":3,"file":"useWorkflowModel.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/document/useWorkflowModel.ts"],"names":[],"mappings":"AAkBA,OAAO,EAIL,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EACnB,MAAM,gBAAgB,CAAC;AAkIxB,wBAAgB,gBAAgB,IAAI;IAClC,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,uBAAuB,CAAC;CACpC,CAsSA"}
@@ -1,4 +1,6 @@
1
1
  import "@xyflow/react/dist/style.css";
2
2
  import "./ui/canvas.css";
3
- export default function Editor(): import("react/jsx-runtime").JSX.Element;
3
+ import type { EditorProps } from "document-model";
4
+ import type { WorkflowAction, WorkflowDocument } from "document-models/workflow";
5
+ export default function Editor({ document, }: EditorProps<WorkflowDocument, WorkflowAction>): import("react/jsx-runtime").JSX.Element;
4
6
  //# sourceMappingURL=editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AACtC,OAAO,iBAAiB,CAAC;AAkOzB,MAAM,CAAC,OAAO,UAAU,MAAM,4CAS7B"}
1
+ {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AACtC,OAAO,iBAAiB,CAAC;AAMzB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAgSlC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,QAAQ,GACT,EAAE,WAAW,CAAC,gBAAgB,EAAE,cAAc,CAAC,2CAQ/C"}
@@ -3,6 +3,7 @@
3
3
  * This file is auto-generated and updated by codegen
4
4
  */
5
5
  import type { EditorModule } from "document-model";
6
+ import type { WorkflowAction, WorkflowDocument } from "document-models/workflow";
6
7
  /** Document editor module for the "powerhouse/workflow" document type */
7
- export declare const WorkflowEditor: EditorModule;
8
+ export declare const WorkflowEditor: EditorModule<WorkflowDocument, WorkflowAction>;
8
9
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/module.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,yEAAyE;AACzE,eAAO,MAAM,cAAc,EAAE,YAO5B,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/module.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAGlC,yEAAyE;AACzE,eAAO,MAAM,cAAc,EAAE,YAAY,CAAC,gBAAgB,EAAE,cAAc,CAOzE,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { type Grant, type PHAuthState } from "@powerhousedao/shared/document-model";
2
+ import type { ReactorAccessInfo } from "./runtime-client.js";
3
+ import { type GrantSubject } from "./ui/reactor-access.js";
4
+ export declare function useReactorAccess(): ReactorAccessInfo | undefined;
5
+ export interface SignInGate {
6
+ required: boolean;
7
+ signedIn: boolean;
8
+ pending: boolean;
9
+ login: () => void;
10
+ access: ReactorAccessInfo | undefined;
11
+ subject: GrantSubject;
12
+ }
13
+ export declare function useSignInGate(): SignInGate;
14
+ export declare function useDocumentAuths(ids: readonly string[]): ReadonlyMap<string, PHAuthState | null> | undefined;
15
+ export interface GrantOutcome {
16
+ id: string;
17
+ error?: string;
18
+ }
19
+ export declare function grantOnDocuments(ids: readonly string[], grants: readonly Grant[]): Promise<GrantOutcome[]>;
20
+ export declare function useReactorAccessDenial(workflowId: string | undefined, refresh: string): string | null;
21
+ export declare function usePublisher(workflowId: string | undefined, publishedVersion?: number | null): {
22
+ publisher: string | null | undefined;
23
+ loading: boolean;
24
+ };
25
+ //# sourceMappingURL=reactor-hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reactor-hooks.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/reactor-hooks.ts"],"names":[],"mappings":"AAQA,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,WAAW,EACjB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG7D,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAI3E,wBAAgB,gBAAgB,IAAI,iBAAiB,GAAG,SAAS,CAYhE;AAED,MAAM,WAAW,UAAU;IAEzB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtC,OAAO,EAAE,YAAY,CAAC;CACvB;AAED,wBAAgB,aAAa,IAAI,UAAU,CAgB1C;AAID,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,SAAS,MAAM,EAAE,GACrB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC,GAAG,SAAS,CA4BrD;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,SAAS,MAAM,EAAE,EACtB,MAAM,EAAE,SAAS,KAAK,EAAE,GACvB,OAAO,CAAC,YAAY,EAAE,CAAC,CAmBzB;AAID,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,OAAO,EAAE,MAAM,GACd,MAAM,GAAG,IAAI,CAgBf;AAID,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GAAG,SAAS,EAE9B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAC/B;IAAE,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAwC5D"}
@@ -1,14 +1,16 @@
1
1
  import type { BlockRef } from "@powerhousedao/pieces-framework/block-type";
2
- import { DEFAULT_RUNTIME_URL, type RunsScope } from "./runtime-client.js";
2
+ import type { SwitchboardEntry } from "@powerhousedao/reactor-browser";
3
+ import { type RuntimeClient, type RuntimeClientOptions } from "./runtime-client.js";
3
4
  export type * from "./runtime-client.js";
4
- export { DEFAULT_RUNTIME_URL };
5
- export declare function setRuntimeUrl(url: string): void;
6
- export declare const getBlockForm: (block: BlockRef) => Promise<import("./ui/forms.ts").BlockForm | null>;
7
- export declare const fetchPieceCatalog: () => Promise<import("./runtime-client.js").PieceSummary[]>;
8
- export declare const fetchPieceActions: (packageName: string) => Promise<import("./runtime-client.js").PieceActionEntry[]>;
9
- export declare const fetchPieceTriggers: (packageName: string) => Promise<import("./runtime-client.js").PieceTriggerEntry[]>;
10
- export declare const fetchConnections: () => Promise<import("./runtime-client.js").ConnectionSummary[]>;
11
- export declare const checkConnection: (connectionId: string) => Promise<import("./runtime-client.js").ConnectionCheckResult>;
12
- export declare const fetchRuns: (scope?: RunsScope) => Promise<import("./runtime-client.js").RunRecord[]>;
13
- export declare const fireWorkflow: (workflowId: string, payload?: unknown) => Promise<import("./runtime-client.js").FireResult>;
5
+ /** One switchboard's runtime, for one tool call. */
6
+ export interface AiRuntime {
7
+ switchboard: SwitchboardEntry;
8
+ client: RuntimeClient;
9
+ getBlockForm(block: BlockRef): ReturnType<typeof fetchBlockForm>;
10
+ fetchPieceCatalog(): ReturnType<typeof fetchCatalog>;
11
+ }
12
+ declare function fetchBlockForm(client: RuntimeClient, block: BlockRef): Promise<import("./ui/forms.ts").BlockForm | null>;
13
+ declare function fetchCatalog(client: RuntimeClient): Promise<import("./runtime-client.js").PieceSummary[]>;
14
+ /** The runtime of `switchboard`; the catalog and block forms are cached per URL. */
15
+ export declare function runtimeAt(switchboard: SwitchboardEntry, options?: RuntimeClientOptions): AiRuntime;
14
16
  //# sourceMappingURL=runtime-api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime-api.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/runtime-api.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ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