@particle-academy/fancy-flow 0.56.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-KP4TBF3A.js → chunk-A3TLZS5B.js} +3 -3
- package/dist/{chunk-KP4TBF3A.js.map → chunk-A3TLZS5B.js.map} +1 -1
- package/dist/{chunk-GB4A7DFM.js → chunk-FGYG5JVW.js} +3 -3
- package/dist/{chunk-GB4A7DFM.js.map → chunk-FGYG5JVW.js.map} +1 -1
- package/dist/{chunk-22OJOD4X.js → chunk-HBE4LVPX.js} +54 -2
- package/dist/chunk-HBE4LVPX.js.map +1 -0
- package/dist/{chunk-L4QAAGLV.js → chunk-LGLOBK6Q.js} +3 -3
- package/dist/{chunk-L4QAAGLV.js.map → chunk-LGLOBK6Q.js.map} +1 -1
- package/dist/{chunk-E3AGYTHP.js → chunk-M7M6GLFV.js} +3 -3
- package/dist/{chunk-E3AGYTHP.js.map → chunk-M7M6GLFV.js.map} +1 -1
- package/dist/{chunk-HMEI2LFU.js → chunk-MX4SJDNI.js} +4 -4
- package/dist/{chunk-HMEI2LFU.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 +52 -0
- package/dist/durable.cjs.map +1 -1
- package/dist/durable.js +1 -1
- package/dist/engine.cjs +52 -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 +52 -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 +52 -0
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +2 -2
- package/dist/runtime.cjs +52 -0
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.js +3 -3
- package/dist/schema.cjs +52 -0
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js +2 -2
- package/dist/screens.cjs +52 -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 +52 -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-22OJOD4X.js.map +0 -1
package/dist/schema.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { WORKFLOW_SCHEMA_URL, WORKFLOW_SCHEMA_VERSION, exportWorkflow, importWorkflow, migrateSchema, workflowToBlob } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { WORKFLOW_SCHEMA_URL, WORKFLOW_SCHEMA_VERSION, exportWorkflow, importWorkflow, migrateSchema, workflowToBlob } from './chunk-FGYG5JVW.js';
|
|
2
|
+
import './chunk-HBE4LVPX.js';
|
|
3
3
|
import './chunk-F5RPRB7A.js';
|
|
4
4
|
import './chunk-USL4FMFU.js';
|
|
5
5
|
//# sourceMappingURL=schema.js.map
|
package/dist/screens.cjs
CHANGED
|
@@ -9878,6 +9878,8 @@ var KINDS = [
|
|
|
9878
9878
|
// ───────────── Triggers ─────────────
|
|
9879
9879
|
{
|
|
9880
9880
|
name: "@particle-academy/manual_trigger",
|
|
9881
|
+
// returns the inputs it was started with
|
|
9882
|
+
emits: "input",
|
|
9881
9883
|
aliases: ["manual_trigger", "@fancy/manual_trigger"],
|
|
9882
9884
|
category: "trigger",
|
|
9883
9885
|
label: "Manual",
|
|
@@ -9906,6 +9908,12 @@ var KINDS = [
|
|
|
9906
9908
|
},
|
|
9907
9909
|
{
|
|
9908
9910
|
name: "@particle-academy/schedule_trigger",
|
|
9911
|
+
outputShape: [
|
|
9912
|
+
{ path: "cron", type: "string", description: "The cron expression that fired." },
|
|
9913
|
+
{ path: "timezone", type: "string", description: "The timezone it was evaluated in." }
|
|
9914
|
+
],
|
|
9915
|
+
// merges its inputs into the TOP level beside cron/timezone
|
|
9916
|
+
emits: "inputs-merged",
|
|
9909
9917
|
aliases: ["schedule_trigger", "@fancy/schedule_trigger"],
|
|
9910
9918
|
category: "trigger",
|
|
9911
9919
|
label: "Schedule",
|
|
@@ -10093,6 +10101,8 @@ var KINDS = [
|
|
|
10093
10101
|
// ───────────── Logic ─────────────
|
|
10094
10102
|
{
|
|
10095
10103
|
name: "@particle-academy/branch",
|
|
10104
|
+
// returns its input on the chosen port
|
|
10105
|
+
emits: "input",
|
|
10096
10106
|
aliases: ["branch", "@fancy/branch"],
|
|
10097
10107
|
category: "logic",
|
|
10098
10108
|
label: "Branch",
|
|
@@ -10156,6 +10166,8 @@ var KINDS = [
|
|
|
10156
10166
|
},
|
|
10157
10167
|
{
|
|
10158
10168
|
name: "@particle-academy/switch_case",
|
|
10169
|
+
// returns its input on the chosen port
|
|
10170
|
+
emits: "input",
|
|
10159
10171
|
aliases: ["switch_case", "@fancy/switch_case"],
|
|
10160
10172
|
category: "logic",
|
|
10161
10173
|
label: "Switch",
|
|
@@ -10202,6 +10214,12 @@ var KINDS = [
|
|
|
10202
10214
|
},
|
|
10203
10215
|
{
|
|
10204
10216
|
name: "@particle-academy/merge",
|
|
10217
|
+
// `merge` mode unions every object input at the TOP level; `concat` builds
|
|
10218
|
+
// a list instead, whose elements are not addressable as fields. So concat
|
|
10219
|
+
// declares NOTHING rather than an empty list -- `[]` would claim "emits no
|
|
10220
|
+
// fields" of a kind that emits a list, which is false and refuses every
|
|
10221
|
+
// reference.
|
|
10222
|
+
emits: (config) => (config?.mode ?? "merge") === "concat" ? null : "inputs-merged",
|
|
10205
10223
|
aliases: ["merge", "@fancy/merge"],
|
|
10206
10224
|
category: "logic",
|
|
10207
10225
|
label: "Merge",
|
|
@@ -10221,6 +10239,11 @@ var KINDS = [
|
|
|
10221
10239
|
},
|
|
10222
10240
|
{
|
|
10223
10241
|
name: "@particle-academy/wait",
|
|
10242
|
+
outputShape: [
|
|
10243
|
+
{ path: "waited", type: "string", description: "Which wait mode ran." },
|
|
10244
|
+
{ path: "duration", type: "number", description: "How long it waited." },
|
|
10245
|
+
{ path: "input", type: "unknown", description: "The value that arrived, carried forward." }
|
|
10246
|
+
],
|
|
10224
10247
|
aliases: ["wait", "@fancy/wait"],
|
|
10225
10248
|
category: "logic",
|
|
10226
10249
|
label: "Wait",
|
|
@@ -10239,6 +10262,9 @@ var KINDS = [
|
|
|
10239
10262
|
},
|
|
10240
10263
|
{
|
|
10241
10264
|
name: "@particle-academy/transform",
|
|
10265
|
+
// Two behaviours: the input unchanged when no expression is configured,
|
|
10266
|
+
// else the shape that expression names. So the RELATION is config-dependent.
|
|
10267
|
+
emits: (config) => (config?.expression ?? "") === "" ? "input" : "expression:expression",
|
|
10242
10268
|
aliases: ["transform", "@fancy/transform"],
|
|
10243
10269
|
category: "logic",
|
|
10244
10270
|
label: "Transform",
|
|
@@ -10338,6 +10364,8 @@ var KINDS = [
|
|
|
10338
10364
|
},
|
|
10339
10365
|
{
|
|
10340
10366
|
name: "@particle-academy/variable",
|
|
10367
|
+
// evaluates the expression in config.value
|
|
10368
|
+
emits: "expression:value",
|
|
10341
10369
|
aliases: ["variable", "@fancy/variable"],
|
|
10342
10370
|
category: "data",
|
|
10343
10371
|
label: "Variable",
|
|
@@ -10418,6 +10446,11 @@ var KINDS = [
|
|
|
10418
10446
|
},
|
|
10419
10447
|
{
|
|
10420
10448
|
name: "@particle-academy/llm_router",
|
|
10449
|
+
outputShape: [
|
|
10450
|
+
{ path: "route", type: "string", description: "The port the model chose." },
|
|
10451
|
+
{ path: "reason", type: "string", description: "Why the model chose it." },
|
|
10452
|
+
{ path: "input", type: "unknown", description: "The value that arrived, carried forward." }
|
|
10453
|
+
],
|
|
10421
10454
|
// Every id this node has ever shipped under keeps resolving — MOIC's saved
|
|
10422
10455
|
// flows carry the bare `llm_branch`.
|
|
10423
10456
|
aliases: ["llm_router", "llm_branch", "@fancy/llm_branch", "@fancy/llm_router"],
|
|
@@ -10556,6 +10589,11 @@ var KINDS = [
|
|
|
10556
10589
|
},
|
|
10557
10590
|
{
|
|
10558
10591
|
name: "@particle-academy/webhook_out",
|
|
10592
|
+
outputShape: [
|
|
10593
|
+
{ path: "sent", type: "boolean", description: "True once the request was made." },
|
|
10594
|
+
{ path: "status", type: "number", description: "HTTP status, when the transport reported one." },
|
|
10595
|
+
{ path: "response", type: "unknown", description: "The response body, when there was one." }
|
|
10596
|
+
],
|
|
10559
10597
|
aliases: ["webhook_out", "@fancy/webhook_out"],
|
|
10560
10598
|
category: "io",
|
|
10561
10599
|
label: "Send Webhook",
|
|
@@ -10577,6 +10615,8 @@ var KINDS = [
|
|
|
10577
10615
|
// ───────────── Human ─────────────
|
|
10578
10616
|
{
|
|
10579
10617
|
name: "@particle-academy/human_approval",
|
|
10618
|
+
// returns its input on approved/denied
|
|
10619
|
+
emits: "input",
|
|
10580
10620
|
aliases: ["human_approval", "@fancy/human_approval"],
|
|
10581
10621
|
pausesForHuman: "approval",
|
|
10582
10622
|
category: "human",
|
|
@@ -10593,6 +10633,12 @@ var KINDS = [
|
|
|
10593
10633
|
},
|
|
10594
10634
|
{
|
|
10595
10635
|
name: "@particle-academy/notify",
|
|
10636
|
+
outputShape: [
|
|
10637
|
+
{ path: "sent", type: "boolean", description: "True once the message was handed to the channel." },
|
|
10638
|
+
{ path: "channel", type: "string", description: "The channel it went to." },
|
|
10639
|
+
{ path: "to", type: "string", description: "The recipient." },
|
|
10640
|
+
{ path: "message", type: "string", description: "The rendered message." }
|
|
10641
|
+
],
|
|
10596
10642
|
aliases: ["notify", "@fancy/notify"],
|
|
10597
10643
|
category: "human",
|
|
10598
10644
|
label: "Notify",
|
|
@@ -10618,6 +10664,8 @@ var KINDS = [
|
|
|
10618
10664
|
// ───────────── Output ─────────────
|
|
10619
10665
|
{
|
|
10620
10666
|
name: "@particle-academy/output",
|
|
10667
|
+
// returns its input unchanged
|
|
10668
|
+
emits: "input",
|
|
10621
10669
|
aliases: ["output", "@fancy/output"],
|
|
10622
10670
|
category: "output",
|
|
10623
10671
|
label: "Output",
|
|
@@ -10628,6 +10676,10 @@ var KINDS = [
|
|
|
10628
10676
|
},
|
|
10629
10677
|
{
|
|
10630
10678
|
name: "@particle-academy/log",
|
|
10679
|
+
outputShape: [
|
|
10680
|
+
{ path: "logged", type: "string", description: "The message that was written." },
|
|
10681
|
+
{ path: "level", type: "string", description: "The level it was written at." }
|
|
10682
|
+
],
|
|
10631
10683
|
aliases: ["log", "@fancy/log"],
|
|
10632
10684
|
category: "output",
|
|
10633
10685
|
label: "Log",
|