@executioncontrolprotocol/core 0.50.0 → 0.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (554) hide show
  1. package/README.md +3 -55
  2. package/dist/capabilities/parse-csv.d.ts +9 -0
  3. package/dist/capabilities/parse-csv.d.ts.map +1 -0
  4. package/dist/capabilities/parse-csv.js +31 -0
  5. package/dist/capabilities/parse-csv.js.map +1 -0
  6. package/dist/capabilities/transform.d.ts +6 -0
  7. package/dist/capabilities/transform.d.ts.map +1 -0
  8. package/dist/capabilities/transform.js +9 -0
  9. package/dist/capabilities/transform.js.map +1 -0
  10. package/dist/csv/parse-rfc4180.d.ts +37 -0
  11. package/dist/csv/parse-rfc4180.d.ts.map +1 -0
  12. package/dist/csv/parse-rfc4180.js +131 -0
  13. package/dist/csv/parse-rfc4180.js.map +1 -0
  14. package/dist/index.d.ts +106 -63
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +44 -56
  17. package/dist/index.js.map +1 -1
  18. package/dist/schemas.d.ts +65 -0
  19. package/dist/schemas.d.ts.map +1 -0
  20. package/dist/schemas.js +30 -0
  21. package/dist/schemas.js.map +1 -0
  22. package/ecp.manifest.json +46 -0
  23. package/ecp.schema.json +231 -0
  24. package/package.json +23 -24
  25. package/dist/bindings/extension.d.ts +0 -33
  26. package/dist/bindings/extension.d.ts.map +0 -1
  27. package/dist/bindings/extension.js +0 -55
  28. package/dist/bindings/extension.js.map +0 -1
  29. package/dist/bindings/policy.d.ts +0 -33
  30. package/dist/bindings/policy.d.ts.map +0 -1
  31. package/dist/bindings/policy.js +0 -55
  32. package/dist/bindings/policy.js.map +0 -1
  33. package/dist/bindings/step.d.ts +0 -34
  34. package/dist/bindings/step.d.ts.map +0 -1
  35. package/dist/bindings/step.js +0 -59
  36. package/dist/bindings/step.js.map +0 -1
  37. package/dist/compile/extract-workflow-module.d.ts +0 -20
  38. package/dist/compile/extract-workflow-module.d.ts.map +0 -1
  39. package/dist/compile/extract-workflow-module.js +0 -49
  40. package/dist/compile/extract-workflow-module.js.map +0 -1
  41. package/dist/compile/index.d.ts +0 -8
  42. package/dist/compile/index.d.ts.map +0 -1
  43. package/dist/compile/index.js +0 -2
  44. package/dist/compile/index.js.map +0 -1
  45. package/dist/compile/types.d.ts +0 -28
  46. package/dist/compile/types.d.ts.map +0 -1
  47. package/dist/compile/types.js +0 -2
  48. package/dist/compile/types.js.map +0 -1
  49. package/dist/config-schema/index.d.ts +0 -4
  50. package/dist/config-schema/index.d.ts.map +0 -1
  51. package/dist/config-schema/index.js +0 -2
  52. package/dist/config-schema/index.js.map +0 -1
  53. package/dist/definitions/capability.d.ts +0 -36
  54. package/dist/definitions/capability.d.ts.map +0 -1
  55. package/dist/definitions/capability.js +0 -68
  56. package/dist/definitions/capability.js.map +0 -1
  57. package/dist/definitions/environment.d.ts +0 -38
  58. package/dist/definitions/environment.d.ts.map +0 -1
  59. package/dist/definitions/environment.js +0 -77
  60. package/dist/definitions/environment.js.map +0 -1
  61. package/dist/definitions/extension.d.ts +0 -48
  62. package/dist/definitions/extension.d.ts.map +0 -1
  63. package/dist/definitions/extension.js +0 -96
  64. package/dist/definitions/extension.js.map +0 -1
  65. package/dist/definitions/hook.d.ts +0 -11
  66. package/dist/definitions/hook.d.ts.map +0 -1
  67. package/dist/definitions/hook.js +0 -13
  68. package/dist/definitions/hook.js.map +0 -1
  69. package/dist/definitions/index.d.ts +0 -7
  70. package/dist/definitions/index.d.ts.map +0 -1
  71. package/dist/definitions/index.js +0 -6
  72. package/dist/definitions/index.js.map +0 -1
  73. package/dist/definitions/policy.d.ts +0 -31
  74. package/dist/definitions/policy.d.ts.map +0 -1
  75. package/dist/definitions/policy.js +0 -66
  76. package/dist/definitions/policy.js.map +0 -1
  77. package/dist/definitions/types.d.ts +0 -74
  78. package/dist/definitions/types.d.ts.map +0 -1
  79. package/dist/definitions/types.js +0 -2
  80. package/dist/definitions/types.js.map +0 -1
  81. package/dist/encoding/contracts.d.ts +0 -17
  82. package/dist/encoding/contracts.d.ts.map +0 -1
  83. package/dist/encoding/contracts.js +0 -41
  84. package/dist/encoding/contracts.js.map +0 -1
  85. package/dist/encoding/decode-builder.d.ts +0 -17
  86. package/dist/encoding/decode-builder.d.ts.map +0 -1
  87. package/dist/encoding/decode-builder.js +0 -90
  88. package/dist/encoding/decode-builder.js.map +0 -1
  89. package/dist/encoding/encode-builder.d.ts +0 -19
  90. package/dist/encoding/encode-builder.d.ts.map +0 -1
  91. package/dist/encoding/encode-builder.js +0 -76
  92. package/dist/encoding/encode-builder.js.map +0 -1
  93. package/dist/encoding/errors.d.ts +0 -25
  94. package/dist/encoding/errors.d.ts.map +0 -1
  95. package/dist/encoding/errors.js +0 -20
  96. package/dist/encoding/errors.js.map +0 -1
  97. package/dist/encoding/index.d.ts +0 -10
  98. package/dist/encoding/index.d.ts.map +0 -1
  99. package/dist/encoding/index.js +0 -10
  100. package/dist/encoding/index.js.map +0 -1
  101. package/dist/encoding/invoke-utility.d.ts +0 -14
  102. package/dist/encoding/invoke-utility.d.ts.map +0 -1
  103. package/dist/encoding/invoke-utility.js +0 -50
  104. package/dist/encoding/invoke-utility.js.map +0 -1
  105. package/dist/encoding/json-codec.d.ts +0 -38
  106. package/dist/encoding/json-codec.d.ts.map +0 -1
  107. package/dist/encoding/json-codec.js +0 -108
  108. package/dist/encoding/json-codec.js.map +0 -1
  109. package/dist/encoding/normalize-workflow.d.ts +0 -7
  110. package/dist/encoding/normalize-workflow.d.ts.map +0 -1
  111. package/dist/encoding/normalize-workflow.js +0 -111
  112. package/dist/encoding/normalize-workflow.js.map +0 -1
  113. package/dist/encoding/resolve.d.ts +0 -13
  114. package/dist/encoding/resolve.d.ts.map +0 -1
  115. package/dist/encoding/resolve.js +0 -48
  116. package/dist/encoding/resolve.js.map +0 -1
  117. package/dist/encoding/schemas.d.ts +0 -398
  118. package/dist/encoding/schemas.d.ts.map +0 -1
  119. package/dist/encoding/schemas.js +0 -74
  120. package/dist/encoding/schemas.js.map +0 -1
  121. package/dist/encoding/utility-context.d.ts +0 -29
  122. package/dist/encoding/utility-context.d.ts.map +0 -1
  123. package/dist/encoding/utility-context.js +0 -33
  124. package/dist/encoding/utility-context.js.map +0 -1
  125. package/dist/environment/bindings.d.ts +0 -59
  126. package/dist/environment/bindings.d.ts.map +0 -1
  127. package/dist/environment/bindings.js +0 -34
  128. package/dist/environment/bindings.js.map +0 -1
  129. package/dist/environment/config-resolver.d.ts +0 -31
  130. package/dist/environment/config-resolver.d.ts.map +0 -1
  131. package/dist/environment/config-resolver.js +0 -100
  132. package/dist/environment/config-resolver.js.map +0 -1
  133. package/dist/environment/describe.d.ts +0 -23
  134. package/dist/environment/describe.d.ts.map +0 -1
  135. package/dist/environment/describe.js +0 -289
  136. package/dist/environment/describe.js.map +0 -1
  137. package/dist/environment/ecp.d.ts +0 -66
  138. package/dist/environment/ecp.d.ts.map +0 -1
  139. package/dist/environment/ecp.js +0 -61
  140. package/dist/environment/ecp.js.map +0 -1
  141. package/dist/environment/encoding-host.d.ts +0 -17
  142. package/dist/environment/encoding-host.d.ts.map +0 -1
  143. package/dist/environment/encoding-host.js +0 -2
  144. package/dist/environment/encoding-host.js.map +0 -1
  145. package/dist/environment/environment.d.ts +0 -160
  146. package/dist/environment/environment.d.ts.map +0 -1
  147. package/dist/environment/environment.js +0 -477
  148. package/dist/environment/environment.js.map +0 -1
  149. package/dist/environment/search.d.ts +0 -4
  150. package/dist/environment/search.d.ts.map +0 -1
  151. package/dist/environment/search.js +0 -103
  152. package/dist/environment/search.js.map +0 -1
  153. package/dist/environment/validate-binding-config.d.ts +0 -12
  154. package/dist/environment/validate-binding-config.d.ts.map +0 -1
  155. package/dist/environment/validate-binding-config.js +0 -43
  156. package/dist/environment/validate-binding-config.js.map +0 -1
  157. package/dist/file/file-ref.d.ts +0 -28
  158. package/dist/file/file-ref.d.ts.map +0 -1
  159. package/dist/file/file-ref.js +0 -75
  160. package/dist/file/file-ref.js.map +0 -1
  161. package/dist/fluent/encode-fluent.d.ts +0 -10
  162. package/dist/fluent/encode-fluent.d.ts.map +0 -1
  163. package/dist/fluent/encode-fluent.js +0 -58
  164. package/dist/fluent/encode-fluent.js.map +0 -1
  165. package/dist/fluent/index.d.ts +0 -3
  166. package/dist/fluent/index.d.ts.map +0 -1
  167. package/dist/fluent/index.js +0 -3
  168. package/dist/fluent/index.js.map +0 -1
  169. package/dist/fluent/render-expr.d.ts +0 -7
  170. package/dist/fluent/render-expr.d.ts.map +0 -1
  171. package/dist/fluent/render-expr.js +0 -14
  172. package/dist/fluent/render-expr.js.map +0 -1
  173. package/dist/fluent/render-node.d.ts +0 -6
  174. package/dist/fluent/render-node.d.ts.map +0 -1
  175. package/dist/fluent/render-node.js +0 -92
  176. package/dist/fluent/render-node.js.map +0 -1
  177. package/dist/fluent/render-value.d.ts +0 -21
  178. package/dist/fluent/render-value.d.ts.map +0 -1
  179. package/dist/fluent/render-value.js +0 -42
  180. package/dist/fluent/render-value.js.map +0 -1
  181. package/dist/fluent/render-workflow.d.ts +0 -16
  182. package/dist/fluent/render-workflow.d.ts.map +0 -1
  183. package/dist/fluent/render-workflow.js +0 -47
  184. package/dist/fluent/render-workflow.js.map +0 -1
  185. package/dist/formats/format-fluent.d.ts +0 -3
  186. package/dist/formats/format-fluent.d.ts.map +0 -1
  187. package/dist/formats/format-fluent.js +0 -36
  188. package/dist/formats/format-fluent.js.map +0 -1
  189. package/dist/formats/format-json.d.ts +0 -3
  190. package/dist/formats/format-json.d.ts.map +0 -1
  191. package/dist/formats/format-json.js +0 -97
  192. package/dist/formats/format-json.js.map +0 -1
  193. package/dist/formats/register-core-formats.d.ts +0 -8
  194. package/dist/formats/register-core-formats.d.ts.map +0 -1
  195. package/dist/formats/register-core-formats.js +0 -18
  196. package/dist/formats/register-core-formats.js.map +0 -1
  197. package/dist/helpers/env.d.ts +0 -12
  198. package/dist/helpers/env.d.ts.map +0 -1
  199. package/dist/helpers/env.js +0 -12
  200. package/dist/helpers/env.js.map +0 -1
  201. package/dist/helpers/expr.d.ts +0 -12
  202. package/dist/helpers/expr.d.ts.map +0 -1
  203. package/dist/helpers/expr.js +0 -15
  204. package/dist/helpers/expr.js.map +0 -1
  205. package/dist/helpers/provider-chat-turns.d.ts +0 -42
  206. package/dist/helpers/provider-chat-turns.d.ts.map +0 -1
  207. package/dist/helpers/provider-chat-turns.js +0 -53
  208. package/dist/helpers/provider-chat-turns.js.map +0 -1
  209. package/dist/helpers/ref.d.ts +0 -12
  210. package/dist/helpers/ref.d.ts.map +0 -1
  211. package/dist/helpers/ref.js +0 -13
  212. package/dist/helpers/ref.js.map +0 -1
  213. package/dist/helpers/secrets.d.ts +0 -12
  214. package/dist/helpers/secrets.d.ts.map +0 -1
  215. package/dist/helpers/secrets.js +0 -12
  216. package/dist/helpers/secrets.js.map +0 -1
  217. package/dist/helpers/state.d.ts +0 -12
  218. package/dist/helpers/state.d.ts.map +0 -1
  219. package/dist/helpers/state.js +0 -15
  220. package/dist/helpers/state.js.map +0 -1
  221. package/dist/invoke/execute-invoke.d.ts +0 -9
  222. package/dist/invoke/execute-invoke.d.ts.map +0 -1
  223. package/dist/invoke/execute-invoke.js +0 -137
  224. package/dist/invoke/execute-invoke.js.map +0 -1
  225. package/dist/invoke/index.d.ts +0 -3
  226. package/dist/invoke/index.d.ts.map +0 -1
  227. package/dist/invoke/index.js +0 -3
  228. package/dist/invoke/index.js.map +0 -1
  229. package/dist/invoke/invoke-builder.d.ts +0 -15
  230. package/dist/invoke/invoke-builder.d.ts.map +0 -1
  231. package/dist/invoke/invoke-builder.js +0 -19
  232. package/dist/invoke/invoke-builder.js.map +0 -1
  233. package/dist/media/artifact-filename.d.ts +0 -41
  234. package/dist/media/artifact-filename.d.ts.map +0 -1
  235. package/dist/media/artifact-filename.js +0 -119
  236. package/dist/media/artifact-filename.js.map +0 -1
  237. package/dist/media/assert-media-type.d.ts +0 -11
  238. package/dist/media/assert-media-type.d.ts.map +0 -1
  239. package/dist/media/assert-media-type.js +0 -43
  240. package/dist/media/assert-media-type.js.map +0 -1
  241. package/dist/media/index.d.ts +0 -9
  242. package/dist/media/index.d.ts.map +0 -1
  243. package/dist/media/index.js +0 -9
  244. package/dist/media/index.js.map +0 -1
  245. package/dist/media/resolve-file.d.ts +0 -42
  246. package/dist/media/resolve-file.d.ts.map +0 -1
  247. package/dist/media/resolve-file.js +0 -124
  248. package/dist/media/resolve-file.js.map +0 -1
  249. package/dist/media/write-media.d.ts +0 -28
  250. package/dist/media/write-media.d.ts.map +0 -1
  251. package/dist/media/write-media.js +0 -112
  252. package/dist/media/write-media.js.map +0 -1
  253. package/dist/patch/apply-patch.d.ts +0 -8
  254. package/dist/patch/apply-patch.d.ts.map +0 -1
  255. package/dist/patch/apply-patch.js +0 -286
  256. package/dist/patch/apply-patch.js.map +0 -1
  257. package/dist/patch/index.d.ts +0 -7
  258. package/dist/patch/index.d.ts.map +0 -1
  259. package/dist/patch/index.js +0 -7
  260. package/dist/patch/index.js.map +0 -1
  261. package/dist/patch/normalize-input.d.ts +0 -15
  262. package/dist/patch/normalize-input.d.ts.map +0 -1
  263. package/dist/patch/normalize-input.js +0 -68
  264. package/dist/patch/normalize-input.js.map +0 -1
  265. package/dist/patch/patch-builder.d.ts +0 -14
  266. package/dist/patch/patch-builder.d.ts.map +0 -1
  267. package/dist/patch/patch-builder.js +0 -22
  268. package/dist/patch/patch-builder.js.map +0 -1
  269. package/dist/patch/patch-document.d.ts +0 -61
  270. package/dist/patch/patch-document.d.ts.map +0 -1
  271. package/dist/patch/patch-document.js +0 -16
  272. package/dist/patch/patch-document.js.map +0 -1
  273. package/dist/patch/resolve-path.d.ts +0 -21
  274. package/dist/patch/resolve-path.d.ts.map +0 -1
  275. package/dist/patch/resolve-path.js +0 -45
  276. package/dist/patch/resolve-path.js.map +0 -1
  277. package/dist/patch/step-index.d.ts +0 -14
  278. package/dist/patch/step-index.d.ts.map +0 -1
  279. package/dist/patch/step-index.js +0 -44
  280. package/dist/patch/step-index.js.map +0 -1
  281. package/dist/policies/registry-control.d.ts +0 -20
  282. package/dist/policies/registry-control.d.ts.map +0 -1
  283. package/dist/policies/registry-control.js +0 -72
  284. package/dist/policies/registry-control.js.map +0 -1
  285. package/dist/registry/ensure-bound-extensions.d.ts +0 -9
  286. package/dist/registry/ensure-bound-extensions.d.ts.map +0 -1
  287. package/dist/registry/ensure-bound-extensions.js +0 -31
  288. package/dist/registry/ensure-bound-extensions.js.map +0 -1
  289. package/dist/registry/errors.d.ts +0 -13
  290. package/dist/registry/errors.d.ts.map +0 -1
  291. package/dist/registry/errors.js +0 -20
  292. package/dist/registry/errors.js.map +0 -1
  293. package/dist/registry/extension-catalog.d.ts +0 -16
  294. package/dist/registry/extension-catalog.d.ts.map +0 -1
  295. package/dist/registry/extension-catalog.js +0 -28
  296. package/dist/registry/extension-catalog.js.map +0 -1
  297. package/dist/registry/namespace.d.ts +0 -11
  298. package/dist/registry/namespace.d.ts.map +0 -1
  299. package/dist/registry/namespace.js +0 -19
  300. package/dist/registry/namespace.js.map +0 -1
  301. package/dist/registry/registry.d.ts +0 -44
  302. package/dist/registry/registry.d.ts.map +0 -1
  303. package/dist/registry/registry.js +0 -94
  304. package/dist/registry/registry.js.map +0 -1
  305. package/dist/runtime/artifacts.d.ts +0 -31
  306. package/dist/runtime/artifacts.d.ts.map +0 -1
  307. package/dist/runtime/artifacts.js +0 -26
  308. package/dist/runtime/artifacts.js.map +0 -1
  309. package/dist/runtime/blobs.d.ts +0 -72
  310. package/dist/runtime/blobs.d.ts.map +0 -1
  311. package/dist/runtime/blobs.js +0 -129
  312. package/dist/runtime/blobs.js.map +0 -1
  313. package/dist/runtime/capability-execution.d.ts +0 -23
  314. package/dist/runtime/capability-execution.d.ts.map +0 -1
  315. package/dist/runtime/capability-execution.js +0 -25
  316. package/dist/runtime/capability-execution.js.map +0 -1
  317. package/dist/runtime/commit.d.ts +0 -11
  318. package/dist/runtime/commit.d.ts.map +0 -1
  319. package/dist/runtime/commit.js +0 -44
  320. package/dist/runtime/commit.js.map +0 -1
  321. package/dist/runtime/context.d.ts +0 -113
  322. package/dist/runtime/context.d.ts.map +0 -1
  323. package/dist/runtime/context.js +0 -32
  324. package/dist/runtime/context.js.map +0 -1
  325. package/dist/runtime/dispatch-capability.d.ts +0 -42
  326. package/dist/runtime/dispatch-capability.d.ts.map +0 -1
  327. package/dist/runtime/dispatch-capability.js +0 -94
  328. package/dist/runtime/dispatch-capability.js.map +0 -1
  329. package/dist/runtime/executor.d.ts +0 -44
  330. package/dist/runtime/executor.d.ts.map +0 -1
  331. package/dist/runtime/executor.js +0 -2
  332. package/dist/runtime/executor.js.map +0 -1
  333. package/dist/runtime/in-memory-executor.d.ts +0 -10
  334. package/dist/runtime/in-memory-executor.d.ts.map +0 -1
  335. package/dist/runtime/in-memory-executor.js +0 -553
  336. package/dist/runtime/in-memory-executor.js.map +0 -1
  337. package/dist/runtime/lifecycle.d.ts +0 -6
  338. package/dist/runtime/lifecycle.d.ts.map +0 -1
  339. package/dist/runtime/lifecycle.js +0 -10
  340. package/dist/runtime/lifecycle.js.map +0 -1
  341. package/dist/runtime/mixed-blob-upload.d.ts +0 -37
  342. package/dist/runtime/mixed-blob-upload.d.ts.map +0 -1
  343. package/dist/runtime/mixed-blob-upload.js +0 -65
  344. package/dist/runtime/mixed-blob-upload.js.map +0 -1
  345. package/dist/runtime/mutation-records.d.ts +0 -4
  346. package/dist/runtime/mutation-records.d.ts.map +0 -1
  347. package/dist/runtime/mutation-records.js +0 -28
  348. package/dist/runtime/mutation-records.js.map +0 -1
  349. package/dist/runtime/policy-engine.d.ts +0 -14
  350. package/dist/runtime/policy-engine.d.ts.map +0 -1
  351. package/dist/runtime/policy-engine.js +0 -55
  352. package/dist/runtime/policy-engine.js.map +0 -1
  353. package/dist/runtime/remote-invoke.d.ts +0 -34
  354. package/dist/runtime/remote-invoke.d.ts.map +0 -1
  355. package/dist/runtime/remote-invoke.js +0 -115
  356. package/dist/runtime/remote-invoke.js.map +0 -1
  357. package/dist/runtime/resolve-input.d.ts +0 -4
  358. package/dist/runtime/resolve-input.d.ts.map +0 -1
  359. package/dist/runtime/resolve-input.js +0 -52
  360. package/dist/runtime/resolve-input.js.map +0 -1
  361. package/dist/runtime/runtime-ids.d.ts +0 -5
  362. package/dist/runtime/runtime-ids.d.ts.map +0 -1
  363. package/dist/runtime/runtime-ids.js +0 -5
  364. package/dist/runtime/runtime-ids.js.map +0 -1
  365. package/dist/runtime/step-order.d.ts +0 -32
  366. package/dist/runtime/step-order.d.ts.map +0 -1
  367. package/dist/runtime/step-order.js +0 -85
  368. package/dist/runtime/step-order.js.map +0 -1
  369. package/dist/runtime/store.d.ts +0 -38
  370. package/dist/runtime/store.d.ts.map +0 -1
  371. package/dist/runtime/store.js +0 -97
  372. package/dist/runtime/store.js.map +0 -1
  373. package/dist/schema/json-schema.d.ts +0 -48
  374. package/dist/schema/json-schema.d.ts.map +0 -1
  375. package/dist/schema/json-schema.js +0 -251
  376. package/dist/schema/json-schema.js.map +0 -1
  377. package/dist/schema/workflow-io.d.ts +0 -18
  378. package/dist/schema/workflow-io.d.ts.map +0 -1
  379. package/dist/schema/workflow-io.js +0 -41
  380. package/dist/schema/workflow-io.js.map +0 -1
  381. package/dist/schemas/decode.result.json +0 -155
  382. package/dist/schemas/encode.result.json +0 -162
  383. package/dist/schemas/environment.describe.json +0 -362
  384. package/dist/schemas/environment.manifest.json +0 -159
  385. package/dist/schemas/environment.search.json +0 -72
  386. package/dist/schemas/patch.json +0 -104
  387. package/dist/schemas/patch.result.json +0 -260
  388. package/dist/schemas/requirements.json +0 -102
  389. package/dist/schemas/run.journal.json +0 -142
  390. package/dist/schemas/run.request.json +0 -491
  391. package/dist/schemas/run.result.json +0 -230
  392. package/dist/schemas/validation.result.json +0 -89
  393. package/dist/schemas/workflow.manifest.json +0 -457
  394. package/dist/testing/index.d.ts +0 -7
  395. package/dist/testing/index.d.ts.map +0 -1
  396. package/dist/testing/index.js +0 -7
  397. package/dist/testing/index.js.map +0 -1
  398. package/dist/testing/test-extension.d.ts +0 -6
  399. package/dist/testing/test-extension.d.ts.map +0 -1
  400. package/dist/testing/test-extension.js +0 -122
  401. package/dist/testing/test-extension.js.map +0 -1
  402. package/dist/testing/test-lifecycle-extension.d.ts +0 -15
  403. package/dist/testing/test-lifecycle-extension.d.ts.map +0 -1
  404. package/dist/testing/test-lifecycle-extension.js +0 -114
  405. package/dist/testing/test-lifecycle-extension.js.map +0 -1
  406. package/dist/types/capabilities.d.ts +0 -39
  407. package/dist/types/capabilities.d.ts.map +0 -1
  408. package/dist/types/capabilities.js +0 -2
  409. package/dist/types/capabilities.js.map +0 -1
  410. package/dist/types/capability-execution.d.ts +0 -5
  411. package/dist/types/capability-execution.d.ts.map +0 -1
  412. package/dist/types/capability-execution.js +0 -3
  413. package/dist/types/capability-execution.js.map +0 -1
  414. package/dist/types/capability-metadata.d.ts +0 -216
  415. package/dist/types/capability-metadata.d.ts.map +0 -1
  416. package/dist/types/capability-metadata.js +0 -138
  417. package/dist/types/capability-metadata.js.map +0 -1
  418. package/dist/types/encoding.d.ts +0 -103
  419. package/dist/types/encoding.d.ts.map +0 -1
  420. package/dist/types/encoding.js +0 -29
  421. package/dist/types/encoding.js.map +0 -1
  422. package/dist/types/environment.d.ts +0 -155
  423. package/dist/types/environment.d.ts.map +0 -1
  424. package/dist/types/environment.js +0 -2
  425. package/dist/types/environment.js.map +0 -1
  426. package/dist/types/errors.d.ts +0 -93
  427. package/dist/types/errors.d.ts.map +0 -1
  428. package/dist/types/errors.js +0 -89
  429. package/dist/types/errors.js.map +0 -1
  430. package/dist/types/file-ref.d.ts +0 -84
  431. package/dist/types/file-ref.d.ts.map +0 -1
  432. package/dist/types/file-ref.js +0 -117
  433. package/dist/types/file-ref.js.map +0 -1
  434. package/dist/types/image-output.d.ts +0 -32
  435. package/dist/types/image-output.d.ts.map +0 -1
  436. package/dist/types/image-output.js +0 -11
  437. package/dist/types/image-output.js.map +0 -1
  438. package/dist/types/index.d.ts +0 -36
  439. package/dist/types/index.d.ts.map +0 -1
  440. package/dist/types/index.js +0 -13
  441. package/dist/types/index.js.map +0 -1
  442. package/dist/types/invoke.d.ts +0 -51
  443. package/dist/types/invoke.d.ts.map +0 -1
  444. package/dist/types/invoke.js +0 -32
  445. package/dist/types/invoke.js.map +0 -1
  446. package/dist/types/journal.d.ts +0 -113
  447. package/dist/types/journal.d.ts.map +0 -1
  448. package/dist/types/journal.js +0 -3
  449. package/dist/types/journal.js.map +0 -1
  450. package/dist/types/lifecycle.d.ts +0 -27
  451. package/dist/types/lifecycle.d.ts.map +0 -1
  452. package/dist/types/lifecycle.js +0 -2
  453. package/dist/types/lifecycle.js.map +0 -1
  454. package/dist/types/model.d.ts +0 -102
  455. package/dist/types/model.d.ts.map +0 -1
  456. package/dist/types/model.js +0 -51
  457. package/dist/types/model.js.map +0 -1
  458. package/dist/types/patch-errors.d.ts +0 -11
  459. package/dist/types/patch-errors.d.ts.map +0 -1
  460. package/dist/types/patch-errors.js +0 -9
  461. package/dist/types/patch-errors.js.map +0 -1
  462. package/dist/types/patch.d.ts +0 -51
  463. package/dist/types/patch.d.ts.map +0 -1
  464. package/dist/types/patch.js +0 -2
  465. package/dist/types/patch.js.map +0 -1
  466. package/dist/types/registry.d.ts +0 -24
  467. package/dist/types/registry.d.ts.map +0 -1
  468. package/dist/types/registry.js +0 -2
  469. package/dist/types/registry.js.map +0 -1
  470. package/dist/types/requirements.d.ts +0 -42
  471. package/dist/types/requirements.d.ts.map +0 -1
  472. package/dist/types/requirements.js +0 -2
  473. package/dist/types/requirements.js.map +0 -1
  474. package/dist/types/run-events.d.ts +0 -32
  475. package/dist/types/run-events.d.ts.map +0 -1
  476. package/dist/types/run-events.js +0 -8
  477. package/dist/types/run-events.js.map +0 -1
  478. package/dist/types/run.d.ts +0 -48
  479. package/dist/types/run.d.ts.map +0 -1
  480. package/dist/types/run.js +0 -2
  481. package/dist/types/run.js.map +0 -1
  482. package/dist/types/schema.d.ts +0 -58
  483. package/dist/types/schema.d.ts.map +0 -1
  484. package/dist/types/schema.js +0 -2
  485. package/dist/types/schema.js.map +0 -1
  486. package/dist/types/store.d.ts +0 -30
  487. package/dist/types/store.d.ts.map +0 -1
  488. package/dist/types/store.js +0 -2
  489. package/dist/types/store.js.map +0 -1
  490. package/dist/types/validation.d.ts +0 -20
  491. package/dist/types/validation.d.ts.map +0 -1
  492. package/dist/types/validation.js +0 -2
  493. package/dist/types/validation.js.map +0 -1
  494. package/dist/types/version.d.ts +0 -5
  495. package/dist/types/version.d.ts.map +0 -1
  496. package/dist/types/version.js +0 -3
  497. package/dist/types/version.js.map +0 -1
  498. package/dist/types/workflow.d.ts +0 -80
  499. package/dist/types/workflow.d.ts.map +0 -1
  500. package/dist/types/workflow.js +0 -2
  501. package/dist/types/workflow.js.map +0 -1
  502. package/dist/util/path.d.ts +0 -16
  503. package/dist/util/path.d.ts.map +0 -1
  504. package/dist/util/path.js +0 -116
  505. package/dist/util/path.js.map +0 -1
  506. package/dist/util/semver-range.d.ts +0 -6
  507. package/dist/util/semver-range.d.ts.map +0 -1
  508. package/dist/util/semver-range.js +0 -9
  509. package/dist/util/semver-range.js.map +0 -1
  510. package/dist/util/slug.d.ts +0 -3
  511. package/dist/util/slug.d.ts.map +0 -1
  512. package/dist/util/slug.js +0 -9
  513. package/dist/util/slug.js.map +0 -1
  514. package/dist/validate/environment.d.ts +0 -8
  515. package/dist/validate/environment.d.ts.map +0 -1
  516. package/dist/validate/environment.js +0 -71
  517. package/dist/validate/environment.js.map +0 -1
  518. package/dist/validate/workflow-schema.d.ts +0 -346
  519. package/dist/validate/workflow-schema.d.ts.map +0 -1
  520. package/dist/validate/workflow-schema.js +0 -145
  521. package/dist/validate/workflow-schema.js.map +0 -1
  522. package/dist/validate/workflow.d.ts +0 -7
  523. package/dist/validate/workflow.d.ts.map +0 -1
  524. package/dist/validate/workflow.js +0 -130
  525. package/dist/validate/workflow.js.map +0 -1
  526. package/dist/validate/zod-mapper.d.ts +0 -5
  527. package/dist/validate/zod-mapper.d.ts.map +0 -1
  528. package/dist/validate/zod-mapper.js +0 -10
  529. package/dist/validate/zod-mapper.js.map +0 -1
  530. package/dist/workflow/assign-unique-step-ids.d.ts +0 -7
  531. package/dist/workflow/assign-unique-step-ids.d.ts.map +0 -1
  532. package/dist/workflow/assign-unique-step-ids.js +0 -58
  533. package/dist/workflow/assign-unique-step-ids.js.map +0 -1
  534. package/dist/workflow/builder.d.ts +0 -64
  535. package/dist/workflow/builder.d.ts.map +0 -1
  536. package/dist/workflow/builder.js +0 -129
  537. package/dist/workflow/builder.js.map +0 -1
  538. package/dist/workflow/flow.d.ts +0 -36
  539. package/dist/workflow/flow.d.ts.map +0 -1
  540. package/dist/workflow/flow.js +0 -51
  541. package/dist/workflow/flow.js.map +0 -1
  542. package/dist/workflow/requirements.d.ts +0 -34
  543. package/dist/workflow/requirements.d.ts.map +0 -1
  544. package/dist/workflow/requirements.js +0 -135
  545. package/dist/workflow/requirements.js.map +0 -1
  546. package/fixtures/schema-examples/harness-reply.output.eql +0 -3
  547. package/fixtures/schema-examples/harness-reply.output.json +0 -11
  548. package/fixtures/schema-examples/intent.output.eql +0 -1
  549. package/fixtures/schema-examples/intent.output.json +0 -4
  550. package/fixtures/schema-examples/patch.output.eql +0 -4
  551. package/fixtures/schema-examples/patch.output.json +0 -12
  552. package/fixtures/schema-examples/patch.repair-neutral.eql +0 -4
  553. package/fixtures/schema-examples/workflow.output.eql +0 -9
  554. package/fixtures/schema-examples/workflow.output.json +0 -32
@@ -1,230 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$ref": "#/definitions/RunResult",
4
- "definitions": {
5
- "RunResult": {
6
- "type": "object",
7
- "properties": {
8
- "schema": {
9
- "type": "string",
10
- "const": "@executioncontrolprotocol.run.result"
11
- },
12
- "version": {
13
- "$ref": "#/definitions/EcpVersion"
14
- },
15
- "run": {
16
- "type": "object",
17
- "properties": {
18
- "id": {
19
- "type": "string"
20
- },
21
- "status": {
22
- "$ref": "#/definitions/RunStatus"
23
- }
24
- },
25
- "required": [
26
- "id",
27
- "status"
28
- ],
29
- "additionalProperties": false
30
- },
31
- "state": {
32
- "type": "object",
33
- "additionalProperties": {}
34
- },
35
- "output": {
36
- "type": "object",
37
- "additionalProperties": {},
38
- "description": "Public output picked from state using `workflow.returns` property names. Present when the workflow declares `returns` and the run completed (or when a returns object was assembled before a validation failure)."
39
- },
40
- "history": {
41
- "type": "object",
42
- "additionalProperties": {
43
- "$ref": "#/definitions/StepRunRecord"
44
- }
45
- },
46
- "usage": {
47
- "type": "object",
48
- "additionalProperties": {}
49
- },
50
- "diagnostics": {
51
- "type": "array",
52
- "items": {
53
- "$ref": "#/definitions/ValidationIssue"
54
- },
55
- "description": "Run-level diagnostics (e.g. `workflow.returns` validation after steps completed)."
56
- }
57
- },
58
- "required": [
59
- "schema",
60
- "version",
61
- "run"
62
- ],
63
- "additionalProperties": false,
64
- "description": "Run result document.",
65
- "category": "Runtime"
66
- },
67
- "EcpVersion": {
68
- "type": "string",
69
- "description": "ECP semantic version literal.",
70
- "category": "Common"
71
- },
72
- "RunStatus": {
73
- "type": "string",
74
- "enum": [
75
- "created",
76
- "started",
77
- "completed",
78
- "failed",
79
- "cancelled",
80
- "paused",
81
- "stopped"
82
- ],
83
- "description": "Run status.",
84
- "category": "Runtime"
85
- },
86
- "StepRunRecord": {
87
- "type": "object",
88
- "properties": {
89
- "status": {
90
- "$ref": "#/definitions/RunStatus"
91
- },
92
- "output": {},
93
- "committedAs": {
94
- "type": [
95
- "string",
96
- "null"
97
- ]
98
- },
99
- "attempts": {
100
- "type": "number"
101
- },
102
- "usage": {
103
- "type": "object",
104
- "additionalProperties": {}
105
- },
106
- "mutations": {
107
- "type": "array",
108
- "items": {
109
- "$ref": "#/definitions/MutationRecord"
110
- }
111
- },
112
- "diagnostics": {
113
- "type": "array",
114
- "items": {
115
- "$ref": "#/definitions/ValidationIssue"
116
- },
117
- "description": "Failure diagnostics when the step did not complete."
118
- }
119
- },
120
- "required": [
121
- "status"
122
- ],
123
- "additionalProperties": false,
124
- "description": "Per-step run history record.",
125
- "category": "Runtime"
126
- },
127
- "MutationRecord": {
128
- "type": "object",
129
- "properties": {
130
- "id": {
131
- "type": "string"
132
- },
133
- "op": {
134
- "type": "string",
135
- "enum": [
136
- "set",
137
- "replace",
138
- "merge",
139
- "append"
140
- ]
141
- },
142
- "path": {
143
- "type": "string"
144
- },
145
- "before": {},
146
- "after": {},
147
- "reason": {
148
- "type": "string"
149
- },
150
- "metadata": {
151
- "type": "object",
152
- "additionalProperties": {}
153
- },
154
- "status": {
155
- "type": "string",
156
- "enum": [
157
- "committed",
158
- "denied",
159
- "discarded",
160
- "failed"
161
- ]
162
- },
163
- "stepId": {
164
- "type": "string"
165
- },
166
- "capability": {
167
- "type": "string"
168
- },
169
- "timestamp": {
170
- "type": "string"
171
- }
172
- },
173
- "required": [
174
- "id",
175
- "op",
176
- "path",
177
- "before",
178
- "after",
179
- "status",
180
- "stepId",
181
- "capability",
182
- "timestamp"
183
- ],
184
- "additionalProperties": false,
185
- "description": "Committed or denied mutation record.",
186
- "category": "Runtime"
187
- },
188
- "ValidationIssue": {
189
- "type": "object",
190
- "properties": {
191
- "code": {
192
- "type": "string"
193
- },
194
- "message": {
195
- "type": "string"
196
- },
197
- "path": {
198
- "type": "string"
199
- },
200
- "suggestions": {
201
- "type": "array",
202
- "items": {
203
- "type": "string"
204
- }
205
- },
206
- "severity": {
207
- "$ref": "#/definitions/ValidationSeverity"
208
- }
209
- },
210
- "required": [
211
- "code",
212
- "message"
213
- ],
214
- "additionalProperties": false,
215
- "description": "Single validation issue.",
216
- "category": "Validation"
217
- },
218
- "ValidationSeverity": {
219
- "type": "string",
220
- "enum": [
221
- "error",
222
- "warning",
223
- "info"
224
- ],
225
- "description": "Validation issue severity.",
226
- "category": "Validation"
227
- }
228
- },
229
- "$id": "https://ecp.dev/schemas/run.result.json"
230
- }
@@ -1,89 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$ref": "#/definitions/ValidationResult",
4
- "definitions": {
5
- "ValidationResult": {
6
- "type": "object",
7
- "properties": {
8
- "schema": {
9
- "type": "string",
10
- "const": "@executioncontrolprotocol.validation.result"
11
- },
12
- "version": {
13
- "$ref": "#/definitions/EcpVersion"
14
- },
15
- "valid": {
16
- "type": "boolean"
17
- },
18
- "errors": {
19
- "type": "array",
20
- "items": {
21
- "$ref": "#/definitions/ValidationIssue"
22
- }
23
- },
24
- "warnings": {
25
- "type": "array",
26
- "items": {
27
- "$ref": "#/definitions/ValidationIssue"
28
- }
29
- }
30
- },
31
- "required": [
32
- "schema",
33
- "version",
34
- "valid",
35
- "errors",
36
- "warnings"
37
- ],
38
- "additionalProperties": false,
39
- "description": "Validation result document.",
40
- "category": "Validation"
41
- },
42
- "EcpVersion": {
43
- "type": "string",
44
- "description": "ECP semantic version literal.",
45
- "category": "Common"
46
- },
47
- "ValidationIssue": {
48
- "type": "object",
49
- "properties": {
50
- "code": {
51
- "type": "string"
52
- },
53
- "message": {
54
- "type": "string"
55
- },
56
- "path": {
57
- "type": "string"
58
- },
59
- "suggestions": {
60
- "type": "array",
61
- "items": {
62
- "type": "string"
63
- }
64
- },
65
- "severity": {
66
- "$ref": "#/definitions/ValidationSeverity"
67
- }
68
- },
69
- "required": [
70
- "code",
71
- "message"
72
- ],
73
- "additionalProperties": false,
74
- "description": "Single validation issue.",
75
- "category": "Validation"
76
- },
77
- "ValidationSeverity": {
78
- "type": "string",
79
- "enum": [
80
- "error",
81
- "warning",
82
- "info"
83
- ],
84
- "description": "Validation issue severity.",
85
- "category": "Validation"
86
- }
87
- },
88
- "$id": "https://ecp.dev/schemas/validation.result.json"
89
- }