@executioncontrolprotocol/core 0.51.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 (602) 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 -69
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +44 -61
  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/builder.d.ts +0 -39
  50. package/dist/config/builder.d.ts.map +0 -1
  51. package/dist/config/builder.js +0 -50
  52. package/dist/config/builder.js.map +0 -1
  53. package/dist/config/index.d.ts +0 -2
  54. package/dist/config/index.d.ts.map +0 -1
  55. package/dist/config/index.js +0 -2
  56. package/dist/config/index.js.map +0 -1
  57. package/dist/config-schema/index.d.ts +0 -4
  58. package/dist/config-schema/index.d.ts.map +0 -1
  59. package/dist/config-schema/index.js +0 -2
  60. package/dist/config-schema/index.js.map +0 -1
  61. package/dist/definitions/capability.d.ts +0 -36
  62. package/dist/definitions/capability.d.ts.map +0 -1
  63. package/dist/definitions/capability.js +0 -68
  64. package/dist/definitions/capability.js.map +0 -1
  65. package/dist/definitions/environment.d.ts +0 -38
  66. package/dist/definitions/environment.d.ts.map +0 -1
  67. package/dist/definitions/environment.js +0 -77
  68. package/dist/definitions/environment.js.map +0 -1
  69. package/dist/definitions/extension.d.ts +0 -48
  70. package/dist/definitions/extension.d.ts.map +0 -1
  71. package/dist/definitions/extension.js +0 -96
  72. package/dist/definitions/extension.js.map +0 -1
  73. package/dist/definitions/hook.d.ts +0 -11
  74. package/dist/definitions/hook.d.ts.map +0 -1
  75. package/dist/definitions/hook.js +0 -13
  76. package/dist/definitions/hook.js.map +0 -1
  77. package/dist/definitions/index.d.ts +0 -7
  78. package/dist/definitions/index.d.ts.map +0 -1
  79. package/dist/definitions/index.js +0 -6
  80. package/dist/definitions/index.js.map +0 -1
  81. package/dist/definitions/policy.d.ts +0 -31
  82. package/dist/definitions/policy.d.ts.map +0 -1
  83. package/dist/definitions/policy.js +0 -66
  84. package/dist/definitions/policy.js.map +0 -1
  85. package/dist/definitions/types.d.ts +0 -74
  86. package/dist/definitions/types.d.ts.map +0 -1
  87. package/dist/definitions/types.js +0 -2
  88. package/dist/definitions/types.js.map +0 -1
  89. package/dist/encoding/contracts.d.ts +0 -17
  90. package/dist/encoding/contracts.d.ts.map +0 -1
  91. package/dist/encoding/contracts.js +0 -41
  92. package/dist/encoding/contracts.js.map +0 -1
  93. package/dist/encoding/decode-builder.d.ts +0 -17
  94. package/dist/encoding/decode-builder.d.ts.map +0 -1
  95. package/dist/encoding/decode-builder.js +0 -90
  96. package/dist/encoding/decode-builder.js.map +0 -1
  97. package/dist/encoding/encode-builder.d.ts +0 -19
  98. package/dist/encoding/encode-builder.d.ts.map +0 -1
  99. package/dist/encoding/encode-builder.js +0 -76
  100. package/dist/encoding/encode-builder.js.map +0 -1
  101. package/dist/encoding/errors.d.ts +0 -25
  102. package/dist/encoding/errors.d.ts.map +0 -1
  103. package/dist/encoding/errors.js +0 -20
  104. package/dist/encoding/errors.js.map +0 -1
  105. package/dist/encoding/index.d.ts +0 -10
  106. package/dist/encoding/index.d.ts.map +0 -1
  107. package/dist/encoding/index.js +0 -10
  108. package/dist/encoding/index.js.map +0 -1
  109. package/dist/encoding/invoke-utility.d.ts +0 -14
  110. package/dist/encoding/invoke-utility.d.ts.map +0 -1
  111. package/dist/encoding/invoke-utility.js +0 -50
  112. package/dist/encoding/invoke-utility.js.map +0 -1
  113. package/dist/encoding/json-codec.d.ts +0 -38
  114. package/dist/encoding/json-codec.d.ts.map +0 -1
  115. package/dist/encoding/json-codec.js +0 -108
  116. package/dist/encoding/json-codec.js.map +0 -1
  117. package/dist/encoding/normalize-workflow.d.ts +0 -7
  118. package/dist/encoding/normalize-workflow.d.ts.map +0 -1
  119. package/dist/encoding/normalize-workflow.js +0 -111
  120. package/dist/encoding/normalize-workflow.js.map +0 -1
  121. package/dist/encoding/resolve.d.ts +0 -13
  122. package/dist/encoding/resolve.d.ts.map +0 -1
  123. package/dist/encoding/resolve.js +0 -48
  124. package/dist/encoding/resolve.js.map +0 -1
  125. package/dist/encoding/schemas.d.ts +0 -398
  126. package/dist/encoding/schemas.d.ts.map +0 -1
  127. package/dist/encoding/schemas.js +0 -74
  128. package/dist/encoding/schemas.js.map +0 -1
  129. package/dist/encoding/utility-context.d.ts +0 -29
  130. package/dist/encoding/utility-context.d.ts.map +0 -1
  131. package/dist/encoding/utility-context.js +0 -33
  132. package/dist/encoding/utility-context.js.map +0 -1
  133. package/dist/environment/bindings.d.ts +0 -59
  134. package/dist/environment/bindings.d.ts.map +0 -1
  135. package/dist/environment/bindings.js +0 -34
  136. package/dist/environment/bindings.js.map +0 -1
  137. package/dist/environment/config-resolver.d.ts +0 -31
  138. package/dist/environment/config-resolver.d.ts.map +0 -1
  139. package/dist/environment/config-resolver.js +0 -100
  140. package/dist/environment/config-resolver.js.map +0 -1
  141. package/dist/environment/describe.d.ts +0 -23
  142. package/dist/environment/describe.d.ts.map +0 -1
  143. package/dist/environment/describe.js +0 -289
  144. package/dist/environment/describe.js.map +0 -1
  145. package/dist/environment/ecp.d.ts +0 -73
  146. package/dist/environment/ecp.d.ts.map +0 -1
  147. package/dist/environment/ecp.js +0 -58
  148. package/dist/environment/ecp.js.map +0 -1
  149. package/dist/environment/encoding-host.d.ts +0 -17
  150. package/dist/environment/encoding-host.d.ts.map +0 -1
  151. package/dist/environment/encoding-host.js +0 -2
  152. package/dist/environment/encoding-host.js.map +0 -1
  153. package/dist/environment/environment.d.ts +0 -187
  154. package/dist/environment/environment.d.ts.map +0 -1
  155. package/dist/environment/environment.js +0 -519
  156. package/dist/environment/environment.js.map +0 -1
  157. package/dist/environment/search.d.ts +0 -4
  158. package/dist/environment/search.d.ts.map +0 -1
  159. package/dist/environment/search.js +0 -103
  160. package/dist/environment/search.js.map +0 -1
  161. package/dist/environment/validate-binding-config.d.ts +0 -12
  162. package/dist/environment/validate-binding-config.d.ts.map +0 -1
  163. package/dist/environment/validate-binding-config.js +0 -43
  164. package/dist/environment/validate-binding-config.js.map +0 -1
  165. package/dist/file/file-ref.d.ts +0 -28
  166. package/dist/file/file-ref.d.ts.map +0 -1
  167. package/dist/file/file-ref.js +0 -75
  168. package/dist/file/file-ref.js.map +0 -1
  169. package/dist/fluent/encode-fluent.d.ts +0 -10
  170. package/dist/fluent/encode-fluent.d.ts.map +0 -1
  171. package/dist/fluent/encode-fluent.js +0 -58
  172. package/dist/fluent/encode-fluent.js.map +0 -1
  173. package/dist/fluent/index.d.ts +0 -3
  174. package/dist/fluent/index.d.ts.map +0 -1
  175. package/dist/fluent/index.js +0 -3
  176. package/dist/fluent/index.js.map +0 -1
  177. package/dist/fluent/render-expr.d.ts +0 -7
  178. package/dist/fluent/render-expr.d.ts.map +0 -1
  179. package/dist/fluent/render-expr.js +0 -14
  180. package/dist/fluent/render-expr.js.map +0 -1
  181. package/dist/fluent/render-node.d.ts +0 -6
  182. package/dist/fluent/render-node.d.ts.map +0 -1
  183. package/dist/fluent/render-node.js +0 -92
  184. package/dist/fluent/render-node.js.map +0 -1
  185. package/dist/fluent/render-value.d.ts +0 -21
  186. package/dist/fluent/render-value.d.ts.map +0 -1
  187. package/dist/fluent/render-value.js +0 -42
  188. package/dist/fluent/render-value.js.map +0 -1
  189. package/dist/fluent/render-workflow.d.ts +0 -16
  190. package/dist/fluent/render-workflow.d.ts.map +0 -1
  191. package/dist/fluent/render-workflow.js +0 -47
  192. package/dist/fluent/render-workflow.js.map +0 -1
  193. package/dist/formats/format-fluent.d.ts +0 -3
  194. package/dist/formats/format-fluent.d.ts.map +0 -1
  195. package/dist/formats/format-fluent.js +0 -36
  196. package/dist/formats/format-fluent.js.map +0 -1
  197. package/dist/formats/format-json.d.ts +0 -3
  198. package/dist/formats/format-json.d.ts.map +0 -1
  199. package/dist/formats/format-json.js +0 -97
  200. package/dist/formats/format-json.js.map +0 -1
  201. package/dist/formats/register-core-formats.d.ts +0 -8
  202. package/dist/formats/register-core-formats.d.ts.map +0 -1
  203. package/dist/formats/register-core-formats.js +0 -18
  204. package/dist/formats/register-core-formats.js.map +0 -1
  205. package/dist/helpers/env.d.ts +0 -12
  206. package/dist/helpers/env.d.ts.map +0 -1
  207. package/dist/helpers/env.js +0 -12
  208. package/dist/helpers/env.js.map +0 -1
  209. package/dist/helpers/expr.d.ts +0 -12
  210. package/dist/helpers/expr.d.ts.map +0 -1
  211. package/dist/helpers/expr.js +0 -15
  212. package/dist/helpers/expr.js.map +0 -1
  213. package/dist/helpers/merge-parameter-body.d.ts +0 -11
  214. package/dist/helpers/merge-parameter-body.d.ts.map +0 -1
  215. package/dist/helpers/merge-parameter-body.js +0 -36
  216. package/dist/helpers/merge-parameter-body.js.map +0 -1
  217. package/dist/helpers/provider-chat-turns.d.ts +0 -42
  218. package/dist/helpers/provider-chat-turns.d.ts.map +0 -1
  219. package/dist/helpers/provider-chat-turns.js +0 -53
  220. package/dist/helpers/provider-chat-turns.js.map +0 -1
  221. package/dist/helpers/ref.d.ts +0 -12
  222. package/dist/helpers/ref.d.ts.map +0 -1
  223. package/dist/helpers/ref.js +0 -13
  224. package/dist/helpers/ref.js.map +0 -1
  225. package/dist/helpers/secrets.d.ts +0 -12
  226. package/dist/helpers/secrets.d.ts.map +0 -1
  227. package/dist/helpers/secrets.js +0 -12
  228. package/dist/helpers/secrets.js.map +0 -1
  229. package/dist/helpers/state.d.ts +0 -12
  230. package/dist/helpers/state.d.ts.map +0 -1
  231. package/dist/helpers/state.js +0 -15
  232. package/dist/helpers/state.js.map +0 -1
  233. package/dist/invoke/execute-invoke.d.ts +0 -9
  234. package/dist/invoke/execute-invoke.d.ts.map +0 -1
  235. package/dist/invoke/execute-invoke.js +0 -139
  236. package/dist/invoke/execute-invoke.js.map +0 -1
  237. package/dist/invoke/index.d.ts +0 -3
  238. package/dist/invoke/index.d.ts.map +0 -1
  239. package/dist/invoke/index.js +0 -3
  240. package/dist/invoke/index.js.map +0 -1
  241. package/dist/invoke/invoke-builder.d.ts +0 -15
  242. package/dist/invoke/invoke-builder.d.ts.map +0 -1
  243. package/dist/invoke/invoke-builder.js +0 -19
  244. package/dist/invoke/invoke-builder.js.map +0 -1
  245. package/dist/media/artifact-filename.d.ts +0 -41
  246. package/dist/media/artifact-filename.d.ts.map +0 -1
  247. package/dist/media/artifact-filename.js +0 -119
  248. package/dist/media/artifact-filename.js.map +0 -1
  249. package/dist/media/assert-media-type.d.ts +0 -11
  250. package/dist/media/assert-media-type.d.ts.map +0 -1
  251. package/dist/media/assert-media-type.js +0 -43
  252. package/dist/media/assert-media-type.js.map +0 -1
  253. package/dist/media/base64.d.ts +0 -11
  254. package/dist/media/base64.d.ts.map +0 -1
  255. package/dist/media/base64.js +0 -30
  256. package/dist/media/base64.js.map +0 -1
  257. package/dist/media/browser-locator.d.ts +0 -8
  258. package/dist/media/browser-locator.d.ts.map +0 -1
  259. package/dist/media/browser-locator.js +0 -22
  260. package/dist/media/browser-locator.js.map +0 -1
  261. package/dist/media/index.d.ts +0 -11
  262. package/dist/media/index.d.ts.map +0 -1
  263. package/dist/media/index.js +0 -11
  264. package/dist/media/index.js.map +0 -1
  265. package/dist/media/resolve-file.d.ts +0 -34
  266. package/dist/media/resolve-file.d.ts.map +0 -1
  267. package/dist/media/resolve-file.js +0 -62
  268. package/dist/media/resolve-file.js.map +0 -1
  269. package/dist/media/resolved-file.d.ts +0 -15
  270. package/dist/media/resolved-file.d.ts.map +0 -1
  271. package/dist/media/resolved-file.js +0 -2
  272. package/dist/media/resolved-file.js.map +0 -1
  273. package/dist/media/write-media.d.ts +0 -17
  274. package/dist/media/write-media.d.ts.map +0 -1
  275. package/dist/media/write-media.js +0 -30
  276. package/dist/media/write-media.js.map +0 -1
  277. package/dist/patch/apply-patch.d.ts +0 -8
  278. package/dist/patch/apply-patch.d.ts.map +0 -1
  279. package/dist/patch/apply-patch.js +0 -286
  280. package/dist/patch/apply-patch.js.map +0 -1
  281. package/dist/patch/index.d.ts +0 -7
  282. package/dist/patch/index.d.ts.map +0 -1
  283. package/dist/patch/index.js +0 -7
  284. package/dist/patch/index.js.map +0 -1
  285. package/dist/patch/normalize-input.d.ts +0 -15
  286. package/dist/patch/normalize-input.d.ts.map +0 -1
  287. package/dist/patch/normalize-input.js +0 -68
  288. package/dist/patch/normalize-input.js.map +0 -1
  289. package/dist/patch/patch-builder.d.ts +0 -14
  290. package/dist/patch/patch-builder.d.ts.map +0 -1
  291. package/dist/patch/patch-builder.js +0 -22
  292. package/dist/patch/patch-builder.js.map +0 -1
  293. package/dist/patch/patch-document.d.ts +0 -61
  294. package/dist/patch/patch-document.d.ts.map +0 -1
  295. package/dist/patch/patch-document.js +0 -16
  296. package/dist/patch/patch-document.js.map +0 -1
  297. package/dist/patch/resolve-path.d.ts +0 -21
  298. package/dist/patch/resolve-path.d.ts.map +0 -1
  299. package/dist/patch/resolve-path.js +0 -45
  300. package/dist/patch/resolve-path.js.map +0 -1
  301. package/dist/patch/step-index.d.ts +0 -14
  302. package/dist/patch/step-index.d.ts.map +0 -1
  303. package/dist/patch/step-index.js +0 -44
  304. package/dist/patch/step-index.js.map +0 -1
  305. package/dist/policies/registry-control.d.ts +0 -20
  306. package/dist/policies/registry-control.d.ts.map +0 -1
  307. package/dist/policies/registry-control.js +0 -72
  308. package/dist/policies/registry-control.js.map +0 -1
  309. package/dist/registry/ensure-bound-extensions.d.ts +0 -9
  310. package/dist/registry/ensure-bound-extensions.d.ts.map +0 -1
  311. package/dist/registry/ensure-bound-extensions.js +0 -31
  312. package/dist/registry/ensure-bound-extensions.js.map +0 -1
  313. package/dist/registry/errors.d.ts +0 -13
  314. package/dist/registry/errors.d.ts.map +0 -1
  315. package/dist/registry/errors.js +0 -20
  316. package/dist/registry/errors.js.map +0 -1
  317. package/dist/registry/extension-catalog.d.ts +0 -16
  318. package/dist/registry/extension-catalog.d.ts.map +0 -1
  319. package/dist/registry/extension-catalog.js +0 -28
  320. package/dist/registry/extension-catalog.js.map +0 -1
  321. package/dist/registry/namespace.d.ts +0 -11
  322. package/dist/registry/namespace.d.ts.map +0 -1
  323. package/dist/registry/namespace.js +0 -19
  324. package/dist/registry/namespace.js.map +0 -1
  325. package/dist/registry/registry.d.ts +0 -44
  326. package/dist/registry/registry.d.ts.map +0 -1
  327. package/dist/registry/registry.js +0 -94
  328. package/dist/registry/registry.js.map +0 -1
  329. package/dist/runtime/artifacts.d.ts +0 -31
  330. package/dist/runtime/artifacts.d.ts.map +0 -1
  331. package/dist/runtime/artifacts.js +0 -26
  332. package/dist/runtime/artifacts.js.map +0 -1
  333. package/dist/runtime/blobs.d.ts +0 -72
  334. package/dist/runtime/blobs.d.ts.map +0 -1
  335. package/dist/runtime/blobs.js +0 -129
  336. package/dist/runtime/blobs.js.map +0 -1
  337. package/dist/runtime/capability-execution.d.ts +0 -23
  338. package/dist/runtime/capability-execution.d.ts.map +0 -1
  339. package/dist/runtime/capability-execution.js +0 -25
  340. package/dist/runtime/capability-execution.js.map +0 -1
  341. package/dist/runtime/commit.d.ts +0 -11
  342. package/dist/runtime/commit.d.ts.map +0 -1
  343. package/dist/runtime/commit.js +0 -44
  344. package/dist/runtime/commit.js.map +0 -1
  345. package/dist/runtime/context.d.ts +0 -119
  346. package/dist/runtime/context.d.ts.map +0 -1
  347. package/dist/runtime/context.js +0 -32
  348. package/dist/runtime/context.js.map +0 -1
  349. package/dist/runtime/dispatch-capability.d.ts +0 -42
  350. package/dist/runtime/dispatch-capability.d.ts.map +0 -1
  351. package/dist/runtime/dispatch-capability.js +0 -99
  352. package/dist/runtime/dispatch-capability.js.map +0 -1
  353. package/dist/runtime/error-details.d.ts +0 -13
  354. package/dist/runtime/error-details.d.ts.map +0 -1
  355. package/dist/runtime/error-details.js +0 -56
  356. package/dist/runtime/error-details.js.map +0 -1
  357. package/dist/runtime/executor.d.ts +0 -47
  358. package/dist/runtime/executor.d.ts.map +0 -1
  359. package/dist/runtime/executor.js +0 -2
  360. package/dist/runtime/executor.js.map +0 -1
  361. package/dist/runtime/in-memory-executor.d.ts +0 -10
  362. package/dist/runtime/in-memory-executor.d.ts.map +0 -1
  363. package/dist/runtime/in-memory-executor.js +0 -604
  364. package/dist/runtime/in-memory-executor.js.map +0 -1
  365. package/dist/runtime/lifecycle.d.ts +0 -6
  366. package/dist/runtime/lifecycle.d.ts.map +0 -1
  367. package/dist/runtime/lifecycle.js +0 -10
  368. package/dist/runtime/lifecycle.js.map +0 -1
  369. package/dist/runtime/mixed-blob-upload.d.ts +0 -37
  370. package/dist/runtime/mixed-blob-upload.d.ts.map +0 -1
  371. package/dist/runtime/mixed-blob-upload.js +0 -65
  372. package/dist/runtime/mixed-blob-upload.js.map +0 -1
  373. package/dist/runtime/mutation-records.d.ts +0 -4
  374. package/dist/runtime/mutation-records.d.ts.map +0 -1
  375. package/dist/runtime/mutation-records.js +0 -28
  376. package/dist/runtime/mutation-records.js.map +0 -1
  377. package/dist/runtime/policy-engine.d.ts +0 -14
  378. package/dist/runtime/policy-engine.d.ts.map +0 -1
  379. package/dist/runtime/policy-engine.js +0 -55
  380. package/dist/runtime/policy-engine.js.map +0 -1
  381. package/dist/runtime/remote-invoke.d.ts +0 -41
  382. package/dist/runtime/remote-invoke.d.ts.map +0 -1
  383. package/dist/runtime/remote-invoke.js +0 -120
  384. package/dist/runtime/remote-invoke.js.map +0 -1
  385. package/dist/runtime/resolve-input.d.ts +0 -4
  386. package/dist/runtime/resolve-input.d.ts.map +0 -1
  387. package/dist/runtime/resolve-input.js +0 -52
  388. package/dist/runtime/resolve-input.js.map +0 -1
  389. package/dist/runtime/runtime-ids.d.ts +0 -5
  390. package/dist/runtime/runtime-ids.d.ts.map +0 -1
  391. package/dist/runtime/runtime-ids.js +0 -5
  392. package/dist/runtime/runtime-ids.js.map +0 -1
  393. package/dist/runtime/step-order.d.ts +0 -32
  394. package/dist/runtime/step-order.d.ts.map +0 -1
  395. package/dist/runtime/step-order.js +0 -85
  396. package/dist/runtime/step-order.js.map +0 -1
  397. package/dist/runtime/store.d.ts +0 -38
  398. package/dist/runtime/store.d.ts.map +0 -1
  399. package/dist/runtime/store.js +0 -97
  400. package/dist/runtime/store.js.map +0 -1
  401. package/dist/schema/json-schema.d.ts +0 -64
  402. package/dist/schema/json-schema.d.ts.map +0 -1
  403. package/dist/schema/json-schema.js +0 -307
  404. package/dist/schema/json-schema.js.map +0 -1
  405. package/dist/schema/workflow-io.d.ts +0 -18
  406. package/dist/schema/workflow-io.d.ts.map +0 -1
  407. package/dist/schema/workflow-io.js +0 -41
  408. package/dist/schema/workflow-io.js.map +0 -1
  409. package/dist/schemas/decode.result.json +0 -165
  410. package/dist/schemas/encode.result.json +0 -172
  411. package/dist/schemas/environment.describe.json +0 -362
  412. package/dist/schemas/environment.manifest.json +0 -159
  413. package/dist/schemas/environment.search.json +0 -72
  414. package/dist/schemas/patch.json +0 -104
  415. package/dist/schemas/patch.result.json +0 -270
  416. package/dist/schemas/requirements.json +0 -102
  417. package/dist/schemas/run.journal.json +0 -158
  418. package/dist/schemas/run.request.json +0 -491
  419. package/dist/schemas/run.result.json +0 -240
  420. package/dist/schemas/validation.result.json +0 -99
  421. package/dist/schemas/workflow.manifest.json +0 -457
  422. package/dist/services/index.d.ts +0 -4
  423. package/dist/services/index.d.ts.map +0 -1
  424. package/dist/services/index.js +0 -4
  425. package/dist/services/index.js.map +0 -1
  426. package/dist/services/map.d.ts +0 -24
  427. package/dist/services/map.d.ts.map +0 -1
  428. package/dist/services/map.js +0 -37
  429. package/dist/services/map.js.map +0 -1
  430. package/dist/services/media-store.d.ts +0 -78
  431. package/dist/services/media-store.d.ts.map +0 -1
  432. package/dist/services/media-store.js +0 -16
  433. package/dist/services/media-store.js.map +0 -1
  434. package/dist/services/provider.d.ts +0 -35
  435. package/dist/services/provider.d.ts.map +0 -1
  436. package/dist/services/provider.js +0 -25
  437. package/dist/services/provider.js.map +0 -1
  438. package/dist/testing/index.d.ts +0 -9
  439. package/dist/testing/index.d.ts.map +0 -1
  440. package/dist/testing/index.js +0 -9
  441. package/dist/testing/index.js.map +0 -1
  442. package/dist/testing/memory-media-store.d.ts +0 -24
  443. package/dist/testing/memory-media-store.d.ts.map +0 -1
  444. package/dist/testing/memory-media-store.js +0 -71
  445. package/dist/testing/memory-media-store.js.map +0 -1
  446. package/dist/testing/test-extension.d.ts +0 -21
  447. package/dist/testing/test-extension.d.ts.map +0 -1
  448. package/dist/testing/test-extension.js +0 -166
  449. package/dist/testing/test-extension.js.map +0 -1
  450. package/dist/testing/test-lifecycle-extension.d.ts +0 -15
  451. package/dist/testing/test-lifecycle-extension.d.ts.map +0 -1
  452. package/dist/testing/test-lifecycle-extension.js +0 -114
  453. package/dist/testing/test-lifecycle-extension.js.map +0 -1
  454. package/dist/types/capabilities.d.ts +0 -39
  455. package/dist/types/capabilities.d.ts.map +0 -1
  456. package/dist/types/capabilities.js +0 -2
  457. package/dist/types/capabilities.js.map +0 -1
  458. package/dist/types/capability-execution.d.ts +0 -5
  459. package/dist/types/capability-execution.d.ts.map +0 -1
  460. package/dist/types/capability-execution.js +0 -3
  461. package/dist/types/capability-execution.js.map +0 -1
  462. package/dist/types/capability-metadata.d.ts +0 -216
  463. package/dist/types/capability-metadata.d.ts.map +0 -1
  464. package/dist/types/capability-metadata.js +0 -138
  465. package/dist/types/capability-metadata.js.map +0 -1
  466. package/dist/types/encoding.d.ts +0 -103
  467. package/dist/types/encoding.d.ts.map +0 -1
  468. package/dist/types/encoding.js +0 -29
  469. package/dist/types/encoding.js.map +0 -1
  470. package/dist/types/environment.d.ts +0 -155
  471. package/dist/types/environment.d.ts.map +0 -1
  472. package/dist/types/environment.js +0 -2
  473. package/dist/types/environment.js.map +0 -1
  474. package/dist/types/errors.d.ts +0 -93
  475. package/dist/types/errors.d.ts.map +0 -1
  476. package/dist/types/errors.js +0 -89
  477. package/dist/types/errors.js.map +0 -1
  478. package/dist/types/file-ref.d.ts +0 -84
  479. package/dist/types/file-ref.d.ts.map +0 -1
  480. package/dist/types/file-ref.js +0 -117
  481. package/dist/types/file-ref.js.map +0 -1
  482. package/dist/types/image-output.d.ts +0 -32
  483. package/dist/types/image-output.d.ts.map +0 -1
  484. package/dist/types/image-output.js +0 -11
  485. package/dist/types/image-output.js.map +0 -1
  486. package/dist/types/index.d.ts +0 -36
  487. package/dist/types/index.d.ts.map +0 -1
  488. package/dist/types/index.js +0 -13
  489. package/dist/types/index.js.map +0 -1
  490. package/dist/types/invoke.d.ts +0 -51
  491. package/dist/types/invoke.d.ts.map +0 -1
  492. package/dist/types/invoke.js +0 -32
  493. package/dist/types/invoke.js.map +0 -1
  494. package/dist/types/journal.d.ts +0 -121
  495. package/dist/types/journal.d.ts.map +0 -1
  496. package/dist/types/journal.js +0 -3
  497. package/dist/types/journal.js.map +0 -1
  498. package/dist/types/lifecycle.d.ts +0 -27
  499. package/dist/types/lifecycle.d.ts.map +0 -1
  500. package/dist/types/lifecycle.js +0 -2
  501. package/dist/types/lifecycle.js.map +0 -1
  502. package/dist/types/model.d.ts +0 -102
  503. package/dist/types/model.d.ts.map +0 -1
  504. package/dist/types/model.js +0 -51
  505. package/dist/types/model.js.map +0 -1
  506. package/dist/types/patch-errors.d.ts +0 -11
  507. package/dist/types/patch-errors.d.ts.map +0 -1
  508. package/dist/types/patch-errors.js +0 -9
  509. package/dist/types/patch-errors.js.map +0 -1
  510. package/dist/types/patch.d.ts +0 -51
  511. package/dist/types/patch.d.ts.map +0 -1
  512. package/dist/types/patch.js +0 -2
  513. package/dist/types/patch.js.map +0 -1
  514. package/dist/types/registry.d.ts +0 -24
  515. package/dist/types/registry.d.ts.map +0 -1
  516. package/dist/types/registry.js +0 -2
  517. package/dist/types/registry.js.map +0 -1
  518. package/dist/types/requirements.d.ts +0 -42
  519. package/dist/types/requirements.d.ts.map +0 -1
  520. package/dist/types/requirements.js +0 -2
  521. package/dist/types/requirements.js.map +0 -1
  522. package/dist/types/run-events.d.ts +0 -32
  523. package/dist/types/run-events.d.ts.map +0 -1
  524. package/dist/types/run-events.js +0 -8
  525. package/dist/types/run-events.js.map +0 -1
  526. package/dist/types/run.d.ts +0 -48
  527. package/dist/types/run.d.ts.map +0 -1
  528. package/dist/types/run.js +0 -2
  529. package/dist/types/run.js.map +0 -1
  530. package/dist/types/schema.d.ts +0 -58
  531. package/dist/types/schema.d.ts.map +0 -1
  532. package/dist/types/schema.js +0 -2
  533. package/dist/types/schema.js.map +0 -1
  534. package/dist/types/store.d.ts +0 -30
  535. package/dist/types/store.d.ts.map +0 -1
  536. package/dist/types/store.js +0 -2
  537. package/dist/types/store.js.map +0 -1
  538. package/dist/types/validation.d.ts +0 -30
  539. package/dist/types/validation.d.ts.map +0 -1
  540. package/dist/types/validation.js +0 -2
  541. package/dist/types/validation.js.map +0 -1
  542. package/dist/types/version.d.ts +0 -5
  543. package/dist/types/version.d.ts.map +0 -1
  544. package/dist/types/version.js +0 -3
  545. package/dist/types/version.js.map +0 -1
  546. package/dist/types/workflow.d.ts +0 -80
  547. package/dist/types/workflow.d.ts.map +0 -1
  548. package/dist/types/workflow.js +0 -2
  549. package/dist/types/workflow.js.map +0 -1
  550. package/dist/util/path.d.ts +0 -16
  551. package/dist/util/path.d.ts.map +0 -1
  552. package/dist/util/path.js +0 -116
  553. package/dist/util/path.js.map +0 -1
  554. package/dist/util/semver-range.d.ts +0 -6
  555. package/dist/util/semver-range.d.ts.map +0 -1
  556. package/dist/util/semver-range.js +0 -9
  557. package/dist/util/semver-range.js.map +0 -1
  558. package/dist/util/slug.d.ts +0 -3
  559. package/dist/util/slug.d.ts.map +0 -1
  560. package/dist/util/slug.js +0 -9
  561. package/dist/util/slug.js.map +0 -1
  562. package/dist/validate/environment.d.ts +0 -8
  563. package/dist/validate/environment.d.ts.map +0 -1
  564. package/dist/validate/environment.js +0 -71
  565. package/dist/validate/environment.js.map +0 -1
  566. package/dist/validate/workflow-schema.d.ts +0 -346
  567. package/dist/validate/workflow-schema.d.ts.map +0 -1
  568. package/dist/validate/workflow-schema.js +0 -145
  569. package/dist/validate/workflow-schema.js.map +0 -1
  570. package/dist/validate/workflow.d.ts +0 -7
  571. package/dist/validate/workflow.d.ts.map +0 -1
  572. package/dist/validate/workflow.js +0 -130
  573. package/dist/validate/workflow.js.map +0 -1
  574. package/dist/validate/zod-mapper.d.ts +0 -5
  575. package/dist/validate/zod-mapper.d.ts.map +0 -1
  576. package/dist/validate/zod-mapper.js +0 -10
  577. package/dist/validate/zod-mapper.js.map +0 -1
  578. package/dist/workflow/assign-unique-step-ids.d.ts +0 -7
  579. package/dist/workflow/assign-unique-step-ids.d.ts.map +0 -1
  580. package/dist/workflow/assign-unique-step-ids.js +0 -58
  581. package/dist/workflow/assign-unique-step-ids.js.map +0 -1
  582. package/dist/workflow/builder.d.ts +0 -64
  583. package/dist/workflow/builder.d.ts.map +0 -1
  584. package/dist/workflow/builder.js +0 -129
  585. package/dist/workflow/builder.js.map +0 -1
  586. package/dist/workflow/flow.d.ts +0 -36
  587. package/dist/workflow/flow.d.ts.map +0 -1
  588. package/dist/workflow/flow.js +0 -51
  589. package/dist/workflow/flow.js.map +0 -1
  590. package/dist/workflow/requirements.d.ts +0 -34
  591. package/dist/workflow/requirements.d.ts.map +0 -1
  592. package/dist/workflow/requirements.js +0 -134
  593. package/dist/workflow/requirements.js.map +0 -1
  594. package/fixtures/schema-examples/harness-reply.output.eql +0 -3
  595. package/fixtures/schema-examples/harness-reply.output.json +0 -11
  596. package/fixtures/schema-examples/intent.output.eql +0 -1
  597. package/fixtures/schema-examples/intent.output.json +0 -4
  598. package/fixtures/schema-examples/patch.output.eql +0 -4
  599. package/fixtures/schema-examples/patch.output.json +0 -12
  600. package/fixtures/schema-examples/patch.repair-neutral.eql +0 -4
  601. package/fixtures/schema-examples/workflow.output.eql +0 -9
  602. package/fixtures/schema-examples/workflow.output.json +0 -32
@@ -1,491 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$ref": "#/definitions/RunRequest",
4
- "definitions": {
5
- "RunRequest": {
6
- "type": "object",
7
- "properties": {
8
- "schema": {
9
- "type": "string",
10
- "const": "@executioncontrolprotocol.run.request"
11
- },
12
- "version": {
13
- "$ref": "#/definitions/EcpVersion"
14
- },
15
- "workflow": {
16
- "$ref": "#/definitions/WorkflowManifest"
17
- },
18
- "input": {
19
- "type": "object",
20
- "additionalProperties": {}
21
- },
22
- "actor": {
23
- "type": "object",
24
- "additionalProperties": {}
25
- },
26
- "dryRun": {
27
- "type": "boolean"
28
- }
29
- },
30
- "required": [
31
- "schema",
32
- "version",
33
- "workflow"
34
- ],
35
- "additionalProperties": false,
36
- "description": "Run request document.",
37
- "category": "Runtime"
38
- },
39
- "EcpVersion": {
40
- "type": "string",
41
- "description": "ECP semantic version literal.",
42
- "category": "Common"
43
- },
44
- "WorkflowManifest": {
45
- "type": "object",
46
- "properties": {
47
- "schema": {
48
- "type": "string",
49
- "const": "@executioncontrolprotocol.workflow"
50
- },
51
- "version": {
52
- "$ref": "#/definitions/EcpVersion"
53
- },
54
- "workflow": {
55
- "type": "object",
56
- "properties": {
57
- "id": {
58
- "type": "string",
59
- "description": "Workflow id."
60
- },
61
- "label": {
62
- "type": "string",
63
- "description": "Display label."
64
- },
65
- "accepts": {
66
- "type": "object",
67
- "additionalProperties": {},
68
- "description": "JSON Schema (object) for run input (`ecp.run(..., { input })`). Property names seed workflow state and are read with `ref(\"name\")`."
69
- },
70
- "returns": {
71
- "type": "object",
72
- "additionalProperties": {},
73
- "description": "JSON Schema (object) for public run output. Property names are top-level state keys (typically a step `.as()`)."
74
- }
75
- },
76
- "required": [
77
- "id"
78
- ],
79
- "additionalProperties": false
80
- },
81
- "steps": {
82
- "type": "array",
83
- "items": {
84
- "$ref": "#/definitions/WorkflowNode"
85
- }
86
- },
87
- "discovery": {
88
- "$ref": "#/definitions/WorkflowDiscoveryMarker",
89
- "description": "Present when this manifest is a disposable discovery / inspect workflow. Hosts read this instead of guessing from step ids."
90
- }
91
- },
92
- "required": [
93
- "schema",
94
- "version",
95
- "workflow",
96
- "steps"
97
- ],
98
- "additionalProperties": false,
99
- "description": "Portable workflow manifest.",
100
- "category": "Workflow"
101
- },
102
- "WorkflowNode": {
103
- "anyOf": [
104
- {
105
- "$ref": "#/definitions/StepNode"
106
- },
107
- {
108
- "$ref": "#/definitions/ParallelNode"
109
- },
110
- {
111
- "$ref": "#/definitions/BranchNode"
112
- },
113
- {
114
- "$ref": "#/definitions/LoopNode"
115
- }
116
- ],
117
- "description": "Workflow graph node union.",
118
- "category": "Workflow"
119
- },
120
- "StepNode": {
121
- "type": "object",
122
- "properties": {
123
- "type": {
124
- "type": "string",
125
- "const": "step"
126
- },
127
- "id": {
128
- "type": "string"
129
- },
130
- "label": {
131
- "type": "string"
132
- },
133
- "uses": {
134
- "anyOf": [
135
- {
136
- "$ref": "#/definitions/CapabilityId"
137
- },
138
- {
139
- "type": "string"
140
- }
141
- ]
142
- },
143
- "input": {
144
- "type": "object",
145
- "additionalProperties": {
146
- "$ref": "#/definitions/InputValue"
147
- }
148
- },
149
- "as": {
150
- "type": "string",
151
- "description": "State key for committed output (fluent `.as()`)."
152
- },
153
- "mode": {
154
- "$ref": "#/definitions/CommitMode",
155
- "description": "Commit mode when `as` is set (fluent `.as(key, { mode })`)."
156
- },
157
- "when": {
158
- "$ref": "#/definitions/ExprValue"
159
- }
160
- },
161
- "required": [
162
- "id",
163
- "uses"
164
- ],
165
- "additionalProperties": false,
166
- "description": "Single capability step.",
167
- "category": "Workflow"
168
- },
169
- "CapabilityId": {
170
- "type": "string",
171
- "description": "Capability id (`@namespace/name.capability`).",
172
- "category": "Common"
173
- },
174
- "InputValue": {
175
- "anyOf": [
176
- {
177
- "type": "string"
178
- },
179
- {
180
- "type": "number"
181
- },
182
- {
183
- "type": "boolean"
184
- },
185
- {
186
- "type": "null"
187
- },
188
- {
189
- "type": "array",
190
- "items": {
191
- "$ref": "#/definitions/InputValue"
192
- }
193
- },
194
- {
195
- "type": "object",
196
- "additionalProperties": {
197
- "$ref": "#/definitions/InputValue"
198
- }
199
- },
200
- {
201
- "$ref": "#/definitions/RefValue"
202
- },
203
- {
204
- "$ref": "#/definitions/StateValue"
205
- },
206
- {
207
- "$ref": "#/definitions/EnvValue"
208
- },
209
- {
210
- "$ref": "#/definitions/SecretValue"
211
- }
212
- ],
213
- "description": "Input value allowed in step config.",
214
- "category": "Workflow"
215
- },
216
- "RefValue": {
217
- "type": "object",
218
- "properties": {
219
- "$ref": {
220
- "type": "string",
221
- "description": "State path prefixed with `state.` in manifests."
222
- },
223
- "optional": {
224
- "type": "boolean",
225
- "description": "When true, missing state does not fail resolution."
226
- },
227
- "fallback": {
228
- "description": "Fallback when optional ref is missing."
229
- }
230
- },
231
- "required": [
232
- "$ref"
233
- ],
234
- "additionalProperties": false,
235
- "description": "Workflow reference to committed state.",
236
- "category": "Workflow"
237
- },
238
- "StateValue": {
239
- "type": "object",
240
- "properties": {
241
- "$state": {
242
- "type": "string",
243
- "description": "State path for staged mutations."
244
- },
245
- "optional": {
246
- "type": "boolean"
247
- },
248
- "fallback": {}
249
- },
250
- "required": [
251
- "$state"
252
- ],
253
- "additionalProperties": false,
254
- "description": "Mutable state handle in step input.",
255
- "category": "Workflow"
256
- },
257
- "EnvValue": {
258
- "type": "object",
259
- "properties": {
260
- "$env": {
261
- "type": "string"
262
- },
263
- "optional": {
264
- "type": "boolean"
265
- },
266
- "fallback": {}
267
- },
268
- "required": [
269
- "$env"
270
- ],
271
- "additionalProperties": false,
272
- "description": "Environment config secret reference (not portable in workflows).",
273
- "category": "Environment"
274
- },
275
- "SecretValue": {
276
- "type": "object",
277
- "properties": {
278
- "$secret": {
279
- "type": "string",
280
- "description": "Logical key in the OS secrets store."
281
- },
282
- "optional": {
283
- "type": "boolean",
284
- "description": "When true, missing secret does not fail resolution."
285
- },
286
- "fallback": {
287
- "description": "Fallback when optional secret is missing."
288
- }
289
- },
290
- "required": [
291
- "$secret"
292
- ],
293
- "additionalProperties": false,
294
- "description": "OS secrets reference (not portable in workflows).",
295
- "category": "Environment"
296
- },
297
- "CommitMode": {
298
- "type": "string",
299
- "enum": [
300
- "create",
301
- "replace",
302
- "merge",
303
- "append",
304
- "version"
305
- ],
306
- "description": "Commit mode for step output.",
307
- "category": "Workflow"
308
- },
309
- "ExprValue": {
310
- "anyOf": [
311
- {
312
- "type": "object",
313
- "properties": {
314
- "eq": {
315
- "type": "array",
316
- "minItems": 2,
317
- "items": [
318
- {
319
- "type": "string"
320
- },
321
- {}
322
- ],
323
- "maxItems": 2
324
- }
325
- },
326
- "required": [
327
- "eq"
328
- ],
329
- "additionalProperties": false
330
- },
331
- {
332
- "type": "object",
333
- "properties": {
334
- "neq": {
335
- "type": "array",
336
- "minItems": 2,
337
- "items": [
338
- {
339
- "type": "string"
340
- },
341
- {}
342
- ],
343
- "maxItems": 2
344
- }
345
- },
346
- "required": [
347
- "neq"
348
- ],
349
- "additionalProperties": false
350
- },
351
- {
352
- "type": "object",
353
- "additionalProperties": {}
354
- }
355
- ],
356
- "description": "Expression value in workflow conditions.",
357
- "category": "Workflow"
358
- },
359
- "ParallelNode": {
360
- "type": "object",
361
- "properties": {
362
- "type": {
363
- "type": "string",
364
- "const": "parallel"
365
- },
366
- "id": {
367
- "type": "string"
368
- },
369
- "label": {
370
- "type": "string"
371
- },
372
- "branches": {
373
- "type": "array",
374
- "items": {
375
- "type": "array",
376
- "items": {
377
- "$ref": "#/definitions/WorkflowNode"
378
- }
379
- }
380
- }
381
- },
382
- "required": [
383
- "type",
384
- "id",
385
- "branches"
386
- ],
387
- "additionalProperties": false,
388
- "description": "Parallel branches.",
389
- "category": "Workflow"
390
- },
391
- "BranchNode": {
392
- "type": "object",
393
- "properties": {
394
- "type": {
395
- "type": "string",
396
- "const": "branch"
397
- },
398
- "id": {
399
- "type": "string"
400
- },
401
- "label": {
402
- "type": "string"
403
- },
404
- "branches": {
405
- "type": "array",
406
- "items": {
407
- "type": "object",
408
- "properties": {
409
- "label": {
410
- "type": "string"
411
- },
412
- "when": {
413
- "$ref": "#/definitions/ExprValue"
414
- },
415
- "steps": {
416
- "type": "array",
417
- "items": {
418
- "$ref": "#/definitions/WorkflowNode"
419
- }
420
- }
421
- },
422
- "required": [
423
- "when",
424
- "steps"
425
- ],
426
- "additionalProperties": false
427
- }
428
- }
429
- },
430
- "required": [
431
- "type",
432
- "id",
433
- "branches"
434
- ],
435
- "additionalProperties": false,
436
- "description": "Conditional branches.",
437
- "category": "Workflow"
438
- },
439
- "LoopNode": {
440
- "type": "object",
441
- "properties": {
442
- "type": {
443
- "type": "string",
444
- "const": "loop"
445
- },
446
- "id": {
447
- "type": "string"
448
- },
449
- "label": {
450
- "type": "string"
451
- },
452
- "until": {
453
- "$ref": "#/definitions/ExprValue"
454
- },
455
- "maxRounds": {
456
- "type": "number"
457
- },
458
- "steps": {
459
- "type": "array",
460
- "items": {
461
- "$ref": "#/definitions/WorkflowNode"
462
- }
463
- }
464
- },
465
- "required": [
466
- "type",
467
- "id",
468
- "steps"
469
- ],
470
- "additionalProperties": false,
471
- "description": "Loop until condition.",
472
- "category": "Workflow"
473
- },
474
- "WorkflowDiscoveryMarker": {
475
- "type": "object",
476
- "properties": {
477
- "capabilityId": {
478
- "type": "string",
479
- "description": "Capability id the inspect workflow calls."
480
- }
481
- },
482
- "required": [
483
- "capabilityId"
484
- ],
485
- "additionalProperties": false,
486
- "description": "Marker for a disposable one-step inspect workflow compiled from a capability.",
487
- "category": "Workflow"
488
- }
489
- },
490
- "$id": "https://ecp.dev/schemas/run.request.json"
491
- }