@particle-academy/fancy-flow 0.46.0 → 0.47.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/README.md +29 -0
- package/dist/chunk-DR3GWVDG.js +196 -0
- package/dist/chunk-DR3GWVDG.js.map +1 -0
- package/dist/{chunk-3BKU4SQZ.js → chunk-ISXRQELT.js} +3 -4
- package/dist/chunk-ISXRQELT.js.map +1 -0
- package/dist/{chunk-OWENS2H5.js → chunk-NDEX655E.js} +1603 -36
- package/dist/chunk-NDEX655E.js.map +1 -0
- package/dist/{chunk-P5SYH6M6.js → chunk-QVFVL5LQ.js} +3 -3
- package/dist/{chunk-P5SYH6M6.js.map → chunk-QVFVL5LQ.js.map} +1 -1
- package/dist/{chunk-HFUBVT7W.js → chunk-Z2GRNYR2.js} +7 -6
- package/dist/chunk-Z2GRNYR2.js.map +1 -0
- package/dist/{chunk-MH4ZW4DJ.js → chunk-ZKJJWBDJ.js} +3 -5
- package/dist/chunk-ZKJJWBDJ.js.map +1 -0
- package/dist/durable.cjs +10174 -110
- package/dist/durable.cjs.map +1 -1
- package/dist/durable.js +3 -3
- package/dist/engine.cjs +10097 -47
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.ts +1 -1
- package/dist/engine.js +5 -7
- package/dist/engine.js.map +1 -1
- package/dist/index.cjs +203 -191
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -16
- package/dist/index.js.map +1 -1
- package/dist/registry/index.d.cts +1 -1
- package/dist/registry/index.d.ts +1 -1
- package/dist/{registry-LHB3MlR9.d.ts → registry-Bt55f63_.d.ts} +20 -1
- package/dist/{registry-D_kyUZEf.d.cts → registry-CkcSwmfR.d.cts} +20 -1
- package/dist/registry.cjs +2978 -2968
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +3 -6
- package/dist/runtime.cjs +3692 -2536
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.js +5 -6
- package/dist/schema.cjs +10369 -24
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js +4 -3
- package/dist/screens.cjs +1366 -38
- package/dist/screens.cjs.map +1 -1
- package/dist/screens.js +5 -8
- package/dist/screens.js.map +1 -1
- package/dist/ux.cjs +10363 -2
- package/dist/ux.cjs.map +1 -1
- package/dist/ux.js +3 -1
- package/dist/ux.js.map +1 -1
- package/package.json +6 -2
- package/dist/chunk-3BKU4SQZ.js.map +0 -1
- package/dist/chunk-HFUBVT7W.js.map +0 -1
- package/dist/chunk-L43CWD63.js +0 -282
- package/dist/chunk-L43CWD63.js.map +0 -1
- package/dist/chunk-MH4ZW4DJ.js.map +0 -1
- package/dist/chunk-OWENS2H5.js.map +0 -1
- package/dist/chunk-PVROYW7C.js +0 -187
- package/dist/chunk-PVROYW7C.js.map +0 -1
- package/dist/chunk-RMU6YCIQ.js +0 -1274
- package/dist/chunk-RMU6YCIQ.js.map +0 -1
- package/dist/chunk-TITD5W4Y.js +0 -26
- package/dist/chunk-TITD5W4Y.js.map +0 -1
|
@@ -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, g as getNodeKind, k as kindIds, l as listNodeKinds, o as onNodeKindsChanged,
|
|
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-CkcSwmfR.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
|
@@ -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, g as getNodeKind, k as kindIds, l as listNodeKinds, o as onNodeKindsChanged,
|
|
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-Bt55f63_.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Connection validation — the single rule that decides whether an edge between
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
import { N as NodeKindDefinition } from './types-ChkCRonF.js';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Put the builtin kit in the registry before anyone reads or writes it.
|
|
5
|
+
*
|
|
6
|
+
* Registration used to be a bare `registerBuiltinKinds()` in `src/index.ts`, so
|
|
7
|
+
* it fired ONLY as an import side effect of that one entry. Every other route in
|
|
8
|
+
* — the `/engine` and `/registry` subpaths, or a root import that TypeScript
|
|
9
|
+
* erases because it only took types — got an empty registry, and an empty
|
|
10
|
+
* registry is silent: `getNodeKind()` returns null, `FlowViewer` falls through
|
|
11
|
+
* its title chain, and the canvas shows `@particle-academy/llm_call` where a
|
|
12
|
+
* name belongs.
|
|
13
|
+
*
|
|
14
|
+
* Doing it here instead means correctness no longer depends on which entry a
|
|
15
|
+
* consumer imported, or on a bundler agreeing to keep a top-level statement.
|
|
16
|
+
*
|
|
17
|
+
* The flag is set BEFORE the call so a listener that reads the registry from
|
|
18
|
+
* inside `notify()` cannot recurse. `registerNodeKind` ensures too, so builtins
|
|
19
|
+
* are always in place before a host registers over one of them.
|
|
20
|
+
*/
|
|
21
|
+
declare function ensureBuiltinKinds(): void;
|
|
3
22
|
/**
|
|
4
23
|
* The presentation fields a consumer may override on someone else's node kind.
|
|
5
24
|
*
|
|
@@ -82,4 +101,4 @@ declare function validateConfig(kind: NodeKindDefinition, config: Record<string,
|
|
|
82
101
|
/** Default accents per category. */
|
|
83
102
|
declare function categoryAccent(category: string): string;
|
|
84
103
|
|
|
85
|
-
export { type NodeKindPresentation as N, resolveKindId as a, clearNodeKindOverrides as b, categoryAccent as c, defaultConfigFor as d,
|
|
104
|
+
export { type NodeKindPresentation as N, resolveKindId as a, clearNodeKindOverrides as b, categoryAccent as c, defaultConfigFor as d, ensureBuiltinKinds as e, overrideNodeKind as f, getNodeKind as g, kindIds as k, listNodeKinds as l, onNodeKindsChanged as o, registerNodeKind as r, validateConfig as v };
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
import { N as NodeKindDefinition } from './types--S2Kzx7w.cjs';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Put the builtin kit in the registry before anyone reads or writes it.
|
|
5
|
+
*
|
|
6
|
+
* Registration used to be a bare `registerBuiltinKinds()` in `src/index.ts`, so
|
|
7
|
+
* it fired ONLY as an import side effect of that one entry. Every other route in
|
|
8
|
+
* — the `/engine` and `/registry` subpaths, or a root import that TypeScript
|
|
9
|
+
* erases because it only took types — got an empty registry, and an empty
|
|
10
|
+
* registry is silent: `getNodeKind()` returns null, `FlowViewer` falls through
|
|
11
|
+
* its title chain, and the canvas shows `@particle-academy/llm_call` where a
|
|
12
|
+
* name belongs.
|
|
13
|
+
*
|
|
14
|
+
* Doing it here instead means correctness no longer depends on which entry a
|
|
15
|
+
* consumer imported, or on a bundler agreeing to keep a top-level statement.
|
|
16
|
+
*
|
|
17
|
+
* The flag is set BEFORE the call so a listener that reads the registry from
|
|
18
|
+
* inside `notify()` cannot recurse. `registerNodeKind` ensures too, so builtins
|
|
19
|
+
* are always in place before a host registers over one of them.
|
|
20
|
+
*/
|
|
21
|
+
declare function ensureBuiltinKinds(): void;
|
|
3
22
|
/**
|
|
4
23
|
* The presentation fields a consumer may override on someone else's node kind.
|
|
5
24
|
*
|
|
@@ -82,4 +101,4 @@ declare function validateConfig(kind: NodeKindDefinition, config: Record<string,
|
|
|
82
101
|
/** Default accents per category. */
|
|
83
102
|
declare function categoryAccent(category: string): string;
|
|
84
103
|
|
|
85
|
-
export { type NodeKindPresentation as N, resolveKindId as a, clearNodeKindOverrides as b, categoryAccent as c, defaultConfigFor as d,
|
|
104
|
+
export { type NodeKindPresentation as N, resolveKindId as a, clearNodeKindOverrides as b, categoryAccent as c, defaultConfigFor as d, ensureBuiltinKinds as e, overrideNodeKind as f, getNodeKind as g, kindIds as k, listNodeKinds as l, onNodeKindsChanged as o, registerNodeKind as r, validateConfig as v };
|