@oomol-lab/open-flow 0.1.0-beta.40 → 0.1.0-beta.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +9 -0
  2. package/dist/browser/{createResourceDialog-BOrW62JW.js → createResourceDialog-DmJk4LsF.js} +28 -29
  3. package/dist/browser/dist-BhV15xlT.js +300 -0
  4. package/dist/browser/flow-authoring-node.d.ts +4 -1
  5. package/dist/browser/flow-authoring.js +7 -10
  6. package/dist/browser/flow-change.d.ts +3 -15
  7. package/dist/browser/flow-change.js +1 -2
  8. package/dist/browser/{editorComponent-0skblWYk.js → flowChanges-Rb1Nz-ph.js} +34187 -15646
  9. package/dist/browser/{flowRunInputEditorStore-Bgb5vSeS.js → flowRunInputEditorStore-rVbwoTfN.js} +1 -1
  10. package/dist/browser/{flowWorkspace-DJzQVVtZ.js → flowWorkspace-B04ZIbVq.js} +38861 -39243
  11. package/dist/browser/licenses.md +16 -0
  12. package/dist/browser/{markdownContent-D2oHGWc6.js → markdownContent-DP6aYNZN.js} +17 -17
  13. package/dist/browser/markdownContent-DPkwZqaL.js +44588 -0
  14. package/dist/browser/preview.css +2 -0
  15. package/dist/browser/preview.css.d.ts +1 -0
  16. package/dist/browser/preview.d.ts +15 -0
  17. package/dist/browser/preview.js +88010 -0
  18. package/dist/browser/theme.css +7 -1
  19. package/dist/browser/{typeScriptSession-v9Pb3G6d.js → typeScriptSession-By_yez_b.js} +1 -1
  20. package/dist/browser/ui.css +1 -1
  21. package/dist/browser/ui.js +3903 -1421
  22. package/dist/browser/workbench-contract.d.ts +21 -12
  23. package/dist/browser/workbench.css +1 -1
  24. package/dist/browser/workbench.d.ts +3 -1
  25. package/dist/browser/workbench.js +1174 -1848
  26. package/dist/browser/workbenchSelect-Bq6KHpKx.js +16033 -0
  27. package/dist/common/control-api-conformance.js +2606 -2540
  28. package/dist/common/control-api.d.ts +18 -10
  29. package/dist/common/control-api.js +2428 -2381
  30. package/dist/common/control-requests.js +4 -8
  31. package/dist/common/flow-encoding.js +1 -2
  32. package/dist/common/flow-graph.d.ts +1 -1
  33. package/dist/common/flow-promptTemplate.d.ts +4 -0
  34. package/dist/common/flow-schema.d.ts +1 -0
  35. package/dist/common/flow-semantics.d.ts +2 -1
  36. package/dist/common/flow-semantics.js +2780 -2770
  37. package/dist/common/integration-trigger.js +724 -721
  38. package/dist/common/mcp.js +789 -739
  39. package/dist/common/poll-trigger.js +40 -37
  40. package/dist/common/provider-triggers.js +611 -608
  41. package/dist/common/providerIconSprite.d.ts +25 -0
  42. package/dist/common/runtime-contract.js +2 -1
  43. package/dist/common/scheduler.d.ts +2 -0
  44. package/dist/common/scheduler.js +1585 -1549
  45. package/dist/common/webhook-trigger.js +1 -2
  46. package/dist/index.d.ts +19 -0
  47. package/package.json +9 -1
  48. package/dist/browser/flowChanges-3o9Vs_1I.js +0 -10137
  49. package/dist/browser/inputValues-DkDT6u0o.js +0 -43
  50. package/dist/browser/lite-BA96NG4M.js +0 -8549
  51. package/dist/browser/workbenchSelect-B5zXyaaX.js +0 -6423
@@ -2703,6 +2703,22 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
2703
2703
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
2704
2704
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2705
2705
 
2706
+ ## idb-keyval - 6.3.0 (Apache-2.0)
2707
+
2708
+ Copyright 2016, Jake Archibald
2709
+
2710
+ Licensed under the Apache License, Version 2.0 (the "License");
2711
+ you may not use this file except in compliance with the License.
2712
+ You may obtain a copy of the License at
2713
+
2714
+ http://www.apache.org/licenses/LICENSE-2.0
2715
+
2716
+ Unless required by applicable law or agreed to in writing, software
2717
+ distributed under the License is distributed on an "AS IS" BASIS,
2718
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2719
+ See the License for the specific language governing permissions and
2720
+ limitations under the License.
2721
+
2706
2722
  ## inline-style-parser - 0.2.7 (MIT)
2707
2723
 
2708
2724
  (The MIT License)
@@ -1,8 +1,8 @@
1
1
  import { o as e, r as t, t as n } from "./rolldown-runtime-CEFd7nDs.js";
2
2
  import { i as r } from "./main-BDnNHhkU.js";
3
3
  import { i } from "./dist-CoszrK7m.js";
4
- import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
5
- import { memo as c, useEffect as l, useMemo as u, useRef as d } from "react";
4
+ import { memo as a, useEffect as o, useMemo as s, useRef as c } from "react";
5
+ import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
6
6
  //#region ../../node_modules/.bun/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js
7
7
  var f = /* @__PURE__ */ n(((e, t) => {
8
8
  var n = function(e) {
@@ -5770,19 +5770,19 @@ function Eo(e) {
5770
5770
  return typeof t == "string" ? n.value = t : "" + t, n;
5771
5771
  }
5772
5772
  function Do(e, t) {
5773
- let n = t.allowedElements, r = t.allowElement, i = t.components, c = t.disallowedElements, l = t.skipHtml, u = t.unwrapDisallowed, d = t.urlTransform || Oo;
5773
+ let n = t.allowedElements, r = t.allowElement, i = t.components, a = t.disallowedElements, o = t.skipHtml, s = t.unwrapDisallowed, c = t.urlTransform || Oo;
5774
5774
  for (let e of Co) Object.hasOwn(t, e.from) && "" + e.from + (e.to ? "use `" + e.to + "` instead" : "remove it") + e.id;
5775
5775
  return Ta(e, f), Je(e, {
5776
- Fragment: a,
5776
+ Fragment: l,
5777
5777
  components: i,
5778
5778
  ignoreInvalidStyle: !0,
5779
- jsx: o,
5780
- jsxs: s,
5779
+ jsx: u,
5780
+ jsxs: d,
5781
5781
  passKeys: !0,
5782
5782
  passNode: !0
5783
5783
  });
5784
5784
  function f(e, t, i) {
5785
- if (e.type === "raw" && i && typeof t == "number") return l ? i.children.splice(t, 1) : i.children[t] = {
5785
+ if (e.type === "raw" && i && typeof t == "number") return o ? i.children.splice(t, 1) : i.children[t] = {
5786
5786
  type: "text",
5787
5787
  value: e.value
5788
5788
  }, t;
@@ -5790,12 +5790,12 @@ function Do(e, t) {
5790
5790
  let t;
5791
5791
  for (t in gt) if (Object.hasOwn(gt, t) && Object.hasOwn(e.properties, t)) {
5792
5792
  let n = e.properties[t], r = gt[t];
5793
- (r === null || r.includes(e.tagName)) && (e.properties[t] = d(String(n || ""), t, e));
5793
+ (r === null || r.includes(e.tagName)) && (e.properties[t] = c(String(n || ""), t, e));
5794
5794
  }
5795
5795
  }
5796
5796
  if (e.type === "element") {
5797
- let a = n ? !n.includes(e.tagName) : c ? c.includes(e.tagName) : !1;
5798
- if (!a && r && typeof t == "number" && (a = !r(e, t, i)), a && i && typeof t == "number") return u && e.children ? i.children.splice(t, 1, ...e.children) : i.children.splice(t, 1), t;
5797
+ let o = n ? !n.includes(e.tagName) : a ? a.includes(e.tagName) : !1;
5798
+ if (!o && r && typeof t == "number" && (o = !r(e, t, i)), o && i && typeof t == "number") return s && e.children ? i.children.splice(t, 1, ...e.children) : i.children.splice(t, 1), t;
5799
5799
  }
5800
5800
  }
5801
5801
  }
@@ -44544,10 +44544,10 @@ function GE(e, t, n) {
44544
44544
  }, e.children = [];
44545
44545
  }
44546
44546
  }
44547
- var KE = /* @__PURE__ */ c(function({ dark: e, unstyled: t, text: n, className: i = "", components: a, mermaid: s }) {
44548
- let c = r(), f = u(() => RE(c), [c]), p = d(null), m = d(/* @__PURE__ */ new WeakMap());
44549
- return l(() => {
44550
- let t = s ? [...p.current?.querySelectorAll("pre code.language-mermaid") ?? []] : [];
44547
+ var KE = /* @__PURE__ */ a(function({ dark: e, unstyled: t, text: n, className: i = "", components: a, mermaid: l }) {
44548
+ let d = r(), f = s(() => RE(d), [d]), p = c(null), m = c(/* @__PURE__ */ new WeakMap());
44549
+ return o(() => {
44550
+ let t = l ? [...p.current?.querySelectorAll("pre code.language-mermaid") ?? []] : [];
44551
44551
  if (t.length == 0) return;
44552
44552
  let n = !1;
44553
44553
  return (async () => {
@@ -44571,13 +44571,13 @@ var KE = /* @__PURE__ */ c(function({ dark: e, unstyled: t, text: n, className:
44571
44571
  n = !0;
44572
44572
  };
44573
44573
  }, [
44574
- s,
44574
+ l,
44575
44575
  e,
44576
44576
  n
44577
- ]), n ? /* @__PURE__ */ o("div", {
44577
+ ]), n ? /* @__PURE__ */ u("div", {
44578
44578
  ref: p,
44579
44579
  className: `${t ? "" : `open-flow-markdown-${e ? "dark" : "light"}`} ${i}`,
44580
- children: /* @__PURE__ */ o(wo, {
44580
+ children: /* @__PURE__ */ u(wo, {
44581
44581
  rehypePlugins: f,
44582
44582
  remarkPlugins: IE,
44583
44583
  components: a,