@particle-academy/fancy-flow 0.59.0 → 0.63.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-Bw09OyS3.d.ts → HumanPrompt-BKThiyjB.d.ts} +1 -1
- package/dist/{HumanPrompt-DV5-xnDa.d.cts → HumanPrompt-Bpp3JiVH.d.cts} +1 -1
- package/dist/{chunk-M7M6GLFV.js → chunk-5H54OTKT.js} +3 -3
- package/dist/{chunk-M7M6GLFV.js.map → chunk-5H54OTKT.js.map} +1 -1
- package/dist/{chunk-MX4SJDNI.js → chunk-EO6444T2.js} +4 -4
- package/dist/{chunk-MX4SJDNI.js.map → chunk-EO6444T2.js.map} +1 -1
- package/dist/{chunk-HBE4LVPX.js → chunk-JF6WCRBU.js} +9 -7
- package/dist/chunk-JF6WCRBU.js.map +1 -0
- package/dist/{chunk-LGLOBK6Q.js → chunk-MBVX4ZRB.js} +3 -3
- package/dist/{chunk-LGLOBK6Q.js.map → chunk-MBVX4ZRB.js.map} +1 -1
- package/dist/{chunk-FGYG5JVW.js → chunk-MEIDPBKE.js} +3 -3
- package/dist/{chunk-FGYG5JVW.js.map → chunk-MEIDPBKE.js.map} +1 -1
- package/dist/{chunk-A3TLZS5B.js → chunk-RIAFHQT5.js} +3 -3
- package/dist/{chunk-A3TLZS5B.js.map → chunk-RIAFHQT5.js.map} +1 -1
- package/dist/{chunk-BHM5HGXH.js → chunk-UM4C46AF.js} +38 -14
- package/dist/chunk-UM4C46AF.js.map +1 -0
- package/dist/connectors.d.cts +1 -1
- package/dist/connectors.d.ts +1 -1
- package/dist/durable.cjs +7 -5
- package/dist/durable.cjs.map +1 -1
- package/dist/durable.js +2 -2
- package/dist/engine.cjs +138 -29
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.d.cts +3 -2
- package/dist/engine.d.ts +3 -2
- package/dist/engine.js +6 -5
- package/dist/engine.js.map +1 -1
- package/dist/expr-BfXDrs4H.d.cts +149 -0
- package/dist/expr-BfXDrs4H.d.ts +149 -0
- package/dist/fields/react-fancy.d.cts +2 -2
- package/dist/fields/react-fancy.d.ts +2 -2
- package/dist/index.cjs +44 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -84
- package/dist/index.d.ts +7 -84
- package/dist/index.js +12 -12
- 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-1qhmRtvC.d.cts → registry-CntAdUcY.d.cts} +1 -1
- package/dist/{registry-D2qocEsY.d.ts → registry-DYoV-MQi.d.ts} +1 -1
- package/dist/registry.cjs +7 -5
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +2 -2
- package/dist/runtime.cjs +7 -5
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.js +3 -3
- package/dist/schema.cjs +7 -5
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js +2 -2
- package/dist/screens.cjs +7 -5
- package/dist/screens.cjs.map +1 -1
- package/dist/screens.js +4 -4
- package/dist/{types-CLSUZW8c.d.ts → types-Ckhz-YwC.d.ts} +7 -2
- package/dist/{types-BLVpNNLN.d.cts → types-D71SKA5A.d.cts} +7 -2
- package/dist/ux.cjs +7 -5
- 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 +2 -2
- package/dist/chunk-BHM5HGXH.js.map +0 -1
- package/dist/chunk-HBE4LVPX.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 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-
|
|
1
|
+
import { N as NodeKindDefinition, P as PortSpec } from '../types-D71SKA5A.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-D71SKA5A.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-CntAdUcY.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 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-
|
|
1
|
+
import { N as NodeKindDefinition, P as PortSpec } from '../types-Ckhz-YwC.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-Ckhz-YwC.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-DYoV-MQi.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Connection validation — the single rule that decides whether an edge between
|
package/dist/registry.cjs
CHANGED
|
@@ -9673,7 +9673,7 @@ function activatedPorts(node, result) {
|
|
|
9673
9673
|
return { ports: [r.__port], value: r.value };
|
|
9674
9674
|
}
|
|
9675
9675
|
if (typeof r.branch === "string") {
|
|
9676
|
-
return { ports: [r.branch], value: r.value
|
|
9676
|
+
return { ports: [r.branch], value: Object.prototype.hasOwnProperty.call(r, "value") ? r.value : r };
|
|
9677
9677
|
}
|
|
9678
9678
|
}
|
|
9679
9679
|
const kind = getNodeKind(node.data?.kind ?? node.type ?? "") ?? void 0;
|
|
@@ -9835,8 +9835,9 @@ var KINDS = [
|
|
|
9835
9835
|
// ───────────── Triggers ─────────────
|
|
9836
9836
|
{
|
|
9837
9837
|
name: "@particle-academy/manual_trigger",
|
|
9838
|
-
//
|
|
9839
|
-
|
|
9838
|
+
// Returns the raw inputs MAP, not the `in` port -- flat at an entry
|
|
9839
|
+
// point, port-keyed the moment the node has an inbound edge.
|
|
9840
|
+
emits: "input-map-merged",
|
|
9840
9841
|
aliases: ["manual_trigger", "@fancy/manual_trigger"],
|
|
9841
9842
|
category: "trigger",
|
|
9842
9843
|
label: "Manual",
|
|
@@ -9869,8 +9870,9 @@ var KINDS = [
|
|
|
9869
9870
|
{ path: "cron", type: "string", description: "The cron expression that fired." },
|
|
9870
9871
|
{ path: "timezone", type: "string", description: "The timezone it was evaluated in." }
|
|
9871
9872
|
],
|
|
9872
|
-
//
|
|
9873
|
-
|
|
9873
|
+
// Merges $ctx->inputs ITSELF beside cron/timezone -- the MAP, whose
|
|
9874
|
+
// shape depends on position, not each port's payload the way `merge` does.
|
|
9875
|
+
emits: "input-map-merged",
|
|
9874
9876
|
aliases: ["schedule_trigger", "@fancy/schedule_trigger"],
|
|
9875
9877
|
category: "trigger",
|
|
9876
9878
|
label: "Schedule",
|