@decaf-ts/ui-decorators 0.20.4 → 0.20.6

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.
Files changed (200) hide show
  1. package/dist/ui-decorators.cjs +1 -1
  2. package/lib/cjs/graph/GraphExecutionStateMapper.cjs +97 -0
  3. package/lib/cjs/graph/GraphExecutionStateMapper.cjs.map +1 -0
  4. package/lib/cjs/graph/GraphResolution.cjs +17 -0
  5. package/lib/cjs/graph/GraphResolution.cjs.map +1 -0
  6. package/lib/cjs/graph/constants.cjs +157 -1
  7. package/lib/cjs/graph/constants.cjs.map +1 -1
  8. package/lib/cjs/graph/index.cjs +3 -0
  9. package/lib/cjs/graph/index.cjs.map +1 -1
  10. package/lib/cjs/graph/nodes/agents/agent.cjs +110 -0
  11. package/lib/cjs/graph/nodes/agents/agent.cjs.map +1 -0
  12. package/lib/cjs/graph/nodes/base.cjs +36 -0
  13. package/lib/cjs/graph/nodes/base.cjs.map +1 -0
  14. package/lib/cjs/graph/nodes/boundary/input-value.cjs +57 -0
  15. package/lib/cjs/graph/nodes/boundary/input-value.cjs.map +1 -0
  16. package/lib/cjs/graph/nodes/category-styles.cjs +38 -0
  17. package/lib/cjs/graph/nodes/category-styles.cjs.map +1 -0
  18. package/lib/cjs/graph/nodes/flow-control/break.cjs +63 -0
  19. package/lib/cjs/graph/nodes/flow-control/break.cjs.map +1 -0
  20. package/lib/cjs/graph/nodes/flow-control/error-boundary.cjs +67 -0
  21. package/lib/cjs/graph/nodes/flow-control/error-boundary.cjs.map +1 -0
  22. package/lib/cjs/graph/nodes/flow-control/human-approval.cjs +69 -0
  23. package/lib/cjs/graph/nodes/flow-control/human-approval.cjs.map +1 -0
  24. package/lib/cjs/graph/nodes/flow-control/if.cjs +71 -0
  25. package/lib/cjs/graph/nodes/flow-control/if.cjs.map +1 -0
  26. package/lib/cjs/graph/nodes/flow-control/parallel.cjs +61 -0
  27. package/lib/cjs/graph/nodes/flow-control/parallel.cjs.map +1 -0
  28. package/lib/cjs/graph/nodes/flow-control/switch.cjs +121 -0
  29. package/lib/cjs/graph/nodes/flow-control/switch.cjs.map +1 -0
  30. package/lib/cjs/graph/nodes/index.cjs +123 -0
  31. package/lib/cjs/graph/nodes/index.cjs.map +1 -0
  32. package/lib/cjs/graph/nodes/loops/foreach.cjs +86 -0
  33. package/lib/cjs/graph/nodes/loops/foreach.cjs.map +1 -0
  34. package/lib/cjs/graph/nodes/loops/until.cjs +74 -0
  35. package/lib/cjs/graph/nodes/loops/until.cjs.map +1 -0
  36. package/lib/cjs/graph/nodes/loops/while.cjs +74 -0
  37. package/lib/cjs/graph/nodes/loops/while.cjs.map +1 -0
  38. package/lib/cjs/graph/nodes/manifests.cjs +338 -0
  39. package/lib/cjs/graph/nodes/manifests.cjs.map +1 -0
  40. package/lib/cjs/graph/nodes/triggers/chat.cjs +70 -0
  41. package/lib/cjs/graph/nodes/triggers/chat.cjs.map +1 -0
  42. package/lib/cjs/graph/nodes/triggers/event.cjs +58 -0
  43. package/lib/cjs/graph/nodes/triggers/event.cjs.map +1 -0
  44. package/lib/cjs/graph/nodes/triggers/form.cjs +59 -0
  45. package/lib/cjs/graph/nodes/triggers/form.cjs.map +1 -0
  46. package/lib/cjs/graph/nodes/triggers/manual.cjs +60 -0
  47. package/lib/cjs/graph/nodes/triggers/manual.cjs.map +1 -0
  48. package/lib/cjs/graph/nodes/triggers/schedule.cjs +60 -0
  49. package/lib/cjs/graph/nodes/triggers/schedule.cjs.map +1 -0
  50. package/lib/cjs/graph/nodes/triggers/webhook.cjs +62 -0
  51. package/lib/cjs/graph/nodes/triggers/webhook.cjs.map +1 -0
  52. package/lib/cjs/graph/nodes/utility/code.cjs +99 -0
  53. package/lib/cjs/graph/nodes/utility/code.cjs.map +1 -0
  54. package/lib/cjs/graph/nodes/utility/delay.cjs +61 -0
  55. package/lib/cjs/graph/nodes/utility/delay.cjs.map +1 -0
  56. package/lib/cjs/graph/nodes/utility/log.cjs +62 -0
  57. package/lib/cjs/graph/nodes/utility/log.cjs.map +1 -0
  58. package/lib/cjs/graph/nodes/utility/map.cjs +61 -0
  59. package/lib/cjs/graph/nodes/utility/map.cjs.map +1 -0
  60. package/lib/cjs/graph/nodes/utility/merge.cjs +62 -0
  61. package/lib/cjs/graph/nodes/utility/merge.cjs.map +1 -0
  62. package/lib/cjs/graph/nodes/utility/return.cjs +61 -0
  63. package/lib/cjs/graph/nodes/utility/return.cjs.map +1 -0
  64. package/lib/cjs/graph/nodes/utility/utility-log.cjs +66 -0
  65. package/lib/cjs/graph/nodes/utility/utility-log.cjs.map +1 -0
  66. package/lib/cjs/index.cjs +3 -3
  67. package/lib/esm/graph/GraphExecutionStateMapper.js +91 -0
  68. package/lib/esm/graph/GraphExecutionStateMapper.js.map +1 -0
  69. package/lib/esm/graph/GraphResolution.js +13 -0
  70. package/lib/esm/graph/GraphResolution.js.map +1 -0
  71. package/lib/esm/graph/constants.js +179 -0
  72. package/lib/esm/graph/constants.js.map +1 -1
  73. package/lib/esm/graph/index.js +3 -0
  74. package/lib/esm/graph/index.js.map +1 -1
  75. package/lib/esm/graph/nodes/agents/agent.js +101 -0
  76. package/lib/esm/graph/nodes/agents/agent.js.map +1 -0
  77. package/lib/esm/graph/nodes/base.js +31 -0
  78. package/lib/esm/graph/nodes/base.js.map +1 -0
  79. package/lib/esm/graph/nodes/boundary/input-value.js +48 -0
  80. package/lib/esm/graph/nodes/boundary/input-value.js.map +1 -0
  81. package/lib/esm/graph/nodes/category-styles.js +34 -0
  82. package/lib/esm/graph/nodes/category-styles.js.map +1 -0
  83. package/lib/esm/graph/nodes/flow-control/break.js +54 -0
  84. package/lib/esm/graph/nodes/flow-control/break.js.map +1 -0
  85. package/lib/esm/graph/nodes/flow-control/error-boundary.js +58 -0
  86. package/lib/esm/graph/nodes/flow-control/error-boundary.js.map +1 -0
  87. package/lib/esm/graph/nodes/flow-control/human-approval.js +60 -0
  88. package/lib/esm/graph/nodes/flow-control/human-approval.js.map +1 -0
  89. package/lib/esm/graph/nodes/flow-control/if.js +62 -0
  90. package/lib/esm/graph/nodes/flow-control/if.js.map +1 -0
  91. package/lib/esm/graph/nodes/flow-control/parallel.js +52 -0
  92. package/lib/esm/graph/nodes/flow-control/parallel.js.map +1 -0
  93. package/lib/esm/graph/nodes/flow-control/switch.js +112 -0
  94. package/lib/esm/graph/nodes/flow-control/switch.js.map +1 -0
  95. package/lib/esm/graph/nodes/index.js +105 -0
  96. package/lib/esm/graph/nodes/index.js.map +1 -0
  97. package/lib/esm/graph/nodes/loops/foreach.js +77 -0
  98. package/lib/esm/graph/nodes/loops/foreach.js.map +1 -0
  99. package/lib/esm/graph/nodes/loops/until.js +65 -0
  100. package/lib/esm/graph/nodes/loops/until.js.map +1 -0
  101. package/lib/esm/graph/nodes/loops/while.js +65 -0
  102. package/lib/esm/graph/nodes/loops/while.js.map +1 -0
  103. package/lib/esm/graph/nodes/manifests.js +334 -0
  104. package/lib/esm/graph/nodes/manifests.js.map +1 -0
  105. package/lib/esm/graph/nodes/triggers/chat.js +61 -0
  106. package/lib/esm/graph/nodes/triggers/chat.js.map +1 -0
  107. package/lib/esm/graph/nodes/triggers/event.js +49 -0
  108. package/lib/esm/graph/nodes/triggers/event.js.map +1 -0
  109. package/lib/esm/graph/nodes/triggers/form.js +50 -0
  110. package/lib/esm/graph/nodes/triggers/form.js.map +1 -0
  111. package/lib/esm/graph/nodes/triggers/manual.js +51 -0
  112. package/lib/esm/graph/nodes/triggers/manual.js.map +1 -0
  113. package/lib/esm/graph/nodes/triggers/schedule.js +51 -0
  114. package/lib/esm/graph/nodes/triggers/schedule.js.map +1 -0
  115. package/lib/esm/graph/nodes/triggers/webhook.js +53 -0
  116. package/lib/esm/graph/nodes/triggers/webhook.js.map +1 -0
  117. package/lib/esm/graph/nodes/utility/code.js +90 -0
  118. package/lib/esm/graph/nodes/utility/code.js.map +1 -0
  119. package/lib/esm/graph/nodes/utility/delay.js +52 -0
  120. package/lib/esm/graph/nodes/utility/delay.js.map +1 -0
  121. package/lib/esm/graph/nodes/utility/log.js +53 -0
  122. package/lib/esm/graph/nodes/utility/log.js.map +1 -0
  123. package/lib/esm/graph/nodes/utility/map.js +52 -0
  124. package/lib/esm/graph/nodes/utility/map.js.map +1 -0
  125. package/lib/esm/graph/nodes/utility/merge.js +53 -0
  126. package/lib/esm/graph/nodes/utility/merge.js.map +1 -0
  127. package/lib/esm/graph/nodes/utility/return.js +52 -0
  128. package/lib/esm/graph/nodes/utility/return.js.map +1 -0
  129. package/lib/esm/graph/nodes/utility/utility-log.js +57 -0
  130. package/lib/esm/graph/nodes/utility/utility-log.js.map +1 -0
  131. package/lib/esm/index.js +3 -3
  132. package/lib/types/graph/GraphExecutionStateMapper.d.cts +66 -0
  133. package/lib/types/graph/GraphExecutionStateMapper.d.mts +66 -0
  134. package/lib/types/graph/GraphResolution.d.cts +53 -0
  135. package/lib/types/graph/GraphResolution.d.mts +53 -0
  136. package/lib/types/graph/constants.d.cts +165 -0
  137. package/lib/types/graph/constants.d.mts +165 -0
  138. package/lib/types/graph/index.d.cts +3 -0
  139. package/lib/types/graph/index.d.mts +3 -0
  140. package/lib/types/graph/nodes/agents/agent.d.cts +44 -0
  141. package/lib/types/graph/nodes/agents/agent.d.mts +44 -0
  142. package/lib/types/graph/nodes/base.d.cts +28 -0
  143. package/lib/types/graph/nodes/base.d.mts +28 -0
  144. package/lib/types/graph/nodes/boundary/input-value.d.cts +13 -0
  145. package/lib/types/graph/nodes/boundary/input-value.d.mts +13 -0
  146. package/lib/types/graph/nodes/category-styles.d.cts +8 -0
  147. package/lib/types/graph/nodes/category-styles.d.mts +8 -0
  148. package/lib/types/graph/nodes/flow-control/break.d.cts +15 -0
  149. package/lib/types/graph/nodes/flow-control/break.d.mts +15 -0
  150. package/lib/types/graph/nodes/flow-control/error-boundary.d.cts +12 -0
  151. package/lib/types/graph/nodes/flow-control/error-boundary.d.mts +12 -0
  152. package/lib/types/graph/nodes/flow-control/human-approval.d.cts +13 -0
  153. package/lib/types/graph/nodes/flow-control/human-approval.d.mts +13 -0
  154. package/lib/types/graph/nodes/flow-control/if.d.cts +16 -0
  155. package/lib/types/graph/nodes/flow-control/if.d.mts +16 -0
  156. package/lib/types/graph/nodes/flow-control/parallel.d.cts +11 -0
  157. package/lib/types/graph/nodes/flow-control/parallel.d.mts +11 -0
  158. package/lib/types/graph/nodes/flow-control/switch.d.cts +21 -0
  159. package/lib/types/graph/nodes/flow-control/switch.d.mts +21 -0
  160. package/lib/types/graph/nodes/index.d.cts +79 -0
  161. package/lib/types/graph/nodes/index.d.mts +79 -0
  162. package/lib/types/graph/nodes/loops/foreach.d.cts +19 -0
  163. package/lib/types/graph/nodes/loops/foreach.d.mts +19 -0
  164. package/lib/types/graph/nodes/loops/until.d.cts +16 -0
  165. package/lib/types/graph/nodes/loops/until.d.mts +16 -0
  166. package/lib/types/graph/nodes/loops/while.d.cts +16 -0
  167. package/lib/types/graph/nodes/loops/while.d.mts +16 -0
  168. package/lib/types/graph/nodes/manifests.d.cts +62 -0
  169. package/lib/types/graph/nodes/manifests.d.mts +62 -0
  170. package/lib/types/graph/nodes/triggers/chat.d.cts +13 -0
  171. package/lib/types/graph/nodes/triggers/chat.d.mts +13 -0
  172. package/lib/types/graph/nodes/triggers/event.d.cts +10 -0
  173. package/lib/types/graph/nodes/triggers/event.d.mts +10 -0
  174. package/lib/types/graph/nodes/triggers/form.d.cts +11 -0
  175. package/lib/types/graph/nodes/triggers/form.d.mts +11 -0
  176. package/lib/types/graph/nodes/triggers/manual.d.cts +12 -0
  177. package/lib/types/graph/nodes/triggers/manual.d.mts +12 -0
  178. package/lib/types/graph/nodes/triggers/schedule.d.cts +11 -0
  179. package/lib/types/graph/nodes/triggers/schedule.d.mts +11 -0
  180. package/lib/types/graph/nodes/triggers/webhook.d.cts +11 -0
  181. package/lib/types/graph/nodes/triggers/webhook.d.mts +11 -0
  182. package/lib/types/graph/nodes/utility/code.d.cts +31 -0
  183. package/lib/types/graph/nodes/utility/code.d.mts +31 -0
  184. package/lib/types/graph/nodes/utility/delay.d.cts +11 -0
  185. package/lib/types/graph/nodes/utility/delay.d.mts +11 -0
  186. package/lib/types/graph/nodes/utility/log.d.cts +13 -0
  187. package/lib/types/graph/nodes/utility/log.d.mts +13 -0
  188. package/lib/types/graph/nodes/utility/map.d.cts +11 -0
  189. package/lib/types/graph/nodes/utility/map.d.mts +11 -0
  190. package/lib/types/graph/nodes/utility/merge.d.cts +12 -0
  191. package/lib/types/graph/nodes/utility/merge.d.mts +12 -0
  192. package/lib/types/graph/nodes/utility/return.d.cts +11 -0
  193. package/lib/types/graph/nodes/utility/return.d.mts +11 -0
  194. package/lib/types/graph/nodes/utility/utility-log.d.cts +15 -0
  195. package/lib/types/graph/nodes/utility/utility-log.d.mts +15 -0
  196. package/lib/types/graph/types.d.cts +286 -0
  197. package/lib/types/graph/types.d.mts +286 -0
  198. package/lib/types/index.d.cts +3 -3
  199. package/lib/types/index.d.mts +3 -3
  200. package/package.json +1 -1
@@ -0,0 +1,79 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes
3
+ * @summary Shared node kind declarations (DECAF-32 §22.2, DECAF-50 Phase A).
4
+ * @description Canonical `@node`-decorated classes for the ALFRED-5 node kind
5
+ * taxonomy, laid out one node per file under `nodes/<category>/<node>.ts`:
6
+ * triggers (§22.2.1), flow-control and utility nodes (§22.2.2–22.2.3), the
7
+ * Agent node (§21.3), the three loop kinds (`core.loop.foreach/while/until`,
8
+ * §5.9), and the workflow input-value boundary node. Shared non-node support
9
+ * (base class, category styles, manifests) lives in sibling files under the
10
+ * same tree. Consumers (for-angular, ALFRED, etc.) import these declarations
11
+ * to populate node palettes, registries, and reference snapshots.
12
+ */
13
+ export * from "./base.d.cts";
14
+ export * from "./category-styles.d.cts";
15
+ export * from "./flow-control/break.d.cts";
16
+ export * from "./flow-control/error-boundary.d.cts";
17
+ export * from "./flow-control/human-approval.d.cts";
18
+ export * from "./flow-control/if.d.cts";
19
+ export * from "./flow-control/parallel.d.cts";
20
+ export * from "./flow-control/switch.d.cts";
21
+ export * from "./utility/code.d.cts";
22
+ export * from "./utility/delay.d.cts";
23
+ export * from "./utility/log.d.cts";
24
+ export * from "./utility/map.d.cts";
25
+ export * from "./utility/merge.d.cts";
26
+ export * from "./utility/return.d.cts";
27
+ export * from "./utility/utility-log.d.cts";
28
+ export * from "./triggers/chat.d.cts";
29
+ export * from "./triggers/event.d.cts";
30
+ export * from "./triggers/form.d.cts";
31
+ export * from "./triggers/manual.d.cts";
32
+ export * from "./triggers/schedule.d.cts";
33
+ export * from "./triggers/webhook.d.cts";
34
+ export * from "./agents/agent.d.cts";
35
+ export * from "./loops/foreach.d.cts";
36
+ export * from "./loops/until.d.cts";
37
+ export * from "./loops/while.d.cts";
38
+ export * from "./boundary/input-value.d.cts";
39
+ export * from "./manifests.d.cts";
40
+ import { BreakFlowNode } from "./flow-control/break.d.cts";
41
+ import { ErrorBoundaryFlowNode } from "./flow-control/error-boundary.d.cts";
42
+ import { HumanApprovalFlowNode } from "./flow-control/human-approval.d.cts";
43
+ import { IfFlowNode } from "./flow-control/if.d.cts";
44
+ import { ParallelFlowNode } from "./flow-control/parallel.d.cts";
45
+ import { SwitchFlowNode } from "./flow-control/switch.d.cts";
46
+ import { CodeFlowNode } from "./utility/code.d.cts";
47
+ import { DelayFlowNode } from "./utility/delay.d.cts";
48
+ import { LogFlowNode } from "./utility/log.d.cts";
49
+ import { MapFlowNode } from "./utility/map.d.cts";
50
+ import { MergeFlowNode } from "./utility/merge.d.cts";
51
+ import { ReturnFlowNode } from "./utility/return.d.cts";
52
+ import { UtilityLogNode } from "./utility/utility-log.d.cts";
53
+ import { ChatTriggerNode } from "./triggers/chat.d.cts";
54
+ import { EventTriggerNode } from "./triggers/event.d.cts";
55
+ import { FormTriggerNode } from "./triggers/form.d.cts";
56
+ import { ManualTriggerNode } from "./triggers/manual.d.cts";
57
+ import { ScheduleTriggerNode } from "./triggers/schedule.d.cts";
58
+ import { WebhookTriggerNode } from "./triggers/webhook.d.cts";
59
+ import { GraphForeachLoopNode } from "./loops/foreach.d.cts";
60
+ import { GraphUntilLoopNode } from "./loops/until.d.cts";
61
+ import { GraphWhileLoopNode } from "./loops/while.d.cts";
62
+ import { GraphInputValueNode } from "./boundary/input-value.d.cts";
63
+ /**
64
+ * All built-in trigger node constructors.
65
+ */
66
+ export declare const GRAPH_TRIGGER_NODES: readonly [typeof ManualTriggerNode, typeof WebhookTriggerNode, typeof ScheduleTriggerNode, typeof EventTriggerNode, typeof FormTriggerNode, typeof ChatTriggerNode];
67
+ /**
68
+ * All built-in flow-control node constructors.
69
+ */
70
+ export declare const GRAPH_FLOW_CONTROL_NODES: readonly [typeof IfFlowNode, typeof SwitchFlowNode, typeof ParallelFlowNode, typeof MergeFlowNode, typeof MapFlowNode, typeof DelayFlowNode, typeof ErrorBoundaryFlowNode, typeof HumanApprovalFlowNode, typeof ReturnFlowNode, typeof CodeFlowNode, typeof LogFlowNode, typeof UtilityLogNode, typeof BreakFlowNode];
71
+ /**
72
+ * All built-in loop node constructors (shared declarations of the
73
+ * `core.loop.*` system kinds).
74
+ */
75
+ export declare const GRAPH_LOOP_NODES: readonly [typeof GraphForeachLoopNode, typeof GraphWhileLoopNode, typeof GraphUntilLoopNode];
76
+ /**
77
+ * All built-in boundary node constructors.
78
+ */
79
+ export declare const GRAPH_BOUNDARY_NODES: readonly [typeof GraphInputValueNode];
@@ -0,0 +1,79 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes
3
+ * @summary Shared node kind declarations (DECAF-32 §22.2, DECAF-50 Phase A).
4
+ * @description Canonical `@node`-decorated classes for the ALFRED-5 node kind
5
+ * taxonomy, laid out one node per file under `nodes/<category>/<node>.ts`:
6
+ * triggers (§22.2.1), flow-control and utility nodes (§22.2.2–22.2.3), the
7
+ * Agent node (§21.3), the three loop kinds (`core.loop.foreach/while/until`,
8
+ * §5.9), and the workflow input-value boundary node. Shared non-node support
9
+ * (base class, category styles, manifests) lives in sibling files under the
10
+ * same tree. Consumers (for-angular, ALFRED, etc.) import these declarations
11
+ * to populate node palettes, registries, and reference snapshots.
12
+ */
13
+ export * from "./base.d.mts";
14
+ export * from "./category-styles.d.mts";
15
+ export * from "./flow-control/break.d.mts";
16
+ export * from "./flow-control/error-boundary.d.mts";
17
+ export * from "./flow-control/human-approval.d.mts";
18
+ export * from "./flow-control/if.d.mts";
19
+ export * from "./flow-control/parallel.d.mts";
20
+ export * from "./flow-control/switch.d.mts";
21
+ export * from "./utility/code.d.mts";
22
+ export * from "./utility/delay.d.mts";
23
+ export * from "./utility/log.d.mts";
24
+ export * from "./utility/map.d.mts";
25
+ export * from "./utility/merge.d.mts";
26
+ export * from "./utility/return.d.mts";
27
+ export * from "./utility/utility-log.d.mts";
28
+ export * from "./triggers/chat.d.mts";
29
+ export * from "./triggers/event.d.mts";
30
+ export * from "./triggers/form.d.mts";
31
+ export * from "./triggers/manual.d.mts";
32
+ export * from "./triggers/schedule.d.mts";
33
+ export * from "./triggers/webhook.d.mts";
34
+ export * from "./agents/agent.d.mts";
35
+ export * from "./loops/foreach.d.mts";
36
+ export * from "./loops/until.d.mts";
37
+ export * from "./loops/while.d.mts";
38
+ export * from "./boundary/input-value.d.mts";
39
+ export * from "./manifests.d.mts";
40
+ import { BreakFlowNode } from "./flow-control/break.d.mts";
41
+ import { ErrorBoundaryFlowNode } from "./flow-control/error-boundary.d.mts";
42
+ import { HumanApprovalFlowNode } from "./flow-control/human-approval.d.mts";
43
+ import { IfFlowNode } from "./flow-control/if.d.mts";
44
+ import { ParallelFlowNode } from "./flow-control/parallel.d.mts";
45
+ import { SwitchFlowNode } from "./flow-control/switch.d.mts";
46
+ import { CodeFlowNode } from "./utility/code.d.mts";
47
+ import { DelayFlowNode } from "./utility/delay.d.mts";
48
+ import { LogFlowNode } from "./utility/log.d.mts";
49
+ import { MapFlowNode } from "./utility/map.d.mts";
50
+ import { MergeFlowNode } from "./utility/merge.d.mts";
51
+ import { ReturnFlowNode } from "./utility/return.d.mts";
52
+ import { UtilityLogNode } from "./utility/utility-log.d.mts";
53
+ import { ChatTriggerNode } from "./triggers/chat.d.mts";
54
+ import { EventTriggerNode } from "./triggers/event.d.mts";
55
+ import { FormTriggerNode } from "./triggers/form.d.mts";
56
+ import { ManualTriggerNode } from "./triggers/manual.d.mts";
57
+ import { ScheduleTriggerNode } from "./triggers/schedule.d.mts";
58
+ import { WebhookTriggerNode } from "./triggers/webhook.d.mts";
59
+ import { GraphForeachLoopNode } from "./loops/foreach.d.mts";
60
+ import { GraphUntilLoopNode } from "./loops/until.d.mts";
61
+ import { GraphWhileLoopNode } from "./loops/while.d.mts";
62
+ import { GraphInputValueNode } from "./boundary/input-value.d.mts";
63
+ /**
64
+ * All built-in trigger node constructors.
65
+ */
66
+ export declare const GRAPH_TRIGGER_NODES: readonly [typeof ManualTriggerNode, typeof WebhookTriggerNode, typeof ScheduleTriggerNode, typeof EventTriggerNode, typeof FormTriggerNode, typeof ChatTriggerNode];
67
+ /**
68
+ * All built-in flow-control node constructors.
69
+ */
70
+ export declare const GRAPH_FLOW_CONTROL_NODES: readonly [typeof IfFlowNode, typeof SwitchFlowNode, typeof ParallelFlowNode, typeof MergeFlowNode, typeof MapFlowNode, typeof DelayFlowNode, typeof ErrorBoundaryFlowNode, typeof HumanApprovalFlowNode, typeof ReturnFlowNode, typeof CodeFlowNode, typeof LogFlowNode, typeof UtilityLogNode, typeof BreakFlowNode];
71
+ /**
72
+ * All built-in loop node constructors (shared declarations of the
73
+ * `core.loop.*` system kinds).
74
+ */
75
+ export declare const GRAPH_LOOP_NODES: readonly [typeof GraphForeachLoopNode, typeof GraphWhileLoopNode, typeof GraphUntilLoopNode];
76
+ /**
77
+ * All built-in boundary node constructors.
78
+ */
79
+ export declare const GRAPH_BOUNDARY_NODES: readonly [typeof GraphInputValueNode];
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/loops/foreach
3
+ * @summary Foreach loop node declaration.
4
+ * @description Shared declaration for the `core.loop.foreach` system node
5
+ * kind (decorator id `graph-foreach-loop-node`), ported from the for-angular
6
+ * demo app so the loop kinds become shared canvas nodes. Its executor is
7
+ * built into the integrations engine (`ForeachGraphNodeExecutor`). The
8
+ * loop-body workflow is demo/app-side content and is not part of the shared
9
+ * declaration — the shared class carries the port/metadata shape only.
10
+ */
11
+ import { Model } from "@decaf-ts/decorator-validation";
12
+ import "../category-styles";
13
+ export declare class GraphForeachLoopNode extends Model {
14
+ items: unknown[];
15
+ slice: number;
16
+ item: unknown;
17
+ loop: unknown;
18
+ completed: unknown[];
19
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/loops/foreach
3
+ * @summary Foreach loop node declaration.
4
+ * @description Shared declaration for the `core.loop.foreach` system node
5
+ * kind (decorator id `graph-foreach-loop-node`), ported from the for-angular
6
+ * demo app so the loop kinds become shared canvas nodes. Its executor is
7
+ * built into the integrations engine (`ForeachGraphNodeExecutor`). The
8
+ * loop-body workflow is demo/app-side content and is not part of the shared
9
+ * declaration — the shared class carries the port/metadata shape only.
10
+ */
11
+ import { Model } from "@decaf-ts/decorator-validation";
12
+ import "../category-styles";
13
+ export declare class GraphForeachLoopNode extends Model {
14
+ items: unknown[];
15
+ slice: number;
16
+ item: unknown;
17
+ loop: unknown;
18
+ completed: unknown[];
19
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/loops/until
3
+ * @summary Until loop node declaration.
4
+ * @description Shared declaration for the `core.loop.until` system node kind
5
+ * (decorator id `graph-until-loop-node`), ported from the for-angular demo
6
+ * app so the loop kinds become shared canvas nodes. Its executor is built
7
+ * into the integrations engine (`UntilGraphNodeExecutor`). The loop-body
8
+ * workflow is demo/app-side content and is not part of the shared
9
+ * declaration — the shared class carries the port/metadata shape only.
10
+ */
11
+ import { Model } from "@decaf-ts/decorator-validation";
12
+ import "../category-styles";
13
+ export declare class GraphUntilLoopNode extends Model {
14
+ state: unknown;
15
+ stateOut: unknown;
16
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/loops/until
3
+ * @summary Until loop node declaration.
4
+ * @description Shared declaration for the `core.loop.until` system node kind
5
+ * (decorator id `graph-until-loop-node`), ported from the for-angular demo
6
+ * app so the loop kinds become shared canvas nodes. Its executor is built
7
+ * into the integrations engine (`UntilGraphNodeExecutor`). The loop-body
8
+ * workflow is demo/app-side content and is not part of the shared
9
+ * declaration — the shared class carries the port/metadata shape only.
10
+ */
11
+ import { Model } from "@decaf-ts/decorator-validation";
12
+ import "../category-styles";
13
+ export declare class GraphUntilLoopNode extends Model {
14
+ state: unknown;
15
+ stateOut: unknown;
16
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/loops/while
3
+ * @summary While loop node declaration.
4
+ * @description Shared declaration for the `core.loop.while` system node kind
5
+ * (decorator id `graph-while-loop-node`), ported from the for-angular demo
6
+ * app so the loop kinds become shared canvas nodes. Its executor is built
7
+ * into the integrations engine (`WhileGraphNodeExecutor`). The loop-body
8
+ * workflow is demo/app-side content and is not part of the shared
9
+ * declaration — the shared class carries the port/metadata shape only.
10
+ */
11
+ import { Model } from "@decaf-ts/decorator-validation";
12
+ import "../category-styles";
13
+ export declare class GraphWhileLoopNode extends Model {
14
+ state: unknown;
15
+ stateOut: unknown;
16
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/loops/while
3
+ * @summary While loop node declaration.
4
+ * @description Shared declaration for the `core.loop.while` system node kind
5
+ * (decorator id `graph-while-loop-node`), ported from the for-angular demo
6
+ * app so the loop kinds become shared canvas nodes. Its executor is built
7
+ * into the integrations engine (`WhileGraphNodeExecutor`). The loop-body
8
+ * workflow is demo/app-side content and is not part of the shared
9
+ * declaration — the shared class carries the port/metadata shape only.
10
+ */
11
+ import { Model } from "@decaf-ts/decorator-validation";
12
+ import "../category-styles";
13
+ export declare class GraphWhileLoopNode extends Model {
14
+ state: unknown;
15
+ stateOut: unknown;
16
+ }
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/manifests
3
+ * @summary Built-in node manifests (DECAF-50 §4.12).
4
+ * @description The catalogue-published JSON manifests for every node kind
5
+ * the backend ships. Loop manifests are hand-authored (their loop-body
6
+ * shapes are structural); the rest are compiled from the shared
7
+ * `@node`-decorated classes via `graphNodeManifest`, so the served shape is
8
+ * identical to what the Angular palette consumes. Aggregated in
9
+ * `GRAPH_BUILT_IN_NODE_MANIFESTS` and indexed by kind in
10
+ * `GRAPH_BUILT_IN_NODE_MANIFESTS_BY_KIND`.
11
+ */
12
+ import type { GraphNodeManifest } from "../catalog/index.d.cts";
13
+ /** Manifest for the `core.loop.foreach` node: runs the loop body once per item (or slice) of the input array. */
14
+ export declare const FOREACH_GRAPH_NODE_MANIFEST: GraphNodeManifest;
15
+ /** Manifest for the `core.loop.while` node: repeats the loop body while the condition holds. */
16
+ export declare const WHILE_GRAPH_NODE_MANIFEST: GraphNodeManifest;
17
+ /** Manifest for the `core.loop.until` node: repeats the loop body until the condition holds. */
18
+ export declare const UNTIL_GRAPH_NODE_MANIFEST: GraphNodeManifest;
19
+ /** Manifest for the `core.flow.switch` node: routes execution by switch-case conditions (cases live under `parameters["switch"]`). */
20
+ export declare const SWITCH_GRAPH_NODE_MANIFEST: GraphNodeManifest;
21
+ /** Manifest for the manual-trigger node (starts a run on demand). */
22
+ export declare const MANUAL_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
23
+ /** Manifest for the webhook-trigger node (starts a run from an inbound webhook). */
24
+ export declare const WEBHOOK_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
25
+ /** Manifest for the schedule-trigger node (starts a run on a schedule). */
26
+ export declare const SCHEDULE_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
27
+ /** Manifest for the event-trigger node (starts a run on an observed event). */
28
+ export declare const EVENT_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
29
+ /** Manifest for the form-trigger node (starts a run from a form submission). */
30
+ export declare const FORM_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
31
+ /** Manifest for the chat-trigger node (starts a run from a chat message). */
32
+ export declare const CHAT_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
33
+ /** Manifest for the if node (conditional branch on a boolean condition). */
34
+ export declare const IF_GRAPH_NODE_MANIFEST: GraphNodeManifest;
35
+ /** Manifest for the parallel node (runs branches concurrently). */
36
+ export declare const PARALLEL_GRAPH_NODE_MANIFEST: GraphNodeManifest;
37
+ /** Manifest for the merge node (joins parallel branches). */
38
+ export declare const MERGE_GRAPH_NODE_MANIFEST: GraphNodeManifest;
39
+ /** Manifest for the map node (transforms each input item). */
40
+ export declare const MAP_GRAPH_NODE_MANIFEST: GraphNodeManifest;
41
+ /** Manifest for the delay node (pauses execution for a duration). */
42
+ export declare const DELAY_GRAPH_NODE_MANIFEST: GraphNodeManifest;
43
+ /** Manifest for the error-boundary node (isolates branch failures). */
44
+ export declare const ERROR_BOUNDARY_GRAPH_NODE_MANIFEST: GraphNodeManifest;
45
+ /** Manifest for the human-approval node (waits for an approval decision). */
46
+ export declare const HUMAN_APPROVAL_GRAPH_NODE_MANIFEST: GraphNodeManifest;
47
+ /** Manifest for the return node (terminates the workflow with output values). */
48
+ export declare const RETURN_GRAPH_NODE_MANIFEST: GraphNodeManifest;
49
+ /** Manifest for the code node (executes user code). */
50
+ export declare const CODE_GRAPH_NODE_MANIFEST: GraphNodeManifest;
51
+ /** Manifest for the log node (logs its input). */
52
+ export declare const LOG_GRAPH_NODE_MANIFEST: GraphNodeManifest;
53
+ /** Manifest for the utility-log node (log-shaped utility sink). */
54
+ export declare const UTILITY_LOG_GRAPH_NODE_MANIFEST: GraphNodeManifest;
55
+ /** Manifest for the break node (exits the enclosing loop). */
56
+ export declare const BREAK_GRAPH_NODE_MANIFEST: GraphNodeManifest;
57
+ /** Manifest for the agent node (delegates work to an agent). */
58
+ export declare const AGENT_GRAPH_NODE_MANIFEST: GraphNodeManifest;
59
+ /** All built-in node manifests, in catalogue display order. */
60
+ export declare const GRAPH_BUILT_IN_NODE_MANIFESTS: GraphNodeManifest[];
61
+ /** Built-in manifests indexed by node `kind` — the source for built-in catalogue registrations. */
62
+ export declare const GRAPH_BUILT_IN_NODE_MANIFESTS_BY_KIND: Record<string, GraphNodeManifest>;
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/manifests
3
+ * @summary Built-in node manifests (DECAF-50 §4.12).
4
+ * @description The catalogue-published JSON manifests for every node kind
5
+ * the backend ships. Loop manifests are hand-authored (their loop-body
6
+ * shapes are structural); the rest are compiled from the shared
7
+ * `@node`-decorated classes via `graphNodeManifest`, so the served shape is
8
+ * identical to what the Angular palette consumes. Aggregated in
9
+ * `GRAPH_BUILT_IN_NODE_MANIFESTS` and indexed by kind in
10
+ * `GRAPH_BUILT_IN_NODE_MANIFESTS_BY_KIND`.
11
+ */
12
+ import type { GraphNodeManifest } from "../catalog/index.d.mts";
13
+ /** Manifest for the `core.loop.foreach` node: runs the loop body once per item (or slice) of the input array. */
14
+ export declare const FOREACH_GRAPH_NODE_MANIFEST: GraphNodeManifest;
15
+ /** Manifest for the `core.loop.while` node: repeats the loop body while the condition holds. */
16
+ export declare const WHILE_GRAPH_NODE_MANIFEST: GraphNodeManifest;
17
+ /** Manifest for the `core.loop.until` node: repeats the loop body until the condition holds. */
18
+ export declare const UNTIL_GRAPH_NODE_MANIFEST: GraphNodeManifest;
19
+ /** Manifest for the `core.flow.switch` node: routes execution by switch-case conditions (cases live under `parameters["switch"]`). */
20
+ export declare const SWITCH_GRAPH_NODE_MANIFEST: GraphNodeManifest;
21
+ /** Manifest for the manual-trigger node (starts a run on demand). */
22
+ export declare const MANUAL_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
23
+ /** Manifest for the webhook-trigger node (starts a run from an inbound webhook). */
24
+ export declare const WEBHOOK_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
25
+ /** Manifest for the schedule-trigger node (starts a run on a schedule). */
26
+ export declare const SCHEDULE_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
27
+ /** Manifest for the event-trigger node (starts a run on an observed event). */
28
+ export declare const EVENT_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
29
+ /** Manifest for the form-trigger node (starts a run from a form submission). */
30
+ export declare const FORM_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
31
+ /** Manifest for the chat-trigger node (starts a run from a chat message). */
32
+ export declare const CHAT_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
33
+ /** Manifest for the if node (conditional branch on a boolean condition). */
34
+ export declare const IF_GRAPH_NODE_MANIFEST: GraphNodeManifest;
35
+ /** Manifest for the parallel node (runs branches concurrently). */
36
+ export declare const PARALLEL_GRAPH_NODE_MANIFEST: GraphNodeManifest;
37
+ /** Manifest for the merge node (joins parallel branches). */
38
+ export declare const MERGE_GRAPH_NODE_MANIFEST: GraphNodeManifest;
39
+ /** Manifest for the map node (transforms each input item). */
40
+ export declare const MAP_GRAPH_NODE_MANIFEST: GraphNodeManifest;
41
+ /** Manifest for the delay node (pauses execution for a duration). */
42
+ export declare const DELAY_GRAPH_NODE_MANIFEST: GraphNodeManifest;
43
+ /** Manifest for the error-boundary node (isolates branch failures). */
44
+ export declare const ERROR_BOUNDARY_GRAPH_NODE_MANIFEST: GraphNodeManifest;
45
+ /** Manifest for the human-approval node (waits for an approval decision). */
46
+ export declare const HUMAN_APPROVAL_GRAPH_NODE_MANIFEST: GraphNodeManifest;
47
+ /** Manifest for the return node (terminates the workflow with output values). */
48
+ export declare const RETURN_GRAPH_NODE_MANIFEST: GraphNodeManifest;
49
+ /** Manifest for the code node (executes user code). */
50
+ export declare const CODE_GRAPH_NODE_MANIFEST: GraphNodeManifest;
51
+ /** Manifest for the log node (logs its input). */
52
+ export declare const LOG_GRAPH_NODE_MANIFEST: GraphNodeManifest;
53
+ /** Manifest for the utility-log node (log-shaped utility sink). */
54
+ export declare const UTILITY_LOG_GRAPH_NODE_MANIFEST: GraphNodeManifest;
55
+ /** Manifest for the break node (exits the enclosing loop). */
56
+ export declare const BREAK_GRAPH_NODE_MANIFEST: GraphNodeManifest;
57
+ /** Manifest for the agent node (delegates work to an agent). */
58
+ export declare const AGENT_GRAPH_NODE_MANIFEST: GraphNodeManifest;
59
+ /** All built-in node manifests, in catalogue display order. */
60
+ export declare const GRAPH_BUILT_IN_NODE_MANIFESTS: GraphNodeManifest[];
61
+ /** Built-in manifests indexed by node `kind` — the source for built-in catalogue registrations. */
62
+ export declare const GRAPH_BUILT_IN_NODE_MANIFESTS_BY_KIND: Record<string, GraphNodeManifest>;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/chat
3
+ * @summary Chat trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Chat trigger — chat message entrypoint; message/sessionId/
5
+ * userId schema.
6
+ */
7
+ import { Model } from "@decaf-ts/decorator-validation";
8
+ import "../category-styles";
9
+ export declare class ChatTriggerNode extends Model {
10
+ message: string;
11
+ sessionId: string;
12
+ userId: string;
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/chat
3
+ * @summary Chat trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Chat trigger — chat message entrypoint; message/sessionId/
5
+ * userId schema.
6
+ */
7
+ import { Model } from "@decaf-ts/decorator-validation";
8
+ import "../category-styles";
9
+ export declare class ChatTriggerNode extends Model {
10
+ message: string;
11
+ sessionId: string;
12
+ userId: string;
13
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/event
3
+ * @summary Event trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Event trigger — internal event bus topic subscriber.
5
+ */
6
+ import { Model } from "@decaf-ts/decorator-validation";
7
+ import "../category-styles";
8
+ export declare class EventTriggerNode extends Model {
9
+ payload: unknown;
10
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/event
3
+ * @summary Event trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Event trigger — internal event bus topic subscriber.
5
+ */
6
+ import { Model } from "@decaf-ts/decorator-validation";
7
+ import "../category-styles";
8
+ export declare class EventTriggerNode extends Model {
9
+ payload: unknown;
10
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/form
3
+ * @summary Form trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Form trigger — generated public/internal form; field
5
+ * definitions.
6
+ */
7
+ import { Model } from "@decaf-ts/decorator-validation";
8
+ import "../category-styles";
9
+ export declare class FormTriggerNode extends Model {
10
+ payload: unknown;
11
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/form
3
+ * @summary Form trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Form trigger — generated public/internal form; field
5
+ * definitions.
6
+ */
7
+ import { Model } from "@decaf-ts/decorator-validation";
8
+ import "../category-styles";
9
+ export declare class FormTriggerNode extends Model {
10
+ payload: unknown;
11
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/manual
3
+ * @summary Manual trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Manual trigger — user clicks Run; input form generated from
5
+ * `inputSchema`. Triggers are metadata-only entrypoints: they define how a
6
+ * workflow starts and produce a trigger payload on their `@output` ports.
7
+ */
8
+ import { Model } from "@decaf-ts/decorator-validation";
9
+ import "../category-styles";
10
+ export declare class ManualTriggerNode extends Model {
11
+ payload: unknown;
12
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/manual
3
+ * @summary Manual trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Manual trigger — user clicks Run; input form generated from
5
+ * `inputSchema`. Triggers are metadata-only entrypoints: they define how a
6
+ * workflow starts and produce a trigger payload on their `@output` ports.
7
+ */
8
+ import { Model } from "@decaf-ts/decorator-validation";
9
+ import "../category-styles";
10
+ export declare class ManualTriggerNode extends Model {
11
+ payload: unknown;
12
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/schedule
3
+ * @summary Schedule trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Schedule trigger — cron-like schedule; timezone + payload
5
+ * config.
6
+ */
7
+ import { Model } from "@decaf-ts/decorator-validation";
8
+ import "../category-styles";
9
+ export declare class ScheduleTriggerNode extends Model {
10
+ payload: unknown;
11
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/schedule
3
+ * @summary Schedule trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Schedule trigger — cron-like schedule; timezone + payload
5
+ * config.
6
+ */
7
+ import { Model } from "@decaf-ts/decorator-validation";
8
+ import "../category-styles";
9
+ export declare class ScheduleTriggerNode extends Model {
10
+ payload: unknown;
11
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/webhook
3
+ * @summary Webhook trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Webhook trigger — HTTP request received; path/method/auth/
5
+ * responseMode config.
6
+ */
7
+ import { Model } from "@decaf-ts/decorator-validation";
8
+ import "../category-styles";
9
+ export declare class WebhookTriggerNode extends Model {
10
+ payload: unknown;
11
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/triggers/webhook
3
+ * @summary Webhook trigger node declaration (DECAF-32 §22.2.1).
4
+ * @description Webhook trigger — HTTP request received; path/method/auth/
5
+ * responseMode config.
6
+ */
7
+ import { Model } from "@decaf-ts/decorator-validation";
8
+ import "../category-styles";
9
+ export declare class WebhookTriggerNode extends Model {
10
+ payload: unknown;
11
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/utility/code
3
+ * @summary Code utility node declaration (ALFRED-5 §7, DECAF-32 §22.4).
4
+ * @description Code — sandboxed JS/TS code execution. The engine's
5
+ * `CodeGraphNodeExecutor` delegates to the pluggable `CodeSandboxEvaluator`.
6
+ * The default `IsolatedVmCodeSandboxEvaluator` (backed by `isolated-vm`)
7
+ * enforces the Code Node restrictions: no imports, no requires, pure
8
+ * functions only. The sandbox context exposes `$input`, `$vars`, `$item`,
9
+ * `$index`, `$node`, and `$output` as data variables. TypeScript is
10
+ * supported via transpilation.
11
+ *
12
+ * The `@input` on `CodeFlowNode.input` is a schema group — the nested
13
+ * model's `@input` ports are spliced into the parent unprefixed. `code` has
14
+ * `@input` + `@uielement("code-editor")`, so it appears as a port AND in the
15
+ * CRUD modal (the only visible field). `data` has `@input` + `@hidden()` but
16
+ * no `@uielement`, so it is a canvas-only port (for edge connections from
17
+ * workflow input badges) but never appears in the CRUD modal. `language` has
18
+ * no `@input` and no `@uielement`, so it is neither a port nor rendered — it
19
+ * defaults to `"javascript"`.
20
+ */
21
+ import { Model } from "@decaf-ts/decorator-validation";
22
+ import "../category-styles";
23
+ export declare class CodeInputSchema extends Model {
24
+ language: string;
25
+ code: string;
26
+ data?: unknown;
27
+ }
28
+ export declare class CodeFlowNode extends Model {
29
+ input: CodeInputSchema;
30
+ result: unknown;
31
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/utility/code
3
+ * @summary Code utility node declaration (ALFRED-5 §7, DECAF-32 §22.4).
4
+ * @description Code — sandboxed JS/TS code execution. The engine's
5
+ * `CodeGraphNodeExecutor` delegates to the pluggable `CodeSandboxEvaluator`.
6
+ * The default `IsolatedVmCodeSandboxEvaluator` (backed by `isolated-vm`)
7
+ * enforces the Code Node restrictions: no imports, no requires, pure
8
+ * functions only. The sandbox context exposes `$input`, `$vars`, `$item`,
9
+ * `$index`, `$node`, and `$output` as data variables. TypeScript is
10
+ * supported via transpilation.
11
+ *
12
+ * The `@input` on `CodeFlowNode.input` is a schema group — the nested
13
+ * model's `@input` ports are spliced into the parent unprefixed. `code` has
14
+ * `@input` + `@uielement("code-editor")`, so it appears as a port AND in the
15
+ * CRUD modal (the only visible field). `data` has `@input` + `@hidden()` but
16
+ * no `@uielement`, so it is a canvas-only port (for edge connections from
17
+ * workflow input badges) but never appears in the CRUD modal. `language` has
18
+ * no `@input` and no `@uielement`, so it is neither a port nor rendered — it
19
+ * defaults to `"javascript"`.
20
+ */
21
+ import { Model } from "@decaf-ts/decorator-validation";
22
+ import "../category-styles";
23
+ export declare class CodeInputSchema extends Model {
24
+ language: string;
25
+ code: string;
26
+ data?: unknown;
27
+ }
28
+ export declare class CodeFlowNode extends Model {
29
+ input: CodeInputSchema;
30
+ result: unknown;
31
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/utility/delay
3
+ * @summary Delay utility node declaration (DECAF-32 §22.2.2).
4
+ * @description Delay — pauses execution for a configured duration.
5
+ */
6
+ import { Model } from "@decaf-ts/decorator-validation";
7
+ import "../category-styles";
8
+ export declare class DelayFlowNode extends Model {
9
+ value: unknown;
10
+ valueOut: unknown;
11
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @module ui-decorators/graph/nodes/utility/delay
3
+ * @summary Delay utility node declaration (DECAF-32 §22.2.2).
4
+ * @description Delay — pauses execution for a configured duration.
5
+ */
6
+ import { Model } from "@decaf-ts/decorator-validation";
7
+ import "../category-styles";
8
+ export declare class DelayFlowNode extends Model {
9
+ value: unknown;
10
+ valueOut: unknown;
11
+ }