@powerhousedao/workflow 6.2.3-dev.48 → 6.2.3-dev.50
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/dist/browser/{BlockSelector-Do2fNhEF.js → BlockSelector-eaXC56EC.js} +11 -6
- package/dist/browser/BlockSelector-eaXC56EC.js.map +1 -0
- package/dist/browser/assets/{entry-CtB3hwiW.js → entry-E7pSm84X.js} +3 -2
- package/dist/browser/assets/{projection-entry-Cd33KgnS.js → projection-entry-UE4mfnXc.js} +3 -2
- package/dist/browser/{connection-form-BfIxO-uq.js → connection-form-Db1YlNk2.js} +3 -3
- package/dist/browser/{connection-form-BfIxO-uq.js.map → connection-form-Db1YlNk2.js.map} +1 -1
- package/dist/browser/{data-tree-CEBkvtSf.js → data-tree-ClKfWUgI.js} +2 -2
- package/dist/browser/{data-tree-CEBkvtSf.js.map → data-tree-ClKfWUgI.js.map} +1 -1
- package/dist/browser/document-models/index.js +2 -2
- package/dist/browser/document-models/workflow/index.js +2 -2
- package/dist/browser/{document-models-B7IwLbfO.js → document-models-DDiMjugM.js} +22 -3
- package/dist/browser/{document-models-B7IwLbfO.js.map → document-models-DDiMjugM.js.map} +1 -1
- package/dist/{node/editor-DKpQGzMS.mjs → browser/editor-BgJ0RzSj.js} +7 -7
- package/dist/{node/editor-DKpQGzMS.mjs.map → browser/editor-BgJ0RzSj.js.map} +1 -1
- package/dist/browser/{editor-C3l2HgXA.js → editor-DFS8U1MR.js} +27 -9
- package/dist/browser/editor-DFS8U1MR.js.map +1 -0
- package/dist/browser/{editor-C6NhkZ3S.js → editor-aRP2k9qa.js} +5 -5
- package/dist/browser/{editor-C6NhkZ3S.js.map → editor-aRP2k9qa.js.map} +1 -1
- package/dist/browser/editors/connection-editor/module.js +1 -1
- package/dist/browser/editors/workflow-editor/module.js +1 -1
- package/dist/browser/editors/workflow-studio/module.js +1 -1
- package/dist/browser/index.js +3 -3
- package/dist/browser/{module-D4UiG9ii.js → module-ozS5EVRx.js} +2 -2
- package/dist/browser/module-ozS5EVRx.js.map +1 -0
- package/dist/browser/reactor/index.js +2 -2
- package/dist/browser/{runtime-queries-IZG_nonR.js → runtime-queries-Bcd7IS3T.js} +2 -2
- package/dist/browser/runtime-queries-Bcd7IS3T.js.map +1 -0
- package/dist/browser/{trigger-text-Dwaxi16C.js → trigger-text-DxpCRgMq.js} +5 -5
- package/dist/browser/{trigger-text-Dwaxi16C.js.map → trigger-text-DxpCRgMq.js.map} +1 -1
- package/dist/browser/{upgrade-manifests-C_9cyumV.js → upgrade-manifests-DHGmgHKW.js} +2 -2
- package/dist/browser/{upgrade-manifests-C_9cyumV.js.map → upgrade-manifests-DHGmgHKW.js.map} +1 -1
- package/dist/browser/{workflow-DFLQ2cFr.js → workflow-DoewHe4K.js} +2 -2
- package/dist/browser/{workflow-DFLQ2cFr.js.map → workflow-DoewHe4K.js.map} +1 -1
- package/dist/node/{BlockSelector-CrPnitOU.mjs → BlockSelector-DidV3yJx.mjs} +11 -6
- package/dist/node/BlockSelector-DidV3yJx.mjs.map +1 -0
- package/dist/node/{connection-form-MHDKPohk.mjs → connection-form-BitMCIRb.mjs} +3 -3
- package/dist/node/{connection-form-MHDKPohk.mjs.map → connection-form-BitMCIRb.mjs.map} +1 -1
- package/dist/node/{data-tree-Ccyc8y8I.mjs → data-tree-Cn50TNYN.mjs} +2 -2
- package/dist/node/{data-tree-Ccyc8y8I.mjs.map → data-tree-Cn50TNYN.mjs.map} +1 -1
- package/dist/node/document-models/index.mjs +2 -2
- package/dist/node/document-models/workflow/index.mjs +2 -2
- package/dist/node/{editor-J42uGqnf.mjs → editor-BsWzr32t.mjs} +5 -5
- package/dist/node/{editor-J42uGqnf.mjs.map → editor-BsWzr32t.mjs.map} +1 -1
- package/dist/{browser/editor-BXxj5Do5.js → node/editor-D7GDdxR3.mjs} +7 -7
- package/dist/node/editor-D7GDdxR3.mjs.map +1 -0
- package/dist/node/{editor-B4TEgA0j.mjs → editor-i7ovccfO.mjs} +27 -9
- package/dist/node/editor-i7ovccfO.mjs.map +1 -0
- package/dist/node/editors/connection-editor/module.mjs +1 -1
- package/dist/node/editors/workflow-editor/module.mjs +1 -1
- package/dist/node/editors/workflow-studio/module.mjs +1 -1
- package/dist/node/index.mjs +23 -4
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/{module-BsqRZox1.mjs → module-uKdoLIga.mjs} +2 -2
- package/dist/node/module-uKdoLIga.mjs.map +1 -0
- package/dist/node/pieces/reactor/descriptor.json +1 -1
- package/dist/node/pieces/reactor/package.json +1 -1
- package/dist/node/{runtime-queries-BM6I7dDA.mjs → runtime-queries-CZ7vFHoG.mjs} +2 -2
- package/dist/node/runtime-queries-CZ7vFHoG.mjs.map +1 -0
- package/dist/node/{trigger-text-qK_Nr5Pw.mjs → trigger-text-aHI7jqvP.mjs} +5 -5
- package/dist/node/{trigger-text-qK_Nr5Pw.mjs.map → trigger-text-aHI7jqvP.mjs.map} +1 -1
- package/dist/node/{upgrade-manifests-CYZfts3a.mjs → upgrade-manifests-D-pLniUG.mjs} +2 -2
- package/dist/node/{upgrade-manifests-CYZfts3a.mjs.map → upgrade-manifests-D-pLniUG.mjs.map} +1 -1
- package/dist/node/{workflow-BpfdBHyS.mjs → workflow-Dy-309pE.mjs} +2 -2
- package/dist/node/{workflow-BpfdBHyS.mjs.map → workflow-Dy-309pE.mjs.map} +1 -1
- package/dist/powerhouse.manifest.json +21 -2
- package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts +13 -6
- package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/runtime-client.d.ts +1 -1
- package/dist/types/editors/workflow-editor/runtime-client.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/forms.d.ts +1 -1
- package/dist/types/editors/workflow-editor/ui/forms.d.ts.map +1 -1
- 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-studio/components/RunsTable.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/run-format.d.ts +4 -0
- package/dist/types/editors/workflow-studio/components/run-format.d.ts.map +1 -1
- package/package.json +10 -10
- package/dist/browser/BlockSelector-Do2fNhEF.js.map +0 -1
- package/dist/browser/editor-BXxj5Do5.js.map +0 -1
- package/dist/browser/editor-C3l2HgXA.js.map +0 -1
- package/dist/browser/module-D4UiG9ii.js.map +0 -1
- package/dist/browser/runtime-queries-IZG_nonR.js.map +0 -1
- package/dist/node/BlockSelector-CrPnitOU.mjs.map +0 -1
- package/dist/node/editor-B4TEgA0j.mjs.map +0 -1
- package/dist/node/module-BsqRZox1.mjs.map +0 -1
- package/dist/node/runtime-queries-BM6I7dDA.mjs.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-DC62tzP2.js";
|
|
2
2
|
import { c as planFromAuth, o as packageFromConnectorId, r as connectorIdForPiece } from "./piece-auth-BS5CtQOG.js";
|
|
3
|
-
import { $ as isCoreBlock, X as STEP_PRESETS, Z as TRIGGER_PRESETS, at as triggerFields, dt as expandDocumentRefs, f as stepOutputTreeQuery, ft as flowPorts, gt as scheduleConfigIssue, h as blockRefKey, ht as parseScheduleConfig, i as outputTreeQuery, it as triggerBlock, mt as knownPorts, n as catalogQuery, nt as stepBlock, rt as stepFields, tt as sameBlock, u as runsQuery, ut as documentRefsIn, v as TEST_TRIGGER_KIND, y as realRuns } from "./runtime-queries-
|
|
4
|
-
import { y as actions } from "./module-
|
|
5
|
-
import { $ as
|
|
3
|
+
import { $ as isCoreBlock, X as STEP_PRESETS, Z as TRIGGER_PRESETS, at as triggerFields, dt as expandDocumentRefs, f as stepOutputTreeQuery, ft as flowPorts, gt as scheduleConfigIssue, h as blockRefKey, ht as parseScheduleConfig, i as outputTreeQuery, it as triggerBlock, mt as knownPorts, n as catalogQuery, nt as stepBlock, rt as stepFields, tt as sameBlock, u as runsQuery, ut as documentRefsIn, v as TEST_TRIGGER_KIND, y as realRuns } from "./runtime-queries-Bcd7IS3T.js";
|
|
4
|
+
import { y as actions } from "./module-ozS5EVRx.js";
|
|
5
|
+
import { $ as useWebhookEndpoint, B as useBlockResolutions, C as formatAbsolute, Ct as FieldLabel, D as formatWhen, Dt as Select, Et as Segmented, F as DesignTimeProvider, Ft as Icon, G as useDynamicLookup, H as useConnectionList, I as useBlockForm, It as isIconName, J as useOptionSearch, K as useDynamicPrefetch, L as useBlockFormLoader, Lt as DocumentErrorBoundary, Mt as invalidClass, N as toneOf, Nt as textAreaClass, Ot as Switch, Pt as textInputClass, Q as useTestTrigger, R as useBlockForms, St as FieldError, Tt as IconButton, U as useDesignTime, V as useCachedBlockForm, W as useDynamicCache, X as useRunById, Y as useResolvedProp, Z as useTestStepRunner, _ as RUN_TONE, _t as useRunsQuery, a as resolutionText, at as settingFor, b as TONE_TEXT, c as useResolution, ct as undeclaredPortIssues, d as pieceDisplayName, dt as WorkflowRuntimeProvider, et as blockMissing, f as pieceLogo, i as VersionSummary, it as resolverInputFor, kt as Tabs, l as versionBadge, lt as withSetting, m as usePieceLogos, n as BlockSelector, nt as isPropVisible, o as runsDifferentVersion, ot as storedSchema, p as useBlockMeta, q as useLatestRun, r as BlockResolutionsProvider, rt as parsePropList, s as updateVersion, st as stripOptions, t as BlockLogo, tt as isEmptyValue, u as blockMeta, ut as workflowReadiness, vt as useRuntime, w as formatDuration, wt as Hint, xt as Button, y as TONE_DOT, yt as useRuntimeActions, z as useBlockPorts } from "./BlockSelector-eaXC56EC.js";
|
|
6
6
|
import { A as REACTOR_CONNECTOR_ID, y as actions$1 } from "./module-B2BMwu5E.js";
|
|
7
7
|
import { t as useConnectionDocumentById } from "./connection-BP17lpt3.js";
|
|
8
|
-
import { t as useSelectedWorkflowDocument } from "./workflow-
|
|
9
|
-
import { a as useSignInGate, f as connectionCallbacks, g as newUndoGroup, h as groupedAction, i as useReactorAccessDenial, l as reactorConnections, m as UndoRedo, n as SignInPrompt, o as missingInPublished, p as BackButton, r as usePublisher, s as runsAsText, t as ConnectionForm } from "./connection-form-
|
|
10
|
-
import { a as StepError, c as PublishButton, d as ReactorDenialNote, f as StatusToggle, g as uniqueStepKey, h as hasDraftChanges, i as DataViewer, l as PublishState, m as VARIABLES_VIEW, n as describeSchedule, o as Modal, p as usePublish, r as describeTrigger, s as DraftBanner, t as describeCron, u as PublishedMissingNote } from "./trigger-text-
|
|
8
|
+
import { t as useSelectedWorkflowDocument } from "./workflow-DoewHe4K.js";
|
|
9
|
+
import { a as useSignInGate, f as connectionCallbacks, g as newUndoGroup, h as groupedAction, i as useReactorAccessDenial, l as reactorConnections, m as UndoRedo, n as SignInPrompt, o as missingInPublished, p as BackButton, r as usePublisher, s as runsAsText, t as ConnectionForm } from "./connection-form-Db1YlNk2.js";
|
|
10
|
+
import { a as StepError, c as PublishButton, d as ReactorDenialNote, f as StatusToggle, g as uniqueStepKey, h as hasDraftChanges, i as DataViewer, l as PublishState, m as VARIABLES_VIEW, n as describeSchedule, o as Modal, p as usePublish, r as describeTrigger, s as DraftBanner, t as describeCron, u as PublishedMissingNote } from "./trigger-text-DxpCRgMq.js";
|
|
11
11
|
import * as m from "react";
|
|
12
12
|
import React, { Fragment, Suspense, createContext, forwardRef, lazy, memo, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
13
13
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3996,6 +3996,11 @@ function explainTestError(error) {
|
|
|
3996
3996
|
targets: []
|
|
3997
3997
|
};
|
|
3998
3998
|
}
|
|
3999
|
+
function testOutcomeView(status) {
|
|
4000
|
+
if (status === "SUCCEEDED") return "output";
|
|
4001
|
+
if (status === "INDETERMINATE") return "indeterminate";
|
|
4002
|
+
return "failed";
|
|
4003
|
+
}
|
|
3999
4004
|
//#endregion
|
|
4000
4005
|
//#region editors/workflow-editor/ui/test-state.ts
|
|
4001
4006
|
function testState(block, runStatus) {
|
|
@@ -4080,6 +4085,19 @@ function TestError(props) {
|
|
|
4080
4085
|
}) : null]
|
|
4081
4086
|
});
|
|
4082
4087
|
}
|
|
4088
|
+
function TestIndeterminate(props) {
|
|
4089
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
4090
|
+
role: "alert",
|
|
4091
|
+
className: "flex flex-col gap-1.5 rounded-md bg-wf-warn/10 p-2.5 text-xs text-wf-warn",
|
|
4092
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
4093
|
+
className: "font-medium",
|
|
4094
|
+
children: "Indeterminate: this test may have written something. Check the target before testing again."
|
|
4095
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
4096
|
+
className: "whitespace-pre-wrap break-words",
|
|
4097
|
+
children: props.error
|
|
4098
|
+
})]
|
|
4099
|
+
});
|
|
4100
|
+
}
|
|
4083
4101
|
function LastTestResult(props) {
|
|
4084
4102
|
const run = useRunById(props.step.lastTest?.runId);
|
|
4085
4103
|
if (!props.step.lastTest) return null;
|
|
@@ -4146,12 +4164,12 @@ function StepTestSection(props) {
|
|
|
4146
4164
|
ran: false,
|
|
4147
4165
|
model: props.model,
|
|
4148
4166
|
onSelect: props.onSelect
|
|
4149
|
-
}) : attempt.outcome.status === "
|
|
4167
|
+
}) : testOutcomeView(attempt.outcome.status) === "failed" ? /* @__PURE__ */ jsx(TestError, {
|
|
4150
4168
|
error: attempt.outcome.error ?? "The test failed",
|
|
4151
4169
|
ran: attempt.outcome.runId !== null,
|
|
4152
4170
|
model: props.model,
|
|
4153
4171
|
onSelect: props.onSelect
|
|
4154
|
-
}) : /* @__PURE__ */ jsx(DataViewer, {
|
|
4172
|
+
}) : testOutcomeView(attempt.outcome.status) === "indeterminate" ? /* @__PURE__ */ jsx(TestIndeterminate, { error: attempt.outcome.error ?? "A host call the step made timed out" }) : /* @__PURE__ */ jsx(DataViewer, {
|
|
4155
4173
|
label: "Output",
|
|
4156
4174
|
value: attempt.outcome.output,
|
|
4157
4175
|
root: `steps.${step.key}.output`
|
|
@@ -17565,4 +17583,4 @@ function Editor() {
|
|
|
17565
17583
|
//#endregion
|
|
17566
17584
|
export { Editor as default };
|
|
17567
17585
|
|
|
17568
|
-
//# sourceMappingURL=editor-
|
|
17586
|
+
//# sourceMappingURL=editor-DFS8U1MR.js.map
|