@particle-academy/fancy-flow 0.57.0 → 0.58.0
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/{HumanPrompt-DlJSFi3F.d.ts → HumanPrompt-Bw09OyS3.d.ts} +1 -1
- package/dist/{HumanPrompt-CPl-Spmp.d.cts → HumanPrompt-DV5-xnDa.d.cts} +1 -1
- package/dist/{chunk-45SSUYW7.js → chunk-A3TLZS5B.js} +3 -3
- package/dist/{chunk-45SSUYW7.js.map → chunk-A3TLZS5B.js.map} +1 -1
- package/dist/{chunk-E3XNFOLI.js → chunk-FGYG5JVW.js} +3 -3
- package/dist/{chunk-E3XNFOLI.js.map → chunk-FGYG5JVW.js.map} +1 -1
- package/dist/{chunk-LTUOAFQA.js → chunk-HBE4LVPX.js} +29 -2
- package/dist/chunk-HBE4LVPX.js.map +1 -0
- package/dist/{chunk-4X3DPRVD.js → chunk-LGLOBK6Q.js} +3 -3
- package/dist/{chunk-4X3DPRVD.js.map → chunk-LGLOBK6Q.js.map} +1 -1
- package/dist/{chunk-LUXQXJ4R.js → chunk-M7M6GLFV.js} +3 -3
- package/dist/{chunk-LUXQXJ4R.js.map → chunk-M7M6GLFV.js.map} +1 -1
- package/dist/{chunk-UBXRIK5R.js → chunk-MX4SJDNI.js} +4 -4
- package/dist/{chunk-UBXRIK5R.js.map → chunk-MX4SJDNI.js.map} +1 -1
- package/dist/connectors.d.cts +1 -1
- package/dist/connectors.d.ts +1 -1
- package/dist/durable.cjs +27 -0
- package/dist/durable.cjs.map +1 -1
- package/dist/durable.js +1 -1
- package/dist/engine.cjs +27 -0
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.d.cts +2 -2
- package/dist/engine.d.ts +2 -2
- package/dist/engine.js +3 -3
- package/dist/fields/react-fancy.d.cts +2 -2
- package/dist/fields/react-fancy.d.ts +2 -2
- package/dist/index.cjs +27 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/registry/index.d.cts +3 -3
- package/dist/registry/index.d.ts +3 -3
- package/dist/{registry-C6TMfiD_.d.cts → registry-1qhmRtvC.d.cts} +1 -1
- package/dist/{registry-3RkSYrMi.d.ts → registry-D2qocEsY.d.ts} +1 -1
- package/dist/registry.cjs +27 -0
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +2 -2
- package/dist/runtime.cjs +27 -0
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.js +3 -3
- package/dist/schema.cjs +27 -0
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js +2 -2
- package/dist/screens.cjs +27 -0
- package/dist/screens.cjs.map +1 -1
- package/dist/screens.js +4 -4
- package/dist/{types-3sPauVRT.d.cts → types-BLVpNNLN.d.cts} +40 -1
- package/dist/{types-s643U1Hi.d.ts → types-CLSUZW8c.d.ts} +40 -1
- package/dist/ux.cjs +27 -0
- package/dist/ux.cjs.map +1 -1
- package/dist/ux.d.cts +1 -1
- package/dist/ux.d.ts +1 -1
- package/dist/ux.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-LTUOAFQA.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NodeKindDefinition, P as PortSpec } from '../types-
|
|
2
|
-
export { C as ConfigField, k as CredentialConfigField, D as DocumentConfigField, E as ExpressionConfigField, J as JsonConfigField, K as KeyValueConfigField, a as NodeCategory,
|
|
1
|
+
import { N as NodeKindDefinition, P as PortSpec } from '../types-BLVpNNLN.cjs';
|
|
2
|
+
export { C as ConfigField, k as CredentialConfigField, D as DocumentConfigField, E as EmitsRelation, l as ExpressionConfigField, J as JsonConfigField, K as KeyValueConfigField, a as NodeCategory, m as NumberConfigField, R as RenderBodyContext, n as RepeaterConfigField, o as RepeaterRowField, p as SelectConfigField, q as SwitchConfigField, T as TextConfigField, r as TextareaConfigField } from '../types-BLVpNNLN.cjs';
|
|
3
3
|
import { P as PortDescriptor, a as FlowNode, N as NodeExecutor } from '../types-JFYjPJAG.cjs';
|
|
4
4
|
import { Connection, Edge, NodeProps, NodeTypes } from '@xyflow/react';
|
|
5
5
|
import { b as LlmRoute } from '../capabilities-BYa5p5jw.cjs';
|
|
@@ -7,7 +7,7 @@ export { C as CapabilityId, L as LlmClient, c as LlmRouteChoice, a as LlmRouteRe
|
|
|
7
7
|
export { L as LEGACY_PAUSE_PREFIXES, a as PAUSE_PREFIX, P as PauseAwaiting, b as PauseSignal, d as decodePause, e as encodePause, i as isPause, p as pauseForHuman } from '../pause-9iT4tCEV.cjs';
|
|
8
8
|
import * as react from 'react';
|
|
9
9
|
import { ComponentType, ReactNode } from 'react';
|
|
10
|
-
export { N as NodeKindPresentation, c as categoryAccent, b as clearNodeKindOverrides, d as defaultConfigFor, e as ensureBuiltinKinds, g as getNodeKind, k as kindIds, l as listNodeKinds, o as onNodeKindsChanged, f as overrideNodeKind, r as registerNodeKind, a as resolveKindId, v as validateConfig } from '../registry-
|
|
10
|
+
export { N as NodeKindPresentation, c as categoryAccent, b as clearNodeKindOverrides, d as defaultConfigFor, e as ensureBuiltinKinds, g as getNodeKind, k as kindIds, l as listNodeKinds, o as onNodeKindsChanged, f as overrideNodeKind, r as registerNodeKind, a as resolveKindId, v as validateConfig } from '../registry-1qhmRtvC.cjs';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Connection validation — the single rule that decides whether an edge between
|
package/dist/registry/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NodeKindDefinition, P as PortSpec } from '../types-
|
|
2
|
-
export { C as ConfigField, k as CredentialConfigField, D as DocumentConfigField, E as ExpressionConfigField, J as JsonConfigField, K as KeyValueConfigField, a as NodeCategory,
|
|
1
|
+
import { N as NodeKindDefinition, P as PortSpec } from '../types-CLSUZW8c.js';
|
|
2
|
+
export { C as ConfigField, k as CredentialConfigField, D as DocumentConfigField, E as EmitsRelation, l as ExpressionConfigField, J as JsonConfigField, K as KeyValueConfigField, a as NodeCategory, m as NumberConfigField, R as RenderBodyContext, n as RepeaterConfigField, o as RepeaterRowField, p as SelectConfigField, q as SwitchConfigField, T as TextConfigField, r as TextareaConfigField } from '../types-CLSUZW8c.js';
|
|
3
3
|
import { P as PortDescriptor, a as FlowNode, N as NodeExecutor } from '../types-JFYjPJAG.js';
|
|
4
4
|
import { Connection, Edge, NodeProps, NodeTypes } from '@xyflow/react';
|
|
5
5
|
import { b as LlmRoute } from '../capabilities-COOXRiNL.js';
|
|
@@ -7,7 +7,7 @@ export { C as CapabilityId, L as LlmClient, c as LlmRouteChoice, a as LlmRouteRe
|
|
|
7
7
|
export { L as LEGACY_PAUSE_PREFIXES, a as PAUSE_PREFIX, P as PauseAwaiting, b as PauseSignal, d as decodePause, e as encodePause, i as isPause, p as pauseForHuman } from '../pause-9iT4tCEV.js';
|
|
8
8
|
import * as react from 'react';
|
|
9
9
|
import { ComponentType, ReactNode } from 'react';
|
|
10
|
-
export { N as NodeKindPresentation, c as categoryAccent, b as clearNodeKindOverrides, d as defaultConfigFor, e as ensureBuiltinKinds, g as getNodeKind, k as kindIds, l as listNodeKinds, o as onNodeKindsChanged, f as overrideNodeKind, r as registerNodeKind, a as resolveKindId, v as validateConfig } from '../registry-
|
|
10
|
+
export { N as NodeKindPresentation, c as categoryAccent, b as clearNodeKindOverrides, d as defaultConfigFor, e as ensureBuiltinKinds, g as getNodeKind, k as kindIds, l as listNodeKinds, o as onNodeKindsChanged, f as overrideNodeKind, r as registerNodeKind, a as resolveKindId, v as validateConfig } from '../registry-D2qocEsY.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Connection validation — the single rule that decides whether an edge between
|
package/dist/registry.cjs
CHANGED
|
@@ -9835,6 +9835,8 @@ var KINDS = [
|
|
|
9835
9835
|
// ───────────── Triggers ─────────────
|
|
9836
9836
|
{
|
|
9837
9837
|
name: "@particle-academy/manual_trigger",
|
|
9838
|
+
// returns the inputs it was started with
|
|
9839
|
+
emits: "input",
|
|
9838
9840
|
aliases: ["manual_trigger", "@fancy/manual_trigger"],
|
|
9839
9841
|
category: "trigger",
|
|
9840
9842
|
label: "Manual",
|
|
@@ -9863,6 +9865,12 @@ var KINDS = [
|
|
|
9863
9865
|
},
|
|
9864
9866
|
{
|
|
9865
9867
|
name: "@particle-academy/schedule_trigger",
|
|
9868
|
+
outputShape: [
|
|
9869
|
+
{ path: "cron", type: "string", description: "The cron expression that fired." },
|
|
9870
|
+
{ path: "timezone", type: "string", description: "The timezone it was evaluated in." }
|
|
9871
|
+
],
|
|
9872
|
+
// merges its inputs into the TOP level beside cron/timezone
|
|
9873
|
+
emits: "inputs-merged",
|
|
9866
9874
|
aliases: ["schedule_trigger", "@fancy/schedule_trigger"],
|
|
9867
9875
|
category: "trigger",
|
|
9868
9876
|
label: "Schedule",
|
|
@@ -10050,6 +10058,8 @@ var KINDS = [
|
|
|
10050
10058
|
// ───────────── Logic ─────────────
|
|
10051
10059
|
{
|
|
10052
10060
|
name: "@particle-academy/branch",
|
|
10061
|
+
// returns its input on the chosen port
|
|
10062
|
+
emits: "input",
|
|
10053
10063
|
aliases: ["branch", "@fancy/branch"],
|
|
10054
10064
|
category: "logic",
|
|
10055
10065
|
label: "Branch",
|
|
@@ -10113,6 +10123,8 @@ var KINDS = [
|
|
|
10113
10123
|
},
|
|
10114
10124
|
{
|
|
10115
10125
|
name: "@particle-academy/switch_case",
|
|
10126
|
+
// returns its input on the chosen port
|
|
10127
|
+
emits: "input",
|
|
10116
10128
|
aliases: ["switch_case", "@fancy/switch_case"],
|
|
10117
10129
|
category: "logic",
|
|
10118
10130
|
label: "Switch",
|
|
@@ -10159,6 +10171,12 @@ var KINDS = [
|
|
|
10159
10171
|
},
|
|
10160
10172
|
{
|
|
10161
10173
|
name: "@particle-academy/merge",
|
|
10174
|
+
// `merge` mode unions every object input at the TOP level; `concat` builds
|
|
10175
|
+
// a list instead, whose elements are not addressable as fields. So concat
|
|
10176
|
+
// declares NOTHING rather than an empty list -- `[]` would claim "emits no
|
|
10177
|
+
// fields" of a kind that emits a list, which is false and refuses every
|
|
10178
|
+
// reference.
|
|
10179
|
+
emits: (config) => (config?.mode ?? "merge") === "concat" ? null : "inputs-merged",
|
|
10162
10180
|
aliases: ["merge", "@fancy/merge"],
|
|
10163
10181
|
category: "logic",
|
|
10164
10182
|
label: "Merge",
|
|
@@ -10201,6 +10219,9 @@ var KINDS = [
|
|
|
10201
10219
|
},
|
|
10202
10220
|
{
|
|
10203
10221
|
name: "@particle-academy/transform",
|
|
10222
|
+
// Two behaviours: the input unchanged when no expression is configured,
|
|
10223
|
+
// else the shape that expression names. So the RELATION is config-dependent.
|
|
10224
|
+
emits: (config) => (config?.expression ?? "") === "" ? "input" : "expression:expression",
|
|
10204
10225
|
aliases: ["transform", "@fancy/transform"],
|
|
10205
10226
|
category: "logic",
|
|
10206
10227
|
label: "Transform",
|
|
@@ -10300,6 +10321,8 @@ var KINDS = [
|
|
|
10300
10321
|
},
|
|
10301
10322
|
{
|
|
10302
10323
|
name: "@particle-academy/variable",
|
|
10324
|
+
// evaluates the expression in config.value
|
|
10325
|
+
emits: "expression:value",
|
|
10303
10326
|
aliases: ["variable", "@fancy/variable"],
|
|
10304
10327
|
category: "data",
|
|
10305
10328
|
label: "Variable",
|
|
@@ -10549,6 +10572,8 @@ var KINDS = [
|
|
|
10549
10572
|
// ───────────── Human ─────────────
|
|
10550
10573
|
{
|
|
10551
10574
|
name: "@particle-academy/human_approval",
|
|
10575
|
+
// returns its input on approved/denied
|
|
10576
|
+
emits: "input",
|
|
10552
10577
|
aliases: ["human_approval", "@fancy/human_approval"],
|
|
10553
10578
|
pausesForHuman: "approval",
|
|
10554
10579
|
category: "human",
|
|
@@ -10596,6 +10621,8 @@ var KINDS = [
|
|
|
10596
10621
|
// ───────────── Output ─────────────
|
|
10597
10622
|
{
|
|
10598
10623
|
name: "@particle-academy/output",
|
|
10624
|
+
// returns its input unchanged
|
|
10625
|
+
emits: "input",
|
|
10599
10626
|
aliases: ["output", "@fancy/output"],
|
|
10600
10627
|
category: "output",
|
|
10601
10628
|
label: "Output",
|