@decaf-ts/ui-decorators 0.21.0 → 0.21.1

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 (309) hide show
  1. package/dist/ui-decorators.cjs +1 -1
  2. package/dist/ui-decorators.cjs.map +1 -1
  3. package/dist/ui-decorators.js +1 -1
  4. package/dist/ui-decorators.js.map +1 -1
  5. package/lib/cjs/index.cjs +3 -3
  6. package/lib/esm/index.js +3 -3
  7. package/lib/types/index.d.cts +3 -3
  8. package/lib/types/index.d.mts +3 -3
  9. package/package.json +2 -18
  10. package/lib/cjs/graph/GraphExecutionStateMapper.cjs +0 -97
  11. package/lib/cjs/graph/GraphExecutionStateMapper.cjs.map +0 -1
  12. package/lib/cjs/graph/GraphResolution.cjs +0 -17
  13. package/lib/cjs/graph/GraphResolution.cjs.map +0 -1
  14. package/lib/cjs/graph/catalog/GraphConnectionPolicy.cjs +0 -20
  15. package/lib/cjs/graph/catalog/GraphConnectionPolicy.cjs.map +0 -1
  16. package/lib/cjs/graph/catalog/GraphCredentialReference.cjs +0 -15
  17. package/lib/cjs/graph/catalog/GraphCredentialReference.cjs.map +0 -1
  18. package/lib/cjs/graph/catalog/GraphCredentialRequirement.cjs +0 -16
  19. package/lib/cjs/graph/catalog/GraphCredentialRequirement.cjs.map +0 -1
  20. package/lib/cjs/graph/catalog/GraphDynamicPortRule.cjs +0 -31
  21. package/lib/cjs/graph/catalog/GraphDynamicPortRule.cjs.map +0 -1
  22. package/lib/cjs/graph/catalog/GraphIconReference.cjs +0 -22
  23. package/lib/cjs/graph/catalog/GraphIconReference.cjs.map +0 -1
  24. package/lib/cjs/graph/catalog/GraphManifestCompiler.cjs +0 -326
  25. package/lib/cjs/graph/catalog/GraphManifestCompiler.cjs.map +0 -1
  26. package/lib/cjs/graph/catalog/GraphNodeCapability.cjs +0 -23
  27. package/lib/cjs/graph/catalog/GraphNodeCapability.cjs.map +0 -1
  28. package/lib/cjs/graph/catalog/GraphNodeDisplayManifest.cjs +0 -11
  29. package/lib/cjs/graph/catalog/GraphNodeDisplayManifest.cjs.map +0 -1
  30. package/lib/cjs/graph/catalog/GraphNodeManifest.cjs +0 -23
  31. package/lib/cjs/graph/catalog/GraphNodeManifest.cjs.map +0 -1
  32. package/lib/cjs/graph/catalog/GraphNodeManifestSerialization.cjs +0 -50
  33. package/lib/cjs/graph/catalog/GraphNodeManifestSerialization.cjs.map +0 -1
  34. package/lib/cjs/graph/catalog/GraphNodeMethodManifest.cjs +0 -29
  35. package/lib/cjs/graph/catalog/GraphNodeMethodManifest.cjs.map +0 -1
  36. package/lib/cjs/graph/catalog/GraphNodePolicyManifest.cjs +0 -18
  37. package/lib/cjs/graph/catalog/GraphNodePolicyManifest.cjs.map +0 -1
  38. package/lib/cjs/graph/catalog/GraphParameterBase.cjs +0 -4
  39. package/lib/cjs/graph/catalog/GraphParameterBase.cjs.map +0 -1
  40. package/lib/cjs/graph/catalog/GraphParameterDefinition.cjs +0 -29
  41. package/lib/cjs/graph/catalog/GraphParameterDefinition.cjs.map +0 -1
  42. package/lib/cjs/graph/catalog/GraphParameterOption.cjs +0 -18
  43. package/lib/cjs/graph/catalog/GraphParameterOption.cjs.map +0 -1
  44. package/lib/cjs/graph/catalog/GraphParameterValidation.cjs +0 -57
  45. package/lib/cjs/graph/catalog/GraphParameterValidation.cjs.map +0 -1
  46. package/lib/cjs/graph/catalog/GraphPortManifest.cjs +0 -19
  47. package/lib/cjs/graph/catalog/GraphPortManifest.cjs.map +0 -1
  48. package/lib/cjs/graph/catalog/GraphPortManifestElement.cjs +0 -15
  49. package/lib/cjs/graph/catalog/GraphPortManifestElement.cjs.map +0 -1
  50. package/lib/cjs/graph/catalog/GraphResourceLocatorMode.cjs +0 -19
  51. package/lib/cjs/graph/catalog/GraphResourceLocatorMode.cjs.map +0 -1
  52. package/lib/cjs/graph/catalog/GraphValueSchema.cjs +0 -25
  53. package/lib/cjs/graph/catalog/GraphValueSchema.cjs.map +0 -1
  54. package/lib/cjs/graph/catalog/GraphValueSchemaDerivation.cjs +0 -164
  55. package/lib/cjs/graph/catalog/GraphValueSchemaDerivation.cjs.map +0 -1
  56. package/lib/cjs/graph/catalog/GraphVisibilityExpression.cjs +0 -63
  57. package/lib/cjs/graph/catalog/GraphVisibilityExpression.cjs.map +0 -1
  58. package/lib/cjs/graph/catalog/index.cjs +0 -40
  59. package/lib/cjs/graph/catalog/index.cjs.map +0 -1
  60. package/lib/cjs/graph/category-styles.cjs +0 -38
  61. package/lib/cjs/graph/category-styles.cjs.map +0 -1
  62. package/lib/cjs/graph/constants.cjs +0 -320
  63. package/lib/cjs/graph/constants.cjs.map +0 -1
  64. package/lib/cjs/graph/decorators.cjs +0 -151
  65. package/lib/cjs/graph/decorators.cjs.map +0 -1
  66. package/lib/cjs/graph/document/GraphDecoratedWorkflowCompiler.cjs +0 -353
  67. package/lib/cjs/graph/document/GraphDecoratedWorkflowCompiler.cjs.map +0 -1
  68. package/lib/cjs/graph/document/GraphEdgeInstance.cjs +0 -4
  69. package/lib/cjs/graph/document/GraphEdgeInstance.cjs.map +0 -1
  70. package/lib/cjs/graph/document/GraphEndpoint.cjs +0 -27
  71. package/lib/cjs/graph/document/GraphEndpoint.cjs.map +0 -1
  72. package/lib/cjs/graph/document/GraphJsonValue.cjs +0 -82
  73. package/lib/cjs/graph/document/GraphJsonValue.cjs.map +0 -1
  74. package/lib/cjs/graph/document/GraphLoopConfiguration.cjs +0 -4
  75. package/lib/cjs/graph/document/GraphLoopConfiguration.cjs.map +0 -1
  76. package/lib/cjs/graph/document/GraphNodeBinding.cjs +0 -27
  77. package/lib/cjs/graph/document/GraphNodeBinding.cjs.map +0 -1
  78. package/lib/cjs/graph/document/GraphNodeInstance.cjs +0 -4
  79. package/lib/cjs/graph/document/GraphNodeInstance.cjs.map +0 -1
  80. package/lib/cjs/graph/document/GraphWorkflowDocument.cjs +0 -16
  81. package/lib/cjs/graph/document/GraphWorkflowDocument.cjs.map +0 -1
  82. package/lib/cjs/graph/document/GraphWorkflowDocumentBuilder.cjs +0 -309
  83. package/lib/cjs/graph/document/GraphWorkflowDocumentBuilder.cjs.map +0 -1
  84. package/lib/cjs/graph/document/GraphWorkflowDocumentReader.cjs +0 -78
  85. package/lib/cjs/graph/document/GraphWorkflowDocumentReader.cjs.map +0 -1
  86. package/lib/cjs/graph/document/GraphWorkflowDocumentSerializer.cjs +0 -70
  87. package/lib/cjs/graph/document/GraphWorkflowDocumentSerializer.cjs.map +0 -1
  88. package/lib/cjs/graph/document/GraphWorkflowUiState.cjs +0 -4
  89. package/lib/cjs/graph/document/GraphWorkflowUiState.cjs.map +0 -1
  90. package/lib/cjs/graph/document/index.cjs +0 -30
  91. package/lib/cjs/graph/document/index.cjs.map +0 -1
  92. package/lib/cjs/graph/index.cjs +0 -33
  93. package/lib/cjs/graph/index.cjs.map +0 -1
  94. package/lib/cjs/graph/overrides/Metadata.cjs +0 -23
  95. package/lib/cjs/graph/overrides/Metadata.cjs.map +0 -1
  96. package/lib/cjs/graph/overrides/Rendering.cjs +0 -4
  97. package/lib/cjs/graph/overrides/Rendering.cjs.map +0 -1
  98. package/lib/cjs/graph/overrides/index.cjs +0 -21
  99. package/lib/cjs/graph/overrides/index.cjs.map +0 -1
  100. package/lib/cjs/graph/overrides/overrides.cjs +0 -20
  101. package/lib/cjs/graph/overrides/overrides.cjs.map +0 -1
  102. package/lib/cjs/graph/reader.cjs +0 -327
  103. package/lib/cjs/graph/reader.cjs.map +0 -1
  104. package/lib/cjs/graph/registry.cjs +0 -67
  105. package/lib/cjs/graph/registry.cjs.map +0 -1
  106. package/lib/cjs/graph/snapshot.cjs +0 -4
  107. package/lib/cjs/graph/snapshot.cjs.map +0 -1
  108. package/lib/cjs/graph/types.cjs +0 -7
  109. package/lib/cjs/graph/types.cjs.map +0 -1
  110. package/lib/esm/graph/GraphExecutionStateMapper.js +0 -91
  111. package/lib/esm/graph/GraphExecutionStateMapper.js.map +0 -1
  112. package/lib/esm/graph/GraphResolution.js +0 -13
  113. package/lib/esm/graph/GraphResolution.js.map +0 -1
  114. package/lib/esm/graph/catalog/GraphConnectionPolicy.js +0 -16
  115. package/lib/esm/graph/catalog/GraphConnectionPolicy.js.map +0 -1
  116. package/lib/esm/graph/catalog/GraphCredentialReference.js +0 -9
  117. package/lib/esm/graph/catalog/GraphCredentialReference.js.map +0 -1
  118. package/lib/esm/graph/catalog/GraphCredentialRequirement.js +0 -12
  119. package/lib/esm/graph/catalog/GraphCredentialRequirement.js.map +0 -1
  120. package/lib/esm/graph/catalog/GraphDynamicPortRule.js +0 -25
  121. package/lib/esm/graph/catalog/GraphDynamicPortRule.js.map +0 -1
  122. package/lib/esm/graph/catalog/GraphIconReference.js +0 -18
  123. package/lib/esm/graph/catalog/GraphIconReference.js.map +0 -1
  124. package/lib/esm/graph/catalog/GraphManifestCompiler.js +0 -322
  125. package/lib/esm/graph/catalog/GraphManifestCompiler.js.map +0 -1
  126. package/lib/esm/graph/catalog/GraphNodeCapability.js +0 -17
  127. package/lib/esm/graph/catalog/GraphNodeCapability.js.map +0 -1
  128. package/lib/esm/graph/catalog/GraphNodeDisplayManifest.js +0 -7
  129. package/lib/esm/graph/catalog/GraphNodeDisplayManifest.js.map +0 -1
  130. package/lib/esm/graph/catalog/GraphNodeManifest.js +0 -17
  131. package/lib/esm/graph/catalog/GraphNodeManifest.js.map +0 -1
  132. package/lib/esm/graph/catalog/GraphNodeManifestSerialization.js +0 -42
  133. package/lib/esm/graph/catalog/GraphNodeManifestSerialization.js.map +0 -1
  134. package/lib/esm/graph/catalog/GraphNodeMethodManifest.js +0 -23
  135. package/lib/esm/graph/catalog/GraphNodeMethodManifest.js.map +0 -1
  136. package/lib/esm/graph/catalog/GraphNodePolicyManifest.js +0 -14
  137. package/lib/esm/graph/catalog/GraphNodePolicyManifest.js.map +0 -1
  138. package/lib/esm/graph/catalog/GraphParameterBase.js +0 -2
  139. package/lib/esm/graph/catalog/GraphParameterBase.js.map +0 -1
  140. package/lib/esm/graph/catalog/GraphParameterDefinition.js +0 -23
  141. package/lib/esm/graph/catalog/GraphParameterDefinition.js.map +0 -1
  142. package/lib/esm/graph/catalog/GraphParameterOption.js +0 -13
  143. package/lib/esm/graph/catalog/GraphParameterOption.js.map +0 -1
  144. package/lib/esm/graph/catalog/GraphParameterValidation.js +0 -50
  145. package/lib/esm/graph/catalog/GraphParameterValidation.js.map +0 -1
  146. package/lib/esm/graph/catalog/GraphPortManifest.js +0 -13
  147. package/lib/esm/graph/catalog/GraphPortManifest.js.map +0 -1
  148. package/lib/esm/graph/catalog/GraphPortManifestElement.js +0 -11
  149. package/lib/esm/graph/catalog/GraphPortManifestElement.js.map +0 -1
  150. package/lib/esm/graph/catalog/GraphResourceLocatorMode.js +0 -13
  151. package/lib/esm/graph/catalog/GraphResourceLocatorMode.js.map +0 -1
  152. package/lib/esm/graph/catalog/GraphValueSchema.js +0 -19
  153. package/lib/esm/graph/catalog/GraphValueSchema.js.map +0 -1
  154. package/lib/esm/graph/catalog/GraphValueSchemaDerivation.js +0 -156
  155. package/lib/esm/graph/catalog/GraphValueSchemaDerivation.js.map +0 -1
  156. package/lib/esm/graph/catalog/GraphVisibilityExpression.js +0 -58
  157. package/lib/esm/graph/catalog/GraphVisibilityExpression.js.map +0 -1
  158. package/lib/esm/graph/catalog/index.js +0 -23
  159. package/lib/esm/graph/catalog/index.js.map +0 -1
  160. package/lib/esm/graph/category-styles.js +0 -34
  161. package/lib/esm/graph/category-styles.js.map +0 -1
  162. package/lib/esm/graph/constants.js +0 -335
  163. package/lib/esm/graph/constants.js.map +0 -1
  164. package/lib/esm/graph/decorators.js +0 -141
  165. package/lib/esm/graph/decorators.js.map +0 -1
  166. package/lib/esm/graph/document/GraphDecoratedWorkflowCompiler.js +0 -347
  167. package/lib/esm/graph/document/GraphDecoratedWorkflowCompiler.js.map +0 -1
  168. package/lib/esm/graph/document/GraphEdgeInstance.js +0 -2
  169. package/lib/esm/graph/document/GraphEdgeInstance.js.map +0 -1
  170. package/lib/esm/graph/document/GraphEndpoint.js +0 -21
  171. package/lib/esm/graph/document/GraphEndpoint.js.map +0 -1
  172. package/lib/esm/graph/document/GraphJsonValue.js +0 -73
  173. package/lib/esm/graph/document/GraphJsonValue.js.map +0 -1
  174. package/lib/esm/graph/document/GraphLoopConfiguration.js +0 -2
  175. package/lib/esm/graph/document/GraphLoopConfiguration.js.map +0 -1
  176. package/lib/esm/graph/document/GraphNodeBinding.js +0 -22
  177. package/lib/esm/graph/document/GraphNodeBinding.js.map +0 -1
  178. package/lib/esm/graph/document/GraphNodeInstance.js +0 -2
  179. package/lib/esm/graph/document/GraphNodeInstance.js.map +0 -1
  180. package/lib/esm/graph/document/GraphWorkflowDocument.js +0 -12
  181. package/lib/esm/graph/document/GraphWorkflowDocument.js.map +0 -1
  182. package/lib/esm/graph/document/GraphWorkflowDocumentBuilder.js +0 -303
  183. package/lib/esm/graph/document/GraphWorkflowDocumentBuilder.js.map +0 -1
  184. package/lib/esm/graph/document/GraphWorkflowDocumentReader.js +0 -62
  185. package/lib/esm/graph/document/GraphWorkflowDocumentReader.js.map +0 -1
  186. package/lib/esm/graph/document/GraphWorkflowDocumentSerializer.js +0 -63
  187. package/lib/esm/graph/document/GraphWorkflowDocumentSerializer.js.map +0 -1
  188. package/lib/esm/graph/document/GraphWorkflowUiState.js +0 -2
  189. package/lib/esm/graph/document/GraphWorkflowUiState.js.map +0 -1
  190. package/lib/esm/graph/document/index.js +0 -13
  191. package/lib/esm/graph/document/index.js.map +0 -1
  192. package/lib/esm/graph/index.js +0 -16
  193. package/lib/esm/graph/index.js.map +0 -1
  194. package/lib/esm/graph/overrides/Metadata.js +0 -20
  195. package/lib/esm/graph/overrides/Metadata.js.map +0 -1
  196. package/lib/esm/graph/overrides/Rendering.js +0 -2
  197. package/lib/esm/graph/overrides/Rendering.js.map +0 -1
  198. package/lib/esm/graph/overrides/index.js +0 -4
  199. package/lib/esm/graph/overrides/index.js.map +0 -1
  200. package/lib/esm/graph/overrides/overrides.js +0 -17
  201. package/lib/esm/graph/overrides/overrides.js.map +0 -1
  202. package/lib/esm/graph/reader.js +0 -313
  203. package/lib/esm/graph/reader.js.map +0 -1
  204. package/lib/esm/graph/registry.js +0 -59
  205. package/lib/esm/graph/registry.js.map +0 -1
  206. package/lib/esm/graph/snapshot.js +0 -2
  207. package/lib/esm/graph/snapshot.js.map +0 -1
  208. package/lib/esm/graph/types.js +0 -2
  209. package/lib/esm/graph/types.js.map +0 -1
  210. package/lib/types/graph/GraphExecutionStateMapper.d.cts +0 -66
  211. package/lib/types/graph/GraphExecutionStateMapper.d.mts +0 -66
  212. package/lib/types/graph/GraphResolution.d.cts +0 -53
  213. package/lib/types/graph/GraphResolution.d.mts +0 -53
  214. package/lib/types/graph/catalog/GraphConnectionPolicy.d.cts +0 -9
  215. package/lib/types/graph/catalog/GraphConnectionPolicy.d.mts +0 -9
  216. package/lib/types/graph/catalog/GraphCredentialReference.d.cts +0 -6
  217. package/lib/types/graph/catalog/GraphCredentialReference.d.mts +0 -6
  218. package/lib/types/graph/catalog/GraphCredentialRequirement.d.cts +0 -7
  219. package/lib/types/graph/catalog/GraphCredentialRequirement.d.mts +0 -7
  220. package/lib/types/graph/catalog/GraphDynamicPortRule.d.cts +0 -22
  221. package/lib/types/graph/catalog/GraphDynamicPortRule.d.mts +0 -22
  222. package/lib/types/graph/catalog/GraphIconReference.d.cts +0 -12
  223. package/lib/types/graph/catalog/GraphIconReference.d.mts +0 -12
  224. package/lib/types/graph/catalog/GraphManifestCompiler.d.cts +0 -14
  225. package/lib/types/graph/catalog/GraphManifestCompiler.d.mts +0 -14
  226. package/lib/types/graph/catalog/GraphNodeCapability.d.cts +0 -4
  227. package/lib/types/graph/catalog/GraphNodeCapability.d.mts +0 -4
  228. package/lib/types/graph/catalog/GraphNodeDisplayManifest.d.cts +0 -33
  229. package/lib/types/graph/catalog/GraphNodeDisplayManifest.d.mts +0 -33
  230. package/lib/types/graph/catalog/GraphNodeManifest.d.cts +0 -26
  231. package/lib/types/graph/catalog/GraphNodeManifest.d.mts +0 -26
  232. package/lib/types/graph/catalog/GraphNodeManifestSerialization.d.cts +0 -7
  233. package/lib/types/graph/catalog/GraphNodeManifestSerialization.d.mts +0 -7
  234. package/lib/types/graph/catalog/GraphNodeMethodManifest.d.cts +0 -10
  235. package/lib/types/graph/catalog/GraphNodeMethodManifest.d.mts +0 -10
  236. package/lib/types/graph/catalog/GraphNodePolicyManifest.d.cts +0 -46
  237. package/lib/types/graph/catalog/GraphNodePolicyManifest.d.mts +0 -46
  238. package/lib/types/graph/catalog/GraphParameterBase.d.cts +0 -14
  239. package/lib/types/graph/catalog/GraphParameterBase.d.mts +0 -14
  240. package/lib/types/graph/catalog/GraphParameterDefinition.d.cts +0 -66
  241. package/lib/types/graph/catalog/GraphParameterDefinition.d.mts +0 -66
  242. package/lib/types/graph/catalog/GraphParameterOption.d.cts +0 -8
  243. package/lib/types/graph/catalog/GraphParameterOption.d.mts +0 -8
  244. package/lib/types/graph/catalog/GraphParameterValidation.d.cts +0 -25
  245. package/lib/types/graph/catalog/GraphParameterValidation.d.mts +0 -25
  246. package/lib/types/graph/catalog/GraphPortManifest.d.cts +0 -23
  247. package/lib/types/graph/catalog/GraphPortManifest.d.mts +0 -23
  248. package/lib/types/graph/catalog/GraphPortManifestElement.d.cts +0 -7
  249. package/lib/types/graph/catalog/GraphPortManifestElement.d.mts +0 -7
  250. package/lib/types/graph/catalog/GraphResourceLocatorMode.d.cts +0 -10
  251. package/lib/types/graph/catalog/GraphResourceLocatorMode.d.mts +0 -10
  252. package/lib/types/graph/catalog/GraphValueSchema.d.cts +0 -44
  253. package/lib/types/graph/catalog/GraphValueSchema.d.mts +0 -44
  254. package/lib/types/graph/catalog/GraphValueSchemaDerivation.d.cts +0 -9
  255. package/lib/types/graph/catalog/GraphValueSchemaDerivation.d.mts +0 -9
  256. package/lib/types/graph/catalog/GraphVisibilityExpression.d.cts +0 -22
  257. package/lib/types/graph/catalog/GraphVisibilityExpression.d.mts +0 -22
  258. package/lib/types/graph/catalog/index.d.cts +0 -22
  259. package/lib/types/graph/catalog/index.d.mts +0 -22
  260. package/lib/types/graph/category-styles.d.cts +0 -8
  261. package/lib/types/graph/category-styles.d.mts +0 -8
  262. package/lib/types/graph/constants.d.cts +0 -544
  263. package/lib/types/graph/constants.d.mts +0 -544
  264. package/lib/types/graph/decorators.d.cts +0 -69
  265. package/lib/types/graph/decorators.d.mts +0 -69
  266. package/lib/types/graph/document/GraphDecoratedWorkflowCompiler.d.cts +0 -47
  267. package/lib/types/graph/document/GraphDecoratedWorkflowCompiler.d.mts +0 -47
  268. package/lib/types/graph/document/GraphEdgeInstance.d.cts +0 -12
  269. package/lib/types/graph/document/GraphEdgeInstance.d.mts +0 -12
  270. package/lib/types/graph/document/GraphEndpoint.d.cts +0 -13
  271. package/lib/types/graph/document/GraphEndpoint.d.mts +0 -13
  272. package/lib/types/graph/document/GraphJsonValue.d.cts +0 -11
  273. package/lib/types/graph/document/GraphJsonValue.d.mts +0 -11
  274. package/lib/types/graph/document/GraphLoopConfiguration.d.cts +0 -24
  275. package/lib/types/graph/document/GraphLoopConfiguration.d.mts +0 -24
  276. package/lib/types/graph/document/GraphNodeBinding.d.cts +0 -21
  277. package/lib/types/graph/document/GraphNodeBinding.d.mts +0 -21
  278. package/lib/types/graph/document/GraphNodeInstance.d.cts +0 -36
  279. package/lib/types/graph/document/GraphNodeInstance.d.mts +0 -36
  280. package/lib/types/graph/document/GraphWorkflowDocument.d.cts +0 -33
  281. package/lib/types/graph/document/GraphWorkflowDocument.d.mts +0 -33
  282. package/lib/types/graph/document/GraphWorkflowDocumentBuilder.d.cts +0 -72
  283. package/lib/types/graph/document/GraphWorkflowDocumentBuilder.d.mts +0 -72
  284. package/lib/types/graph/document/GraphWorkflowDocumentReader.d.cts +0 -21
  285. package/lib/types/graph/document/GraphWorkflowDocumentReader.d.mts +0 -21
  286. package/lib/types/graph/document/GraphWorkflowDocumentSerializer.d.cts +0 -5
  287. package/lib/types/graph/document/GraphWorkflowDocumentSerializer.d.mts +0 -5
  288. package/lib/types/graph/document/GraphWorkflowUiState.d.cts +0 -37
  289. package/lib/types/graph/document/GraphWorkflowUiState.d.mts +0 -37
  290. package/lib/types/graph/document/index.d.cts +0 -12
  291. package/lib/types/graph/document/index.d.mts +0 -12
  292. package/lib/types/graph/index.d.cts +0 -15
  293. package/lib/types/graph/index.d.mts +0 -15
  294. package/lib/types/graph/overrides/Metadata.d.cts +0 -43
  295. package/lib/types/graph/overrides/Metadata.d.mts +0 -43
  296. package/lib/types/graph/overrides/Rendering.d.cts +0 -5
  297. package/lib/types/graph/overrides/Rendering.d.mts +0 -5
  298. package/lib/types/graph/overrides/index.d.cts +0 -3
  299. package/lib/types/graph/overrides/index.d.mts +0 -3
  300. package/lib/types/graph/overrides/overrides.d.cts +0 -1
  301. package/lib/types/graph/overrides/overrides.d.mts +0 -1
  302. package/lib/types/graph/reader.d.cts +0 -28
  303. package/lib/types/graph/reader.d.mts +0 -28
  304. package/lib/types/graph/registry.d.cts +0 -40
  305. package/lib/types/graph/registry.d.mts +0 -40
  306. package/lib/types/graph/snapshot.d.cts +0 -36
  307. package/lib/types/graph/snapshot.d.mts +0 -36
  308. package/lib/types/graph/types.d.cts +0 -289
  309. package/lib/types/graph/types.d.mts +0 -289
@@ -1,544 +0,0 @@
1
- export declare enum GraphKeys {
2
- GRAPH = "graph",
3
- NODE = "graph.node",
4
- EDGE = "graph.edge",
5
- PORT = "graph.port"
6
- }
7
- export declare enum PortDirection {
8
- INPUT = "input",
9
- OUTPUT = "output",
10
- CONNECTION = "connection"
11
- }
12
- export type GraphNodeKind = string;
13
- /**
14
- * Node face silhouette (D1, DECAF-50 §4.5). Manifest-authoritative: the
15
- * projected node geometry renders this shape and its corner radius instead of a
16
- * hardcoded template CSS value.
17
- */
18
- export type GraphNodeShape = "rounded" | "square" | "pill";
19
- /**
20
- * Manifest-declared, value-driven display rule (D1, DECAF-50 §4.5). The manifest
21
- * `display` metadata is the single authority for node geometry; content-driven
22
- * growth is expressed here and evaluated from the node instance's parameters —
23
- * never as a hardcoded per-node formula or a direct DOM style write.
24
- */
25
- export type GraphNodeSizeRule = {
26
- /** Rule kind. Only `parameterCount` is defined: growth tracks an array parameter's length. */
27
- type: "parameterCount";
28
- /** Node-instance parameter whose item count drives the growth (e.g. `cases`). */
29
- parameter: string;
30
- /** Dimension that grows. */
31
- dimension: "height" | "width";
32
- /** Increment added per parameter item. */
33
- perItem: number;
34
- };
35
- export type GraphConnectionRule = {
36
- allowSelf?: boolean;
37
- allowMultiple?: boolean;
38
- allowedKinds?: GraphNodeKind[];
39
- blockedKinds?: GraphNodeKind[];
40
- group?: string;
41
- maxConnections?: number;
42
- metadata?: Record<string, unknown>;
43
- };
44
- export type GraphNodeMetadata = {
45
- kind?: GraphNodeKind;
46
- category?: string;
47
- color?: string;
48
- group?: string;
49
- height?: number;
50
- icon?: string;
51
- labels?: string[];
52
- maxChildren?: number;
53
- minWidth?: number;
54
- width?: number;
55
- /**
56
- * Node face silhouette (D1, DECAF-50 §4.5). Manifest-authoritative;
57
- * folded into the manifest display fields by the D1 revision.
58
- */
59
- shape?: GraphNodeShape;
60
- /**
61
- * Node corner radius in pixels (D1, DECAF-50 §4.5). Manifest-authoritative;
62
- * folded into the manifest display fields by the D1 revision.
63
- */
64
- cornerRadius?: number;
65
- /**
66
- * Manifest-declared, value-driven display rules (D1, DECAF-50 §4.5). Content
67
- * growth (e.g. Switch case count) is expressed here and evaluated from the
68
- * node instance's parameters — never hardcoded per-node formulas.
69
- */
70
- sizeRules?: GraphNodeSizeRule[];
71
- connectionRules?: GraphConnectionRule;
72
- metadata?: Record<string, unknown>;
73
- /**
74
- * Per-group rendering choice for Schema-typed `@input` / `@output` properties
75
- * (the one-vs-all toggle). See {@link GraphPortGroupMetadata}.
76
- */
77
- portGroups?: GraphPortGroupMetadata[];
78
- /**
79
- * Node I/O inspection hints (DECAF-48 §4.6) — viewer mode and which ports
80
- * map to the inputs/outputs panes. Frontend-safe metadata only.
81
- */
82
- inspection?: GraphNodeIoMetadata;
83
- };
84
- export type GraphWorkflowNodeMetadata = {
85
- id: string;
86
- kind?: GraphNodeKind;
87
- label?: string;
88
- description?: string;
89
- node?: unknown;
90
- metadata?: Record<string, unknown>;
91
- /**
92
- * Node I/O inspection hints for this workflow instance (DECAF-48 §4.6).
93
- * Frontend-safe metadata only.
94
- */
95
- inspection?: GraphNodeIoMetadata;
96
- };
97
- /**
98
- * A view-mode choice for the reusable I/O viewer (DECAF-48 §4.6 / Req-9).
99
- * One shared component renders both the inputs and outputs panes.
100
- */
101
- export type GraphNodeIoViewMode = "json" | "table" | "raw";
102
- /**
103
- * Node I/O inspection metadata (DECAF-48 §4.6) — hints the workflow canvas
104
- * uses to open the inline split view for an already-ran node. Framework
105
- * neutral, frontend-safe, no engine/runtime dependency (DECAF-24 §4).
106
- */
107
- export type GraphNodeIoMetadata = {
108
- /** Default view mode for the reusable viewer. Defaults to "json". */
109
- view?: GraphNodeIoViewMode;
110
- /** Port property names shown in the right-side inputs pane. */
111
- inputPorts?: string[];
112
- /** Port property names shown in the left-side outputs pane. */
113
- outputPorts?: string[];
114
- /** Whether the node exposes editable config (opens the edit modal instead). */
115
- editable?: boolean;
116
- /** Free-form extension points. */
117
- metadata?: Record<string, unknown>;
118
- };
119
- /**
120
- * Visual treatment for a node/edge execution state (DECAF-48 §4.4). Maps a
121
- * {@link GraphVisualState} value to the faded glow / fade-after-fail overlay
122
- * colours used by the canvas renderer.
123
- */
124
- export type GraphVisualStyle = {
125
- /** Visual state string as defined by the shared `GraphVisualState` values (e.g. `"running"`, `"blocked"`). */
126
- state: string;
127
- /** Glow/border colour for the live run-feedback overlay. */
128
- glow?: string;
129
- /** Level of fade for unexecuted/disabled rendering (0..1). */
130
- opacity?: number;
131
- /** Optional fill colour when the node is in this state. */
132
- color?: string;
133
- };
134
- /**
135
- * The default visual-state → overlay mapping contract (DECAF-48 §4.4):
136
- * running=faded green, blocked=yellow, errored=red; succeeded keeps the
137
- * node's own accent; unexecuted-after-failure fades/disabled. This is the
138
- * shared, framework-neutral source of truth that supersedes the DECAF-32
139
- * §21.9 running colour for the live run-feedback overlay (§4.5).
140
- */
141
- export declare const GRAPH_VISUAL_STATE_STYLES: {
142
- [state: string]: Omit<GraphVisualStyle, "state">;
143
- };
144
- /**
145
- * Resolves the visual style overlay for a node/edge execution state, falling
146
- * back to a neutral default when the state is unknown or unregistered.
147
- *
148
- * @param state - The visual state string (as defined by the shared
149
- * `GraphVisualState` values, e.g. `"running"`, `"blocked"`).
150
- * @returns The style overlay for the given state.
151
- */
152
- export declare function graphVisualStyleOf(state: string): Omit<GraphVisualStyle, "state">;
153
- export type GraphWorkflowRelationMetadata = {
154
- source: string | unknown;
155
- sourcePort?: string;
156
- target: string | unknown;
157
- targetPort?: string;
158
- label?: string;
159
- metadata?: Record<string, unknown>;
160
- };
161
- export type GraphWorkflowMetadata = GraphNodeMetadata & {
162
- inputs?: GraphPortDefinition[];
163
- outputs?: GraphPortDefinition[];
164
- connections?: GraphPortDefinition[];
165
- nodes?: GraphWorkflowNodeMetadata[];
166
- relations?: GraphWorkflowRelationMetadata[];
167
- };
168
- export type GraphPortMetadata = {
169
- direction: PortDirection;
170
- connectionRules?: GraphConnectionRule;
171
- visible?: boolean;
172
- handle?: string;
173
- expand?: boolean;
174
- metadata?: Record<string, unknown>;
175
- /**
176
- * Optional category for `@connection()` ports (e.g. `"model"`, `"memory"`,
177
- * `"workspace"`). Connections of the same category share a color and icon
178
- * defined by the {@link GRAPH_CATEGORY_STYLE_REGISTRY}. When omitted, the
179
- * port inherits the node's color.
180
- */
181
- category?: string;
182
- /**
183
- * Marks this port as a "Schema port" declared via `@input` / `@output`.
184
- *
185
- * When `true` AND the property type is a Decaf `Model` (a "Schema"), the
186
- * reader flattens the Schema's own `@input` / `@output` properties into the
187
- * parent node's port list (unprefixed — no `<schemaProp>.` prefix), instead
188
- * of producing a composite port with prefixed children. A `@input` Schema
189
- * contributes only the Schema's `@input` properties; a `@output` Schema
190
- * contributes only the Schema's `@output` properties. The carrier property
191
- * itself (e.g. `inputSchema`) is not emitted as a port — it is the group
192
- * carrier.
193
- *
194
- * Set automatically by `@input` / `@output`; NOT set by `@port`, so
195
- * `@port`-decorated Schema-typed properties keep the legacy composite
196
- * expansion (prefixed children).
197
- */
198
- schema?: boolean;
199
- /**
200
- * Explicit reference to the nested `Model` constructor for Schema port
201
- * groups. When provided, the reader uses this directly instead of relying
202
- * on TypeScript's `design:type` metadata (which bundlers like esbuild may
203
- * tree-shake, replacing the class reference with `Object`).
204
- *
205
- * Set via `@input({ model: SomeSchema })` / `@output({ model: SomeSchema })`.
206
- */
207
- model?: unknown;
208
- };
209
- /**
210
- * Metadata for a Schema port group — the one-vs-all rendering choice for a
211
- * `@input` / `@output` Schema-typed property.
212
- *
213
- * `toggle: "all"` (default) renders each Schema property as its own connectable
214
- * port on the canvas. `toggle: "single"` renders one grouped port that receives
215
- * the whole object and maps it to the right place. The per-instance
216
- * manual-fill (hide a port because its value is supplied via the CRUD field)
217
- * is NOT carried here — that is the editor's port-toggle state in `node.data`.
218
- */
219
- export type GraphPortGroupMetadata = {
220
- /** The Schema-typed `@input` / `@output` property name that owns this group. */
221
- property: string;
222
- /** Render choice for this group. Defaults to `"all"`. */
223
- toggle?: "single" | "all";
224
- /** Optional label for the grouped port when `toggle === "single"`. */
225
- label?: string;
226
- };
227
- export type GraphPortDefinition = {
228
- property: string;
229
- path?: string;
230
- direction: PortDirection;
231
- name: string;
232
- label: string;
233
- type?: string;
234
- required: boolean;
235
- hidden: boolean;
236
- designType?: string;
237
- element?: Record<string, any>;
238
- prop?: Record<string, any>;
239
- validation?: Record<string, any>;
240
- graph?: GraphPortMetadata;
241
- connectionRules?: GraphConnectionRule;
242
- composite?: boolean;
243
- children?: GraphPortDefinition[];
244
- model?: string;
245
- };
246
- export type GraphNodeDefinition = {
247
- name: string;
248
- tag: string;
249
- kind: GraphNodeKind;
250
- category?: string;
251
- color?: string;
252
- group?: string;
253
- height?: number;
254
- icon?: string;
255
- labels: string[];
256
- maxChildren?: number;
257
- minWidth?: number;
258
- width?: number;
259
- props?: Record<string, any>;
260
- ui?: Record<string, any>;
261
- graph?: GraphNodeMetadata;
262
- ports: GraphPortDefinition[];
263
- /**
264
- * Node face silhouette (D1, DECAF-50 §4.5), copied from
265
- * {@link GraphNodeMetadata.shape} by `graphDefinitionOf`.
266
- */
267
- shape?: GraphNodeShape;
268
- /**
269
- * Node corner radius in pixels (D1, DECAF-50 §4.5), copied from
270
- * {@link GraphNodeMetadata.cornerRadius} by `graphDefinitionOf`.
271
- */
272
- cornerRadius?: number;
273
- /**
274
- * Manifest-declared, value-driven display rules (D1, DECAF-50 §4.5), copied
275
- * from {@link GraphNodeMetadata.sizeRules} by `graphDefinitionOf`.
276
- */
277
- sizeRules?: GraphNodeSizeRule[];
278
- /**
279
- * Effective color resolved from the category registry (or the node's
280
- * explicit `color` override). Computed by `graphDefinitionOf`.
281
- */
282
- effectiveColor?: string;
283
- /**
284
- * Effective icon resolved from the category registry (or the node's
285
- * explicit `icon` override). Computed by `graphDefinitionOf`.
286
- */
287
- effectiveIcon?: string;
288
- /**
289
- * Per-group rendering choice for Schema-typed `@input` / `@output` properties
290
- * (the one-vs-all toggle). Derived from {@link GraphNodeMetadata.portGroups};
291
- * every Schema-typed `@input` / `@output` property not listed defaults to
292
- * `toggle: "all"`.
293
- */
294
- portGroups?: GraphPortGroupMetadata[];
295
- };
296
- export type GraphWorkflowDefinition = GraphNodeDefinition & {
297
- inputs: GraphPortDefinition[];
298
- outputs: GraphPortDefinition[];
299
- connections: GraphPortDefinition[];
300
- nodes: GraphWorkflowNodeMetadata[];
301
- relations: GraphWorkflowRelationMetadata[];
302
- workflow: GraphWorkflowMetadata;
303
- };
304
- /**
305
- * Style (color + icon) assigned to a node or connection category. Nodes and
306
- * connections without an explicit `color` / `icon` inherit from their
307
- * category's style.
308
- */
309
- export interface GraphCategoryStyle {
310
- color: string;
311
- icon?: string;
312
- }
313
- /**
314
- * Default fallback style when no category is registered and no explicit
315
- * color/icon is set on the node.
316
- */
317
- export declare const GRAPH_DEFAULT_CATEGORY_STYLE: GraphCategoryStyle;
318
- /**
319
- * Fallback node size in pixels when a manifest declares no `width`/`height`
320
- * (D1, DECAF-50 §4.5). The manifest display remains the authority; this value
321
- * only fills an absent manifest dimension, never overriding a declared one.
322
- */
323
- export declare const GRAPH_DEFAULT_NODE_SIZE = 96;
324
- /**
325
- * Default node corner radius in pixels (D1, DECAF-50 §4.5) applied only when the
326
- * manifest declares no `cornerRadius`. Folded into the manifest display fields by
327
- * the D1 revision; no template CSS pins the radius.
328
- */
329
- export declare const GRAPH_DEFAULT_NODE_CORNER_RADIUS = 18;
330
- /**
331
- * Evaluates a node definition's manifest-declared, value-driven display rules
332
- * (D1, DECAF-50 §4.5) against per-parameter item counts. Content growth is
333
- * driven by the manifest, never by hardcoded per-node formulas: each matching
334
- * `parameterCount` rule adds `perItem * count` to its dimension. Falls back to the
335
- * manifest `width`/`height` when no rule applies.
336
- *
337
- * @param definition - The manifest definition carrying `width`/`height`/`sizeRules`.
338
- * @param parameterCounts - Item counts keyed by parameter id (e.g. `cases`).
339
- * @returns The resolved `{ width, height }` in pixels.
340
- */
341
- export declare function graphNodeSizeOf(definition: Pick<GraphNodeDefinition, "width" | "height" | "sizeRules">, parameterCounts?: Record<string, number>): {
342
- width: number;
343
- height: number;
344
- };
345
- /**
346
- * Registers a category style (color + optional icon) in the global registry.
347
- * Call this at module init time (e.g. in the engine's node declarations) to
348
- * define the visual style for a category of nodes or connections.
349
- */
350
- export declare function registerGraphCategoryStyle(category: string, style: GraphCategoryStyle): void;
351
- /**
352
- * Returns the style registered for `category`, or the default fallback style.
353
- */
354
- export declare function graphCategoryStyleOf(category?: string): GraphCategoryStyle;
355
- /**
356
- * Resolves the effective color for a node (D7/G3-22, DECAF-50 §4.5).
357
- *
358
- * The **category base colour is authoritative**: every node of a registered
359
- * category renders that one base colour, so same-category nodes never diverge.
360
- * An explicit per-node `color` is an override applied at this single precedence
361
- * point — it only wins when the category has no registered base style.
362
- *
363
- * @param explicitColor - The node's explicit per-node colour override, when any.
364
- * @param category - The node's display category.
365
- * @param override - A user-applied per-node colour override; wins over everything.
366
- * @returns The resolved colour.
367
- */
368
- export declare function resolveEffectiveColor(explicitColor?: string, category?: string, override?: string): string;
369
- /**
370
- * Resolves the effective icon for a node (D7/G3-22, DECAF-50 §4.5). The
371
- * **category base icon is authoritative**; an explicit per-node `icon` is an
372
- * override applied at this single precedence point.
373
- *
374
- * @param explicitIcon - The node's explicit per-node icon override, when any.
375
- * @param category - The node's display category.
376
- * @param override - A user-applied per-node icon override; wins over everything.
377
- * @returns The resolved icon name.
378
- */
379
- export declare function resolveEffectiveIcon(explicitIcon?: string, category?: string, override?: string): string;
380
- import type { GraphRunStatus } from "./types.d.cts";
381
- /**
382
- * Disabled-node execution semantics (DECAF-50 §4.9).
383
- *
384
- * - `skip` — the node does not execute and produces no outputs.
385
- * - `passThroughFirstInput` — the first incoming edge value is forwarded on
386
- * the node's first declared output port.
387
- * - `emitDefaults` — every declared output port is emitted with its default
388
- * (absent a declared default, `undefined`).
389
- */
390
- export declare const GRAPH_DISABLED_NODE_BEHAVIORS: readonly ["skip", "passThroughFirstInput", "emitDefaults"];
391
- /** How a disabled node behaves during execution (DECAF-50 §4.8): skip it, pass through its first input, or emit default outputs. */
392
- export type GraphDisabledNodeBehavior = (typeof GRAPH_DISABLED_NODE_BEHAVIORS)[number];
393
- /** The disabled-node behavior applied when a node declares none. */
394
- export declare const GRAPH_DEFAULT_DISABLED_NODE_BEHAVIOR: GraphDisabledNodeBehavior;
395
- /** Type guard for {@link GraphDisabledNodeBehavior}. */
396
- export declare function isGraphDisabledNodeBehavior(value: unknown): value is GraphDisabledNodeBehavior;
397
- /**
398
- * Execution status for a workflow or individual node.
399
- */
400
- export declare enum GraphExecutionStatus {
401
- PENDING = "pending",
402
- PLANNING = "planning",
403
- RUNNING = "running",
404
- SUCCEEDED = "succeeded",
405
- FAILED = "failed",
406
- SKIPPED = "skipped",
407
- CANCELLED = "cancelled",
408
- CACHED = "cached"
409
- }
410
- /**
411
- * Visual execution state for a node or edge on the workflow canvas.
412
- *
413
- * Frontend-safe (DECAF-48 §4.4): a superset of {@link GraphExecutionStatus}
414
- * normalised for rendering. `BLOCKED` is derived from the plan and execution
415
- * events (waiting on upstream dependencies), not emitted as an engine status.
416
- * `SKIPPED` is the post-failure "unexecuted/disabled" visual state.
417
- */
418
- export declare enum GraphVisualState {
419
- IDLE = "idle",
420
- RUNNING = "running",
421
- BLOCKED = "blocked",
422
- SUCCEEDED = "succeeded",
423
- FAILED = "failed",
424
- SKIPPED = "skipped"
425
- }
426
- /**
427
- * Namespace root for graph run SSE topics (DECAF-48 §4.2). A subscription
428
- * filters on these granular topics before `observer.next(...)`.
429
- */
430
- export declare const GRAPH_RUN_TOPIC = "graph.run";
431
- /**
432
- * SSE sub-topic streaming per-node log lines during a run.
433
- */
434
- export declare const GRAPH_RUN_LOG_TOPIC = "graph.run.log";
435
- /**
436
- * SSE sub-topic streaming node/edge execution-state updates during a run.
437
- */
438
- export declare const GRAPH_RUN_STATE_TOPIC = "graph.run.state";
439
- /**
440
- * Logger custom-attribute keys attached to every run log line via
441
- * DECAF-9 `logger.for({...})` (DECAF-48 §4.3). Rendered as discrete columns
442
- * (not buried in the message string).
443
- */
444
- export declare enum GraphLogAttribute {
445
- NODE_ID = "nodeId",
446
- WORKFLOW_ID = "workflowId",
447
- RUN_ID = "runId",
448
- USER = "user"
449
- }
450
- /**
451
- * Namespace topic helper for a graph execution event.
452
- *
453
- * Log-carrier events resolve to `graph.run.log`; node/edge execution-state
454
- * events resolve to `graph.run.state`; everything else stays under the shared
455
- * `graph.run` topic and is only delivered to subscribers that match it.
456
- *
457
- * @param eventType - The graph execution event type to scope to a topic.
458
- * @returns The SSE topic constant for the given event type.
459
- */
460
- export declare function graphRunTopicOf(eventType: GraphExecutionEventType): string;
461
- /**
462
- * Event types emitted through the graph execution observer pipeline.
463
- *
464
- * DECAF-48 extends this set with the visual-state and run-log event types the
465
- * engine emits on the existing Observable: {@link GraphExecutionEventType.NODE_STATE_CHANGED},
466
- * {@link GraphExecutionEventType.EDGE_STATE_CHANGED} and
467
- * {@link GraphExecutionEventType.GRAPH_RUN_LOG}.
468
- */
469
- export declare enum GraphExecutionEventType {
470
- WORKFLOW_STARTED = "workflow.started",
471
- WORKFLOW_PLANNED = "workflow.planned",
472
- WORKFLOW_COMPLETED = "workflow.completed",
473
- WORKFLOW_FAILED = "workflow.failed",
474
- WORKFLOW_CANCELLED = "workflow.cancelled",
475
- NODE_QUEUED = "node.queued",
476
- NODE_STARTED = "node.started",
477
- NODE_OUTPUT = "node.output",
478
- NODE_COMPLETED = "node.completed",
479
- NODE_FAILED = "node.failed",
480
- NODE_SKIPPED = "node.skipped",
481
- NODE_CACHE_HIT = "node.cacheHit",
482
- NODE_PINNED = "node.pinned",
483
- NODE_UNPINNED = "node.unpinned",
484
- /** Node execution-state transition carrying a `GraphNodeStateChangedPayload` (DECAF-48 §4.4). */
485
- NODE_STATE_CHANGED = "node.stateChanged",
486
- EDGE_VALUE_ROUTED = "edge.valueRouted",
487
- /** Edge execution-state transition carrying a `GraphEdgeStateChangedPayload` (DECAF-48 §4.4). */
488
- EDGE_STATE_CHANGED = "edge.stateChanged",
489
- /** Structured run log line carrying a `GraphRunLogEntry` (DECAF-48 §4.3). */
490
- GRAPH_RUN_LOG = "graph.run.log",
491
- LOOP_STARTED = "loop.started",
492
- LOOP_ITERATION_STARTED = "loop.iteration.started",
493
- LOOP_ITERATION_COMPLETED = "loop.iteration.completed",
494
- LOOP_CONDITION_EVALUATED = "loop.condition.evaluated",
495
- LOOP_COMPLETED = "loop.completed",
496
- LOOP_LIMIT_REACHED = "loop.limitReached",
497
- VALIDATION_STARTED = "validation.started",
498
- VALIDATION_FAILED = "validation.failed",
499
- VALIDATION_COMPLETED = "validation.completed",
500
- STORE_READ = "store.read",
501
- STORE_WRITE = "store.write",
502
- STORE_DELETE = "store.delete"
503
- }
504
- /**
505
- * Hard limits for the graph run subsystem (DECAF-50 §4.14/§4.16).
506
- *
507
- * Enforced by the run executor and the HTTP run controller; every omitted
508
- * field falls back to {@link DEFAULT_GRAPH_RUN_LIMITS}.
509
- */
510
- export interface GraphRunLimits {
511
- /** Maximum serialised JSON size accepted for a run create request. */
512
- maxRequestBytes?: number;
513
- /**
514
- * Maximum number of runs in flight per caller: the run's owner user, or
515
- * the caller-key bucket supplied by the HTTP layer for anonymous callers
516
- * (per-IP where the host exposes it, a shared `"anonymous"` bucket
517
- * otherwise).
518
- */
519
- maxConcurrentRuns?: number;
520
- /** Maximum events retained per run by the in-memory event store. */
521
- maxEventsPerRun?: number;
522
- /** Maximum serialised size of a single event envelope `payload`. */
523
- maxEventPayloadBytes?: number;
524
- /** Hard wall-clock budget for a run's engine execution. */
525
- executionTimeoutMs?: number;
526
- /**
527
- * How long a terminal run's replayable event state is kept after the run
528
- * finishes before being released (SAA-595 resource governance).
529
- */
530
- eventReplayWindowMs?: number;
531
- }
532
- /** Default run limits: request size, per-caller concurrency, event retention/payload size, execution timeout, and post-terminal event replay window. */
533
- export declare const DEFAULT_GRAPH_RUN_LIMITS: Required<GraphRunLimits>;
534
- /**
535
- * Terminal graph event types closing a run's SSE stream
536
- * (DECAF-50 §4.15). The run SSE endpoint never emits anything after these.
537
- */
538
- export declare const GRAPH_RUN_TERMINAL_EVENT_TYPES: readonly GraphExecutionEventType[];
539
- /** Whether the event type is a run-stream terminal type (see {@link GRAPH_RUN_TERMINAL_EVENT_TYPES}). */
540
- export declare function isGraphRunTerminalEventType(type: GraphExecutionEventType): boolean;
541
- /** Whether the run status is terminal (`succeeded`, `failed`, or `cancelled`). */
542
- export declare function isGraphRunTerminalStatus(status: GraphRunStatus): boolean;
543
- /** Type guard for {@link GraphRunStatus}. */
544
- export declare function isGraphRunStatus(value: unknown): value is GraphRunStatus;