@oomol-lab/open-flow 0.1.0-beta.18 → 0.1.0-beta.19
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/{flowChanges-DR6bsnz-.js → flowChanges-jX3KYcb0.js} +12 -6
- package/dist/browser/{flowWorkspace-fsNhVe8S.js → flowWorkspace-BIYwslVl.js} +24657 -24643
- package/dist/browser/{i18n-9ypjMjOo.js → i18n-CVBh0Ni1.js} +42 -42
- package/dist/browser/{inputValues-MIPdGucY.js → inputValues-BWfRHJWC.js} +1 -1
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +4 -4
- package/dist/common/control-api.d.ts +4 -0
- package/dist/common/control-api.js +11 -5
- package/dist/common/mcp.js +11 -5
- package/dist/common/provider-triggers.js +5930 -975
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, l as t, t as n } from "./dist-Dz6Nglsd.js";
|
|
2
2
|
import { $ as r, B as i, Ct as a, D as o, E as s, F as c, G as l, H as u, I as d, K as f, L as p, O as m, Q as h, R as ee, S as g, T as _, Tt as v, U as te, V as y, W as b, X as x, Y as S, Z as C, b as w, bt as T, c as E, ct as D, dt as O, et as ne, ft as re, g as ie, h as ae, i as k, it as A, j as oe, k as se, l as j, lt as ce, m as le, n as ue, o as de, ot as fe, q as pe, r as me, rt as he, st as M, t as ge, u as _e, v as ve, wt as ye, x as be, xt as xe, z as Se } from "./useValueChanged-BY05Usw-.js";
|
|
3
3
|
import { $ as Ce, A as we, At as Te, Bt as Ee, Cn as De, Ct as Oe, Dt as ke, Et as Ae, Ft as je, Gt as Me, Ht as Ne, J as Pe, Jt as N, Kt as Fe, Lt as Ie, O as Le, Ot as Re, Pt as ze, Q as Be, Qt as Ve, R as He, Rt as Ue, Sn as We, St as Ge, Tt as Ke, Ut as qe, Vt as Je, Wt as Ye, X as Xe, Xt as Ze, Y as Qe, Yt as $e, Z as et, Zt as P, _ as tt, _t as nt, an as rt, at as it, bn as at, d as ot, dt as st, et as ct, f as lt, ft as ut, g as dt, gn as ft, gt as pt, h as mt, ht, in as gt, it as _t, j as vt, jt as yt, k as bt, l as xt, lt as St, m as Ct, mt as wt, nn as Tt, nt as Et, on as Dt, ot as Ot, p as kt, pt as At, q as jt, qt as Mt, rn as Nt, rt as Pt, tn as Ft, tt as It, u as Lt, ut as Rt, v as zt, vn as Bt, vt as Vt, wn as Ht, wt as Ut, xn as Wt, y as Gt, yn as Kt, yt as qt } from "./workbenchSelect-CwP6rphY.js";
|
|
4
|
-
import { i as Jt, t as Yt } from "./i18n-
|
|
4
|
+
import { i as Jt, t as Yt } from "./i18n-CVBh0Ni1.js";
|
|
5
5
|
import { a as Xt, o as Zt, r as Qt } from "./dist-B_T-OpQp.js";
|
|
6
6
|
import "./lib-C5Ipyfps.js";
|
|
7
7
|
import * as F from "react";
|
|
@@ -730,17 +730,23 @@ var ar = /* @__PURE__ */ new Set([
|
|
|
730
730
|
"operator.resumed"
|
|
731
731
|
]);
|
|
732
732
|
function cr(e) {
|
|
733
|
-
let t = z(e), n = t.health, r = t.
|
|
734
|
-
|
|
733
|
+
let t = z(e), n = t.health, r = t.listener == null ? void 0 : z(t.listener);
|
|
734
|
+
if (r != null && r.health != "healthy" && r.health != "failed" && r.health != "needs_reauth") return R();
|
|
735
|
+
let i = t.kind, a = t.operatorState, o = Cn(t.runtimeVersion);
|
|
736
|
+
return t.version != 1 || typeof n != "string" || !or.has(n) || typeof i != "string" || !ar.has(i) || a != "active" && a != "paused" || o <= 0 ? R() : {
|
|
735
737
|
...t.currentPublicationId == null ? {} : { currentPublicationId: B(t.currentPublicationId) },
|
|
736
738
|
...t.currentRevisionId == null ? {} : { currentRevisionId: B(t.currentRevisionId) },
|
|
737
739
|
...t.endpointUrl == null ? {} : { endpointUrl: B(t.endpointUrl) },
|
|
740
|
+
...r == null ? {} : { listener: {
|
|
741
|
+
health: r.health,
|
|
742
|
+
...r.lastErrorCode == null ? {} : { lastErrorCode: B(r.lastErrorCode) }
|
|
743
|
+
} },
|
|
738
744
|
flowId: B(t.flowId),
|
|
739
745
|
health: n,
|
|
740
|
-
kind:
|
|
746
|
+
kind: i,
|
|
741
747
|
...t.lastErrorCode == null ? {} : { lastErrorCode: B(t.lastErrorCode) },
|
|
742
|
-
operatorState:
|
|
743
|
-
runtimeVersion:
|
|
748
|
+
operatorState: a,
|
|
749
|
+
runtimeVersion: o,
|
|
744
750
|
triggerNodeId: B(t.triggerNodeId),
|
|
745
751
|
updatedAt: B(t.updatedAt),
|
|
746
752
|
version: 1
|