@oomol-lab/open-flow 0.1.0-alpha.5 → 0.1.0-alpha.7

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 (40) hide show
  1. package/dist/browser/{addNodeOptions-B6tOfd2Y.js → addNodeOptions-DRndy4EK.js} +2237 -2599
  2. package/dist/browser/{createLucideIcon-BlEx4FzJ.js → createLucideIcon-CqjqCezK.js} +835 -869
  3. package/dist/browser/{createResourceDialog-CrBp3E8P.js → createResourceDialog-A64dDFCG.js} +140 -140
  4. package/dist/browser/{esm-CoE5_2w7.js → esm-YIGXG-Js.js} +1 -11
  5. package/dist/browser/{field-Daq9Lk-Y.js → field-CKGQHCIi.js} +88 -88
  6. package/dist/browser/{project-authoring-edge.d.ts → flow-authoring-edge.d.ts} +1 -1
  7. package/dist/browser/{project-authoring-module.d.ts → flow-authoring-module.d.ts} +1 -1
  8. package/dist/browser/{project-authoring-node.d.ts → flow-authoring-node.d.ts} +6 -12
  9. package/dist/browser/flow-authoring.d.ts +3 -0
  10. package/dist/browser/{project-authoring.js → flow-authoring.js} +72 -87
  11. package/dist/browser/{project-change.d.ts → flow-change.d.ts} +27 -36
  12. package/dist/browser/{project-change.js → flow-change.js} +69 -97
  13. package/dist/browser/{project-notifications.d.ts → flow-notifications.d.ts} +6 -3
  14. package/dist/browser/{flowWorkspace-CylW6hge.js → flowWorkspace-D7-rBA1-.js} +17147 -12754
  15. package/dist/browser/licenses.md +514 -0
  16. package/dist/browser/workbench-contract.d.ts +4 -4
  17. package/dist/browser/workbench.css +1 -1
  18. package/dist/browser/workbench.d.ts +1 -1
  19. package/dist/browser/workbench.js +969 -1073
  20. package/dist/common/control-api-conformance.js +219 -352
  21. package/dist/common/control-api-errors.d.ts +16 -24
  22. package/dist/common/control-api.d.ts +39 -68
  23. package/dist/common/control-api.js +136 -189
  24. package/dist/common/cron-trigger.d.ts +1 -1
  25. package/dist/common/flow-encoding.d.ts +11 -0
  26. package/dist/common/{project-encoding.js → flow-encoding.js} +14 -13
  27. package/dist/common/{project-notifications.d.ts → flow-notifications.d.ts} +6 -3
  28. package/dist/common/{project-semantics.d.ts → flow-semantics.d.ts} +9 -12
  29. package/dist/common/{project-semantics.js → flow-semantics.js} +591 -592
  30. package/dist/common/integration-trigger.d.ts +1 -1
  31. package/dist/common/poll-trigger.d.ts +1 -1
  32. package/dist/common/runtime-contract.d.ts +1 -1
  33. package/dist/common/scheduler.d.ts +3 -2
  34. package/dist/common/scheduler.js +159 -154
  35. package/dist/common/webhook-trigger.d.ts +1 -1
  36. package/dist/common/webhook-trigger.js +1 -1
  37. package/package.json +13 -13
  38. package/dist/browser/project-authoring-flow.d.ts +0 -4
  39. package/dist/browser/project-authoring.d.ts +0 -4
  40. package/dist/common/project-encoding.d.ts +0 -11
@@ -1,4 +1,4 @@
1
- import { En as e, F as t, Mt as n, Nt as r, O as i, Yn as a, _r as o, ar as s, er as c, k as l, kr as u, mr as d, nt as f, tr as p, vr as m } from "./createLucideIcon-BlEx4FzJ.js";
1
+ import { Dt as e, F as t, Gn as n, Kn as r, O as i, Ot as a, Vn as o, Xn as s, ar as c, br as l, cr as u, k as d, lr as f, nt as p, xn as m } from "./createLucideIcon-CqjqCezK.js";
2
2
  import * as h from "react";
3
3
  import { useMemo as g } from "react";
4
4
  import { jsx as _ } from "react/jsx-runtime";
@@ -16,7 +16,7 @@ function v(e, t) {
16
16
  }, [t, e]);
17
17
  }
18
18
  function y(e, t, n, r) {
19
- let i = n.useState("isMountedByTrigger", e), a = v(e, n), s = o((t) => {
19
+ let i = n.useState("isMountedByTrigger", e), a = v(e, n), o = u((t) => {
20
20
  if (a(t), !t || !n.select("open")) return;
21
21
  let i = n.select("activeTriggerId");
22
22
  if (i === e) {
@@ -32,7 +32,7 @@ function y(e, t, n, r) {
32
32
  ...r
33
33
  });
34
34
  });
35
- return d(() => {
35
+ return c(() => {
36
36
  i && n.update({
37
37
  activeTriggerElement: t.current,
38
38
  ...r
@@ -43,13 +43,13 @@ function y(e, t, n, r) {
43
43
  t,
44
44
  ...Object.values(r)
45
45
  ]), {
46
- registerTrigger: s,
46
+ registerTrigger: o,
47
47
  isMountedByThisTrigger: i
48
48
  };
49
49
  }
50
50
  function b(e) {
51
51
  let t = e.useState("open");
52
- d(() => {
52
+ c(() => {
53
53
  if (t && !e.select("activeTriggerId") && e.context.triggerElements.size === 1) {
54
54
  let t = e.context.triggerElements.entries().next();
55
55
  if (!t.done) {
@@ -62,35 +62,35 @@ function b(e) {
62
62
  }
63
63
  }, [t, e]);
64
64
  }
65
- function x(e, t, i) {
66
- let { mounted: a, setMounted: s, transitionStatus: c } = n(e);
67
- t.useSyncedValues({
68
- mounted: a,
69
- transitionStatus: c
65
+ function x(t, n, r) {
66
+ let { mounted: i, setMounted: o, transitionStatus: s } = e(t);
67
+ n.useSyncedValues({
68
+ mounted: i,
69
+ transitionStatus: s
70
70
  });
71
- let l = o(() => {
72
- s(!1), t.update({
71
+ let c = u(() => {
72
+ o(!1), n.update({
73
73
  activeTriggerId: null,
74
74
  activeTriggerElement: null,
75
75
  mounted: !1
76
- }), i?.(), t.context.onOpenChangeComplete?.(!1);
77
- }), u = t.useState("preventUnmountingOnClose");
78
- return r({
79
- enabled: !u,
80
- open: e,
81
- ref: t.context.popupRef,
76
+ }), r?.(), n.context.onOpenChangeComplete?.(!1);
77
+ }), l = n.useState("preventUnmountingOnClose");
78
+ return a({
79
+ enabled: !l,
80
+ open: t,
81
+ ref: n.context.popupRef,
82
82
  onComplete() {
83
- e || l();
83
+ t || c();
84
84
  }
85
85
  }), {
86
- forceUnmount: l,
87
- transitionStatus: c
86
+ forceUnmount: c,
87
+ transitionStatus: s
88
88
  };
89
89
  }
90
90
  //#endregion
91
91
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/getEmptyRootContext.js
92
92
  function S() {
93
- return new l({
93
+ return new d({
94
94
  open: !1,
95
95
  transitionStatus: void 0,
96
96
  floatingElement: null,
@@ -123,50 +123,50 @@ function C() {
123
123
  popupProps: s
124
124
  };
125
125
  }
126
- var w = f((e) => e.triggerIdProp ?? e.activeTriggerId), T = {
127
- open: f((e) => e.openProp ?? e.open),
128
- mounted: f((e) => e.mounted),
129
- transitionStatus: f((e) => e.transitionStatus),
130
- floatingRootContext: f((e) => e.floatingRootContext),
131
- preventUnmountingOnClose: f((e) => e.preventUnmountingOnClose),
132
- payload: f((e) => e.payload),
126
+ var w = p((e) => e.triggerIdProp ?? e.activeTriggerId), T = {
127
+ open: p((e) => e.openProp ?? e.open),
128
+ mounted: p((e) => e.mounted),
129
+ transitionStatus: p((e) => e.transitionStatus),
130
+ floatingRootContext: p((e) => e.floatingRootContext),
131
+ preventUnmountingOnClose: p((e) => e.preventUnmountingOnClose),
132
+ payload: p((e) => e.payload),
133
133
  activeTriggerId: w,
134
- activeTriggerElement: f((e) => e.mounted ? e.activeTriggerElement : null),
135
- isTriggerActive: f((e, t) => t !== void 0 && w(e) === t),
136
- isOpenedByTrigger: f((e, t) => t !== void 0 && w(e) === t && e.open),
137
- isMountedByTrigger: f((e, t) => t !== void 0 && w(e) === t && e.mounted),
138
- triggerProps: f((e, t) => t ? e.activeTriggerProps : e.inactiveTriggerProps),
139
- popupProps: f((e) => e.popupProps),
140
- popupElement: f((e) => e.popupElement),
141
- positionerElement: f((e) => e.positionerElement)
134
+ activeTriggerElement: p((e) => e.mounted ? e.activeTriggerElement : null),
135
+ isTriggerActive: p((e, t) => t !== void 0 && w(e) === t),
136
+ isOpenedByTrigger: p((e, t) => t !== void 0 && w(e) === t && e.open),
137
+ isMountedByTrigger: p((e, t) => t !== void 0 && w(e) === t && e.mounted),
138
+ triggerProps: p((e, t) => t ? e.activeTriggerProps : e.inactiveTriggerProps),
139
+ popupProps: p((e) => e.popupProps),
140
+ popupElement: p((e) => e.popupElement),
141
+ positionerElement: p((e) => e.positionerElement)
142
142
  };
143
143
  //#endregion
144
144
  //#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useSyncedFloatingRootContext.js
145
145
  function E(e) {
146
- let { popupStore: n, treatPopupAsFloatingElement: r = !1, onOpenChange: i } = e, o = a(), s = t() != null, c = n.useState("open"), f = n.useState("activeTriggerElement"), p = n.useState(r ? "popupElement" : "positionerElement"), h = n.context.triggerElements, g = m(() => new l({
147
- open: c,
146
+ let { popupStore: n, treatPopupAsFloatingElement: r = !1, onOpenChange: i } = e, a = o(), s = t() != null, u = n.useState("open"), p = n.useState("activeTriggerElement"), m = n.useState(r ? "popupElement" : "positionerElement"), h = n.context.triggerElements, g = f(() => new d({
147
+ open: u,
148
148
  transitionStatus: void 0,
149
- referenceElement: f,
150
- floatingElement: p,
149
+ referenceElement: p,
150
+ floatingElement: m,
151
151
  triggerElements: h,
152
152
  onOpenChange: i,
153
- floatingId: o,
153
+ floatingId: a,
154
154
  syncOnly: !0,
155
155
  nested: s
156
156
  })).current;
157
- return d(() => {
157
+ return c(() => {
158
158
  let e = {
159
- open: c,
160
- floatingId: o,
161
- referenceElement: f,
162
- floatingElement: p
159
+ open: u,
160
+ floatingId: a,
161
+ referenceElement: p,
162
+ floatingElement: m
163
163
  };
164
- u(f) && (e.domReferenceElement = f), g.state.positionReference === g.state.referenceElement && (e.positionReference = f), g.update(e);
164
+ l(p) && (e.domReferenceElement = p), g.state.positionReference === g.state.referenceElement && (e.positionReference = p), g.update(e);
165
165
  }, [
166
- c,
167
- o,
168
- f,
166
+ u,
167
+ a,
169
168
  p,
169
+ m,
170
170
  g
171
171
  ]), g.context.onOpenChange = i, g.context.nested = s, g;
172
172
  }
@@ -177,50 +177,50 @@ var D = /* @__PURE__ */ new Map([
177
177
  ["combobox", "listbox"],
178
178
  ["label", !1]
179
179
  ]);
180
- function O(n, r = {}) {
181
- let i = "rootStore" in n ? n.rootStore : n, o = i.useState("open"), c = i.useState("floatingId"), l = i.useState("domReferenceElement"), u = i.useState("floatingElement"), { role: d = "dialog" } = r, f = a(), p = l?.id || f, m = h.useMemo(() => e(u)?.id || c, [u, c]), g = D.get(d) ?? d, _ = t() != null, v = h.useMemo(() => g === "tooltip" || d === "label" ? s : {
180
+ function O(e, n = {}) {
181
+ let r = "rootStore" in e ? e.rootStore : e, i = r.useState("open"), a = r.useState("floatingId"), c = r.useState("domReferenceElement"), l = r.useState("floatingElement"), { role: u = "dialog" } = n, d = o(), f = c?.id || d, p = h.useMemo(() => m(l)?.id || a, [l, a]), g = D.get(u) ?? u, _ = t() != null, v = h.useMemo(() => g === "tooltip" || u === "label" ? s : {
182
182
  "aria-haspopup": g === "alertdialog" ? "dialog" : g,
183
183
  "aria-expanded": "false",
184
184
  ...g === "listbox" && { role: "combobox" },
185
185
  ...g === "menu" && _ && { role: "menuitem" },
186
- ...d === "select" && { "aria-autocomplete": "none" },
187
- ...d === "combobox" && { "aria-autocomplete": "list" }
186
+ ...u === "select" && { "aria-autocomplete": "none" },
187
+ ...u === "combobox" && { "aria-autocomplete": "list" }
188
188
  }, [
189
189
  g,
190
190
  _,
191
- d
192
- ]), y = h.useMemo(() => g === "tooltip" || d === "label" ? { [`aria-${d === "label" ? "labelledby" : "describedby"}`]: o ? m : void 0 } : {
191
+ u
192
+ ]), y = h.useMemo(() => g === "tooltip" || u === "label" ? { [`aria-${u === "label" ? "labelledby" : "describedby"}`]: i ? p : void 0 } : {
193
193
  ...v,
194
- "aria-expanded": o ? "true" : "false",
195
- "aria-controls": o ? m : void 0,
196
- ...g === "menu" && { id: p }
194
+ "aria-expanded": i ? "true" : "false",
195
+ "aria-controls": i ? p : void 0,
196
+ ...g === "menu" && { id: f }
197
197
  }, [
198
198
  g,
199
- m,
200
- o,
201
199
  p,
202
- d,
200
+ i,
201
+ f,
202
+ u,
203
203
  v
204
204
  ]), b = h.useMemo(() => {
205
205
  let e = {
206
- id: m,
206
+ id: p,
207
207
  ...g && { role: g }
208
208
  };
209
- return g === "tooltip" || d === "label" ? e : {
209
+ return g === "tooltip" || u === "label" ? e : {
210
210
  ...e,
211
- ...g === "menu" && { "aria-labelledby": p }
211
+ ...g === "menu" && { "aria-labelledby": f }
212
212
  };
213
213
  }, [
214
214
  g,
215
- m,
216
215
  p,
217
- d
216
+ f,
217
+ u
218
218
  ]), x = h.useCallback(({ active: e, selected: t }) => {
219
219
  let n = {
220
220
  role: "option",
221
- ...e && { id: `${m}-fui-option` }
221
+ ...e && { id: `${p}-fui-option` }
222
222
  };
223
- switch (d) {
223
+ switch (u) {
224
224
  case "select":
225
225
  case "combobox": return {
226
226
  ...n,
@@ -228,7 +228,7 @@ function O(n, r = {}) {
228
228
  };
229
229
  }
230
230
  return {};
231
- }, [m, d]);
231
+ }, [p, u]);
232
232
  return h.useMemo(() => ({
233
233
  reference: y,
234
234
  floating: b,
@@ -246,7 +246,7 @@ function O(n, r = {}) {
246
246
  function k({ className: e, ...t }) {
247
247
  return /* @__PURE__ */ _("label", {
248
248
  "data-slot": "label",
249
- className: c("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
249
+ className: n("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
250
250
  ...t
251
251
  });
252
252
  }
@@ -255,11 +255,11 @@ function k({ className: e, ...t }) {
255
255
  function A({ className: e, ...t }) {
256
256
  return /* @__PURE__ */ _("div", {
257
257
  "data-slot": "field-group",
258
- className: c("group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4", e),
258
+ className: n("group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4", e),
259
259
  ...t
260
260
  });
261
261
  }
262
- var j = p("group/field flex w-full gap-2 data-[invalid=true]:text-destructive", {
262
+ var j = r("group/field flex w-full gap-2 data-[invalid=true]:text-destructive", {
263
263
  variants: { orientation: {
264
264
  vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
265
265
  horizontal: "flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
@@ -267,45 +267,45 @@ var j = p("group/field flex w-full gap-2 data-[invalid=true]:text-destructive",
267
267
  } },
268
268
  defaultVariants: { orientation: "vertical" }
269
269
  });
270
- function M({ className: e, orientation: t = "vertical", ...n }) {
270
+ function M({ className: e, orientation: t = "vertical", ...r }) {
271
271
  return /* @__PURE__ */ _("div", {
272
272
  role: "group",
273
273
  "data-slot": "field",
274
274
  "data-orientation": t,
275
- className: c(j({ orientation: t }), e),
276
- ...n
275
+ className: n(j({ orientation: t }), e),
276
+ ...r
277
277
  });
278
278
  }
279
279
  function N({ className: e, ...t }) {
280
280
  return /* @__PURE__ */ _(k, {
281
281
  "data-slot": "field-label",
282
- className: c("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", e),
282
+ className: n("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", e),
283
283
  ...t
284
284
  });
285
285
  }
286
286
  function P({ className: e, ...t }) {
287
287
  return /* @__PURE__ */ _("p", {
288
288
  "data-slot": "field-description",
289
- className: c("text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5", "last:mt-0 nth-last-2:-mt-1", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
289
+ className: n("text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5", "last:mt-0 nth-last-2:-mt-1", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
290
290
  ...t
291
291
  });
292
292
  }
293
- function F({ className: e, children: t, errors: n, ...r }) {
294
- let i = g(() => {
293
+ function F({ className: e, children: t, errors: r, ...i }) {
294
+ let a = g(() => {
295
295
  if (t) return t;
296
- if (!n?.length) return null;
297
- let e = [...new Map(n.map((e) => [e?.message, e])).values()];
296
+ if (!r?.length) return null;
297
+ let e = [...new Map(r.map((e) => [e?.message, e])).values()];
298
298
  return e?.length == 1 ? e[0]?.message : /* @__PURE__ */ _("ul", {
299
299
  className: "ml-4 flex list-disc flex-col gap-1",
300
300
  children: e.map((e, t) => e?.message && /* @__PURE__ */ _("li", { children: e.message }, t))
301
301
  });
302
- }, [t, n]);
303
- return i ? /* @__PURE__ */ _("div", {
302
+ }, [t, r]);
303
+ return a ? /* @__PURE__ */ _("div", {
304
304
  role: "alert",
305
305
  "data-slot": "field-error",
306
- className: c("text-sm font-normal text-destructive", e),
307
- ...r,
308
- children: i
306
+ className: n("text-sm font-normal text-destructive", e),
307
+ ...i,
308
+ children: a
309
309
  }) : null;
310
310
  }
311
311
  //#endregion
@@ -1,3 +1,3 @@
1
- import type { ChangeOperation, GraphEdge, GraphTarget, RevisionContent } from './project-change.js';
1
+ import type { ChangeOperation, GraphEdge, GraphTarget, RevisionContent } from './flow-change.js';
2
2
  export declare function connect(content: RevisionContent, target: GraphTarget, edge: GraphEdge): readonly ChangeOperation[];
3
3
  export declare function disconnect(content: RevisionContent, target: GraphTarget, edge: GraphEdge): readonly ChangeOperation[];
@@ -1,4 +1,4 @@
1
- import type { ChangeOperation } from './project-change.js';
1
+ import type { ChangeOperation } from './flow-change.js';
2
2
  export declare function imports(source: string): Promise<readonly string[]>;
3
3
  export declare function replaceSource(moduleId: string, source: string, moduleImports: readonly string[]): readonly ChangeOperation[];
4
4
  export declare function rename(moduleId: string, name: string): readonly ChangeOperation[];
@@ -1,4 +1,4 @@
1
- import type { ChangeOperation, CodeModule, GraphTarget, JsonValue, PortDefinition, RevisionContent, TaskDefinition, TriggerKeySnapshot, TriggerNode, TriggerSchedule, WebhookOptions } from './project-change.js';
1
+ import type { ChangeOperation, CodeModule, GraphTarget, JsonValue, PortDefinition, RevisionContent, TaskDefinition, TriggerKeySnapshot, TriggerNode, TriggerSchedule, WebhookOptions } from './flow-change.js';
2
2
  export interface Settings {
3
3
  readonly concurrency: number;
4
4
  readonly name?: string;
@@ -48,16 +48,14 @@ export declare function createLlmTask(target: GraphTarget, identity: {
48
48
  }, name: string, mode: 'chat' | 'json', outputDescription: string, options?: LlmTaskOptions): readonly ChangeOperation[];
49
49
  export declare function createCondition(target: GraphTarget, nodeId: string, name: string): readonly ChangeOperation[];
50
50
  export declare function createValue(target: GraphTarget, nodeId: string, name: string): readonly ChangeOperation[];
51
- export declare function createBuiltinTrigger(target: {
52
- readonly id: string;
51
+ export declare function createBuiltinTrigger(target: Extract<GraphTarget, {
53
52
  readonly kind: 'flow';
54
- }, nodeId: string, node: Extract<TriggerNode, {
53
+ }>, nodeId: string, node: Extract<TriggerNode, {
55
54
  readonly kind: 'cron' | 'webhook';
56
55
  }>): readonly ChangeOperation[];
57
- export declare function createProviderTrigger(target: {
58
- readonly id: string;
56
+ export declare function createProviderTrigger(target: Extract<GraphTarget, {
59
57
  readonly kind: 'flow';
60
- }, identity: {
58
+ }>, identity: {
61
59
  readonly bindingId: string;
62
60
  readonly nodeId: string;
63
61
  }, definition: TriggerKeySnapshot, options: {
@@ -72,19 +70,15 @@ export declare function setInputValue(content: RevisionContent, target: GraphTar
72
70
  export declare function setInputValues(content: RevisionContent, target: GraphTarget, nodeId: string, values: Readonly<Record<string, JsonValue | undefined>>): readonly ChangeOperation[] | undefined;
73
71
  export declare function setConnectorConnection(content: RevisionContent, taskId: string, connectionId: string): readonly ChangeOperation[] | undefined;
74
72
  export declare function updateTrigger(content: RevisionContent, target: {
75
- readonly id: string;
76
73
  readonly kind: 'flow';
77
74
  }, nodeId: string, settings: TriggerSettings): readonly ChangeOperation[] | undefined;
78
75
  export declare function updateTriggerConfig(content: RevisionContent, target: {
79
- readonly id: string;
80
76
  readonly kind: 'flow';
81
77
  }, nodeId: string, name: string, value: JsonValue | undefined): readonly ChangeOperation[] | undefined;
82
78
  export declare function updateTriggerSchedule(content: RevisionContent, target: {
83
- readonly id: string;
84
79
  readonly kind: 'flow';
85
80
  }, nodeId: string, schedule: readonly TriggerSchedule[]): readonly ChangeOperation[] | undefined;
86
- export declare function setTriggerConnection(content: RevisionContent, target: {
87
- readonly id: string;
81
+ export declare function setTriggerConnection(content: RevisionContent, _target: {
88
82
  readonly kind: 'flow';
89
83
  }, nodeId: string, connectionId: string): readonly ChangeOperation[] | undefined;
90
84
  export {};
@@ -0,0 +1,3 @@
1
+ export { connect, disconnect } from './flow-authoring-edge.js';
2
+ export { imports as moduleImports, rename as renameModule, replaceSource as replaceModuleSource } from './flow-authoring-module.js';
3
+ export { createBuiltinTrigger, createCodeTask, createCondition, createLlmTask, createManagedTask, createProviderTrigger, createValue, deleteNodes, setConnectorConnection, setInputValues, setTriggerConnection, updateSettings, updateTrigger, } from './flow-authoring-node.js';