@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/runtime.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { applyOutputsToNodes, applyStatusesToNodes, createHistory, useFlowHistory, useFlowRun, useFlowState } from './chunk-
|
|
2
|
-
export { runCohort } from './chunk-
|
|
3
|
-
export { RunIdentity, escapeSegment, runFlow } from './chunk-
|
|
1
|
+
export { applyOutputsToNodes, applyStatusesToNodes, createHistory, useFlowHistory, useFlowRun, useFlowState } from './chunk-LGLOBK6Q.js';
|
|
2
|
+
export { runCohort } from './chunk-A3TLZS5B.js';
|
|
3
|
+
export { RunIdentity, escapeSegment, runFlow } from './chunk-HBE4LVPX.js';
|
|
4
4
|
import './chunk-F5RPRB7A.js';
|
|
5
5
|
import './chunk-USL4FMFU.js';
|
|
6
6
|
//# sourceMappingURL=runtime.js.map
|
package/dist/schema.cjs
CHANGED
|
@@ -9693,6 +9693,8 @@ var KINDS = [
|
|
|
9693
9693
|
// ───────────── Triggers ─────────────
|
|
9694
9694
|
{
|
|
9695
9695
|
name: "@particle-academy/manual_trigger",
|
|
9696
|
+
// returns the inputs it was started with
|
|
9697
|
+
emits: "input",
|
|
9696
9698
|
aliases: ["manual_trigger", "@fancy/manual_trigger"],
|
|
9697
9699
|
category: "trigger",
|
|
9698
9700
|
label: "Manual",
|
|
@@ -9721,6 +9723,12 @@ var KINDS = [
|
|
|
9721
9723
|
},
|
|
9722
9724
|
{
|
|
9723
9725
|
name: "@particle-academy/schedule_trigger",
|
|
9726
|
+
outputShape: [
|
|
9727
|
+
{ path: "cron", type: "string", description: "The cron expression that fired." },
|
|
9728
|
+
{ path: "timezone", type: "string", description: "The timezone it was evaluated in." }
|
|
9729
|
+
],
|
|
9730
|
+
// merges its inputs into the TOP level beside cron/timezone
|
|
9731
|
+
emits: "inputs-merged",
|
|
9724
9732
|
aliases: ["schedule_trigger", "@fancy/schedule_trigger"],
|
|
9725
9733
|
category: "trigger",
|
|
9726
9734
|
label: "Schedule",
|
|
@@ -9908,6 +9916,8 @@ var KINDS = [
|
|
|
9908
9916
|
// ───────────── Logic ─────────────
|
|
9909
9917
|
{
|
|
9910
9918
|
name: "@particle-academy/branch",
|
|
9919
|
+
// returns its input on the chosen port
|
|
9920
|
+
emits: "input",
|
|
9911
9921
|
aliases: ["branch", "@fancy/branch"],
|
|
9912
9922
|
category: "logic",
|
|
9913
9923
|
label: "Branch",
|
|
@@ -9971,6 +9981,8 @@ var KINDS = [
|
|
|
9971
9981
|
},
|
|
9972
9982
|
{
|
|
9973
9983
|
name: "@particle-academy/switch_case",
|
|
9984
|
+
// returns its input on the chosen port
|
|
9985
|
+
emits: "input",
|
|
9974
9986
|
aliases: ["switch_case", "@fancy/switch_case"],
|
|
9975
9987
|
category: "logic",
|
|
9976
9988
|
label: "Switch",
|
|
@@ -10017,6 +10029,12 @@ var KINDS = [
|
|
|
10017
10029
|
},
|
|
10018
10030
|
{
|
|
10019
10031
|
name: "@particle-academy/merge",
|
|
10032
|
+
// `merge` mode unions every object input at the TOP level; `concat` builds
|
|
10033
|
+
// a list instead, whose elements are not addressable as fields. So concat
|
|
10034
|
+
// declares NOTHING rather than an empty list -- `[]` would claim "emits no
|
|
10035
|
+
// fields" of a kind that emits a list, which is false and refuses every
|
|
10036
|
+
// reference.
|
|
10037
|
+
emits: (config) => (config?.mode ?? "merge") === "concat" ? null : "inputs-merged",
|
|
10020
10038
|
aliases: ["merge", "@fancy/merge"],
|
|
10021
10039
|
category: "logic",
|
|
10022
10040
|
label: "Merge",
|
|
@@ -10036,6 +10054,11 @@ var KINDS = [
|
|
|
10036
10054
|
},
|
|
10037
10055
|
{
|
|
10038
10056
|
name: "@particle-academy/wait",
|
|
10057
|
+
outputShape: [
|
|
10058
|
+
{ path: "waited", type: "string", description: "Which wait mode ran." },
|
|
10059
|
+
{ path: "duration", type: "number", description: "How long it waited." },
|
|
10060
|
+
{ path: "input", type: "unknown", description: "The value that arrived, carried forward." }
|
|
10061
|
+
],
|
|
10039
10062
|
aliases: ["wait", "@fancy/wait"],
|
|
10040
10063
|
category: "logic",
|
|
10041
10064
|
label: "Wait",
|
|
@@ -10054,6 +10077,9 @@ var KINDS = [
|
|
|
10054
10077
|
},
|
|
10055
10078
|
{
|
|
10056
10079
|
name: "@particle-academy/transform",
|
|
10080
|
+
// Two behaviours: the input unchanged when no expression is configured,
|
|
10081
|
+
// else the shape that expression names. So the RELATION is config-dependent.
|
|
10082
|
+
emits: (config) => (config?.expression ?? "") === "" ? "input" : "expression:expression",
|
|
10057
10083
|
aliases: ["transform", "@fancy/transform"],
|
|
10058
10084
|
category: "logic",
|
|
10059
10085
|
label: "Transform",
|
|
@@ -10153,6 +10179,8 @@ var KINDS = [
|
|
|
10153
10179
|
},
|
|
10154
10180
|
{
|
|
10155
10181
|
name: "@particle-academy/variable",
|
|
10182
|
+
// evaluates the expression in config.value
|
|
10183
|
+
emits: "expression:value",
|
|
10156
10184
|
aliases: ["variable", "@fancy/variable"],
|
|
10157
10185
|
category: "data",
|
|
10158
10186
|
label: "Variable",
|
|
@@ -10233,6 +10261,11 @@ var KINDS = [
|
|
|
10233
10261
|
},
|
|
10234
10262
|
{
|
|
10235
10263
|
name: "@particle-academy/llm_router",
|
|
10264
|
+
outputShape: [
|
|
10265
|
+
{ path: "route", type: "string", description: "The port the model chose." },
|
|
10266
|
+
{ path: "reason", type: "string", description: "Why the model chose it." },
|
|
10267
|
+
{ path: "input", type: "unknown", description: "The value that arrived, carried forward." }
|
|
10268
|
+
],
|
|
10236
10269
|
// Every id this node has ever shipped under keeps resolving — MOIC's saved
|
|
10237
10270
|
// flows carry the bare `llm_branch`.
|
|
10238
10271
|
aliases: ["llm_router", "llm_branch", "@fancy/llm_branch", "@fancy/llm_router"],
|
|
@@ -10371,6 +10404,11 @@ var KINDS = [
|
|
|
10371
10404
|
},
|
|
10372
10405
|
{
|
|
10373
10406
|
name: "@particle-academy/webhook_out",
|
|
10407
|
+
outputShape: [
|
|
10408
|
+
{ path: "sent", type: "boolean", description: "True once the request was made." },
|
|
10409
|
+
{ path: "status", type: "number", description: "HTTP status, when the transport reported one." },
|
|
10410
|
+
{ path: "response", type: "unknown", description: "The response body, when there was one." }
|
|
10411
|
+
],
|
|
10374
10412
|
aliases: ["webhook_out", "@fancy/webhook_out"],
|
|
10375
10413
|
category: "io",
|
|
10376
10414
|
label: "Send Webhook",
|
|
@@ -10392,6 +10430,8 @@ var KINDS = [
|
|
|
10392
10430
|
// ───────────── Human ─────────────
|
|
10393
10431
|
{
|
|
10394
10432
|
name: "@particle-academy/human_approval",
|
|
10433
|
+
// returns its input on approved/denied
|
|
10434
|
+
emits: "input",
|
|
10395
10435
|
aliases: ["human_approval", "@fancy/human_approval"],
|
|
10396
10436
|
pausesForHuman: "approval",
|
|
10397
10437
|
category: "human",
|
|
@@ -10408,6 +10448,12 @@ var KINDS = [
|
|
|
10408
10448
|
},
|
|
10409
10449
|
{
|
|
10410
10450
|
name: "@particle-academy/notify",
|
|
10451
|
+
outputShape: [
|
|
10452
|
+
{ path: "sent", type: "boolean", description: "True once the message was handed to the channel." },
|
|
10453
|
+
{ path: "channel", type: "string", description: "The channel it went to." },
|
|
10454
|
+
{ path: "to", type: "string", description: "The recipient." },
|
|
10455
|
+
{ path: "message", type: "string", description: "The rendered message." }
|
|
10456
|
+
],
|
|
10411
10457
|
aliases: ["notify", "@fancy/notify"],
|
|
10412
10458
|
category: "human",
|
|
10413
10459
|
label: "Notify",
|
|
@@ -10433,6 +10479,8 @@ var KINDS = [
|
|
|
10433
10479
|
// ───────────── Output ─────────────
|
|
10434
10480
|
{
|
|
10435
10481
|
name: "@particle-academy/output",
|
|
10482
|
+
// returns its input unchanged
|
|
10483
|
+
emits: "input",
|
|
10436
10484
|
aliases: ["output", "@fancy/output"],
|
|
10437
10485
|
category: "output",
|
|
10438
10486
|
label: "Output",
|
|
@@ -10443,6 +10491,10 @@ var KINDS = [
|
|
|
10443
10491
|
},
|
|
10444
10492
|
{
|
|
10445
10493
|
name: "@particle-academy/log",
|
|
10494
|
+
outputShape: [
|
|
10495
|
+
{ path: "logged", type: "string", description: "The message that was written." },
|
|
10496
|
+
{ path: "level", type: "string", description: "The level it was written at." }
|
|
10497
|
+
],
|
|
10446
10498
|
aliases: ["log", "@fancy/log"],
|
|
10447
10499
|
category: "output",
|
|
10448
10500
|
label: "Log",
|