@ultrst-armada/floks 1.7.1 → 1.7.2

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schema": 1,
3
3
  "packageName": "@ultrst-armada/floks",
4
- "version": "1.7.1",
5
- "sourceCommit": "8bdcd5922c85a4281f3c7805670565f7eaf1ad0f",
4
+ "version": "1.7.2",
5
+ "sourceCommit": "9f9ac9e03bdd94d9495b1d382a6c2f2b0a661530",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "40842965438"
7
+ "workflowRunId": "40933018875"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -54,6 +54,11 @@
54
54
  "types": "./packages/ui/dist/components/ai/index.d.ts",
55
55
  "import": "./packages/ui/dist/components/ai/index.js",
56
56
  "default": "./packages/ui/dist/components/ai/index.js"
57
+ },
58
+ "./canvas-ui/fod": {
59
+ "types": "./packages/canvas-ui/dist/fod/index.d.ts",
60
+ "import": "./packages/canvas-ui/dist/fod/index.js",
61
+ "default": "./packages/canvas-ui/dist/fod/index.js"
57
62
  }
58
63
  },
59
64
  "scripts": {
@@ -69,7 +74,7 @@
69
74
  "d3-force": "^3.0.0",
70
75
  "zod": "^3.24.1",
71
76
  "zustand": "^5.0.3",
72
- "@dinilmusick/gutts": "^0.1.3"
77
+ "@dinilmusick/gutts": "^1.0.0"
73
78
  },
74
79
  "peerDependencies": {
75
80
  "@ultrst-armada/kloks": "^1.17.0",
@@ -83,7 +88,7 @@
83
88
  "@types/node": "^22.0.0",
84
89
  "@types/react": "^19.0.0",
85
90
  "@types/react-dom": "^19.0.0",
86
- "@ultrst-armada/kloks": "^1.17.0",
91
+ "@ultrst-armada/kloks": "^1.18.0",
87
92
  "@ultrst-armada/frnlts": "^0.2.7",
88
93
  "happy-dom": "^21.0.3",
89
94
  "lucide-react": "^1.55.0",
@@ -0,0 +1,139 @@
1
+ import {
2
+ FrnlEditableNodeGraph
3
+ } from "./chunk-YHEIL67R.js";
4
+
5
+ // src/fod/FodModule.tsx
6
+ import { useEffect, useMemo, useState } from "react";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ function toGraphNodes(flow, nodeDefinitions) {
9
+ const defs = new Map(nodeDefinitions.map((def) => [def.type, def]));
10
+ return flow.nodes.map((node) => {
11
+ const def = defs.get(node.type);
12
+ return {
13
+ id: node.id,
14
+ type: node.type,
15
+ label: def?.label ?? String(node.data.label ?? node.type),
16
+ position: node.position,
17
+ data: node.data,
18
+ inputs: (def?.inputs ?? []).map((port) => ({ id: port.id, label: port.name, type: "input", dataType: port.dataType })),
19
+ outputs: (def?.outputs ?? []).map((port) => ({ id: port.id, label: port.name, type: "output", dataType: port.dataType })),
20
+ width: 190,
21
+ height: Math.max(90, 60 + Math.max(def?.inputs.length ?? 0, def?.outputs.length ?? 0) * 24)
22
+ };
23
+ });
24
+ }
25
+ function toGraphEdges(flow) {
26
+ return flow.edges.map((edge) => ({ id: edge.id, source: edge.source, sourceSocket: edge.sourceHandle ?? "result", target: edge.target, targetSocket: edge.targetHandle ?? "input" }));
27
+ }
28
+ function FodModule({ runtime, nodeDefinitions, workspaceId, className }) {
29
+ const [flows, setFlows] = useState([]);
30
+ const [activeId, setActiveId] = useState(null);
31
+ const [flow, setFlow] = useState(null);
32
+ const [selected, setSelected] = useState(/* @__PURE__ */ new Set());
33
+ const [message, setMessage] = useState("");
34
+ const [running, setRunning] = useState(false);
35
+ const refresh = async () => {
36
+ const next = await runtime.listFlows();
37
+ setFlows(next);
38
+ if (!activeId && next[0]) setActiveId(next[0].id);
39
+ };
40
+ useEffect(() => {
41
+ void refresh();
42
+ }, [workspaceId]);
43
+ useEffect(() => {
44
+ if (!activeId) {
45
+ setFlow(null);
46
+ return;
47
+ }
48
+ void runtime.getFlow(activeId).then(setFlow);
49
+ }, [activeId]);
50
+ const graphNodes = useMemo(() => flow ? toGraphNodes(flow, nodeDefinitions) : [], [flow, nodeDefinitions]);
51
+ const graphEdges = useMemo(() => flow ? toGraphEdges(flow) : [], [flow]);
52
+ const updateNodes = (next) => {
53
+ if (!flow) return;
54
+ const nextFlow = { ...flow, nodes: next.map((node) => ({ ...flow.nodes.find((item) => item.id === node.id), id: node.id, type: node.type, position: node.position, data: node.data })) };
55
+ setFlow(nextFlow);
56
+ };
57
+ const updateEdges = (next) => {
58
+ if (!flow) return;
59
+ const nextFlow = { ...flow, edges: next.map((edge) => ({ id: edge.id, source: edge.source, sourceHandle: edge.sourceSocket, target: edge.target, targetHandle: edge.targetSocket })) };
60
+ setFlow(nextFlow);
61
+ };
62
+ const createFlow = () => {
63
+ const now = (/* @__PURE__ */ new Date()).toISOString();
64
+ const next = { id: `flow-${Date.now()}`, name: "New Flow", version: 1, createdAt: now, updatedAt: now, nodes: [], edges: [], metadata: { workspaceId } };
65
+ setFlows((current) => [...current, next]);
66
+ setActiveId(next.id);
67
+ setFlow(next);
68
+ };
69
+ const save = async () => {
70
+ if (!flow) return;
71
+ const saved = await runtime.saveFlow(flow);
72
+ setFlow(saved);
73
+ await refresh();
74
+ setMessage("Saved");
75
+ };
76
+ const addMagneticEdge = (trace) => {
77
+ if (!flow) return;
78
+ const id = `edge-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`;
79
+ const exists = flow.edges.some((edge) => edge.source === trace.sourceNodeId && edge.target === trace.targetNodeId && edge.sourceHandle === trace.sourceHandleId && edge.targetHandle === trace.targetHandleId);
80
+ if (!exists) setFlow({ ...flow, edges: [...flow.edges, { id, source: trace.sourceNodeId, sourceHandle: trace.sourceHandleId, target: trace.targetNodeId, targetHandle: trace.targetHandleId }] });
81
+ };
82
+ const solidifyGhost = (ghost) => {
83
+ if (!flow || !ghost?.prototypeNode) return;
84
+ const node = ghost.prototypeNode;
85
+ const exists = flow.nodes.some((item) => item.id === ghost.id);
86
+ let next = flow;
87
+ if (!exists) next = { ...next, nodes: [...next.nodes, { id: ghost.id, type: node.type, position: { x: Number(ghost.worldPosition?.[0] ?? node.position?.x ?? 0), y: Number(ghost.worldPosition?.[2] ?? node.position?.y ?? 0) }, data: node.data ?? {} }] };
88
+ const edge = { id: `edge-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`, source: ghost.parentSocketPolarity === "input" ? ghost.id : ghost.parentNodeId, sourceHandle: ghost.parentSocketPolarity === "input" ? ghost.matchingSocketId : ghost.parentSocketId, target: ghost.parentSocketPolarity === "input" ? ghost.parentNodeId : ghost.id, targetHandle: ghost.parentSocketPolarity === "input" ? ghost.parentSocketId : ghost.matchingSocketId };
89
+ if (!next.edges.some((item) => item.source === edge.source && item.target === edge.target && item.sourceHandle === edge.sourceHandle && item.targetHandle === edge.targetHandle)) next = { ...next, edges: [...next.edges, edge] };
90
+ setFlow(next);
91
+ };
92
+ const run = async () => {
93
+ if (!flow) return;
94
+ await save();
95
+ setRunning(true);
96
+ try {
97
+ const result = await runtime.executeFlow(flow.id);
98
+ setMessage(result.success ? "Execution completed" : result.errors?.[0]?.message ?? "Execution failed");
99
+ } finally {
100
+ setRunning(false);
101
+ }
102
+ };
103
+ const grouped = useMemo(() => {
104
+ const groups = /* @__PURE__ */ new Map();
105
+ for (const node of nodeDefinitions) {
106
+ const group = groups.get(node.group) ?? [];
107
+ group.push(node);
108
+ groups.set(node.group, group);
109
+ }
110
+ return [...groups.entries()].sort(([a], [b]) => a.localeCompare(b));
111
+ }, [nodeDefinitions]);
112
+ return /* @__PURE__ */ jsxs("div", { className, style: { display: "grid", gridTemplateColumns: "220px 1fr", gridTemplateRows: "44px 1fr", height: "100%", minHeight: 500 }, children: [
113
+ /* @__PURE__ */ jsxs("div", { style: { gridColumn: "1 / -1", display: "flex", alignItems: "center", gap: 8, padding: "6px 10px", borderBottom: "1px solid var(--skipo-border,#333)", background: "var(--skipo-matte-bg,#111)" }, children: [
114
+ /* @__PURE__ */ jsx("strong", { children: "FOD" }),
115
+ /* @__PURE__ */ jsxs("select", { value: activeId ?? "", onChange: (e) => setActiveId(e.target.value || null), children: [
116
+ /* @__PURE__ */ jsx("option", { value: "", children: "Select flow" }),
117
+ flows.map((item) => /* @__PURE__ */ jsx("option", { value: item.id, children: item.name }, item.id))
118
+ ] }),
119
+ /* @__PURE__ */ jsx("button", { type: "button", onClick: createFlow, children: "New flow" }),
120
+ /* @__PURE__ */ jsx("button", { type: "button", onClick: () => void save(), disabled: !flow, children: "Save" }),
121
+ /* @__PURE__ */ jsx("button", { type: "button", onClick: () => void run(), disabled: !flow || running, children: running ? "Running\u2026" : "Run" }),
122
+ /* @__PURE__ */ jsx("span", { children: message })
123
+ ] }),
124
+ /* @__PURE__ */ jsx("aside", { style: { overflow: "auto", padding: 10, borderRight: "1px solid var(--skipo-border,#333)" }, children: grouped.map(([group, nodes]) => /* @__PURE__ */ jsxs("section", { children: [
125
+ /* @__PURE__ */ jsx("h4", { style: { margin: "8px 0" }, children: group }),
126
+ nodes.map((node) => /* @__PURE__ */ jsx("button", { type: "button", style: { display: "block", width: "100%", textAlign: "left", marginBottom: 4 }, onClick: () => {
127
+ if (!flow) return;
128
+ const id = `${node.type}-${Date.now()}`;
129
+ setFlow({ ...flow, nodes: [...flow.nodes, { id, type: node.type, position: { x: 100 + flow.nodes.length * 24, y: 100 + flow.nodes.length * 24 }, data: { endpointId: node.metadata?.endpointId, apiId: node.metadata?.apiId } }] });
130
+ }, children: node.label }, node.type))
131
+ ] }, group)) }),
132
+ /* @__PURE__ */ jsx("main", { style: { minWidth: 0, minHeight: 0 }, children: flow ? /* @__PURE__ */ jsx(FrnlEditableNodeGraph, { nodes: graphNodes, edges: graphEdges, selectedNodeIds: selected, onSelectionChange: setSelected, onNodesChange: updateNodes, onEdgesChange: updateEdges, magneticEnabled: true, autoSolidifyEnabled: false, signalTelemetryEnabled: true, onMagneticTraceSolidify: addMagneticEdge, onPredictiveSolidify: (_id, ghost) => solidifyGhost(ghost), onPredictiveSolidifyAll: (ghosts) => ghosts?.forEach(solidifyGhost), onPredictiveSolidifyAllForNode: (_nodeId, ghosts) => ghosts?.forEach(solidifyGhost) }) : /* @__PURE__ */ jsx("div", { style: { padding: 30 }, children: "Create or select a flow." }) })
133
+ ] });
134
+ }
135
+ FodModule.displayName = "FodModule";
136
+
137
+ export {
138
+ FodModule
139
+ };
@@ -1339,7 +1339,7 @@ var FrnlEditableNodeGraph = ({
1339
1339
  selectedNodeId: selectedNodeIds.size === 1 ? Array.from(selectedNodeIds)[0] : null,
1340
1340
  selectedNodeIds: Array.from(selectedNodeIds),
1341
1341
  onSolidifyPredictiveNodes: (ghosts) => {
1342
- for (const ghost of ghosts) onPredictiveSolidify?.(ghost.id);
1342
+ for (const ghost of ghosts) onPredictiveSolidify?.(ghost.id, ghost);
1343
1343
  }
1344
1344
  });
1345
1345
  useEffect2(() => {
@@ -1476,7 +1476,7 @@ var FrnlEditableNodeGraph = ({
1476
1476
  /* @__PURE__ */ jsx8("button", { type: "button", onClick: predictive.nextScenario, children: "\u2192" }),
1477
1477
  /* @__PURE__ */ jsx8("button", { type: "button", onClick: () => {
1478
1478
  predictive.solidifyAll();
1479
- onPredictiveSolidifyAll?.();
1479
+ onPredictiveSolidifyAll?.(predictive.ghostNodes);
1480
1480
  }, children: "Solidify all" })
1481
1481
  ] }),
1482
1482
  /* @__PURE__ */ jsx8("div", { "aria-label": "Predictive nodes", style: { position: "absolute", inset: 0, pointerEvents: "none", zIndex: 45 }, children: predictive.ghostNodes.map((ghost) => {
@@ -1497,7 +1497,7 @@ var FrnlEditableNodeGraph = ({
1497
1497
  ] }),
1498
1498
  predictive.isActive && predictive.selectedNodesWithGhosts.size > 0 && /* @__PURE__ */ jsx8("div", { "aria-label": "Predictive node actions", style: { position: "absolute", left: 10, bottom: 10, zIndex: 60, display: "flex", flexDirection: "column", gap: 4, pointerEvents: "auto" }, children: Array.from(predictive.selectedNodesWithGhosts.entries()).map(([nodeId, ghosts]) => /* @__PURE__ */ jsxs8("button", { type: "button", onClick: () => {
1499
1499
  predictive.solidifyAllForNode(nodeId);
1500
- onPredictiveSolidifyAllForNode?.(nodeId);
1500
+ onPredictiveSolidifyAllForNode?.(nodeId, ghosts);
1501
1501
  }, children: [
1502
1502
  "Solidify all for ",
1503
1503
  nodeId,
@@ -0,0 +1,59 @@
1
+ import React__default from 'react';
2
+
3
+ interface FodNodeDefinition {
4
+ type: string;
5
+ label: string;
6
+ description: string;
7
+ category: string;
8
+ group: string;
9
+ inputs: Array<{
10
+ id: string;
11
+ name: string;
12
+ direction: string;
13
+ dataType: string;
14
+ }>;
15
+ outputs: Array<{
16
+ id: string;
17
+ name: string;
18
+ direction: string;
19
+ dataType: string;
20
+ }>;
21
+ metadata?: Record<string, any>;
22
+ }
23
+ interface FodFlow {
24
+ id: string;
25
+ name: string;
26
+ description?: string;
27
+ version: number;
28
+ createdAt: string;
29
+ updatedAt: string;
30
+ nodes: any[];
31
+ edges: any[];
32
+ viewport?: any;
33
+ metadata?: Record<string, unknown>;
34
+ }
35
+ interface FodRuntimeLike {
36
+ listFlows(): Promise<FodFlow[]>;
37
+ getFlow(id: string): Promise<FodFlow | null>;
38
+ saveFlow(flow: FodFlow): Promise<FodFlow>;
39
+ deleteFlow(id: string): Promise<boolean>;
40
+ executeFlow(id: string): Promise<{
41
+ success: boolean;
42
+ output: unknown;
43
+ errors: Array<{
44
+ message: string;
45
+ }>;
46
+ }>;
47
+ }
48
+ interface FodModuleProps {
49
+ runtime: FodRuntimeLike;
50
+ nodeDefinitions: FodNodeDefinition[];
51
+ workspaceId: string;
52
+ className?: string;
53
+ }
54
+ declare function FodModule({ runtime, nodeDefinitions, workspaceId, className }: FodModuleProps): React__default.JSX.Element;
55
+ declare namespace FodModule {
56
+ var displayName: string;
57
+ }
58
+
59
+ export { FodModule, type FodModuleProps, type FodRuntimeLike };
@@ -0,0 +1,8 @@
1
+ import {
2
+ FodModule
3
+ } from "../chunk-7CYX3B6O.js";
4
+ import "../chunk-YHEIL67R.js";
5
+ import "../chunk-QRYNQ36L.js";
6
+ export {
7
+ FodModule
8
+ };
@@ -23,9 +23,9 @@ interface FrnlEditableNodeGraphProps {
23
23
  onNodeDoubleClick?: (nodeId: string) => void;
24
24
  onMagneticTracesChange?: (traces: Trace[]) => void;
25
25
  onMagneticTraceSolidify?: (trace: Trace | SolidConnection) => void;
26
- onPredictiveSolidify?: (ghostId: string) => void;
27
- onPredictiveSolidifyAllForNode?: (nodeId: string) => void;
28
- onPredictiveSolidifyAll?: () => void;
26
+ onPredictiveSolidify?: (ghostId: string, ghost?: any) => void;
27
+ onPredictiveSolidifyAllForNode?: (nodeId: string, ghosts?: any[]) => void;
28
+ onPredictiveSolidifyAll?: (ghosts?: any[]) => void;
29
29
  }
30
30
  declare const frnlEditableNodeGraphDefinition: {
31
31
  name: string;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FrnlEditableNodeGraph,
3
3
  frnlEditableNodeGraphDefinition
4
- } from "../chunk-VESG3VP3.js";
4
+ } from "../chunk-YHEIL67R.js";
5
5
  import "../chunk-QRYNQ36L.js";
6
6
  export {
7
7
  FrnlEditableNodeGraph,
@@ -11,6 +11,7 @@ export { B as BIOME_CONFIGS, C as COORD_SCALE, a as CameraState, b as Canvas2DVi
11
11
  export { CanvasBackground2D, CanvasErrorBoundary, ContainerNode2D, EffectNode2D, MagneticTraces2D, ModuleNode2D, NODE_CARD_WIDTH, Node2DBase, Node2DBaseProps, NodeRenderer2D, NodeRenderer2DProps, RecorderWaveformDisplay, RecorderWaveformDisplayProps, RotaryKnob, RotaryKnobProps, SOCKET_ROW_HEIGHT, Socket2D, Socket2DProps, SocketScreenPosition, TriggerNode2D, Wire2D, Wire2DProps, getSocketLocalOffset, getSocketScreenPosition, renderSpriteIcon, useCanvas2DCoordinates, useCanvas2DMagnetic } from './graph-2d/index.js';
12
12
  export { PredictiveGhostNodeCard, PredictiveGhostNodeCardProps, PredictiveHudToolbar, PredictiveLayer2D, PredictiveLayer2DProps, UsePredictiveGraph2DProps, UseViewer2DPredictiveProps, usePredictiveGraph2D } from './predictive/index.js';
13
13
  export { AuthoringAssetRef, UIAuthoringContext, UIAuthoringNode, UIAuthoringNodeKind, UIAuthoringSession, UiAuthoringBindingEditor, UiAuthoringComponentRenderer, UiAuthoringInspector, UiAuthoringPreview, UiAuthoringTree, UiAuthoringValidationPanel, UiAuthoringWorkspace, getAuthoringChildren, getAuthoringDepth, getAuthoringSubtreeIds } from './authoring/index.js';
14
+ export { FodModule, FodModuleProps, FodRuntimeLike } from './fod/index.js';
14
15
  import '@ultrst-armada/kloks/contracts';
15
16
 
16
17
  interface MidpointWidgetsProps {
@@ -1,9 +1,20 @@
1
+ import {
2
+ PredictiveGhostNodeCard,
3
+ PredictiveHudToolbar,
4
+ PredictiveLayer2D
5
+ } from "./chunk-RH5NINIT.js";
1
6
  import {
2
7
  Tile,
3
8
  TileCreateButton,
4
9
  TileGrid,
5
10
  useTileMenu
6
11
  } from "./chunk-SA3JADUG.js";
12
+ import {
13
+ CanvasViewport,
14
+ InfiniteCanvas,
15
+ MiniMap,
16
+ useCanvas
17
+ } from "./chunk-34YRDZPJ.js";
7
18
  import {
8
19
  UiAuthoringBindingEditor,
9
20
  UiAuthoringInspector,
@@ -15,12 +26,6 @@ import {
15
26
  getAuthoringDepth,
16
27
  getAuthoringSubtreeIds
17
28
  } from "./chunk-TS7P3WWH.js";
18
- import {
19
- CanvasViewport,
20
- InfiniteCanvas,
21
- MiniMap,
22
- useCanvas
23
- } from "./chunk-34YRDZPJ.js";
24
29
  import {
25
30
  DockBar,
26
31
  DockItem,
@@ -32,14 +37,8 @@ import {
32
37
  useMonaco
33
38
  } from "./chunk-ZJXRL74D.js";
34
39
  import {
35
- CanvasContextMenu,
36
- CompatibleNodePicker,
37
- FrnlEditableNodeGraph,
38
- NodeSearchPalette,
39
- frnlEditableNodeGraphDefinition,
40
- menuCategory,
41
- menuHidden
42
- } from "./chunk-VESG3VP3.js";
40
+ FodModule
41
+ } from "./chunk-7CYX3B6O.js";
43
42
  import {
44
43
  BIOME_CONFIGS,
45
44
  COORD_SCALE,
@@ -56,14 +55,6 @@ import {
56
55
  useCanvas2DCoordinates,
57
56
  useCanvas2DMagnetic
58
57
  } from "./chunk-XVAHT5WE.js";
59
- import {
60
- PredictiveGhostNodeCard,
61
- PredictiveHudToolbar,
62
- PredictiveLayer2D
63
- } from "./chunk-RH5NINIT.js";
64
- import {
65
- usePredictiveGraph2D
66
- } from "./chunk-QRYNQ36L.js";
67
58
  import {
68
59
  NODE_CARD_WIDTH,
69
60
  Node2DBase,
@@ -74,6 +65,18 @@ import {
74
65
  getSocketScreenPosition,
75
66
  renderSpriteIcon
76
67
  } from "./chunk-U2SC3RMJ.js";
68
+ import {
69
+ CanvasContextMenu,
70
+ CompatibleNodePicker,
71
+ FrnlEditableNodeGraph,
72
+ NodeSearchPalette,
73
+ frnlEditableNodeGraphDefinition,
74
+ menuCategory,
75
+ menuHidden
76
+ } from "./chunk-YHEIL67R.js";
77
+ import {
78
+ usePredictiveGraph2D
79
+ } from "./chunk-QRYNQ36L.js";
77
80
 
78
81
  // src/node-graph-ui/widgets/MidpointWidgets.tsx
79
82
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -715,6 +718,7 @@ export {
715
718
  DockBar,
716
719
  DockItem,
717
720
  EffectNode2D,
721
+ FodModule,
718
722
  FrnlEditableNodeGraph,
719
723
  GraphToolbar,
720
724
  InfiniteCanvas,
@@ -3,10 +3,10 @@ import {
3
3
  PredictiveHudToolbar,
4
4
  PredictiveLayer2D
5
5
  } from "../chunk-RH5NINIT.js";
6
+ import "../chunk-U2SC3RMJ.js";
6
7
  import {
7
8
  usePredictiveGraph2D
8
9
  } from "../chunk-QRYNQ36L.js";
9
- import "../chunk-U2SC3RMJ.js";
10
10
  export {
11
11
  PredictiveGhostNodeCard,
12
12
  PredictiveHudToolbar,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://skipo.dev/schemas/floks-manifest.v1.json",
3
3
  "package": "@floks/canvas-ui",
4
- "version": "1.0.0",
4
+ "version": "1.1.0",
5
5
  "components": [
6
6
  {
7
7
  "id": "InfiniteCanvas",
@@ -51,6 +51,18 @@
51
51
  "requiredServices": [
52
52
  "node-graph"
53
53
  ]
54
+ },
55
+ {
56
+ "id": "FodModule",
57
+ "name": "FOD Workflow Module",
58
+ "export": "FodModule",
59
+ "subpath": "fod",
60
+ "targetTypes": [
61
+ "Main.tabs.fod"
62
+ ],
63
+ "requiredServices": [
64
+ "fod"
65
+ ]
54
66
  }
55
67
  ]
56
68
  }
@@ -57,15 +57,20 @@
57
57
  "import": "./dist/authoring/index.js",
58
58
  "types": "./dist/authoring/index.d.ts",
59
59
  "default": "./dist/authoring/index.js"
60
+ },
61
+ "./fod": {
62
+ "import": "./dist/fod/index.js",
63
+ "types": "./dist/fod/index.d.ts",
64
+ "default": "./dist/fod/index.js"
60
65
  }
61
66
  },
62
67
  "scripts": {
63
- "build": "tsup src/index.ts src/canvas/index.ts src/dock/index.ts src/tile-menu/index.ts src/editor/index.ts src/authoring/index.ts src/graph-2d/index.ts src/predictive/index.ts src/frnl-editable-node-graph/index.ts --format esm --dts --clean --external react --external react-dom --external lucide-react --external @floks/ui --external @ultrst-armada/frnlts --external @kloks/state-graph --external @kloks/audio-midi --external monaco-editor --external @dnd-kit/core --external @dnd-kit/sortable --external @dnd-kit/utilities"
68
+ "build": "tsup src/index.ts src/canvas/index.ts src/dock/index.ts src/tile-menu/index.ts src/editor/index.ts src/authoring/index.ts src/graph-2d/index.ts src/predictive/index.ts src/frnl-editable-node-graph/index.ts src/fod/index.ts --format esm --dts --clean --external react --external react-dom --external lucide-react --external @floks/ui --external @ultrst-armada/frnlts --external @kloks/state-graph --external @kloks/audio-midi --external monaco-editor --external @dnd-kit/core --external @dnd-kit/sortable --external @dnd-kit/utilities"
64
69
  },
65
70
  "dependencies": {
66
71
  "@floks/ui": "workspace:*",
67
72
  "@ultrst-armada/frnlts": "^0.2.7",
68
- "@ultrst-armada/kloks": "^1.17.0"
73
+ "@ultrst-armada/kloks": "^1.18.0"
69
74
  },
70
75
  "peerDependencies": {
71
76
  "@dnd-kit/core": "^6.0.0",