@powerhousedao/workflow 6.2.3 → 6.3.0-dev.2
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.
- package/README.md +3 -1
- package/dist/{node/BlockSelector-C3XYZfPY.mjs → browser/BlockSelector-CEdYUqjx.js} +2006 -1692
- package/dist/browser/BlockSelector-CEdYUqjx.js.map +1 -0
- package/dist/browser/PieceMarkdown-DSdZd-Jc.js +92 -0
- package/dist/browser/PieceMarkdown-DSdZd-Jc.js.map +1 -0
- package/dist/browser/connection-form-Biksq2jW.js +1524 -0
- package/dist/browser/connection-form-Biksq2jW.js.map +1 -0
- package/dist/browser/{connection-BUum0hJI.js → connection-ilYFCRUK.js} +2 -2
- package/dist/browser/{connection-BUum0hJI.js.map → connection-ilYFCRUK.js.map} +1 -1
- package/dist/browser/data-tree-Cq-s6bJp.js +76 -0
- package/dist/browser/data-tree-Cq-s6bJp.js.map +1 -0
- package/dist/browser/document-models/connection/index.js +3 -3
- package/dist/browser/document-models/index.js +3 -3
- package/dist/browser/document-models/workflow/index.js +3 -3
- package/dist/browser/document-models-C2SAP1SX.js +164 -0
- package/dist/browser/{document-models-C1ZgIZyV.js.map → document-models-C2SAP1SX.js.map} +1 -1
- package/dist/browser/editor-CIqKi7XK.js +3219 -0
- package/dist/browser/editor-CIqKi7XK.js.map +1 -0
- package/dist/browser/editor-DYjoPfta.js +4669 -0
- package/dist/browser/editor-DYjoPfta.js.map +1 -0
- package/dist/browser/{editor-BCH8vdej.js → editor-GeRXGdie.js} +174 -48
- package/dist/browser/editor-GeRXGdie.js.map +1 -0
- package/dist/browser/editors/connection-editor/module.js +1 -1
- package/dist/browser/editors/connection-editor/module.js.map +1 -1
- package/dist/browser/editors/runtime/index.js +2 -0
- package/dist/browser/editors/workflow-editor/module.js +1 -1
- package/dist/browser/editors/workflow-editor/module.js.map +1 -1
- package/dist/browser/editors/workflow-studio/module.js +1 -1
- package/dist/browser/index.js +164 -88
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/{module-jDZ4pq3W.js → module-DJz6oTX0.js} +237 -30
- package/dist/browser/module-DJz6oTX0.js.map +1 -0
- package/dist/browser/{module-DU2vb3FH.js → module-mFCt9WHJ.js} +267 -89
- package/dist/browser/module-mFCt9WHJ.js.map +1 -0
- package/dist/{node/piece-auth-BS5CtQOG.mjs → browser/piece-auth-63iuNFTs.js} +11 -3
- package/dist/browser/piece-auth-63iuNFTs.js.map +1 -0
- package/dist/browser/reactor/index.js +2 -2
- package/dist/browser/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/browser/runtime-queries-FmEzElOY.js +993 -0
- package/dist/browser/runtime-queries-FmEzElOY.js.map +1 -0
- package/dist/browser/trigger-text-DH6HIeoa.js +3210 -0
- package/dist/browser/trigger-text-DH6HIeoa.js.map +1 -0
- package/dist/browser/upgrade-manifests-C2Qa6myy.js +8 -0
- package/dist/browser/{upgrade-manifests-BpakVE9l.js.map → upgrade-manifests-C2Qa6myy.js.map} +1 -1
- package/dist/{node/workflow-CGzYGZnr.mjs → browser/workflow-2gR2JXUS.js} +4 -3
- package/dist/browser/workflow-2gR2JXUS.js.map +1 -0
- package/dist/node/document-models/connection/index.mjs +67 -3
- package/dist/node/document-models/connection/index.mjs.map +1 -0
- package/dist/node/document-models/index.mjs +3 -3
- package/dist/node/document-models/workflow/index.mjs +86 -3
- package/dist/node/document-models/workflow/index.mjs.map +1 -0
- package/dist/node/editors/index.mjs +6 -4
- package/dist/node/editors/index.mjs.map +1 -0
- package/dist/node/index.mjs +69 -381
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/{module-Dhe5E-VA.mjs → module-BXKUB58R.mjs} +273 -90
- package/dist/node/module-BXKUB58R.mjs.map +1 -0
- package/dist/node/{module-BMwJQh65.mjs → module-CaBtkQmd.mjs} +226 -19
- package/dist/node/module-CaBtkQmd.mjs.map +1 -0
- package/dist/node/pieces/ai/descriptor.json +857 -0
- package/dist/node/pieces/ai/index.mjs +624 -0
- package/dist/node/pieces/ai/package.json +9 -0
- package/dist/node/pieces/index.mjs +3 -0
- package/dist/node/pieces/index.mjs.map +1 -1
- package/dist/node/pieces/reactor/descriptor.json +104 -18
- package/dist/node/pieces/reactor/index.mjs +48 -17670
- package/dist/node/pieces/reactor/package.json +2 -2
- package/dist/node/rolldown-runtime-D7D4PA-g.mjs +13 -0
- package/dist/node/upgrade-manifests-BCCpSD1J.mjs +8 -0
- package/dist/node/{upgrade-manifests-CmNd742Y.mjs.map → upgrade-manifests-BCCpSD1J.mjs.map} +1 -1
- package/dist/powerhouse.manifest.json +72 -6
- package/dist/style.css +3 -2520
- package/dist/types/ai/runtime.d.ts +13 -0
- package/dist/types/ai/runtime.d.ts.map +1 -0
- package/dist/types/ai/tools.d.ts +10 -6
- package/dist/types/ai/tools.d.ts.map +1 -1
- package/dist/types/ai/workflow-tools.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/actions.d.ts +3 -0
- package/dist/types/document-models/connection/v1/actions.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/config/actions.d.ts +10 -2
- package/dist/types/document-models/connection/v1/gen/config/actions.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/config/creators.d.ts +4 -2
- package/dist/types/document-models/connection/v1/gen/config/creators.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/config/error.d.ts +29 -1
- package/dist/types/document-models/connection/v1/gen/config/error.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/config/operations.d.ts +3 -1
- package/dist/types/document-models/connection/v1/gen/config/operations.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/connection/error.d.ts +13 -1
- package/dist/types/document-models/connection/v1/gen/connection/error.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/document-model.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/reducer.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/schema/types.d.ts +18 -2
- package/dist/types/document-models/connection/v1/gen/schema/types.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/schema/zod.d.ts +5 -1
- package/dist/types/document-models/connection/v1/gen/schema/zod.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/module.d.ts +3 -0
- package/dist/types/document-models/connection/v1/module.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/src/reactor-connection.d.ts +17 -0
- package/dist/types/document-models/connection/v1/src/reactor-connection.d.ts.map +1 -0
- package/dist/types/document-models/connection/v1/src/reducers/config.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/src/reducers/connection.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/src/utils.d.ts +1 -1
- package/dist/types/document-models/connection/v1/src/utils.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/tests/config-values.test.d.ts +2 -0
- package/dist/types/document-models/connection/v1/tests/config-values.test.d.ts.map +1 -0
- package/dist/types/document-models/connection/v1/tests/reactor-connection.test.d.ts +2 -0
- package/dist/types/document-models/connection/v1/tests/reactor-connection.test.d.ts.map +1 -0
- package/dist/types/document-models/document-models.d.ts +8 -0
- package/dist/types/document-models/document-models.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/actions.d.ts +5 -0
- package/dist/types/document-models/workflow/v1/actions.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/document-model.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/document-schema.d.ts +3 -0
- package/dist/types/document-models/workflow/v1/gen/document-schema.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/ph-factories.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/reducer.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts +52 -6
- package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/schema/zod.d.ts +7 -1
- package/dist/types/document-models/workflow/v1/gen/schema/zod.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/actions.d.ts +14 -2
- package/dist/types/document-models/workflow/v1/gen/trigger/actions.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/creators.d.ts +5 -2
- package/dist/types/document-models/workflow/v1/gen/trigger/creators.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts +32 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/operations.d.ts +4 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/operations.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/utils.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/workflow/actions.d.ts +6 -2
- package/dist/types/document-models/workflow/v1/gen/workflow/actions.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/workflow/creators.d.ts +3 -2
- package/dist/types/document-models/workflow/v1/gen/workflow/creators.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/workflow/operations.d.ts +2 -1
- package/dist/types/document-models/workflow/v1/gen/workflow/operations.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/module.d.ts +5 -0
- package/dist/types/document-models/workflow/v1/module.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/src/reducers/steps.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/src/reducers/trigger.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/src/reducers/workflow.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/tests/managed-by.test.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/tests/managed-by.test.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/tests/reactor-connection.test.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/tests/reactor-connection.test.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/tests/trigger-fields.test.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/tests/trigger-fields.test.d.ts.map +1 -0
- package/dist/types/editors/connection-editor/ConnectionToolbar.d.ts +1 -1
- package/dist/types/editors/connection-editor/ConnectionToolbar.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/ReactorBindings.d.ts +6 -0
- package/dist/types/editors/connection-editor/ReactorBindings.d.ts.map +1 -0
- package/dist/types/editors/connection-editor/ReactorConnectionSettings.d.ts +7 -0
- package/dist/types/editors/connection-editor/ReactorConnectionSettings.d.ts.map +1 -0
- package/dist/types/editors/connection-editor/UsedBy.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/connection-callbacks.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/connection-form.d.ts +4 -1
- package/dist/types/editors/connection-editor/connection-form.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/connection-usage.d.ts +13 -3
- package/dist/types/editors/connection-editor/connection-usage.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/editor.d.ts +3 -1
- package/dist/types/editors/connection-editor/editor.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/module.d.ts +2 -1
- package/dist/types/editors/connection-editor/module.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/piece-auth.d.ts +6 -1
- package/dist/types/editors/connection-editor/piece-auth.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/status.d.ts.map +1 -1
- package/dist/types/editors/runtime/index.d.ts +21 -0
- package/dist/types/editors/runtime/index.d.ts.map +1 -0
- package/dist/types/editors/runtime/runtime-export.test.d.ts +2 -0
- package/dist/types/editors/runtime/runtime-export.test.d.ts.map +1 -0
- package/dist/types/editors/shared/DocumentErrorBoundary.d.ts.map +1 -1
- package/dist/types/editors/shared/controls.d.ts +1 -0
- package/dist/types/editors/shared/controls.d.ts.map +1 -1
- package/dist/types/editors/shared/data-tree.d.ts.map +1 -1
- package/dist/types/editors/shared/data-viewer.d.ts.map +1 -1
- package/dist/types/editors/shared/document-ref.d.ts +5 -0
- package/dist/types/editors/shared/document-ref.d.ts.map +1 -0
- package/dist/types/editors/shared/editor-chrome.d.ts +6 -1
- package/dist/types/editors/shared/editor-chrome.d.ts.map +1 -1
- package/dist/types/editors/shared/editor-chrome.test.d.ts +2 -0
- package/dist/types/editors/shared/editor-chrome.test.d.ts.map +1 -0
- package/dist/types/editors/shared/icons.d.ts +5 -0
- package/dist/types/editors/shared/icons.d.ts.map +1 -1
- package/dist/types/editors/shared/pending-echo.d.ts +9 -0
- package/dist/types/editors/shared/pending-echo.d.ts.map +1 -0
- package/dist/types/editors/shared/undo-plan.d.ts +12 -5
- package/dist/types/editors/shared/undo-plan.d.ts.map +1 -1
- package/dist/types/editors/shared/url-param.d.ts +14 -0
- package/dist/types/editors/shared/url-param.d.ts.map +1 -0
- package/dist/types/editors/shared/url-param.test.d.ts +2 -0
- package/dist/types/editors/shared/url-param.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/document/useWorkflowModel.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/editor.d.ts +3 -1
- package/dist/types/editors/workflow-editor/editor.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/module.d.ts +2 -1
- package/dist/types/editors/workflow-editor/module.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/reactor-hooks.d.ts +25 -0
- package/dist/types/editors/workflow-editor/reactor-hooks.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/runtime-api.d.ts +13 -11
- package/dist/types/editors/workflow-editor/runtime-api.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/runtime-client.d.ts +96 -9
- package/dist/types/editors/workflow-editor/runtime-client.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/runtime-context.d.ts +12 -3
- package/dist/types/editors/workflow-editor/runtime-context.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/runtime-contract.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/runtime-contract.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/runtime-persist.d.ts +1 -1
- package/dist/types/editors/workflow-editor/runtime-queries.d.ts +21 -1
- package/dist/types/editors/workflow-editor/runtime-queries.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts +15 -2
- package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/CanvasContextMenu.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ConnectionField.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ConnectionName.d.ts +8 -0
- package/dist/types/editors/workflow-editor/ui/ConnectionName.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/CreateConnectionModal.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/PanelResizer.d.ts +12 -0
- package/dist/types/editors/workflow-editor/ui/PanelResizer.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/PickerPopover.d.ts +12 -0
- package/dist/types/editors/workflow-editor/ui/PickerPopover.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/PieceMarkdown.d.ts +2 -1
- package/dist/types/editors/workflow-editor/ui/PieceMarkdown.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts +9 -0
- package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/PublishControls.d.ts +17 -0
- package/dist/types/editors/workflow-editor/ui/PublishControls.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ReactorConnectionField.d.ts +9 -0
- package/dist/types/editors/workflow-editor/ui/ReactorConnectionField.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/ScheduleBuilder.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/SignInPrompt.d.ts +6 -0
- package/dist/types/editors/workflow-editor/ui/SignInPrompt.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/StepError.d.ts +4 -0
- package/dist/types/editors/workflow-editor/ui/StepError.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts +1 -0
- package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/StepTest.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/SwitchboardGrants.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/SwitchboardGrants.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/VirtualList.d.ts +14 -0
- package/dist/types/editors/workflow-editor/ui/VirtualList.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/WorkflowEditorApp.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ap-edge.d.ts +1 -0
- package/dist/types/editors/workflow-editor/ui/ap-edge.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ap-layout.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ap-nodes.d.ts +4 -0
- package/dist/types/editors/workflow-editor/ui/ap-nodes.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/block-meta.d.ts +3 -0
- package/dist/types/editors/workflow-editor/ui/block-meta.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/block-picker-layout.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/block-picker-layout.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/blocks.d.ts +12 -0
- package/dist/types/editors/workflow-editor/ui/blocks.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/canvas-menu.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/design-time.d.ts +1 -0
- package/dist/types/editors/workflow-editor/ui/design-time.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/document-options.d.ts +24 -0
- package/dist/types/editors/workflow-editor/ui/document-options.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/document-options.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/document-options.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/document-shape.d.ts +8 -0
- package/dist/types/editors/workflow-editor/ui/document-shape.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/document-shape.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/document-shape.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/expression-scope.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/expression-scope.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/flow-control.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/flow-control.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/forms.d.ts +11 -2
- package/dist/types/editors/workflow-editor/ui/forms.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/item-summary.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/item-summary.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/manual-inputs.d.ts +7 -0
- package/dist/types/editors/workflow-editor/ui/manual-inputs.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/manual-inputs.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/manual-inputs.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/model.d.ts +31 -0
- package/dist/types/editors/workflow-editor/ui/model.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/picker-placement.d.ts +19 -0
- package/dist/types/editors/workflow-editor/ui/picker-placement.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/picker-recent.d.ts +4 -0
- package/dist/types/editors/workflow-editor/ui/picker-recent.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/piece-source.d.ts +23 -3
- package/dist/types/editors/workflow-editor/ui/piece-source.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/prop-layout.d.ts +1 -0
- package/dist/types/editors/workflow-editor/ui/prop-layout.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/prop-layout.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/prop-layout.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/query-keys.d.ts +16 -4
- package/dist/types/editors/workflow-editor/ui/query-keys.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/reactor-access.d.ts +43 -0
- package/dist/types/editors/workflow-editor/ui/reactor-access.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/reactor-access.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/reactor-access.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/reactor-connection-create.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/reactor-connection-create.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/reactor-connection-create.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/reactor-connection-create.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/reactor-view.d.ts +25 -0
- package/dist/types/editors/workflow-editor/ui/reactor-view.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/reactor-view.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/reactor-view.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/retry-policy.d.ts +8 -0
- package/dist/types/editors/workflow-editor/ui/retry-policy.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/retry-policy.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/retry-policy.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/step-test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/step-test.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/use-selected-block.d.ts +4 -0
- package/dist/types/editors/workflow-editor/ui/use-selected-block.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/use-selected-block.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/use-selected-block.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/use-validity.d.ts +1 -0
- package/dist/types/editors/workflow-editor/ui/use-validity.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/validation.d.ts +7 -2
- package/dist/types/editors/workflow-editor/ui/validation.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/use-workflow-runtime.d.ts +13 -0
- package/dist/types/editors/workflow-editor/use-workflow-runtime.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/use-workflow-runtime.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/use-workflow-runtime.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/RunDialog.d.ts +7 -0
- package/dist/types/editors/workflow-studio/components/RunDialog.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/RunsTable.d.ts +11 -1
- package/dist/types/editors/workflow-studio/components/RunsTable.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/RunsView.d.ts +3 -1
- package/dist/types/editors/workflow-studio/components/RunsView.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/ScrollFade.d.ts +7 -0
- package/dist/types/editors/workflow-studio/components/ScrollFade.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/Sidebar.d.ts +4 -0
- package/dist/types/editors/workflow-studio/components/Sidebar.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/Waitpoints.d.ts +57 -0
- package/dist/types/editors/workflow-studio/components/Waitpoints.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts +4 -0
- package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/WorkflowGraph.d.ts +41 -0
- package/dist/types/editors/workflow-studio/components/WorkflowGraph.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/WorkflowMenu.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/WorkflowMenu.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/WorkflowSteps.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/WorkflowStudio.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/chain.d.ts +6 -0
- package/dist/types/editors/workflow-studio/components/chain.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/fit-geometry.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/fit-geometry.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/graph-layout.d.ts +30 -0
- package/dist/types/editors/workflow-studio/components/graph-layout.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/graph-layout.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/graph-layout.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/run-dialog.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/run-dialog.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/run-format.d.ts +6 -1
- package/dist/types/editors/workflow-studio/components/run-format.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/tips.d.ts +23 -0
- package/dist/types/editors/workflow-studio/components/tips.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/use-collapsed.d.ts +5 -0
- package/dist/types/editors/workflow-studio/components/use-collapsed.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/use-item-selection.d.ts +10 -0
- package/dist/types/editors/workflow-studio/components/use-item-selection.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/use-item-selection.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/use-item-selection.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/waitpoints-view.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/waitpoints-view.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/waitpoints.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/waitpoints.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/workflow-order.d.ts +19 -0
- package/dist/types/editors/workflow-studio/components/workflow-order.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/workflow-order.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/workflow-order.test.d.ts.map +1 -0
- package/dist/types/pieces/ai/ai-actions.test.d.ts +2 -0
- package/dist/types/pieces/ai/ai-actions.test.d.ts.map +1 -0
- package/dist/types/pieces/ai/ai-documents.test.d.ts +2 -0
- package/dist/types/pieces/ai/ai-documents.test.d.ts.map +1 -0
- package/dist/types/pieces/ai/ai.test.d.ts +2 -0
- package/dist/types/pieces/ai/ai.test.d.ts.map +1 -0
- package/dist/types/pieces/ai/index.d.ts +7 -0
- package/dist/types/pieces/ai/index.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/action-schema.d.ts +11 -0
- package/dist/types/pieces/ai/lib/action-schema.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/ask-ai.d.ts +38 -0
- package/dist/types/pieces/ai/lib/actions/ask-ai.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/decide-on-documents.d.ts +45 -0
- package/dist/types/pieces/ai/lib/actions/decide-on-documents.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/decide.d.ts +39 -0
- package/dist/types/pieces/ai/lib/actions/decide.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/extract.d.ts +41 -0
- package/dist/types/pieces/ai/lib/actions/extract.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/propose-actions.d.ts +55 -0
- package/dist/types/pieces/ai/lib/actions/propose-actions.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/summarize.d.ts +38 -0
- package/dist/types/pieces/ai/lib/actions/summarize.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/auth.d.ts +16 -0
- package/dist/types/pieces/ai/lib/auth.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/decision-model.d.ts +17 -0
- package/dist/types/pieces/ai/lib/decision-model.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/documents.d.ts +11 -0
- package/dist/types/pieces/ai/lib/documents.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/model-list.d.ts +8 -0
- package/dist/types/pieces/ai/lib/model-list.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/models.d.ts +19 -0
- package/dist/types/pieces/ai/lib/models.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/props.d.ts +16 -0
- package/dist/types/pieces/ai/lib/props.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/providers.d.ts +9 -0
- package/dist/types/pieces/ai/lib/providers.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/questions.d.ts +7 -0
- package/dist/types/pieces/ai/lib/questions.d.ts.map +1 -0
- package/dist/types/pieces/index.d.ts.map +1 -1
- package/dist/types/pieces/reactor/index.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-create.d.ts +5 -2
- package/dist/types/pieces/reactor/lib/actions/document-create.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-dispatch.d.ts +3 -1
- package/dist/types/pieces/reactor/lib/actions/document-dispatch.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-find.d.ts +4 -1
- package/dist/types/pieces/reactor/lib/actions/document-find.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-get.d.ts +3 -1
- package/dist/types/pieces/reactor/lib/actions/document-get.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-schema.d.ts +3 -1
- package/dist/types/pieces/reactor/lib/actions/document-schema.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-types.d.ts +3 -1
- package/dist/types/pieces/reactor/lib/actions/document-types.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/index-query.d.ts +14 -0
- package/dist/types/pieces/reactor/lib/actions/index-query.d.ts.map +1 -0
- package/dist/types/pieces/reactor/lib/documents.d.ts +33 -0
- package/dist/types/pieces/reactor/lib/documents.d.ts.map +1 -0
- package/dist/types/pieces/reactor/lib/documents.test.d.ts +2 -0
- package/dist/types/pieces/reactor/lib/documents.test.d.ts.map +1 -0
- package/dist/types/pieces/reactor/lib/input-props.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/input-schema.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/parse.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/reactor.d.ts +27 -4
- package/dist/types/pieces/reactor/lib/reactor.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/triggers/document-event.d.ts +6 -6
- package/dist/types/pieces/reactor/lib/triggers/document-event.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/writes.d.ts +7 -0
- package/dist/types/pieces/reactor/lib/writes.d.ts.map +1 -0
- package/dist/types/pieces/reactor/reactor.test.d.ts +2 -0
- package/dist/types/pieces/reactor/reactor.test.d.ts.map +1 -0
- package/dist/types/pieces/reactor/test-signer.d.ts +3 -0
- package/dist/types/pieces/reactor/test-signer.d.ts.map +1 -0
- package/dist/types/scripts/ui-stack.d.ts +21 -6
- package/dist/types/scripts/ui-stack.d.ts.map +1 -1
- package/dist/types/test/graphql-server.d.ts +9 -0
- package/dist/types/test/graphql-server.d.ts.map +1 -0
- package/dist/types/test/runtime-schema.d.ts +17 -0
- package/dist/types/test/runtime-schema.d.ts.map +1 -0
- package/dist/types/test/switchboards.d.ts +20 -0
- package/dist/types/test/switchboards.d.ts.map +1 -0
- package/dist/types/test/ui/flow-control.spec.d.ts +2 -0
- package/dist/types/test/ui/flow-control.spec.d.ts.map +1 -0
- package/dist/types/test/ui/harness/property-form-echo.d.ts +12 -0
- package/dist/types/test/ui/harness/property-form-echo.d.ts.map +1 -0
- package/dist/types/test/ui/harness/schedule-builder.d.ts +8 -0
- package/dist/types/test/ui/harness/schedule-builder.d.ts.map +1 -0
- package/dist/types/test/ui/manual-inputs.spec.d.ts +2 -0
- package/dist/types/test/ui/manual-inputs.spec.d.ts.map +1 -0
- package/dist/types/test/ui/property-form-echo.spec.d.ts +2 -0
- package/dist/types/test/ui/property-form-echo.spec.d.ts.map +1 -0
- package/dist/types/test/ui/reactor-connection.spec.d.ts +2 -0
- package/dist/types/test/ui/reactor-connection.spec.d.ts.map +1 -0
- package/dist/types/test/ui/schedule-builder.spec.d.ts +2 -0
- package/dist/types/test/ui/schedule-builder.spec.d.ts.map +1 -0
- package/dist/types/test/waitpoint-record.d.ts +3 -0
- package/dist/types/test/waitpoint-record.d.ts.map +1 -0
- package/dist/workflow.css +68 -0
- package/package.json +40 -11
- package/dist/browser/BlockSelector-BQDqIbRZ.js +0 -3053
- package/dist/browser/BlockSelector-BQDqIbRZ.js.map +0 -1
- package/dist/browser/PieceMarkdown-B8EEaQgT.js +0 -21435
- package/dist/browser/PieceMarkdown-B8EEaQgT.js.map +0 -1
- package/dist/browser/assets/entry-D62sYiFV.js +0 -318
- package/dist/browser/assets/projection-entry-BGcu_9-p.js +0 -446
- package/dist/browser/connection-form-BCxGD8Zk.js +0 -831
- package/dist/browser/connection-form-BCxGD8Zk.js.map +0 -1
- package/dist/browser/data-tree-CZZkfzSH.js +0 -1896
- package/dist/browser/data-tree-CZZkfzSH.js.map +0 -1
- package/dist/browser/document-models-C1ZgIZyV.js +0 -103
- package/dist/browser/editor-BCH8vdej.js.map +0 -1
- package/dist/browser/editor-Bd2Cu8Mx.js +0 -1793
- package/dist/browser/editor-Bd2Cu8Mx.js.map +0 -1
- package/dist/browser/editor-Bl1Xp7N8.js +0 -17234
- package/dist/browser/editor-Bl1Xp7N8.js.map +0 -1
- package/dist/browser/module-DU2vb3FH.js.map +0 -1
- package/dist/browser/module-jDZ4pq3W.js.map +0 -1
- package/dist/browser/piece-auth-BS5CtQOG.js +0 -146
- package/dist/browser/piece-auth-BS5CtQOG.js.map +0 -1
- package/dist/browser/rolldown-runtime-DC62tzP2.js +0 -33
- package/dist/browser/runtime-queries-Ds2kk-Ow.js +0 -2535
- package/dist/browser/runtime-queries-Ds2kk-Ow.js.map +0 -1
- package/dist/browser/trigger-text-Ld2uv0Cf.js +0 -5569
- package/dist/browser/trigger-text-Ld2uv0Cf.js.map +0 -1
- package/dist/browser/upgrade-manifests-BpakVE9l.js +0 -8
- package/dist/browser/workflow-BxShRhVy.js +0 -108
- package/dist/browser/workflow-BxShRhVy.js.map +0 -1
- package/dist/node/BlockSelector-C3XYZfPY.mjs.map +0 -1
- package/dist/node/PieceMarkdown-BMhBGa4t.mjs +0 -23281
- package/dist/node/PieceMarkdown-BMhBGa4t.mjs.map +0 -1
- package/dist/node/connection-D544oqVW.mjs +0 -90
- package/dist/node/connection-D544oqVW.mjs.map +0 -1
- package/dist/node/connection-form-CjUay_qz.mjs +0 -831
- package/dist/node/connection-form-CjUay_qz.mjs.map +0 -1
- package/dist/node/data-tree-CGfeCLr7.mjs +0 -1903
- package/dist/node/data-tree-CGfeCLr7.mjs.map +0 -1
- package/dist/node/editor-BXtXOryt.mjs +0 -247
- package/dist/node/editor-BXtXOryt.mjs.map +0 -1
- package/dist/node/editor-CXGHkwd9.mjs +0 -1793
- package/dist/node/editor-CXGHkwd9.mjs.map +0 -1
- package/dist/node/editor-D0FCvyPb.mjs +0 -17365
- package/dist/node/editor-D0FCvyPb.mjs.map +0 -1
- package/dist/node/editors/connection-editor/module.mjs +0 -15
- package/dist/node/editors/connection-editor/module.mjs.map +0 -1
- package/dist/node/editors/workflow-editor/module.mjs +0 -15
- package/dist/node/editors/workflow-editor/module.mjs.map +0 -1
- package/dist/node/editors/workflow-studio/module.mjs +0 -15
- package/dist/node/editors/workflow-studio/module.mjs.map +0 -1
- package/dist/node/module-BMwJQh65.mjs.map +0 -1
- package/dist/node/module-Dhe5E-VA.mjs.map +0 -1
- package/dist/node/piece-auth-BS5CtQOG.mjs.map +0 -1
- package/dist/node/pieces/reactor/index.mjs.map +0 -1
- package/dist/node/rolldown-runtime-BMI-E3GI.mjs +0 -44
- package/dist/node/runtime-queries-D5EGaCrH.mjs +0 -2544
- package/dist/node/runtime-queries-D5EGaCrH.mjs.map +0 -1
- package/dist/node/style.css +0 -667
- package/dist/node/trigger-text-CMWxL7t_.mjs +0 -6765
- package/dist/node/trigger-text-CMWxL7t_.mjs.map +0 -1
- package/dist/node/upgrade-manifests-CmNd742Y.mjs +0 -8
- package/dist/node/workflow-CGzYGZnr.mjs.map +0 -1
- package/dist/types/ai/runtime-url.d.ts +0 -2
- package/dist/types/ai/runtime-url.d.ts.map +0 -1
- package/dist/types/ai/runtime-url.test.d.ts +0 -2
- package/dist/types/ai/runtime-url.test.d.ts.map +0 -1
- package/dist/types/editors/workflow-editor/use-runtime-url.d.ts +0 -2
- package/dist/types/editors/workflow-editor/use-runtime-url.d.ts.map +0 -1
- package/dist/types/editors/workflow-studio/components/use-hash-selection.d.ts +0 -5
- package/dist/types/editors/workflow-studio/components/use-hash-selection.d.ts.map +0 -1
- package/dist/types/pieces/reactor/lib/actions/dispatch-outcome.test.d.ts +0 -2
- package/dist/types/pieces/reactor/lib/actions/dispatch-outcome.test.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Waitpoints.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/Waitpoints.tsx"],"names":[],"mappings":"AAEA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EAChB,MAAM,yCAAyC,CAAC;AAoBjD,eAAO,MAAM,aAAa,MAAM,CAAC;AAGjC,wBAAgB,cAAc,CAAC,SAAS,EAAE,eAAe,GAAG,OAAO,CAElE;AAGD,wBAAgB,eAAe,CAC7B,SAAS,EAAE,eAAe,EAC1B,QAAQ,EAAE,MAAM,EAChB,IAAI,CAAC,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAC9C,MAAM,CAgBR;AAGD,wBAAgB,aAAa,CAC3B,MAAM,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,IAAI,GACtD,MAAM,GAAG,IAAI,CAIf;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEhC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,SAAS,SAAS,EAAE,GAAG,SAAS,EACtC,KAAK,EAAE,MAAM,GACZ,gBAAgB,CAalB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,MAAM,CAExE;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,MAAM,CAGzE;AAGD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB,CAMrE;AAGD,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,kDA4BA;AAGD,wBAAgB,cAAc,CAC5B,SAAS,EAAE,eAAe,EAC1B,QAAQ,EAAE,OAAO,GAChB,OAAO,CAGT;AAMD,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAClC,SAAS,EAAE,eAAe,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,2CAyIA;AAGD,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,KAAK,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACpE,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,kDA+BA;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE;IACrC,GAAG,EAAE,SAAS,CAAC;IACf,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,2CA2BA;AAGD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5C,SAAS,EAAE,MAAM,IAAI,CAAC;IAEtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,kDAmEA"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
2
|
+
import { type PendingApprovals } from "./Waitpoints.js";
|
|
2
3
|
export declare function WorkflowBoard(props: {
|
|
3
4
|
runs: RunRecord[] | null;
|
|
5
|
+
order: string[];
|
|
4
6
|
creating: boolean;
|
|
5
7
|
onOpen: (workflowId: string) => void;
|
|
6
8
|
onCreate: () => void;
|
|
9
|
+
approvals?: PendingApprovals;
|
|
10
|
+
onShowApprovals?: (workflowId?: string) => void;
|
|
7
11
|
}): import("react/jsx-runtime").JSX.Element;
|
|
8
12
|
//# sourceMappingURL=WorkflowBoard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowBoard.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowBoard.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"WorkflowBoard.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowBoard.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAkBzE,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,iBAAiB,CAAC;AAuGzB,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,IAAI,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IAEzB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B,eAAe,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACjD,2CAoOA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { WorkflowState } from "document-models/workflow";
|
|
2
|
+
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
3
|
+
export interface Geometry {
|
|
4
|
+
r: number;
|
|
5
|
+
col: number;
|
|
6
|
+
lane: number;
|
|
7
|
+
lead: number;
|
|
8
|
+
top: number;
|
|
9
|
+
dip: number;
|
|
10
|
+
label: number;
|
|
11
|
+
subtitle: boolean;
|
|
12
|
+
nameText: string;
|
|
13
|
+
logo: number;
|
|
14
|
+
circle: string;
|
|
15
|
+
pill: string;
|
|
16
|
+
pillLogo: string;
|
|
17
|
+
pillLogoX: number;
|
|
18
|
+
portText: string;
|
|
19
|
+
}
|
|
20
|
+
export interface Room {
|
|
21
|
+
width: number;
|
|
22
|
+
pill: number;
|
|
23
|
+
}
|
|
24
|
+
export interface GraphFit {
|
|
25
|
+
g: Geometry;
|
|
26
|
+
stacked: boolean;
|
|
27
|
+
perRow: number;
|
|
28
|
+
}
|
|
29
|
+
export declare function fitGraph(base: Geometry, cols: number, room: Room | null): GraphFit;
|
|
30
|
+
export declare const GEOMETRY: Record<"sm" | "md", Geometry>;
|
|
31
|
+
export type Point = [number, number];
|
|
32
|
+
export declare function simplify(route: Point[]): Point[];
|
|
33
|
+
export declare function WorkflowGraph(props: {
|
|
34
|
+
state: WorkflowState;
|
|
35
|
+
triggerText: string;
|
|
36
|
+
latest?: RunRecord;
|
|
37
|
+
onOpen?: () => void;
|
|
38
|
+
size?: "sm" | "md";
|
|
39
|
+
fit?: boolean;
|
|
40
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
//# sourceMappingURL=WorkflowGraph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowGraph.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowGraph.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAS9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAUzE,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,MAAM,CAAC;IAEb,GAAG,EAAE,MAAM,CAAC;IAEZ,GAAG,EAAE,MAAM,CAAC;IAEZ,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IAEjB,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAKD,MAAM,WAAW,IAAI;IAEnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,QAAQ,CAAC;IAEZ,OAAO,EAAE,OAAO,CAAC;IAEjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAOD,wBAAgB,QAAQ,CACtB,IAAI,EAAE,QAAQ,EACd,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,IAAI,GAAG,IAAI,GAChB,QAAQ,CAyBV;AAED,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,IAAI,GAAG,IAAI,EAAE,QAAQ,CAuClD,CAAC;AAkCF,MAAM,MAAM,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAkCrC,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CAiBhD;AAyGD,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,KAAK,EAAE,aAAa,CAAC;IAErB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAEpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAEnB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,2CA0QA"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { type WorkflowDocument } from "document-models/workflow";
|
|
2
|
+
/** Deletes a workflow with its home folder, reading the drive's nodes now. */
|
|
3
|
+
export declare function deleteWorkflow(workflowId: string): Promise<void>;
|
|
2
4
|
export declare function DeleteWorkflowDialog(props: {
|
|
3
5
|
name: string;
|
|
4
6
|
onCancel: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowMenu.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowMenu.tsx"],"names":[],"mappings":"AAQA,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"WorkflowMenu.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowMenu.tsx"],"names":[],"mappings":"AAQA,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAC;AAMlC,8EAA8E;AAC9E,wBAAsB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAWtE;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAChC,2CA6EA;AAuBD,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAE3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,2CAuFA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowSteps.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowSteps.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"WorkflowSteps.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowSteps.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAgGzE,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,2CA0FA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowStudio.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowStudio.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WorkflowStudio.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowStudio.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAwC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAiC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAM7D"}
|
|
@@ -1,20 +1,26 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
1
2
|
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
2
3
|
import { type BlockIdentity } from "../../workflow-editor/ui/blocks.js";
|
|
4
|
+
import type { stepOutline } from "./step-outline.js";
|
|
3
5
|
export interface ChainLink {
|
|
4
6
|
id: string;
|
|
5
7
|
block: BlockIdentity;
|
|
6
8
|
label: string;
|
|
7
9
|
status?: string;
|
|
10
|
+
tip?: ReactNode;
|
|
8
11
|
}
|
|
9
12
|
export declare function MiniChain(props: {
|
|
10
13
|
links: ChainLink[];
|
|
11
14
|
size?: "sm" | "md";
|
|
12
15
|
}): import("react/jsx-runtime").JSX.Element;
|
|
13
16
|
export declare function triggerOfKind(kind: string): BlockIdentity;
|
|
17
|
+
/** A workflow's steps in the order a run reaches them, coloured by a run. */
|
|
18
|
+
export declare function workflowLinks(workflow: Parameters<typeof stepOutline>[0], latest?: RunRecord): ChainLink[];
|
|
14
19
|
/** A run's own chain: the trigger, then every step it recorded. */
|
|
15
20
|
export declare function runLinks(run: RunRecord, trigger?: BlockIdentity): ChainLink[];
|
|
16
21
|
/** Recent runs as ticks, oldest to newest, padded so strips line up. */
|
|
17
22
|
export declare function RunStrip(props: {
|
|
18
23
|
runs: RunRecord[];
|
|
24
|
+
centered?: boolean;
|
|
19
25
|
}): import("react/jsx-runtime").JSX.Element;
|
|
20
26
|
//# sourceMappingURL=chain.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/chain.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,OAAO,
|
|
1
|
+
{"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/chain.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAWrD,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,aAAa,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB;AAsBD,wBAAgB,SAAS,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CAAE,2CA6E1E;AAID,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CAazD;AAED,6EAA6E;AAC7E,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,EAC3C,MAAM,CAAC,EAAE,SAAS,GACjB,SAAS,EAAE,CAsBb;AAED,mEAAmE;AACnE,wBAAgB,QAAQ,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,EAAE,CAmB7E;AAYD,wEAAwE;AACxE,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAC9B,IAAI,EAAE,SAAS,EAAE,CAAC;IAElB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,2CAmCA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fit-geometry.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/fit-geometry.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type OutlineEdge, type OutlineStep } from "./step-outline.js";
|
|
2
|
+
export declare const TRIGGER_NODE = "trigger";
|
|
3
|
+
export interface GraphNode {
|
|
4
|
+
step: OutlineStep;
|
|
5
|
+
col: number;
|
|
6
|
+
lane: number;
|
|
7
|
+
port: string | null;
|
|
8
|
+
via: OutlineEdge | null;
|
|
9
|
+
}
|
|
10
|
+
export interface GraphEdge {
|
|
11
|
+
from: string;
|
|
12
|
+
to: string;
|
|
13
|
+
port: string;
|
|
14
|
+
track: {
|
|
15
|
+
lane: number;
|
|
16
|
+
under: boolean;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export interface GraphLayout {
|
|
20
|
+
nodes: GraphNode[];
|
|
21
|
+
edges: GraphEdge[];
|
|
22
|
+
cols: number;
|
|
23
|
+
lanes: number;
|
|
24
|
+
}
|
|
25
|
+
export declare function graphLayout(args: {
|
|
26
|
+
triggerId?: string | null;
|
|
27
|
+
steps: readonly OutlineStep[];
|
|
28
|
+
edges: readonly OutlineEdge[];
|
|
29
|
+
}): GraphLayout;
|
|
30
|
+
//# sourceMappingURL=graph-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-layout.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/graph-layout.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,YAAY,YAAY,CAAC;AAEtC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,WAAW,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,GAAG,EAAE,WAAW,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,SAAS;IAExB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,CAAC;CACzC;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAQD,wBAAgB,WAAW,CAAC,IAAI,EAAE;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,SAAS,WAAW,EAAE,CAAC;IAC9B,KAAK,EAAE,SAAS,WAAW,EAAE,CAAC;CAC/B,GAAG,WAAW,CAwEd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-layout.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/graph-layout.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-dialog.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/run-dialog.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
2
|
-
export declare const RUN_STATUSES: readonly ["RUNNING", "SUCCEEDED", "FAILED"];
|
|
2
|
+
export declare const RUN_STATUSES: readonly ["RUNNING", "WAITING", "SUCCEEDED", "FAILED"];
|
|
3
3
|
export type Tone = "ok" | "fail" | "warn" | "run" | "idle";
|
|
4
4
|
export declare const TONE_TEXT: Record<Tone, string>;
|
|
5
5
|
export declare const TONE_DOT: Record<Tone, string>;
|
|
@@ -41,6 +41,7 @@ export declare function runTimeline(run: {
|
|
|
41
41
|
export declare function formatMs(ms: number): string;
|
|
42
42
|
export declare function durationMs(startedAt: string, endedAt: string | null): number | null;
|
|
43
43
|
export declare function formatWhen(startedAt: string): string;
|
|
44
|
+
export declare function formatUntil(iso: string): string | null;
|
|
44
45
|
export declare function formatAbsolute(iso: string): string;
|
|
45
46
|
export declare function formatTrigger(kind: string): string;
|
|
46
47
|
export interface RunStats {
|
|
@@ -52,4 +53,8 @@ export interface RunStats {
|
|
|
52
53
|
successRate: number | null;
|
|
53
54
|
}
|
|
54
55
|
export declare function runStats(runs: RunRecord[]): RunStats;
|
|
56
|
+
export declare function canRerun(run: {
|
|
57
|
+
status: string;
|
|
58
|
+
errorName?: string | null;
|
|
59
|
+
}): boolean;
|
|
55
60
|
//# sourceMappingURL=run-format.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-format.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/run-format.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"run-format.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/run-format.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,eAAO,MAAM,YAAY,YACvB,SAAS,EACT,SAAS,EACT,WAAW,EACX,QAAQ,CACA,CAAC;AAGX,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;AAE3D,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAM1C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAMzC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAM3C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CASzC,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAQ1C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAK9C,CAAC;AAKF,wBAAgB,OAAO,CAAC,GAAG,EAAE;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAClC,GAAG,IAAI,CAKP;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAClC,GAAG,MAAM,CAKT;AAED,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,SAAS,EAAE,OAAO,GACjB;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAehD;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAKhD,CAAC;AAEF,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAGvE;AAGD,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAElD;AAED,wBAAgB,cAAc,CAC5B,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,GAAG,IAAI,GACrB,MAAM,CAGR;AAED,MAAM,WAAW,YAAY;IAE3B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACZ;AAID,wBAAgB,WAAW,CAAC,GAAG,EAAE;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,EAAE,CAAC;CAC/E,GAAG,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAoB5B;AAGD,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAM3C;AAED,wBAAgB,UAAU,CACxB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,GAAG,IAAI,GACrB,MAAM,GAAG,IAAI,CAGf;AAED,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAMpD;AAGD,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQtD;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAElD;AAGD,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAElD;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,QAAQ,CAcpD;AAOD,wBAAgB,QAAQ,CAAC,GAAG,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,WAK1E"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { RunRecord, RunStepRecord } from "../../workflow-editor/runtime-client.js";
|
|
3
|
+
import { type BlockIdentity } from "../../workflow-editor/ui/blocks.js";
|
|
4
|
+
import type { OutlineStep } from "./step-outline.js";
|
|
5
|
+
export declare function TipProvider(props: {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function Tip(props: {
|
|
9
|
+
content: ReactNode;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function StepTip(props: {
|
|
13
|
+
step: OutlineStep;
|
|
14
|
+
port: string | null;
|
|
15
|
+
record?: RunStepRecord;
|
|
16
|
+
ran: boolean;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function TriggerTip(props: {
|
|
19
|
+
trigger: BlockIdentity | null;
|
|
20
|
+
latest?: RunRecord;
|
|
21
|
+
text?: string;
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=tips.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tips.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/tips.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,SAAS,EACT,aAAa,EACd,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD,wBAAgB,WAAW,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2CAMzD;AAED,wBAAgB,GAAG,CAAC,KAAK,EAAE;IAAE,OAAO,EAAE,SAAS,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,2CAWrE;AAoBD,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAC7B,IAAI,EAAE,WAAW,CAAC;IAElB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,GAAG,EAAE,OAAO,CAAC;CACd,2CAuBA;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAChC,OAAO,EAAE,aAAa,GAAG,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,2CAkBA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-collapsed.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/use-collapsed.ts"],"names":[],"mappings":"AA2BA,wBAAgB,YAAY;sBAUC,MAAM;iBARD,MAAM;EASvC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ITEM_PARAM } from "../../shared/url-param.js";
|
|
2
|
+
export { ITEM_PARAM };
|
|
3
|
+
export type Select = (id?: string, options?: {
|
|
4
|
+
replace?: boolean;
|
|
5
|
+
}) => void;
|
|
6
|
+
export type Go = (id: string | undefined, editor?: string) => void;
|
|
7
|
+
/** The selected item, a setter, and `go`, which also opens or closes the item's
|
|
8
|
+
* editor; each is one history entry, so back and forward walk the studio. */
|
|
9
|
+
export declare function useItemSelection(openEditorId: string | undefined): [string | undefined, Select, Go];
|
|
10
|
+
//# sourceMappingURL=use-item-selection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-item-selection.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/use-item-selection.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,MAAM,MAAM,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,KAAK,IAAI,CAAC;AAC5E,MAAM,MAAM,EAAE,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AAQnE;6EAC6E;AAC7E,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,MAAM,GAAG,SAAS,GAC/B,CAAC,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC,CAoClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-item-selection.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/use-item-selection.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waitpoints-view.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/waitpoints-view.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waitpoints.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/waitpoints.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type DocumentDriveAction, type FileNode, type FolderNode, type Node } from "@powerhousedao/shared/document-drive";
|
|
2
|
+
export type OrderedWorkflow = {
|
|
3
|
+
node: FileNode;
|
|
4
|
+
/** The home folder, when the workflow has one. */
|
|
5
|
+
folder?: FolderNode;
|
|
6
|
+
key?: string;
|
|
7
|
+
};
|
|
8
|
+
/** A key that sorts after `before` and before `after`. */
|
|
9
|
+
export declare function keyBetween(before: string | null | undefined, after: string | null | undefined): string;
|
|
10
|
+
/** `count` ascending keys, evenly spread. */
|
|
11
|
+
export declare function spreadKeys(count: number): string[];
|
|
12
|
+
export declare function homeFolderName(key: string, name: string): string;
|
|
13
|
+
export declare function orderWorkflows(workflows: FileNode[], nodes: readonly Node[]): OrderedWorkflow[];
|
|
14
|
+
/** The key for a new workflow, after every other one. */
|
|
15
|
+
export declare function nextKey(ordered: OrderedWorkflow[]): string;
|
|
16
|
+
/** The node to delete to remove a workflow: its home folder, if it has one. */
|
|
17
|
+
export declare function deletionTarget(workflowId: string, nodes: readonly Node[]): Node | undefined;
|
|
18
|
+
export declare function reorderActions(ordered: OrderedWorkflow[], from: number, to: number, names?: ReadonlyMap<string, string>): DocumentDriveAction[];
|
|
19
|
+
//# sourceMappingURL=workflow-order.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-order.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/workflow-order.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,IAAI,EACV,MAAM,sCAAsC,CAAC;AAO9C,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,kDAAkD;IAClD,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAqBF,0DAA0D;AAC1D,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACjC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAC/B,MAAM,CAER;AAED,6CAA6C;AAC7C,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAalD;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhE;AAID,wBAAgB,cAAc,CAC5B,SAAS,EAAE,QAAQ,EAAE,EACrB,KAAK,EAAE,SAAS,IAAI,EAAE,GACrB,eAAe,EAAE,CAgCnB;AAED,yDAAyD;AACzD,wBAAgB,OAAO,CAAC,OAAO,EAAE,eAAe,EAAE,GAAG,MAAM,CAE1D;AAED,+EAA+E;AAC/E,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,SAAS,IAAI,EAAE,GACrB,IAAI,GAAG,SAAS,CAIlB;AAaD,wBAAgB,cAAc,CAC5B,OAAO,EAAE,eAAe,EAAE,EAC1B,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAa,GAC7C,mBAAmB,EAAE,CAqCvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-order.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/workflow-order.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-actions.test.d.ts","sourceRoot":"","sources":["../../../../pieces/ai/ai-actions.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-documents.test.d.ts","sourceRoot":"","sources":["../../../../pieces/ai/ai-documents.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai.test.d.ts","sourceRoot":"","sources":["../../../../pieces/ai/ai.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const ai: import("@powerhousedao/pieces-framework").Piece<import("@powerhousedao/pieces-framework").CustomAuthProperty<{
|
|
2
|
+
provider: import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", false> | import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", true>;
|
|
3
|
+
api_key: import("@powerhousedao/pieces-framework").SecretTextProperty<false>;
|
|
4
|
+
base_url: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
5
|
+
}>>;
|
|
6
|
+
export default ai;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../pieces/ai/index.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,EAAE;;;;GAiBb,CAAC;eAEY,EAAE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DocumentModelModule } from "@powerhousedao/shared/document-model";
|
|
2
|
+
import { type ModelOperation } from "@powerhousedao/reactor-mcp/tools";
|
|
3
|
+
import type { JSONSchema7 } from "ai";
|
|
4
|
+
export interface ActionsSchema {
|
|
5
|
+
schema: JSONSchema7;
|
|
6
|
+
operations: ModelOperation[];
|
|
7
|
+
strict: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function allowedOperations(module: DocumentModelModule, allowed: readonly string[]): ModelOperation[];
|
|
10
|
+
export declare function buildActionsSchema(module: DocumentModelModule, operations: readonly ModelOperation[]): ActionsSchema;
|
|
11
|
+
//# sourceMappingURL=action-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-schema.d.ts","sourceRoot":"","sources":["../../../../../pieces/ai/lib/action-schema.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAStC,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,cAAc,EAAE,CAAC;IAE7B,MAAM,EAAE,OAAO,CAAC;CACjB;AA6FD,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,mBAAmB,EAC3B,OAAO,EAAE,SAAS,MAAM,EAAE,GACzB,cAAc,EAAE,CAQlB;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,mBAAmB,EAC3B,UAAU,EAAE,SAAS,cAAc,EAAE,GACpC,aAAa,CA2Cf"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type ChatModel } from "../models.js";
|
|
2
|
+
export interface ConversationStore {
|
|
3
|
+
get<T>(key: string): Promise<T | null>;
|
|
4
|
+
put<T>(key: string, value: T): Promise<T>;
|
|
5
|
+
}
|
|
6
|
+
export declare function conversationStorageKey(key: string | undefined): string | undefined;
|
|
7
|
+
export declare const MAX_CONVERSATION_MESSAGES = 20;
|
|
8
|
+
export declare function askAi(model: ChatModel, store: ConversationStore, options: {
|
|
9
|
+
prompt: unknown;
|
|
10
|
+
conversationKey?: string;
|
|
11
|
+
maxOutputTokens?: number;
|
|
12
|
+
temperature?: number;
|
|
13
|
+
}): Promise<{
|
|
14
|
+
text: string;
|
|
15
|
+
usage: {
|
|
16
|
+
inputTokens: number | undefined;
|
|
17
|
+
outputTokens: number | undefined;
|
|
18
|
+
};
|
|
19
|
+
finishReason: import("ai").FinishReason;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const askAiAction: import("@powerhousedao/pieces-framework").IAction<import("@powerhousedao/pieces-framework").CustomAuthProperty<{
|
|
22
|
+
provider: import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", false> | import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", true>;
|
|
23
|
+
api_key: import("@powerhousedao/pieces-framework").SecretTextProperty<false>;
|
|
24
|
+
base_url: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
25
|
+
}>, {
|
|
26
|
+
model: import("@powerhousedao/pieces-framework").DropdownProperty<string, false, import("@powerhousedao/pieces-framework").CustomAuthProperty<{
|
|
27
|
+
provider: import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", false> | import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", true>;
|
|
28
|
+
api_key: import("@powerhousedao/pieces-framework").SecretTextProperty<false>;
|
|
29
|
+
base_url: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
30
|
+
}>>;
|
|
31
|
+
prompt: import("@powerhousedao/pieces-framework").LongTextProperty<true>;
|
|
32
|
+
conversationKey: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
33
|
+
creativity: import("@powerhousedao/pieces-framework").NumberProperty<false>;
|
|
34
|
+
maxOutputTokens: import("@powerhousedao/pieces-framework").NumberProperty<false>;
|
|
35
|
+
}> & {
|
|
36
|
+
readonly requireReactor?: undefined;
|
|
37
|
+
} & Readonly<import("@powerhousedao/pieces-framework").ActionDefaults>;
|
|
38
|
+
//# sourceMappingURL=ask-ai.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ask-ai.d.ts","sourceRoot":"","sources":["../../../../../../pieces/ai/lib/actions/ask-ai.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAYtB,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IACvC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CAC3C;AAED,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,sBAG7D;AAGD,eAAO,MAAM,yBAAyB,KAAK,CAAC;AA2B5C,wBAAsB,KAAK,CACzB,KAAK,EAAE,SAAS,EAChB,KAAK,EAAE,iBAAiB,EACxB,OAAO,EAAE;IACP,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;;;;;;;GA4BF;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;sEAqCtB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { Experimental_DecisionModel } from "ai";
|
|
2
|
+
import { type DocumentReader } from "../documents.js";
|
|
3
|
+
export declare function decideOnDocuments(model: Experimental_DecisionModel, reactor: DocumentReader, props: {
|
|
4
|
+
documents?: unknown;
|
|
5
|
+
input?: unknown;
|
|
6
|
+
questions?: unknown;
|
|
7
|
+
filter?: unknown;
|
|
8
|
+
}): Promise<{
|
|
9
|
+
answers: {
|
|
10
|
+
[x: string]: {
|
|
11
|
+
type: 'choice';
|
|
12
|
+
choice: string;
|
|
13
|
+
probabilities?: Record<string, number> | undefined;
|
|
14
|
+
} | {
|
|
15
|
+
type: 'score';
|
|
16
|
+
score: number;
|
|
17
|
+
probabilities?: Record<string, number>;
|
|
18
|
+
} | {
|
|
19
|
+
type: 'boolean';
|
|
20
|
+
probability: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
usage: {
|
|
24
|
+
inputTokens: number | undefined;
|
|
25
|
+
outputTokens: number | undefined;
|
|
26
|
+
};
|
|
27
|
+
}>;
|
|
28
|
+
export declare const decideOnDocumentsAction: import("@powerhousedao/pieces-framework").IAction<import("@powerhousedao/pieces-framework").CustomAuthProperty<{
|
|
29
|
+
provider: import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", false> | import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", true>;
|
|
30
|
+
api_key: import("@powerhousedao/pieces-framework").SecretTextProperty<false>;
|
|
31
|
+
base_url: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
32
|
+
}>, {
|
|
33
|
+
documents: import("@powerhousedao/pieces-framework").MultiSelectDropdownProperty<string, false, undefined> | import("@powerhousedao/pieces-framework").MultiSelectDropdownProperty<string, true, undefined>;
|
|
34
|
+
input: import("@powerhousedao/pieces-framework").LongTextProperty<false>;
|
|
35
|
+
questions: import("@powerhousedao/pieces-framework").ArrayProperty<false> | import("@powerhousedao/pieces-framework").ArrayProperty<true>;
|
|
36
|
+
filter: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
37
|
+
model: import("@powerhousedao/pieces-framework").DropdownProperty<string, false, import("@powerhousedao/pieces-framework").CustomAuthProperty<{
|
|
38
|
+
provider: import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", false> | import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", true>;
|
|
39
|
+
api_key: import("@powerhousedao/pieces-framework").SecretTextProperty<false>;
|
|
40
|
+
base_url: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
41
|
+
}>>;
|
|
42
|
+
}> & {
|
|
43
|
+
readonly requireReactor?: "read" | undefined;
|
|
44
|
+
} & Readonly<import("@powerhousedao/pieces-framework").ActionDefaults>;
|
|
45
|
+
//# sourceMappingURL=decide-on-documents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decide-on-documents.d.ts","sourceRoot":"","sources":["../../../../../../pieces/ai/lib/actions/decide-on-documents.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,IAAI,CAAC;AAErD,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,iBAAiB,CAAC;AAOzB,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,0BAA0B,EACjC,OAAO,EAAE,cAAc,EACvB,KAAK,EAAE;IACL,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;;;;;;;;;;;;;;;;;;;GAoBF;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;sEA6ClC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type Experimental_DecisionModel, type Experimental_DecisionQuestion } from "ai";
|
|
2
|
+
import { type DecisionState } from "../questions.js";
|
|
3
|
+
export declare function decide(model: Experimental_DecisionModel, state: DecisionState, questions: Record<string, Experimental_DecisionQuestion>): Promise<{
|
|
4
|
+
answers: {
|
|
5
|
+
[x: string]: {
|
|
6
|
+
type: 'choice';
|
|
7
|
+
choice: string;
|
|
8
|
+
probabilities?: Record<string, number> | undefined;
|
|
9
|
+
} | {
|
|
10
|
+
type: 'score';
|
|
11
|
+
score: number;
|
|
12
|
+
probabilities?: Record<string, number>;
|
|
13
|
+
} | {
|
|
14
|
+
type: 'boolean';
|
|
15
|
+
probability: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
usage: {
|
|
19
|
+
inputTokens: number | undefined;
|
|
20
|
+
outputTokens: number | undefined;
|
|
21
|
+
};
|
|
22
|
+
}>;
|
|
23
|
+
export declare const questionsProp: () => import("@powerhousedao/pieces-framework").ArrayProperty<false> | import("@powerhousedao/pieces-framework").ArrayProperty<true>;
|
|
24
|
+
export declare const decideAction: import("@powerhousedao/pieces-framework").IAction<import("@powerhousedao/pieces-framework").CustomAuthProperty<{
|
|
25
|
+
provider: import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", false> | import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", true>;
|
|
26
|
+
api_key: import("@powerhousedao/pieces-framework").SecretTextProperty<false>;
|
|
27
|
+
base_url: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
28
|
+
}>, {
|
|
29
|
+
input: import("@powerhousedao/pieces-framework").LongTextProperty<true>;
|
|
30
|
+
questions: import("@powerhousedao/pieces-framework").ArrayProperty<false> | import("@powerhousedao/pieces-framework").ArrayProperty<true>;
|
|
31
|
+
model: import("@powerhousedao/pieces-framework").DropdownProperty<string, false, import("@powerhousedao/pieces-framework").CustomAuthProperty<{
|
|
32
|
+
provider: import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", false> | import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", true>;
|
|
33
|
+
api_key: import("@powerhousedao/pieces-framework").SecretTextProperty<false>;
|
|
34
|
+
base_url: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
35
|
+
}>>;
|
|
36
|
+
}> & {
|
|
37
|
+
readonly requireReactor?: undefined;
|
|
38
|
+
} & Readonly<import("@powerhousedao/pieces-framework").ActionDefaults>;
|
|
39
|
+
//# sourceMappingURL=decide.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decide.d.ts","sourceRoot":"","sources":["../../../../../../pieces/ai/lib/actions/decide.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EACnC,MAAM,IAAI,CAAC;AAIZ,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AAEzB,wBAAsB,MAAM,CAC1B,KAAK,EAAE,0BAA0B,EACjC,KAAK,EAAE,aAAa,EACpB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAAC;;;;;;;;;;;;;;;;QAMpD,WAAW;QACX,YAAY;;GAGjB;AAGD,eAAO,MAAM,aAAa,sIAiCtB,CAAC;AAEL,eAAO,MAAM,YAAY;;;;;;;;;;;;;;sEA2BvB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type JSONSchema7 } from "ai";
|
|
2
|
+
import { type ChatModel } from "../models.js";
|
|
3
|
+
type Mode = "simple" | "advanced";
|
|
4
|
+
export interface ExtractSchema {
|
|
5
|
+
schema: JSONSchema7;
|
|
6
|
+
names: Record<string, string>;
|
|
7
|
+
strict: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function buildExtractSchema(mode: Mode, fields: unknown): ExtractSchema;
|
|
10
|
+
export declare function extract(model: ChatModel, options: {
|
|
11
|
+
text: unknown;
|
|
12
|
+
prompt?: string;
|
|
13
|
+
schema: ExtractSchema;
|
|
14
|
+
maxOutputTokens?: number;
|
|
15
|
+
}): Promise<{
|
|
16
|
+
data: unknown;
|
|
17
|
+
usage: {
|
|
18
|
+
inputTokens: number | undefined;
|
|
19
|
+
outputTokens: number | undefined;
|
|
20
|
+
};
|
|
21
|
+
}>;
|
|
22
|
+
export declare const extractAction: import("@powerhousedao/pieces-framework").IAction<import("@powerhousedao/pieces-framework").CustomAuthProperty<{
|
|
23
|
+
provider: import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", false> | import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", true>;
|
|
24
|
+
api_key: import("@powerhousedao/pieces-framework").SecretTextProperty<false>;
|
|
25
|
+
base_url: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
26
|
+
}>, {
|
|
27
|
+
model: import("@powerhousedao/pieces-framework").DropdownProperty<string, false, import("@powerhousedao/pieces-framework").CustomAuthProperty<{
|
|
28
|
+
provider: import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", false> | import("@powerhousedao/pieces-framework").StaticDropdownProperty<"anthropic" | "google" | "openai" | "openai-compatible" | "typesafe", true>;
|
|
29
|
+
api_key: import("@powerhousedao/pieces-framework").SecretTextProperty<false>;
|
|
30
|
+
base_url: import("@powerhousedao/pieces-framework").ShortTextProperty<false>;
|
|
31
|
+
}>>;
|
|
32
|
+
text: import("@powerhousedao/pieces-framework").LongTextProperty<true>;
|
|
33
|
+
prompt: import("@powerhousedao/pieces-framework").LongTextProperty<false>;
|
|
34
|
+
mode: import("@powerhousedao/pieces-framework").StaticDropdownProperty<Mode, false> | import("@powerhousedao/pieces-framework").StaticDropdownProperty<Mode, true>;
|
|
35
|
+
schema: import("@powerhousedao/pieces-framework").DynamicProperties<true, undefined>;
|
|
36
|
+
maxOutputTokens: import("@powerhousedao/pieces-framework").NumberProperty<false>;
|
|
37
|
+
}> & {
|
|
38
|
+
readonly requireReactor?: undefined;
|
|
39
|
+
} & Readonly<import("@powerhousedao/pieces-framework").ActionDefaults>;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=extract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extract.d.ts","sourceRoot":"","sources":["../../../../../../pieces/ai/lib/actions/extract.ts"],"names":[],"mappings":"AACA,OAAO,EAAoC,KAAK,WAAW,EAAE,MAAM,IAAI,CAAC;AAExE,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAWtB,KAAK,IAAI,GAAG,QAAQ,GAAG,UAAU,CAAC;AAElC,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,WAAW,CAAC;IAEpB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE9B,MAAM,EAAE,OAAO,CAAC;CACjB;AA8ED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,GAAG,aAAa,CAE7E;AAcD,wBAAsB,OAAO,CAC3B,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE;IACP,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;;;;;;GAoBF;AA+DD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;sEAmExB,CAAC"}
|