@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.
- package/README.md +3 -55
- package/dist/capabilities/parse-csv.d.ts +9 -0
- package/dist/capabilities/parse-csv.d.ts.map +1 -0
- package/dist/capabilities/parse-csv.js +31 -0
- package/dist/capabilities/parse-csv.js.map +1 -0
- package/dist/capabilities/transform.d.ts +6 -0
- package/dist/capabilities/transform.d.ts.map +1 -0
- package/dist/capabilities/transform.js +9 -0
- package/dist/capabilities/transform.js.map +1 -0
- package/dist/csv/parse-rfc4180.d.ts +37 -0
- package/dist/csv/parse-rfc4180.d.ts.map +1 -0
- package/dist/csv/parse-rfc4180.js +131 -0
- package/dist/csv/parse-rfc4180.js.map +1 -0
- package/dist/index.d.ts +106 -69
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +44 -61
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +65 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +30 -0
- package/dist/schemas.js.map +1 -0
- package/ecp.manifest.json +46 -0
- package/ecp.schema.json +231 -0
- package/package.json +23 -24
- package/dist/bindings/extension.d.ts +0 -33
- package/dist/bindings/extension.d.ts.map +0 -1
- package/dist/bindings/extension.js +0 -55
- package/dist/bindings/extension.js.map +0 -1
- package/dist/bindings/policy.d.ts +0 -33
- package/dist/bindings/policy.d.ts.map +0 -1
- package/dist/bindings/policy.js +0 -55
- package/dist/bindings/policy.js.map +0 -1
- package/dist/bindings/step.d.ts +0 -34
- package/dist/bindings/step.d.ts.map +0 -1
- package/dist/bindings/step.js +0 -59
- package/dist/bindings/step.js.map +0 -1
- package/dist/compile/extract-workflow-module.d.ts +0 -20
- package/dist/compile/extract-workflow-module.d.ts.map +0 -1
- package/dist/compile/extract-workflow-module.js +0 -49
- package/dist/compile/extract-workflow-module.js.map +0 -1
- package/dist/compile/index.d.ts +0 -8
- package/dist/compile/index.d.ts.map +0 -1
- package/dist/compile/index.js +0 -2
- package/dist/compile/index.js.map +0 -1
- package/dist/compile/types.d.ts +0 -28
- package/dist/compile/types.d.ts.map +0 -1
- package/dist/compile/types.js +0 -2
- package/dist/compile/types.js.map +0 -1
- package/dist/config/builder.d.ts +0 -39
- package/dist/config/builder.d.ts.map +0 -1
- package/dist/config/builder.js +0 -50
- package/dist/config/builder.js.map +0 -1
- package/dist/config/index.d.ts +0 -2
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/index.js +0 -2
- package/dist/config/index.js.map +0 -1
- package/dist/config-schema/index.d.ts +0 -4
- package/dist/config-schema/index.d.ts.map +0 -1
- package/dist/config-schema/index.js +0 -2
- package/dist/config-schema/index.js.map +0 -1
- package/dist/definitions/capability.d.ts +0 -36
- package/dist/definitions/capability.d.ts.map +0 -1
- package/dist/definitions/capability.js +0 -68
- package/dist/definitions/capability.js.map +0 -1
- package/dist/definitions/environment.d.ts +0 -38
- package/dist/definitions/environment.d.ts.map +0 -1
- package/dist/definitions/environment.js +0 -77
- package/dist/definitions/environment.js.map +0 -1
- package/dist/definitions/extension.d.ts +0 -48
- package/dist/definitions/extension.d.ts.map +0 -1
- package/dist/definitions/extension.js +0 -96
- package/dist/definitions/extension.js.map +0 -1
- package/dist/definitions/hook.d.ts +0 -11
- package/dist/definitions/hook.d.ts.map +0 -1
- package/dist/definitions/hook.js +0 -13
- package/dist/definitions/hook.js.map +0 -1
- package/dist/definitions/index.d.ts +0 -7
- package/dist/definitions/index.d.ts.map +0 -1
- package/dist/definitions/index.js +0 -6
- package/dist/definitions/index.js.map +0 -1
- package/dist/definitions/policy.d.ts +0 -31
- package/dist/definitions/policy.d.ts.map +0 -1
- package/dist/definitions/policy.js +0 -66
- package/dist/definitions/policy.js.map +0 -1
- package/dist/definitions/types.d.ts +0 -74
- package/dist/definitions/types.d.ts.map +0 -1
- package/dist/definitions/types.js +0 -2
- package/dist/definitions/types.js.map +0 -1
- package/dist/encoding/contracts.d.ts +0 -17
- package/dist/encoding/contracts.d.ts.map +0 -1
- package/dist/encoding/contracts.js +0 -41
- package/dist/encoding/contracts.js.map +0 -1
- package/dist/encoding/decode-builder.d.ts +0 -17
- package/dist/encoding/decode-builder.d.ts.map +0 -1
- package/dist/encoding/decode-builder.js +0 -90
- package/dist/encoding/decode-builder.js.map +0 -1
- package/dist/encoding/encode-builder.d.ts +0 -19
- package/dist/encoding/encode-builder.d.ts.map +0 -1
- package/dist/encoding/encode-builder.js +0 -76
- package/dist/encoding/encode-builder.js.map +0 -1
- package/dist/encoding/errors.d.ts +0 -25
- package/dist/encoding/errors.d.ts.map +0 -1
- package/dist/encoding/errors.js +0 -20
- package/dist/encoding/errors.js.map +0 -1
- package/dist/encoding/index.d.ts +0 -10
- package/dist/encoding/index.d.ts.map +0 -1
- package/dist/encoding/index.js +0 -10
- package/dist/encoding/index.js.map +0 -1
- package/dist/encoding/invoke-utility.d.ts +0 -14
- package/dist/encoding/invoke-utility.d.ts.map +0 -1
- package/dist/encoding/invoke-utility.js +0 -50
- package/dist/encoding/invoke-utility.js.map +0 -1
- package/dist/encoding/json-codec.d.ts +0 -38
- package/dist/encoding/json-codec.d.ts.map +0 -1
- package/dist/encoding/json-codec.js +0 -108
- package/dist/encoding/json-codec.js.map +0 -1
- package/dist/encoding/normalize-workflow.d.ts +0 -7
- package/dist/encoding/normalize-workflow.d.ts.map +0 -1
- package/dist/encoding/normalize-workflow.js +0 -111
- package/dist/encoding/normalize-workflow.js.map +0 -1
- package/dist/encoding/resolve.d.ts +0 -13
- package/dist/encoding/resolve.d.ts.map +0 -1
- package/dist/encoding/resolve.js +0 -48
- package/dist/encoding/resolve.js.map +0 -1
- package/dist/encoding/schemas.d.ts +0 -398
- package/dist/encoding/schemas.d.ts.map +0 -1
- package/dist/encoding/schemas.js +0 -74
- package/dist/encoding/schemas.js.map +0 -1
- package/dist/encoding/utility-context.d.ts +0 -29
- package/dist/encoding/utility-context.d.ts.map +0 -1
- package/dist/encoding/utility-context.js +0 -33
- package/dist/encoding/utility-context.js.map +0 -1
- package/dist/environment/bindings.d.ts +0 -59
- package/dist/environment/bindings.d.ts.map +0 -1
- package/dist/environment/bindings.js +0 -34
- package/dist/environment/bindings.js.map +0 -1
- package/dist/environment/config-resolver.d.ts +0 -31
- package/dist/environment/config-resolver.d.ts.map +0 -1
- package/dist/environment/config-resolver.js +0 -100
- package/dist/environment/config-resolver.js.map +0 -1
- package/dist/environment/describe.d.ts +0 -23
- package/dist/environment/describe.d.ts.map +0 -1
- package/dist/environment/describe.js +0 -289
- package/dist/environment/describe.js.map +0 -1
- package/dist/environment/ecp.d.ts +0 -73
- package/dist/environment/ecp.d.ts.map +0 -1
- package/dist/environment/ecp.js +0 -58
- package/dist/environment/ecp.js.map +0 -1
- package/dist/environment/encoding-host.d.ts +0 -17
- package/dist/environment/encoding-host.d.ts.map +0 -1
- package/dist/environment/encoding-host.js +0 -2
- package/dist/environment/encoding-host.js.map +0 -1
- package/dist/environment/environment.d.ts +0 -187
- package/dist/environment/environment.d.ts.map +0 -1
- package/dist/environment/environment.js +0 -519
- package/dist/environment/environment.js.map +0 -1
- package/dist/environment/search.d.ts +0 -4
- package/dist/environment/search.d.ts.map +0 -1
- package/dist/environment/search.js +0 -103
- package/dist/environment/search.js.map +0 -1
- package/dist/environment/validate-binding-config.d.ts +0 -12
- package/dist/environment/validate-binding-config.d.ts.map +0 -1
- package/dist/environment/validate-binding-config.js +0 -43
- package/dist/environment/validate-binding-config.js.map +0 -1
- package/dist/file/file-ref.d.ts +0 -28
- package/dist/file/file-ref.d.ts.map +0 -1
- package/dist/file/file-ref.js +0 -75
- package/dist/file/file-ref.js.map +0 -1
- package/dist/fluent/encode-fluent.d.ts +0 -10
- package/dist/fluent/encode-fluent.d.ts.map +0 -1
- package/dist/fluent/encode-fluent.js +0 -58
- package/dist/fluent/encode-fluent.js.map +0 -1
- package/dist/fluent/index.d.ts +0 -3
- package/dist/fluent/index.d.ts.map +0 -1
- package/dist/fluent/index.js +0 -3
- package/dist/fluent/index.js.map +0 -1
- package/dist/fluent/render-expr.d.ts +0 -7
- package/dist/fluent/render-expr.d.ts.map +0 -1
- package/dist/fluent/render-expr.js +0 -14
- package/dist/fluent/render-expr.js.map +0 -1
- package/dist/fluent/render-node.d.ts +0 -6
- package/dist/fluent/render-node.d.ts.map +0 -1
- package/dist/fluent/render-node.js +0 -92
- package/dist/fluent/render-node.js.map +0 -1
- package/dist/fluent/render-value.d.ts +0 -21
- package/dist/fluent/render-value.d.ts.map +0 -1
- package/dist/fluent/render-value.js +0 -42
- package/dist/fluent/render-value.js.map +0 -1
- package/dist/fluent/render-workflow.d.ts +0 -16
- package/dist/fluent/render-workflow.d.ts.map +0 -1
- package/dist/fluent/render-workflow.js +0 -47
- package/dist/fluent/render-workflow.js.map +0 -1
- package/dist/formats/format-fluent.d.ts +0 -3
- package/dist/formats/format-fluent.d.ts.map +0 -1
- package/dist/formats/format-fluent.js +0 -36
- package/dist/formats/format-fluent.js.map +0 -1
- package/dist/formats/format-json.d.ts +0 -3
- package/dist/formats/format-json.d.ts.map +0 -1
- package/dist/formats/format-json.js +0 -97
- package/dist/formats/format-json.js.map +0 -1
- package/dist/formats/register-core-formats.d.ts +0 -8
- package/dist/formats/register-core-formats.d.ts.map +0 -1
- package/dist/formats/register-core-formats.js +0 -18
- package/dist/formats/register-core-formats.js.map +0 -1
- package/dist/helpers/env.d.ts +0 -12
- package/dist/helpers/env.d.ts.map +0 -1
- package/dist/helpers/env.js +0 -12
- package/dist/helpers/env.js.map +0 -1
- package/dist/helpers/expr.d.ts +0 -12
- package/dist/helpers/expr.d.ts.map +0 -1
- package/dist/helpers/expr.js +0 -15
- package/dist/helpers/expr.js.map +0 -1
- package/dist/helpers/merge-parameter-body.d.ts +0 -11
- package/dist/helpers/merge-parameter-body.d.ts.map +0 -1
- package/dist/helpers/merge-parameter-body.js +0 -36
- package/dist/helpers/merge-parameter-body.js.map +0 -1
- package/dist/helpers/provider-chat-turns.d.ts +0 -42
- package/dist/helpers/provider-chat-turns.d.ts.map +0 -1
- package/dist/helpers/provider-chat-turns.js +0 -53
- package/dist/helpers/provider-chat-turns.js.map +0 -1
- package/dist/helpers/ref.d.ts +0 -12
- package/dist/helpers/ref.d.ts.map +0 -1
- package/dist/helpers/ref.js +0 -13
- package/dist/helpers/ref.js.map +0 -1
- package/dist/helpers/secrets.d.ts +0 -12
- package/dist/helpers/secrets.d.ts.map +0 -1
- package/dist/helpers/secrets.js +0 -12
- package/dist/helpers/secrets.js.map +0 -1
- package/dist/helpers/state.d.ts +0 -12
- package/dist/helpers/state.d.ts.map +0 -1
- package/dist/helpers/state.js +0 -15
- package/dist/helpers/state.js.map +0 -1
- package/dist/invoke/execute-invoke.d.ts +0 -9
- package/dist/invoke/execute-invoke.d.ts.map +0 -1
- package/dist/invoke/execute-invoke.js +0 -139
- package/dist/invoke/execute-invoke.js.map +0 -1
- package/dist/invoke/index.d.ts +0 -3
- package/dist/invoke/index.d.ts.map +0 -1
- package/dist/invoke/index.js +0 -3
- package/dist/invoke/index.js.map +0 -1
- package/dist/invoke/invoke-builder.d.ts +0 -15
- package/dist/invoke/invoke-builder.d.ts.map +0 -1
- package/dist/invoke/invoke-builder.js +0 -19
- package/dist/invoke/invoke-builder.js.map +0 -1
- package/dist/media/artifact-filename.d.ts +0 -41
- package/dist/media/artifact-filename.d.ts.map +0 -1
- package/dist/media/artifact-filename.js +0 -119
- package/dist/media/artifact-filename.js.map +0 -1
- package/dist/media/assert-media-type.d.ts +0 -11
- package/dist/media/assert-media-type.d.ts.map +0 -1
- package/dist/media/assert-media-type.js +0 -43
- package/dist/media/assert-media-type.js.map +0 -1
- package/dist/media/base64.d.ts +0 -11
- package/dist/media/base64.d.ts.map +0 -1
- package/dist/media/base64.js +0 -30
- package/dist/media/base64.js.map +0 -1
- package/dist/media/browser-locator.d.ts +0 -8
- package/dist/media/browser-locator.d.ts.map +0 -1
- package/dist/media/browser-locator.js +0 -22
- package/dist/media/browser-locator.js.map +0 -1
- package/dist/media/index.d.ts +0 -11
- package/dist/media/index.d.ts.map +0 -1
- package/dist/media/index.js +0 -11
- package/dist/media/index.js.map +0 -1
- package/dist/media/resolve-file.d.ts +0 -34
- package/dist/media/resolve-file.d.ts.map +0 -1
- package/dist/media/resolve-file.js +0 -62
- package/dist/media/resolve-file.js.map +0 -1
- package/dist/media/resolved-file.d.ts +0 -15
- package/dist/media/resolved-file.d.ts.map +0 -1
- package/dist/media/resolved-file.js +0 -2
- package/dist/media/resolved-file.js.map +0 -1
- package/dist/media/write-media.d.ts +0 -17
- package/dist/media/write-media.d.ts.map +0 -1
- package/dist/media/write-media.js +0 -30
- package/dist/media/write-media.js.map +0 -1
- package/dist/patch/apply-patch.d.ts +0 -8
- package/dist/patch/apply-patch.d.ts.map +0 -1
- package/dist/patch/apply-patch.js +0 -286
- package/dist/patch/apply-patch.js.map +0 -1
- package/dist/patch/index.d.ts +0 -7
- package/dist/patch/index.d.ts.map +0 -1
- package/dist/patch/index.js +0 -7
- package/dist/patch/index.js.map +0 -1
- package/dist/patch/normalize-input.d.ts +0 -15
- package/dist/patch/normalize-input.d.ts.map +0 -1
- package/dist/patch/normalize-input.js +0 -68
- package/dist/patch/normalize-input.js.map +0 -1
- package/dist/patch/patch-builder.d.ts +0 -14
- package/dist/patch/patch-builder.d.ts.map +0 -1
- package/dist/patch/patch-builder.js +0 -22
- package/dist/patch/patch-builder.js.map +0 -1
- package/dist/patch/patch-document.d.ts +0 -61
- package/dist/patch/patch-document.d.ts.map +0 -1
- package/dist/patch/patch-document.js +0 -16
- package/dist/patch/patch-document.js.map +0 -1
- package/dist/patch/resolve-path.d.ts +0 -21
- package/dist/patch/resolve-path.d.ts.map +0 -1
- package/dist/patch/resolve-path.js +0 -45
- package/dist/patch/resolve-path.js.map +0 -1
- package/dist/patch/step-index.d.ts +0 -14
- package/dist/patch/step-index.d.ts.map +0 -1
- package/dist/patch/step-index.js +0 -44
- package/dist/patch/step-index.js.map +0 -1
- package/dist/policies/registry-control.d.ts +0 -20
- package/dist/policies/registry-control.d.ts.map +0 -1
- package/dist/policies/registry-control.js +0 -72
- package/dist/policies/registry-control.js.map +0 -1
- package/dist/registry/ensure-bound-extensions.d.ts +0 -9
- package/dist/registry/ensure-bound-extensions.d.ts.map +0 -1
- package/dist/registry/ensure-bound-extensions.js +0 -31
- package/dist/registry/ensure-bound-extensions.js.map +0 -1
- package/dist/registry/errors.d.ts +0 -13
- package/dist/registry/errors.d.ts.map +0 -1
- package/dist/registry/errors.js +0 -20
- package/dist/registry/errors.js.map +0 -1
- package/dist/registry/extension-catalog.d.ts +0 -16
- package/dist/registry/extension-catalog.d.ts.map +0 -1
- package/dist/registry/extension-catalog.js +0 -28
- package/dist/registry/extension-catalog.js.map +0 -1
- package/dist/registry/namespace.d.ts +0 -11
- package/dist/registry/namespace.d.ts.map +0 -1
- package/dist/registry/namespace.js +0 -19
- package/dist/registry/namespace.js.map +0 -1
- package/dist/registry/registry.d.ts +0 -44
- package/dist/registry/registry.d.ts.map +0 -1
- package/dist/registry/registry.js +0 -94
- package/dist/registry/registry.js.map +0 -1
- package/dist/runtime/artifacts.d.ts +0 -31
- package/dist/runtime/artifacts.d.ts.map +0 -1
- package/dist/runtime/artifacts.js +0 -26
- package/dist/runtime/artifacts.js.map +0 -1
- package/dist/runtime/blobs.d.ts +0 -72
- package/dist/runtime/blobs.d.ts.map +0 -1
- package/dist/runtime/blobs.js +0 -129
- package/dist/runtime/blobs.js.map +0 -1
- package/dist/runtime/capability-execution.d.ts +0 -23
- package/dist/runtime/capability-execution.d.ts.map +0 -1
- package/dist/runtime/capability-execution.js +0 -25
- package/dist/runtime/capability-execution.js.map +0 -1
- package/dist/runtime/commit.d.ts +0 -11
- package/dist/runtime/commit.d.ts.map +0 -1
- package/dist/runtime/commit.js +0 -44
- package/dist/runtime/commit.js.map +0 -1
- package/dist/runtime/context.d.ts +0 -119
- package/dist/runtime/context.d.ts.map +0 -1
- package/dist/runtime/context.js +0 -32
- package/dist/runtime/context.js.map +0 -1
- package/dist/runtime/dispatch-capability.d.ts +0 -42
- package/dist/runtime/dispatch-capability.d.ts.map +0 -1
- package/dist/runtime/dispatch-capability.js +0 -99
- package/dist/runtime/dispatch-capability.js.map +0 -1
- package/dist/runtime/error-details.d.ts +0 -13
- package/dist/runtime/error-details.d.ts.map +0 -1
- package/dist/runtime/error-details.js +0 -56
- package/dist/runtime/error-details.js.map +0 -1
- package/dist/runtime/executor.d.ts +0 -47
- package/dist/runtime/executor.d.ts.map +0 -1
- package/dist/runtime/executor.js +0 -2
- package/dist/runtime/executor.js.map +0 -1
- package/dist/runtime/in-memory-executor.d.ts +0 -10
- package/dist/runtime/in-memory-executor.d.ts.map +0 -1
- package/dist/runtime/in-memory-executor.js +0 -604
- package/dist/runtime/in-memory-executor.js.map +0 -1
- package/dist/runtime/lifecycle.d.ts +0 -6
- package/dist/runtime/lifecycle.d.ts.map +0 -1
- package/dist/runtime/lifecycle.js +0 -10
- package/dist/runtime/lifecycle.js.map +0 -1
- package/dist/runtime/mixed-blob-upload.d.ts +0 -37
- package/dist/runtime/mixed-blob-upload.d.ts.map +0 -1
- package/dist/runtime/mixed-blob-upload.js +0 -65
- package/dist/runtime/mixed-blob-upload.js.map +0 -1
- package/dist/runtime/mutation-records.d.ts +0 -4
- package/dist/runtime/mutation-records.d.ts.map +0 -1
- package/dist/runtime/mutation-records.js +0 -28
- package/dist/runtime/mutation-records.js.map +0 -1
- package/dist/runtime/policy-engine.d.ts +0 -14
- package/dist/runtime/policy-engine.d.ts.map +0 -1
- package/dist/runtime/policy-engine.js +0 -55
- package/dist/runtime/policy-engine.js.map +0 -1
- package/dist/runtime/remote-invoke.d.ts +0 -41
- package/dist/runtime/remote-invoke.d.ts.map +0 -1
- package/dist/runtime/remote-invoke.js +0 -120
- package/dist/runtime/remote-invoke.js.map +0 -1
- package/dist/runtime/resolve-input.d.ts +0 -4
- package/dist/runtime/resolve-input.d.ts.map +0 -1
- package/dist/runtime/resolve-input.js +0 -52
- package/dist/runtime/resolve-input.js.map +0 -1
- package/dist/runtime/runtime-ids.d.ts +0 -5
- package/dist/runtime/runtime-ids.d.ts.map +0 -1
- package/dist/runtime/runtime-ids.js +0 -5
- package/dist/runtime/runtime-ids.js.map +0 -1
- package/dist/runtime/step-order.d.ts +0 -32
- package/dist/runtime/step-order.d.ts.map +0 -1
- package/dist/runtime/step-order.js +0 -85
- package/dist/runtime/step-order.js.map +0 -1
- package/dist/runtime/store.d.ts +0 -38
- package/dist/runtime/store.d.ts.map +0 -1
- package/dist/runtime/store.js +0 -97
- package/dist/runtime/store.js.map +0 -1
- package/dist/schema/json-schema.d.ts +0 -64
- package/dist/schema/json-schema.d.ts.map +0 -1
- package/dist/schema/json-schema.js +0 -307
- package/dist/schema/json-schema.js.map +0 -1
- package/dist/schema/workflow-io.d.ts +0 -18
- package/dist/schema/workflow-io.d.ts.map +0 -1
- package/dist/schema/workflow-io.js +0 -41
- package/dist/schema/workflow-io.js.map +0 -1
- package/dist/schemas/decode.result.json +0 -165
- package/dist/schemas/encode.result.json +0 -172
- package/dist/schemas/environment.describe.json +0 -362
- package/dist/schemas/environment.manifest.json +0 -159
- package/dist/schemas/environment.search.json +0 -72
- package/dist/schemas/patch.json +0 -104
- package/dist/schemas/patch.result.json +0 -270
- package/dist/schemas/requirements.json +0 -102
- package/dist/schemas/run.journal.json +0 -158
- package/dist/schemas/run.request.json +0 -491
- package/dist/schemas/run.result.json +0 -240
- package/dist/schemas/validation.result.json +0 -99
- package/dist/schemas/workflow.manifest.json +0 -457
- package/dist/services/index.d.ts +0 -4
- package/dist/services/index.d.ts.map +0 -1
- package/dist/services/index.js +0 -4
- package/dist/services/index.js.map +0 -1
- package/dist/services/map.d.ts +0 -24
- package/dist/services/map.d.ts.map +0 -1
- package/dist/services/map.js +0 -37
- package/dist/services/map.js.map +0 -1
- package/dist/services/media-store.d.ts +0 -78
- package/dist/services/media-store.d.ts.map +0 -1
- package/dist/services/media-store.js +0 -16
- package/dist/services/media-store.js.map +0 -1
- package/dist/services/provider.d.ts +0 -35
- package/dist/services/provider.d.ts.map +0 -1
- package/dist/services/provider.js +0 -25
- package/dist/services/provider.js.map +0 -1
- package/dist/testing/index.d.ts +0 -9
- package/dist/testing/index.d.ts.map +0 -1
- package/dist/testing/index.js +0 -9
- package/dist/testing/index.js.map +0 -1
- package/dist/testing/memory-media-store.d.ts +0 -24
- package/dist/testing/memory-media-store.d.ts.map +0 -1
- package/dist/testing/memory-media-store.js +0 -71
- package/dist/testing/memory-media-store.js.map +0 -1
- package/dist/testing/test-extension.d.ts +0 -21
- package/dist/testing/test-extension.d.ts.map +0 -1
- package/dist/testing/test-extension.js +0 -166
- package/dist/testing/test-extension.js.map +0 -1
- package/dist/testing/test-lifecycle-extension.d.ts +0 -15
- package/dist/testing/test-lifecycle-extension.d.ts.map +0 -1
- package/dist/testing/test-lifecycle-extension.js +0 -114
- package/dist/testing/test-lifecycle-extension.js.map +0 -1
- package/dist/types/capabilities.d.ts +0 -39
- package/dist/types/capabilities.d.ts.map +0 -1
- package/dist/types/capabilities.js +0 -2
- package/dist/types/capabilities.js.map +0 -1
- package/dist/types/capability-execution.d.ts +0 -5
- package/dist/types/capability-execution.d.ts.map +0 -1
- package/dist/types/capability-execution.js +0 -3
- package/dist/types/capability-execution.js.map +0 -1
- package/dist/types/capability-metadata.d.ts +0 -216
- package/dist/types/capability-metadata.d.ts.map +0 -1
- package/dist/types/capability-metadata.js +0 -138
- package/dist/types/capability-metadata.js.map +0 -1
- package/dist/types/encoding.d.ts +0 -103
- package/dist/types/encoding.d.ts.map +0 -1
- package/dist/types/encoding.js +0 -29
- package/dist/types/encoding.js.map +0 -1
- package/dist/types/environment.d.ts +0 -155
- package/dist/types/environment.d.ts.map +0 -1
- package/dist/types/environment.js +0 -2
- package/dist/types/environment.js.map +0 -1
- package/dist/types/errors.d.ts +0 -93
- package/dist/types/errors.d.ts.map +0 -1
- package/dist/types/errors.js +0 -89
- package/dist/types/errors.js.map +0 -1
- package/dist/types/file-ref.d.ts +0 -84
- package/dist/types/file-ref.d.ts.map +0 -1
- package/dist/types/file-ref.js +0 -117
- package/dist/types/file-ref.js.map +0 -1
- package/dist/types/image-output.d.ts +0 -32
- package/dist/types/image-output.d.ts.map +0 -1
- package/dist/types/image-output.js +0 -11
- package/dist/types/image-output.js.map +0 -1
- package/dist/types/index.d.ts +0 -36
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -13
- package/dist/types/index.js.map +0 -1
- package/dist/types/invoke.d.ts +0 -51
- package/dist/types/invoke.d.ts.map +0 -1
- package/dist/types/invoke.js +0 -32
- package/dist/types/invoke.js.map +0 -1
- package/dist/types/journal.d.ts +0 -121
- package/dist/types/journal.d.ts.map +0 -1
- package/dist/types/journal.js +0 -3
- package/dist/types/journal.js.map +0 -1
- package/dist/types/lifecycle.d.ts +0 -27
- package/dist/types/lifecycle.d.ts.map +0 -1
- package/dist/types/lifecycle.js +0 -2
- package/dist/types/lifecycle.js.map +0 -1
- package/dist/types/model.d.ts +0 -102
- package/dist/types/model.d.ts.map +0 -1
- package/dist/types/model.js +0 -51
- package/dist/types/model.js.map +0 -1
- package/dist/types/patch-errors.d.ts +0 -11
- package/dist/types/patch-errors.d.ts.map +0 -1
- package/dist/types/patch-errors.js +0 -9
- package/dist/types/patch-errors.js.map +0 -1
- package/dist/types/patch.d.ts +0 -51
- package/dist/types/patch.d.ts.map +0 -1
- package/dist/types/patch.js +0 -2
- package/dist/types/patch.js.map +0 -1
- package/dist/types/registry.d.ts +0 -24
- package/dist/types/registry.d.ts.map +0 -1
- package/dist/types/registry.js +0 -2
- package/dist/types/registry.js.map +0 -1
- package/dist/types/requirements.d.ts +0 -42
- package/dist/types/requirements.d.ts.map +0 -1
- package/dist/types/requirements.js +0 -2
- package/dist/types/requirements.js.map +0 -1
- package/dist/types/run-events.d.ts +0 -32
- package/dist/types/run-events.d.ts.map +0 -1
- package/dist/types/run-events.js +0 -8
- package/dist/types/run-events.js.map +0 -1
- package/dist/types/run.d.ts +0 -48
- package/dist/types/run.d.ts.map +0 -1
- package/dist/types/run.js +0 -2
- package/dist/types/run.js.map +0 -1
- package/dist/types/schema.d.ts +0 -58
- package/dist/types/schema.d.ts.map +0 -1
- package/dist/types/schema.js +0 -2
- package/dist/types/schema.js.map +0 -1
- package/dist/types/store.d.ts +0 -30
- package/dist/types/store.d.ts.map +0 -1
- package/dist/types/store.js +0 -2
- package/dist/types/store.js.map +0 -1
- package/dist/types/validation.d.ts +0 -30
- package/dist/types/validation.d.ts.map +0 -1
- package/dist/types/validation.js +0 -2
- package/dist/types/validation.js.map +0 -1
- package/dist/types/version.d.ts +0 -5
- package/dist/types/version.d.ts.map +0 -1
- package/dist/types/version.js +0 -3
- package/dist/types/version.js.map +0 -1
- package/dist/types/workflow.d.ts +0 -80
- package/dist/types/workflow.d.ts.map +0 -1
- package/dist/types/workflow.js +0 -2
- package/dist/types/workflow.js.map +0 -1
- package/dist/util/path.d.ts +0 -16
- package/dist/util/path.d.ts.map +0 -1
- package/dist/util/path.js +0 -116
- package/dist/util/path.js.map +0 -1
- package/dist/util/semver-range.d.ts +0 -6
- package/dist/util/semver-range.d.ts.map +0 -1
- package/dist/util/semver-range.js +0 -9
- package/dist/util/semver-range.js.map +0 -1
- package/dist/util/slug.d.ts +0 -3
- package/dist/util/slug.d.ts.map +0 -1
- package/dist/util/slug.js +0 -9
- package/dist/util/slug.js.map +0 -1
- package/dist/validate/environment.d.ts +0 -8
- package/dist/validate/environment.d.ts.map +0 -1
- package/dist/validate/environment.js +0 -71
- package/dist/validate/environment.js.map +0 -1
- package/dist/validate/workflow-schema.d.ts +0 -346
- package/dist/validate/workflow-schema.d.ts.map +0 -1
- package/dist/validate/workflow-schema.js +0 -145
- package/dist/validate/workflow-schema.js.map +0 -1
- package/dist/validate/workflow.d.ts +0 -7
- package/dist/validate/workflow.d.ts.map +0 -1
- package/dist/validate/workflow.js +0 -130
- package/dist/validate/workflow.js.map +0 -1
- package/dist/validate/zod-mapper.d.ts +0 -5
- package/dist/validate/zod-mapper.d.ts.map +0 -1
- package/dist/validate/zod-mapper.js +0 -10
- package/dist/validate/zod-mapper.js.map +0 -1
- package/dist/workflow/assign-unique-step-ids.d.ts +0 -7
- package/dist/workflow/assign-unique-step-ids.d.ts.map +0 -1
- package/dist/workflow/assign-unique-step-ids.js +0 -58
- package/dist/workflow/assign-unique-step-ids.js.map +0 -1
- package/dist/workflow/builder.d.ts +0 -64
- package/dist/workflow/builder.d.ts.map +0 -1
- package/dist/workflow/builder.js +0 -129
- package/dist/workflow/builder.js.map +0 -1
- package/dist/workflow/flow.d.ts +0 -36
- package/dist/workflow/flow.d.ts.map +0 -1
- package/dist/workflow/flow.js +0 -51
- package/dist/workflow/flow.js.map +0 -1
- package/dist/workflow/requirements.d.ts +0 -34
- package/dist/workflow/requirements.d.ts.map +0 -1
- package/dist/workflow/requirements.js +0 -134
- package/dist/workflow/requirements.js.map +0 -1
- package/fixtures/schema-examples/harness-reply.output.eql +0 -3
- package/fixtures/schema-examples/harness-reply.output.json +0 -11
- package/fixtures/schema-examples/intent.output.eql +0 -1
- package/fixtures/schema-examples/intent.output.json +0 -4
- package/fixtures/schema-examples/patch.output.eql +0 -4
- package/fixtures/schema-examples/patch.output.json +0 -12
- package/fixtures/schema-examples/patch.repair-neutral.eql +0 -4
- package/fixtures/schema-examples/workflow.output.eql +0 -9
- package/fixtures/schema-examples/workflow.output.json +0 -32
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/DecodeResultDocument",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"DecodeResultDocument": {
|
|
6
|
-
"$ref": "#/definitions/DecodeResult%3Cunknown%3E",
|
|
7
|
-
"description": "Concrete decode result for schema generation.",
|
|
8
|
-
"category": "Encoding"
|
|
9
|
-
},
|
|
10
|
-
"DecodeResult<unknown>": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"properties": {
|
|
13
|
-
"schema": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"const": "@executioncontrolprotocol.decode.result"
|
|
16
|
-
},
|
|
17
|
-
"version": {
|
|
18
|
-
"$ref": "#/definitions/EcpVersion"
|
|
19
|
-
},
|
|
20
|
-
"success": {
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
|
-
"targetSchema": {
|
|
24
|
-
"$ref": "#/definitions/EcpSchema"
|
|
25
|
-
},
|
|
26
|
-
"targetVersion": {
|
|
27
|
-
"$ref": "#/definitions/EcpVersion"
|
|
28
|
-
},
|
|
29
|
-
"result": {},
|
|
30
|
-
"validation": {
|
|
31
|
-
"$ref": "#/definitions/ValidationResult"
|
|
32
|
-
},
|
|
33
|
-
"diagnostics": {
|
|
34
|
-
"type": "array",
|
|
35
|
-
"items": {
|
|
36
|
-
"$ref": "#/definitions/ValidationIssue"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"required": [
|
|
41
|
-
"schema",
|
|
42
|
-
"version",
|
|
43
|
-
"success",
|
|
44
|
-
"diagnostics"
|
|
45
|
-
],
|
|
46
|
-
"additionalProperties": false,
|
|
47
|
-
"description": "Decode operation result.",
|
|
48
|
-
"category": "Encoding"
|
|
49
|
-
},
|
|
50
|
-
"EcpVersion": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"description": "ECP semantic version literal.",
|
|
53
|
-
"category": "Common"
|
|
54
|
-
},
|
|
55
|
-
"EcpSchema": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"enum": [
|
|
58
|
-
"@executioncontrolprotocol.workflow",
|
|
59
|
-
"@executioncontrolprotocol.environment",
|
|
60
|
-
"@executioncontrolprotocol.environment.describe",
|
|
61
|
-
"@executioncontrolprotocol.environment.search",
|
|
62
|
-
"@executioncontrolprotocol.requirements",
|
|
63
|
-
"@executioncontrolprotocol.run.request",
|
|
64
|
-
"@executioncontrolprotocol.run.result",
|
|
65
|
-
"@executioncontrolprotocol.run.event",
|
|
66
|
-
"@executioncontrolprotocol.validation.result",
|
|
67
|
-
"@executioncontrolprotocol.patch",
|
|
68
|
-
"@executioncontrolprotocol.patch.result",
|
|
69
|
-
"@executioncontrolprotocol.encode.result",
|
|
70
|
-
"@executioncontrolprotocol.decode.result",
|
|
71
|
-
"@executioncontrolprotocol.run.journal"
|
|
72
|
-
],
|
|
73
|
-
"description": "Serialized object schema discriminator.",
|
|
74
|
-
"category": "Common"
|
|
75
|
-
},
|
|
76
|
-
"ValidationResult": {
|
|
77
|
-
"type": "object",
|
|
78
|
-
"properties": {
|
|
79
|
-
"schema": {
|
|
80
|
-
"type": "string",
|
|
81
|
-
"const": "@executioncontrolprotocol.validation.result"
|
|
82
|
-
},
|
|
83
|
-
"version": {
|
|
84
|
-
"$ref": "#/definitions/EcpVersion"
|
|
85
|
-
},
|
|
86
|
-
"valid": {
|
|
87
|
-
"type": "boolean"
|
|
88
|
-
},
|
|
89
|
-
"errors": {
|
|
90
|
-
"type": "array",
|
|
91
|
-
"items": {
|
|
92
|
-
"$ref": "#/definitions/ValidationIssue"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"warnings": {
|
|
96
|
-
"type": "array",
|
|
97
|
-
"items": {
|
|
98
|
-
"$ref": "#/definitions/ValidationIssue"
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"required": [
|
|
103
|
-
"schema",
|
|
104
|
-
"version",
|
|
105
|
-
"valid",
|
|
106
|
-
"errors",
|
|
107
|
-
"warnings"
|
|
108
|
-
],
|
|
109
|
-
"additionalProperties": false,
|
|
110
|
-
"description": "Validation result document.",
|
|
111
|
-
"category": "Validation"
|
|
112
|
-
},
|
|
113
|
-
"ValidationIssue": {
|
|
114
|
-
"type": "object",
|
|
115
|
-
"properties": {
|
|
116
|
-
"code": {
|
|
117
|
-
"type": "string",
|
|
118
|
-
"description": "Stable `ECP_*` or schema issue code."
|
|
119
|
-
},
|
|
120
|
-
"message": {
|
|
121
|
-
"type": "string",
|
|
122
|
-
"description": "Human-readable sentence from the validator or thrown error."
|
|
123
|
-
},
|
|
124
|
-
"path": {
|
|
125
|
-
"type": "string",
|
|
126
|
-
"description": "JSON-pointer or field path when the issue is schema-scoped."
|
|
127
|
-
},
|
|
128
|
-
"suggestions": {
|
|
129
|
-
"type": "array",
|
|
130
|
-
"items": {
|
|
131
|
-
"type": "string"
|
|
132
|
-
},
|
|
133
|
-
"description": "Recovery hints."
|
|
134
|
-
},
|
|
135
|
-
"severity": {
|
|
136
|
-
"$ref": "#/definitions/ValidationSeverity",
|
|
137
|
-
"description": "Issue severity."
|
|
138
|
-
},
|
|
139
|
-
"details": {
|
|
140
|
-
"type": "object",
|
|
141
|
-
"additionalProperties": {},
|
|
142
|
-
"description": "JSON-safe fields copied from a thrown error (`status`, `bodyText`, `url`, `name`). Omits `stack`."
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"required": [
|
|
146
|
-
"code",
|
|
147
|
-
"message"
|
|
148
|
-
],
|
|
149
|
-
"additionalProperties": false,
|
|
150
|
-
"description": "Single validation issue.",
|
|
151
|
-
"category": "Validation"
|
|
152
|
-
},
|
|
153
|
-
"ValidationSeverity": {
|
|
154
|
-
"type": "string",
|
|
155
|
-
"enum": [
|
|
156
|
-
"error",
|
|
157
|
-
"warning",
|
|
158
|
-
"info"
|
|
159
|
-
],
|
|
160
|
-
"description": "Validation issue severity.",
|
|
161
|
-
"category": "Validation"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"$id": "https://ecp.dev/schemas/decode.result.json"
|
|
165
|
-
}
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/EncodeResultDocument",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"EncodeResultDocument": {
|
|
6
|
-
"$ref": "#/definitions/EncodeResult%3Cunknown%3E",
|
|
7
|
-
"description": "Concrete encode result for schema generation.",
|
|
8
|
-
"category": "Encoding"
|
|
9
|
-
},
|
|
10
|
-
"EncodeResult<unknown>": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"properties": {
|
|
13
|
-
"schema": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"const": "@executioncontrolprotocol.encode.result"
|
|
16
|
-
},
|
|
17
|
-
"version": {
|
|
18
|
-
"$ref": "#/definitions/EcpVersion"
|
|
19
|
-
},
|
|
20
|
-
"success": {
|
|
21
|
-
"type": "boolean"
|
|
22
|
-
},
|
|
23
|
-
"format": {
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
"sourceSchema": {
|
|
27
|
-
"$ref": "#/definitions/EcpSchema"
|
|
28
|
-
},
|
|
29
|
-
"sourceVersion": {
|
|
30
|
-
"$ref": "#/definitions/EcpVersion"
|
|
31
|
-
},
|
|
32
|
-
"mediaType": {
|
|
33
|
-
"type": "string"
|
|
34
|
-
},
|
|
35
|
-
"result": {},
|
|
36
|
-
"validation": {
|
|
37
|
-
"$ref": "#/definitions/ValidationResult"
|
|
38
|
-
},
|
|
39
|
-
"diagnostics": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"$ref": "#/definitions/ValidationIssue"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"schema",
|
|
48
|
-
"version",
|
|
49
|
-
"success",
|
|
50
|
-
"format",
|
|
51
|
-
"diagnostics"
|
|
52
|
-
],
|
|
53
|
-
"additionalProperties": false,
|
|
54
|
-
"description": "Encode operation result.",
|
|
55
|
-
"category": "Encoding"
|
|
56
|
-
},
|
|
57
|
-
"EcpVersion": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"description": "ECP semantic version literal.",
|
|
60
|
-
"category": "Common"
|
|
61
|
-
},
|
|
62
|
-
"EcpSchema": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"enum": [
|
|
65
|
-
"@executioncontrolprotocol.workflow",
|
|
66
|
-
"@executioncontrolprotocol.environment",
|
|
67
|
-
"@executioncontrolprotocol.environment.describe",
|
|
68
|
-
"@executioncontrolprotocol.environment.search",
|
|
69
|
-
"@executioncontrolprotocol.requirements",
|
|
70
|
-
"@executioncontrolprotocol.run.request",
|
|
71
|
-
"@executioncontrolprotocol.run.result",
|
|
72
|
-
"@executioncontrolprotocol.run.event",
|
|
73
|
-
"@executioncontrolprotocol.validation.result",
|
|
74
|
-
"@executioncontrolprotocol.patch",
|
|
75
|
-
"@executioncontrolprotocol.patch.result",
|
|
76
|
-
"@executioncontrolprotocol.encode.result",
|
|
77
|
-
"@executioncontrolprotocol.decode.result",
|
|
78
|
-
"@executioncontrolprotocol.run.journal"
|
|
79
|
-
],
|
|
80
|
-
"description": "Serialized object schema discriminator.",
|
|
81
|
-
"category": "Common"
|
|
82
|
-
},
|
|
83
|
-
"ValidationResult": {
|
|
84
|
-
"type": "object",
|
|
85
|
-
"properties": {
|
|
86
|
-
"schema": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"const": "@executioncontrolprotocol.validation.result"
|
|
89
|
-
},
|
|
90
|
-
"version": {
|
|
91
|
-
"$ref": "#/definitions/EcpVersion"
|
|
92
|
-
},
|
|
93
|
-
"valid": {
|
|
94
|
-
"type": "boolean"
|
|
95
|
-
},
|
|
96
|
-
"errors": {
|
|
97
|
-
"type": "array",
|
|
98
|
-
"items": {
|
|
99
|
-
"$ref": "#/definitions/ValidationIssue"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"warnings": {
|
|
103
|
-
"type": "array",
|
|
104
|
-
"items": {
|
|
105
|
-
"$ref": "#/definitions/ValidationIssue"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"required": [
|
|
110
|
-
"schema",
|
|
111
|
-
"version",
|
|
112
|
-
"valid",
|
|
113
|
-
"errors",
|
|
114
|
-
"warnings"
|
|
115
|
-
],
|
|
116
|
-
"additionalProperties": false,
|
|
117
|
-
"description": "Validation result document.",
|
|
118
|
-
"category": "Validation"
|
|
119
|
-
},
|
|
120
|
-
"ValidationIssue": {
|
|
121
|
-
"type": "object",
|
|
122
|
-
"properties": {
|
|
123
|
-
"code": {
|
|
124
|
-
"type": "string",
|
|
125
|
-
"description": "Stable `ECP_*` or schema issue code."
|
|
126
|
-
},
|
|
127
|
-
"message": {
|
|
128
|
-
"type": "string",
|
|
129
|
-
"description": "Human-readable sentence from the validator or thrown error."
|
|
130
|
-
},
|
|
131
|
-
"path": {
|
|
132
|
-
"type": "string",
|
|
133
|
-
"description": "JSON-pointer or field path when the issue is schema-scoped."
|
|
134
|
-
},
|
|
135
|
-
"suggestions": {
|
|
136
|
-
"type": "array",
|
|
137
|
-
"items": {
|
|
138
|
-
"type": "string"
|
|
139
|
-
},
|
|
140
|
-
"description": "Recovery hints."
|
|
141
|
-
},
|
|
142
|
-
"severity": {
|
|
143
|
-
"$ref": "#/definitions/ValidationSeverity",
|
|
144
|
-
"description": "Issue severity."
|
|
145
|
-
},
|
|
146
|
-
"details": {
|
|
147
|
-
"type": "object",
|
|
148
|
-
"additionalProperties": {},
|
|
149
|
-
"description": "JSON-safe fields copied from a thrown error (`status`, `bodyText`, `url`, `name`). Omits `stack`."
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
"required": [
|
|
153
|
-
"code",
|
|
154
|
-
"message"
|
|
155
|
-
],
|
|
156
|
-
"additionalProperties": false,
|
|
157
|
-
"description": "Single validation issue.",
|
|
158
|
-
"category": "Validation"
|
|
159
|
-
},
|
|
160
|
-
"ValidationSeverity": {
|
|
161
|
-
"type": "string",
|
|
162
|
-
"enum": [
|
|
163
|
-
"error",
|
|
164
|
-
"warning",
|
|
165
|
-
"info"
|
|
166
|
-
],
|
|
167
|
-
"description": "Validation issue severity.",
|
|
168
|
-
"category": "Validation"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"$id": "https://ecp.dev/schemas/encode.result.json"
|
|
172
|
-
}
|
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$ref": "#/definitions/EnvironmentDescriptor",
|
|
4
|
-
"definitions": {
|
|
5
|
-
"EnvironmentDescriptor": {
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"schema": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"const": "@executioncontrolprotocol.environment.describe"
|
|
11
|
-
},
|
|
12
|
-
"version": {
|
|
13
|
-
"$ref": "#/definitions/EcpVersion"
|
|
14
|
-
},
|
|
15
|
-
"environment": {
|
|
16
|
-
"type": "object",
|
|
17
|
-
"properties": {
|
|
18
|
-
"id": {
|
|
19
|
-
"type": "string"
|
|
20
|
-
},
|
|
21
|
-
"label": {
|
|
22
|
-
"type": "string"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"required": [
|
|
26
|
-
"id"
|
|
27
|
-
],
|
|
28
|
-
"additionalProperties": false
|
|
29
|
-
},
|
|
30
|
-
"runtime": {
|
|
31
|
-
"$ref": "#/definitions/RuntimeDescription"
|
|
32
|
-
},
|
|
33
|
-
"extensions": {
|
|
34
|
-
"type": "array",
|
|
35
|
-
"items": {
|
|
36
|
-
"$ref": "#/definitions/ExtensionDescription"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"capabilities": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"$ref": "#/definitions/CapabilityDescription"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"policies": {
|
|
46
|
-
"type": "array",
|
|
47
|
-
"items": {
|
|
48
|
-
"$ref": "#/definitions/PolicyDescription"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"remoteInvoke": {
|
|
52
|
-
"type": "object",
|
|
53
|
-
"properties": {
|
|
54
|
-
"url": {
|
|
55
|
-
"type": "string"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"required": [
|
|
59
|
-
"url"
|
|
60
|
-
],
|
|
61
|
-
"additionalProperties": false,
|
|
62
|
-
"description": "Local invoke host URL when this environment hops host/mixed capabilities. Token is never included."
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"required": [
|
|
66
|
-
"schema",
|
|
67
|
-
"version",
|
|
68
|
-
"environment",
|
|
69
|
-
"runtime",
|
|
70
|
-
"extensions",
|
|
71
|
-
"capabilities",
|
|
72
|
-
"policies"
|
|
73
|
-
],
|
|
74
|
-
"additionalProperties": false,
|
|
75
|
-
"description": "Environment descriptor for discovery.",
|
|
76
|
-
"category": "Environment"
|
|
77
|
-
},
|
|
78
|
-
"EcpVersion": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"description": "ECP semantic version literal.",
|
|
81
|
-
"category": "Common"
|
|
82
|
-
},
|
|
83
|
-
"RuntimeDescription": {
|
|
84
|
-
"type": "object",
|
|
85
|
-
"properties": {
|
|
86
|
-
"id": {
|
|
87
|
-
"type": "string"
|
|
88
|
-
},
|
|
89
|
-
"label": {
|
|
90
|
-
"type": "string"
|
|
91
|
-
},
|
|
92
|
-
"features": {
|
|
93
|
-
"$ref": "#/definitions/RuntimeFeatures"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"required": [
|
|
97
|
-
"id",
|
|
98
|
-
"features"
|
|
99
|
-
],
|
|
100
|
-
"additionalProperties": false,
|
|
101
|
-
"description": "Runtime section of descriptor.",
|
|
102
|
-
"category": "Environment"
|
|
103
|
-
},
|
|
104
|
-
"RuntimeFeatures": {
|
|
105
|
-
"type": "object",
|
|
106
|
-
"properties": {
|
|
107
|
-
"durableExecution": {
|
|
108
|
-
"type": "boolean"
|
|
109
|
-
},
|
|
110
|
-
"loops": {
|
|
111
|
-
"type": "boolean"
|
|
112
|
-
},
|
|
113
|
-
"parallel": {
|
|
114
|
-
"type": "boolean"
|
|
115
|
-
},
|
|
116
|
-
"branches": {
|
|
117
|
-
"type": "boolean"
|
|
118
|
-
},
|
|
119
|
-
"pauses": {
|
|
120
|
-
"type": "boolean"
|
|
121
|
-
},
|
|
122
|
-
"cancellation": {
|
|
123
|
-
"type": "boolean"
|
|
124
|
-
},
|
|
125
|
-
"longRunningWorkflows": {
|
|
126
|
-
"type": "boolean"
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
"additionalProperties": false,
|
|
130
|
-
"description": "Runtime feature flags for validation.",
|
|
131
|
-
"category": "Environment"
|
|
132
|
-
},
|
|
133
|
-
"ExtensionDescription": {
|
|
134
|
-
"type": "object",
|
|
135
|
-
"properties": {
|
|
136
|
-
"id": {
|
|
137
|
-
"type": "string"
|
|
138
|
-
},
|
|
139
|
-
"label": {
|
|
140
|
-
"type": "string"
|
|
141
|
-
},
|
|
142
|
-
"summary": {
|
|
143
|
-
"type": "string",
|
|
144
|
-
"description": "One-line summary from extension metadata (inventory)."
|
|
145
|
-
},
|
|
146
|
-
"order": {
|
|
147
|
-
"type": "number"
|
|
148
|
-
},
|
|
149
|
-
"configSchema": {},
|
|
150
|
-
"capabilities": {
|
|
151
|
-
"type": "array",
|
|
152
|
-
"items": {
|
|
153
|
-
"type": "string"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"isAuthorable": {
|
|
157
|
-
"type": "boolean",
|
|
158
|
-
"description": "From extension metadata. Present only when `false` (default authorable). Capability inventory omits extensions with `isAuthorable: false`."
|
|
159
|
-
},
|
|
160
|
-
"metadata": {
|
|
161
|
-
"$ref": "#/definitions/ExtensionMetadata",
|
|
162
|
-
"description": "Full extension metadata (exact-id describe only)."
|
|
163
|
-
},
|
|
164
|
-
"supportedEnvironments": {
|
|
165
|
-
"type": "array",
|
|
166
|
-
"items": {
|
|
167
|
-
"type": "string"
|
|
168
|
-
},
|
|
169
|
-
"description": "Environments this extension supports when restricted; omitted when universal."
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
"required": [
|
|
173
|
-
"id",
|
|
174
|
-
"order",
|
|
175
|
-
"capabilities"
|
|
176
|
-
],
|
|
177
|
-
"additionalProperties": false,
|
|
178
|
-
"description": "Extension section of descriptor.",
|
|
179
|
-
"category": "Environment"
|
|
180
|
-
},
|
|
181
|
-
"ExtensionMetadata": {
|
|
182
|
-
"type": "object",
|
|
183
|
-
"properties": {
|
|
184
|
-
"summary": {
|
|
185
|
-
"type": "string",
|
|
186
|
-
"description": "One-line what + when."
|
|
187
|
-
},
|
|
188
|
-
"description": {
|
|
189
|
-
"type": "string",
|
|
190
|
-
"description": "Full agent docs for the extension package."
|
|
191
|
-
},
|
|
192
|
-
"useCases": {
|
|
193
|
-
"type": "array",
|
|
194
|
-
"items": {
|
|
195
|
-
"type": "string"
|
|
196
|
-
},
|
|
197
|
-
"description": "Optional situations an agent should recognize."
|
|
198
|
-
},
|
|
199
|
-
"label": {
|
|
200
|
-
"type": "string",
|
|
201
|
-
"description": "Optional distinct display title."
|
|
202
|
-
},
|
|
203
|
-
"isAuthorable": {
|
|
204
|
-
"type": "boolean",
|
|
205
|
-
"description": "When `false`, capability inventory omits this extension. Default / omit is `true` (workflow-facing packages stay visible)."
|
|
206
|
-
},
|
|
207
|
-
"topicAlias": {
|
|
208
|
-
"type": "string",
|
|
209
|
-
"description": "Optional kebab-case oclif topic alias generated by `ecp plugins build`. Commands stay under {@code definition.name}; the alias is extra, not a second definition."
|
|
210
|
-
},
|
|
211
|
-
"_meta": {
|
|
212
|
-
"type": "object",
|
|
213
|
-
"additionalProperties": {},
|
|
214
|
-
"description": "Non-standard extensions."
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
"required": [
|
|
218
|
-
"summary",
|
|
219
|
-
"description"
|
|
220
|
-
],
|
|
221
|
-
"additionalProperties": false,
|
|
222
|
-
"description": "Agent-facing extension docs authored via {@code .withMetadata()}. Shape matches {@link extensionMetadataSchema } (Zod is the runtime source of truth).",
|
|
223
|
-
"category": "Schema"
|
|
224
|
-
},
|
|
225
|
-
"CapabilityDescription": {
|
|
226
|
-
"type": "object",
|
|
227
|
-
"properties": {
|
|
228
|
-
"id": {
|
|
229
|
-
"type": "string"
|
|
230
|
-
},
|
|
231
|
-
"label": {
|
|
232
|
-
"type": "string"
|
|
233
|
-
},
|
|
234
|
-
"summary": {
|
|
235
|
-
"type": "string",
|
|
236
|
-
"description": "One-line summary from capability metadata (inventory)."
|
|
237
|
-
},
|
|
238
|
-
"extension": {
|
|
239
|
-
"type": "string"
|
|
240
|
-
},
|
|
241
|
-
"inputSchema": {},
|
|
242
|
-
"outputSchema": {},
|
|
243
|
-
"metadata": {
|
|
244
|
-
"$ref": "#/definitions/CapabilityMetadata",
|
|
245
|
-
"description": "Full capability metadata (exact-id describe only)."
|
|
246
|
-
},
|
|
247
|
-
"execution": {
|
|
248
|
-
"$ref": "#/definitions/CapabilityExecution",
|
|
249
|
-
"description": "Where this capability executes (`local` | `host` | `mixed`). Omitted when not declared and not inferred from the extension."
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
"required": [
|
|
253
|
-
"id",
|
|
254
|
-
"extension"
|
|
255
|
-
],
|
|
256
|
-
"additionalProperties": false,
|
|
257
|
-
"description": "Capability metadata in descriptor.",
|
|
258
|
-
"category": "Environment"
|
|
259
|
-
},
|
|
260
|
-
"CapabilityMetadata": {
|
|
261
|
-
"type": "object",
|
|
262
|
-
"properties": {
|
|
263
|
-
"summary": {
|
|
264
|
-
"type": "string",
|
|
265
|
-
"description": "One-line what + when (inventory / catalog)."
|
|
266
|
-
},
|
|
267
|
-
"description": {
|
|
268
|
-
"type": "string",
|
|
269
|
-
"description": "Full agent docs: behavior, product limits, when this capability applies."
|
|
270
|
-
},
|
|
271
|
-
"useCases": {
|
|
272
|
-
"type": "array",
|
|
273
|
-
"items": {
|
|
274
|
-
"type": "string"
|
|
275
|
-
},
|
|
276
|
-
"description": "Concrete situations an agent should recognize (before the call)."
|
|
277
|
-
},
|
|
278
|
-
"label": {
|
|
279
|
-
"type": "string",
|
|
280
|
-
"description": "Optional distinct display title; describe falls back to capability name."
|
|
281
|
-
},
|
|
282
|
-
"projections": {
|
|
283
|
-
"type": "array",
|
|
284
|
-
"items": {
|
|
285
|
-
"$ref": "#/definitions/CapabilityProjection"
|
|
286
|
-
},
|
|
287
|
-
"description": "What to take from the output after the call, in plain text. Stays off authoring inventory; shown with exact-id detail and after inspect runs."
|
|
288
|
-
},
|
|
289
|
-
"_meta": {
|
|
290
|
-
"type": "object",
|
|
291
|
-
"additionalProperties": {},
|
|
292
|
-
"description": "Non-standard extensions (vendor docs urls, tags, …)."
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
"required": [
|
|
296
|
-
"summary",
|
|
297
|
-
"description",
|
|
298
|
-
"useCases",
|
|
299
|
-
"projections"
|
|
300
|
-
],
|
|
301
|
-
"additionalProperties": false,
|
|
302
|
-
"description": "Agent-facing capability docs authored via {@code .withMetadata()}. Shape matches {@link capabilityMetadataSchema } (Zod is the runtime source of truth). Declared as an interface so JSON Schema generation and object-literal checks stay stable.",
|
|
303
|
-
"category": "Schema"
|
|
304
|
-
},
|
|
305
|
-
"CapabilityProjection": {
|
|
306
|
-
"type": "object",
|
|
307
|
-
"properties": {
|
|
308
|
-
"summary": {
|
|
309
|
-
"type": "string",
|
|
310
|
-
"description": "What to take from the output after the call."
|
|
311
|
-
},
|
|
312
|
-
"description": {
|
|
313
|
-
"type": "string",
|
|
314
|
-
"description": "How to take it, in sentences."
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
"required": [
|
|
318
|
-
"summary",
|
|
319
|
-
"description"
|
|
320
|
-
],
|
|
321
|
-
"additionalProperties": false,
|
|
322
|
-
"description": "Plain-text note for what to take from a capability output after the call. Used after discovery / inspect runs; not a sample payload or path query. Shape matches {@link capabilityProjectionSchema } (Zod is the runtime source of truth).",
|
|
323
|
-
"category": "Schema"
|
|
324
|
-
},
|
|
325
|
-
"CapabilityExecution": {
|
|
326
|
-
"type": "string",
|
|
327
|
-
"enum": [
|
|
328
|
-
"local",
|
|
329
|
-
"host",
|
|
330
|
-
"mixed"
|
|
331
|
-
],
|
|
332
|
-
"description": "Capability execution kind.",
|
|
333
|
-
"category": "Capabilities"
|
|
334
|
-
},
|
|
335
|
-
"PolicyDescription": {
|
|
336
|
-
"type": "object",
|
|
337
|
-
"properties": {
|
|
338
|
-
"id": {
|
|
339
|
-
"type": "string"
|
|
340
|
-
},
|
|
341
|
-
"label": {
|
|
342
|
-
"type": "string"
|
|
343
|
-
},
|
|
344
|
-
"summary": {
|
|
345
|
-
"type": "string"
|
|
346
|
-
},
|
|
347
|
-
"config": {
|
|
348
|
-
"type": "object",
|
|
349
|
-
"additionalProperties": {}
|
|
350
|
-
},
|
|
351
|
-
"configSchema": {}
|
|
352
|
-
},
|
|
353
|
-
"required": [
|
|
354
|
-
"id"
|
|
355
|
-
],
|
|
356
|
-
"additionalProperties": false,
|
|
357
|
-
"description": "Policy metadata in descriptor.",
|
|
358
|
-
"category": "Environment"
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
"$id": "https://ecp.dev/schemas/environment.describe.json"
|
|
362
|
-
}
|