@oomol-lab/open-flow 0.1.0-beta.27 → 0.1.0-beta.29
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/{createResourceDialog-BwI2JmPE.js → createResourceDialog-C_8I3Fua.js} +1 -1
- package/dist/browser/dist-CoszrK7m.js +4 -0
- package/dist/browser/{switch-CyZ96-UF.js → editorComponent-Dq4IKp5R.js} +5787 -651
- package/dist/browser/flow-authoring-node.d.ts +6 -2
- package/dist/browser/flow-authoring.js +1489 -1638
- package/dist/browser/flow-change-schema.d.ts +4 -0
- package/dist/browser/flow-change.d.ts +20 -14
- package/dist/browser/flow-change.js +1057 -1179
- package/dist/browser/flow-notifications.d.ts +6 -2
- package/dist/browser/{flowChanges-DhEjA0n5.js → flowChanges-BBtkyUGd.js} +2192 -1975
- package/dist/browser/{flowRunInputEditorStore-BBqQIOCR.js → flowRunInputEditorStore-CTORQcA2.js} +378 -429
- package/dist/browser/{flowWorkspace-zcweMsLS.js → flowWorkspace-DNmBb3ZW.js} +62886 -66618
- package/dist/browser/host-conformance.js +7 -1
- package/dist/browser/{inputValues-C5ExCCf0.js → inputValues-BbSVOWQP.js} +2 -2
- package/dist/browser/{markdownContent-SIlWuHve.js → markdownContent-D2oHGWc6.js} +24 -24
- package/dist/browser/ui.css +1 -1
- package/dist/browser/value-DPg_9yXB.js +93 -0
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +769 -605
- package/dist/browser/{workbenchSelect-BUu7CjUA.js → workbenchSelect-CQOvpteT.js} +1507 -1642
- package/dist/common/authoringExamples.d.ts +28 -0
- package/dist/common/control-api-conformance.js +1449 -1556
- package/dist/common/control-api-errors.d.ts +8 -0
- package/dist/common/control-api.d.ts +12 -4
- package/dist/common/control-api.js +1480 -1560
- package/dist/common/control-requests.d.ts +13 -6
- package/dist/common/control-requests.js +1886 -1445
- package/dist/common/cron-trigger.d.ts +2 -1
- package/dist/common/cron-trigger.js +27 -24
- package/dist/common/draftOperations.d.ts +14 -0
- package/dist/common/engine-contract.d.ts +2 -2
- package/dist/common/flow-encoding.d.ts +3 -0
- package/dist/common/flow-encoding.js +1488 -1524
- package/dist/common/flow-graph.d.ts +18 -2
- package/dist/common/flow-notifications.d.ts +6 -2
- package/dist/common/flow-schema.d.ts +1 -2
- package/dist/common/flow-semantics.d.ts +2 -1
- package/dist/common/flow-semantics.js +7809 -7820
- package/dist/common/flowInspection.d.ts +16 -0
- package/dist/common/integration-trigger.d.ts +2 -2
- package/dist/common/integration-trigger.js +8 -8
- package/dist/common/mcp.d.ts +2 -1
- package/dist/common/mcp.js +985 -1060
- package/dist/common/poll-trigger.d.ts +3 -0
- package/dist/common/poll-trigger.js +26 -22
- package/dist/common/provider-triggers.js +3096 -3126
- package/dist/common/run-events.js +1 -0
- package/dist/common/runtime-contract.js +3 -3
- package/dist/common/scheduler.d.ts +6 -5
- package/dist/common/scheduler.js +2318 -2383
- package/dist/common/trigger-contract.d.ts +5 -0
- package/dist/common/webhook-trigger.d.ts +3 -3
- package/dist/common/webhook-trigger.js +64 -18
- package/package.json +1 -1
- package/dist/browser/dist-B_T-OpQp.js +0 -4
- package/dist/browser/languages-C0zQ4GSo.js +0 -42
|
@@ -7,7 +7,13 @@ async function e(e, n) {
|
|
|
7
7
|
await n.fail(), await n.advance(5e3), await o.ready, t(r.length == 0, "Initial connection failure must allow loading without a false event."), await n.connect(), t(r.length == 1 && r[0] == null, "Recovery must invalidate the catalog for an authoritative reread."), r.length = 0, await n.emit({
|
|
8
8
|
kind: "flows.changed",
|
|
9
9
|
version: 1
|
|
10
|
-
}), t(r.length == 1, "Catalog changes must reach the catalog subscription.");
|
|
10
|
+
}), t(r.length == 1, "Catalog changes must reach the catalog subscription."), r.length = 0;
|
|
11
|
+
let e = {
|
|
12
|
+
kind: "flow.created",
|
|
13
|
+
flowId: "new-flow",
|
|
14
|
+
version: 1
|
|
15
|
+
};
|
|
16
|
+
await n.emit(e), t(JSON.stringify(r) == JSON.stringify([e]), "Flow creation must retain its identity on the catalog subscription.");
|
|
11
17
|
} finally {
|
|
12
18
|
o.stop();
|
|
13
19
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as e } from "./dist-Dz6Nglsd.js";
|
|
2
2
|
import { a as t } from "./main-BDnNHhkU.js";
|
|
3
|
-
import { t as n } from "./flowRunInputEditorStore-
|
|
4
|
-
import { n as r } from "./flowWorkspace-
|
|
3
|
+
import { t as n } from "./flowRunInputEditorStore-CTORQcA2.js";
|
|
4
|
+
import { n as r } from "./flowWorkspace-DNmBb3ZW.js";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
6
|
import { useEffect as a, useRef as o, useState as s } from "react";
|
|
7
7
|
//#region src/workbench/browser/runtime/editor/inputValues.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
import {
|
|
3
|
+
import { i } from "./dist-CoszrK7m.js";
|
|
4
4
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
5
|
import { memo as c, useEffect as l, useMemo as u, useRef as d } from "react";
|
|
6
6
|
//#region ../../node_modules/.bun/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js
|
|
@@ -1396,7 +1396,7 @@ var Be = class extends Error {
|
|
|
1396
1396
|
};
|
|
1397
1397
|
Be.prototype.file = "", Be.prototype.name = "", Be.prototype.reason = "", Be.prototype.message = "", Be.prototype.stack = "", Be.prototype.column = void 0, Be.prototype.line = void 0, Be.prototype.ancestors = void 0, Be.prototype.cause = void 0, Be.prototype.fatal = void 0, Be.prototype.place = void 0, Be.prototype.ruleId = void 0, Be.prototype.source = void 0;
|
|
1398
1398
|
//#endregion
|
|
1399
|
-
//#region ../../node_modules/.bun/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime/lib/index.js
|
|
1399
|
+
//#region ../../node_modules/.bun/hast-util-to-jsx-runtime@2.3.6+2b91fc17bf64bdfd/node_modules/hast-util-to-jsx-runtime/lib/index.js
|
|
1400
1400
|
var Ve = /* @__PURE__ */ e(je(), 1), He = {}.hasOwnProperty, Ue = /* @__PURE__ */ new Map(), We = /[A-Z]/g, Ge = /* @__PURE__ */ new Set([
|
|
1401
1401
|
"table",
|
|
1402
1402
|
"tbody",
|
|
@@ -1798,7 +1798,7 @@ function Gt(e, t, n, r) {
|
|
|
1798
1798
|
}
|
|
1799
1799
|
}
|
|
1800
1800
|
//#endregion
|
|
1801
|
-
//#region ../../node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js
|
|
1801
|
+
//#region ../../node_modules/.bun/micromark@4.0.2+2b91fc17bf64bdfd/node_modules/micromark/lib/initialize/content.js
|
|
1802
1802
|
var Kt = { tokenize: qt };
|
|
1803
1803
|
function qt(e) {
|
|
1804
1804
|
let t = e.attempt(this.parser.constructs.contentInitial, r, i), n;
|
|
@@ -1829,7 +1829,7 @@ function qt(e) {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
}
|
|
1831
1831
|
//#endregion
|
|
1832
|
-
//#region ../../node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js
|
|
1832
|
+
//#region ../../node_modules/.bun/micromark@4.0.2+2b91fc17bf64bdfd/node_modules/micromark/lib/initialize/document.js
|
|
1833
1833
|
var Jt = { tokenize: Xt }, Yt = { tokenize: Zt };
|
|
1834
1834
|
function Xt(e) {
|
|
1835
1835
|
let t = this, n = [], r = 0, i, a, o;
|
|
@@ -3279,7 +3279,7 @@ function Ir(e, t, n) {
|
|
|
3279
3279
|
}
|
|
3280
3280
|
}
|
|
3281
3281
|
//#endregion
|
|
3282
|
-
//#region ../../node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js
|
|
3282
|
+
//#region ../../node_modules/.bun/micromark@4.0.2+2b91fc17bf64bdfd/node_modules/micromark/lib/initialize/flow.js
|
|
3283
3283
|
var Lr = { tokenize: Rr };
|
|
3284
3284
|
function Rr(e) {
|
|
3285
3285
|
let t = this, n = e.attempt(sn, r, e.attempt(this.parser.constructs.flowInitial, i, Gt(e, e.attempt(this.parser.constructs.flow, i, e.attempt(Nn, i)), "linePrefix")));
|
|
@@ -3300,7 +3300,7 @@ function Rr(e) {
|
|
|
3300
3300
|
}
|
|
3301
3301
|
}
|
|
3302
3302
|
//#endregion
|
|
3303
|
-
//#region ../../node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js
|
|
3303
|
+
//#region ../../node_modules/.bun/micromark@4.0.2+2b91fc17bf64bdfd/node_modules/micromark/lib/initialize/text.js
|
|
3304
3304
|
var zr = { resolveAll: Ur() }, Br = Hr("string"), Vr = Hr("text");
|
|
3305
3305
|
function Hr(e) {
|
|
3306
3306
|
return {
|
|
@@ -3385,7 +3385,7 @@ function Wr(e, t) {
|
|
|
3385
3385
|
return e;
|
|
3386
3386
|
}
|
|
3387
3387
|
//#endregion
|
|
3388
|
-
//#region ../../node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/constructs.js
|
|
3388
|
+
//#region ../../node_modules/.bun/micromark@4.0.2+2b91fc17bf64bdfd/node_modules/micromark/lib/constructs.js
|
|
3389
3389
|
var Gr = /* @__PURE__ */ t({
|
|
3390
3390
|
attentionMarkers: () => $r,
|
|
3391
3391
|
contentInitial: () => qr,
|
|
@@ -3442,7 +3442,7 @@ var Gr = /* @__PURE__ */ t({
|
|
|
3442
3442
|
96: Tn
|
|
3443
3443
|
}, Qr = { null: [en, zr] }, $r = { null: [42, 95] }, ei = { null: [] };
|
|
3444
3444
|
//#endregion
|
|
3445
|
-
//#region ../../node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js
|
|
3445
|
+
//#region ../../node_modules/.bun/micromark@4.0.2+2b91fc17bf64bdfd/node_modules/micromark/lib/create-tokenizer.js
|
|
3446
3446
|
function ti(e, t, n) {
|
|
3447
3447
|
let r = {
|
|
3448
3448
|
_bufferIndex: -1,
|
|
@@ -3615,7 +3615,7 @@ function ri(e, t) {
|
|
|
3615
3615
|
return r.join("");
|
|
3616
3616
|
}
|
|
3617
3617
|
//#endregion
|
|
3618
|
-
//#region ../../node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/parse.js
|
|
3618
|
+
//#region ../../node_modules/.bun/micromark@4.0.2+2b91fc17bf64bdfd/node_modules/micromark/lib/parse.js
|
|
3619
3619
|
function ii(e) {
|
|
3620
3620
|
let t = {
|
|
3621
3621
|
constructs: Dt([Gr, ...(e || {}).extensions || []]),
|
|
@@ -3636,13 +3636,13 @@ function ii(e) {
|
|
|
3636
3636
|
}
|
|
3637
3637
|
}
|
|
3638
3638
|
//#endregion
|
|
3639
|
-
//#region ../../node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/postprocess.js
|
|
3639
|
+
//#region ../../node_modules/.bun/micromark@4.0.2+2b91fc17bf64bdfd/node_modules/micromark/lib/postprocess.js
|
|
3640
3640
|
function ai(e) {
|
|
3641
3641
|
for (; !jn(e););
|
|
3642
3642
|
return e;
|
|
3643
3643
|
}
|
|
3644
3644
|
//#endregion
|
|
3645
|
-
//#region ../../node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/preprocess.js
|
|
3645
|
+
//#region ../../node_modules/.bun/micromark@4.0.2+2b91fc17bf64bdfd/node_modules/micromark/lib/preprocess.js
|
|
3646
3646
|
var oi = /[\0\t\n\r]/g;
|
|
3647
3647
|
function si() {
|
|
3648
3648
|
let e = 1, t = "", n = !0, r;
|
|
@@ -3687,7 +3687,7 @@ function ui(e, t, n) {
|
|
|
3687
3687
|
return Ct(n) || e;
|
|
3688
3688
|
}
|
|
3689
3689
|
//#endregion
|
|
3690
|
-
//#region ../../node_modules/.bun/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.js
|
|
3690
|
+
//#region ../../node_modules/.bun/mdast-util-from-markdown@2.0.3+2b91fc17bf64bdfd/node_modules/mdast-util-from-markdown/lib/index.js
|
|
3691
3691
|
var di = {}.hasOwnProperty;
|
|
3692
3692
|
function fi(e, t, n) {
|
|
3693
3693
|
return t && typeof t == "object" && (n = t, t = void 0), pi(n)(ai(ii(n).document().write(si()(e, t, !0))));
|
|
@@ -4234,7 +4234,7 @@ function _i(e, t) {
|
|
|
4234
4234
|
}) + ") is still open");
|
|
4235
4235
|
}
|
|
4236
4236
|
//#endregion
|
|
4237
|
-
//#region ../../node_modules/.bun/remark-parse@11.0.0/node_modules/remark-parse/lib/index.js
|
|
4237
|
+
//#region ../../node_modules/.bun/remark-parse@11.0.0+2b91fc17bf64bdfd/node_modules/remark-parse/lib/index.js
|
|
4238
4238
|
function vi(e) {
|
|
4239
4239
|
let t = this;
|
|
4240
4240
|
t.parser = n;
|
|
@@ -5675,7 +5675,7 @@ function yo(e) {
|
|
|
5675
5675
|
return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
|
|
5676
5676
|
}
|
|
5677
5677
|
//#endregion
|
|
5678
|
-
//#region ../../node_modules/.bun/react-markdown@10.1.0+
|
|
5678
|
+
//#region ../../node_modules/.bun/react-markdown@10.1.0+b5b20d3ad0605c47/node_modules/react-markdown/lib/index.js
|
|
5679
5679
|
var bo = [], xo = { allowDangerousHtml: !0 }, So = /^(https?|ircs?|mailto|xmpp)$/i, Co = [
|
|
5680
5680
|
{
|
|
5681
5681
|
from: "astPlugins",
|
|
@@ -42245,7 +42245,7 @@ function mC(e) {
|
|
|
42245
42245
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
42246
42246
|
}
|
|
42247
42247
|
//#endregion
|
|
42248
|
-
//#region ../../node_modules/.bun/mdast-util-frontmatter@2.0.1/node_modules/mdast-util-frontmatter/lib/index.js
|
|
42248
|
+
//#region ../../node_modules/.bun/mdast-util-frontmatter@2.0.1+2b91fc17bf64bdfd/node_modules/mdast-util-frontmatter/lib/index.js
|
|
42249
42249
|
function hC(e) {
|
|
42250
42250
|
let t = cC(e), n = {}, r = {}, i = -1;
|
|
42251
42251
|
for (; ++i < t.length;) {
|
|
@@ -42304,7 +42304,7 @@ function SC(e, t) {
|
|
|
42304
42304
|
return typeof e == "string" ? e : e[t];
|
|
42305
42305
|
}
|
|
42306
42306
|
//#endregion
|
|
42307
|
-
//#region ../../node_modules/.bun/remark-frontmatter@5.0.0/node_modules/remark-frontmatter/lib/index.js
|
|
42307
|
+
//#region ../../node_modules/.bun/remark-frontmatter@5.0.0+2b91fc17bf64bdfd/node_modules/remark-frontmatter/lib/index.js
|
|
42308
42308
|
var CC = "yaml";
|
|
42309
42309
|
function wC(e) {
|
|
42310
42310
|
let t = this, n = e || CC, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|
|
@@ -42501,7 +42501,7 @@ function GC(e, t) {
|
|
|
42501
42501
|
return (e.index === 0 || Ht(n) || Vt(n)) && (!t || n !== 47);
|
|
42502
42502
|
}
|
|
42503
42503
|
//#endregion
|
|
42504
|
-
//#region ../../node_modules/.bun/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
42504
|
+
//#region ../../node_modules/.bun/mdast-util-gfm-footnote@2.1.0+2b91fc17bf64bdfd/node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
42505
42505
|
tw.peek = ew;
|
|
42506
42506
|
function KC() {
|
|
42507
42507
|
this.buffer();
|
|
@@ -42595,7 +42595,7 @@ function aw(e, t, n) {
|
|
|
42595
42595
|
return (n ? "" : " ") + e;
|
|
42596
42596
|
}
|
|
42597
42597
|
//#endregion
|
|
42598
|
-
//#region ../../node_modules/.bun/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
42598
|
+
//#region ../../node_modules/.bun/mdast-util-gfm-strikethrough@2.0.0+2b91fc17bf64bdfd/node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
42599
42599
|
var ow = [
|
|
42600
42600
|
"autolink",
|
|
42601
42601
|
"destinationLiteral",
|
|
@@ -43226,7 +43226,7 @@ var dT = {
|
|
|
43226
43226
|
thematicBreak: uT
|
|
43227
43227
|
};
|
|
43228
43228
|
//#endregion
|
|
43229
|
-
//#region ../../node_modules/.bun/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js
|
|
43229
|
+
//#region ../../node_modules/.bun/mdast-util-gfm-table@2.0.0+2b91fc17bf64bdfd/node_modules/mdast-util-gfm-table/lib/index.js
|
|
43230
43230
|
function fT() {
|
|
43231
43231
|
return {
|
|
43232
43232
|
enter: {
|
|
@@ -43359,7 +43359,7 @@ function bT(e) {
|
|
|
43359
43359
|
}
|
|
43360
43360
|
}
|
|
43361
43361
|
//#endregion
|
|
43362
|
-
//#region ../../node_modules/.bun/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
43362
|
+
//#region ../../node_modules/.bun/mdast-util-gfm-task-list-item@2.0.0+2b91fc17bf64bdfd/node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
43363
43363
|
function xT() {
|
|
43364
43364
|
return { exit: {
|
|
43365
43365
|
taskListCheckValueChecked: CT,
|
|
@@ -43414,7 +43414,7 @@ function TT(e, t, n, r) {
|
|
|
43414
43414
|
}
|
|
43415
43415
|
}
|
|
43416
43416
|
//#endregion
|
|
43417
|
-
//#region ../../node_modules/.bun/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js
|
|
43417
|
+
//#region ../../node_modules/.bun/mdast-util-gfm@3.1.0+2b91fc17bf64bdfd/node_modules/mdast-util-gfm/lib/index.js
|
|
43418
43418
|
function ET() {
|
|
43419
43419
|
return [
|
|
43420
43420
|
MC(),
|
|
@@ -44185,14 +44185,14 @@ function xE(e) {
|
|
|
44185
44185
|
]);
|
|
44186
44186
|
}
|
|
44187
44187
|
//#endregion
|
|
44188
|
-
//#region ../../node_modules/.bun/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js
|
|
44188
|
+
//#region ../../node_modules/.bun/remark-gfm@4.0.1+2b91fc17bf64bdfd/node_modules/remark-gfm/lib/index.js
|
|
44189
44189
|
var SE = {};
|
|
44190
44190
|
function CE(e) {
|
|
44191
44191
|
let t = this, n = e || SE, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|
|
44192
44192
|
i.push(xE(n)), a.push(ET()), o.push(DT(n));
|
|
44193
44193
|
}
|
|
44194
44194
|
//#endregion
|
|
44195
|
-
//#region ../../node_modules/.bun/mdast-util-math@3.0.0/node_modules/mdast-util-math/lib/index.js
|
|
44195
|
+
//#region ../../node_modules/.bun/mdast-util-math@3.0.0+2b91fc17bf64bdfd/node_modules/mdast-util-math/lib/index.js
|
|
44196
44196
|
function wE() {
|
|
44197
44197
|
return {
|
|
44198
44198
|
enter: {
|
|
@@ -44455,7 +44455,7 @@ function NE(e) {
|
|
|
44455
44455
|
};
|
|
44456
44456
|
}
|
|
44457
44457
|
//#endregion
|
|
44458
|
-
//#region ../../node_modules/.bun/remark-math@6.0.0/node_modules/remark-math/lib/index.js
|
|
44458
|
+
//#region ../../node_modules/.bun/remark-math@6.0.0+2b91fc17bf64bdfd/node_modules/remark-math/lib/index.js
|
|
44459
44459
|
var PE = {};
|
|
44460
44460
|
function FE(e) {
|
|
44461
44461
|
let t = this, n = e || PE, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|