@executioncontrolprotocol/core 0.13.2 → 0.50.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 +25 -36
- package/dist/bindings/extension.d.ts +15 -1
- package/dist/bindings/extension.d.ts.map +1 -1
- package/dist/bindings/extension.js +23 -0
- package/dist/bindings/extension.js.map +1 -1
- package/dist/bindings/policy.d.ts +15 -1
- package/dist/bindings/policy.d.ts.map +1 -1
- package/dist/bindings/policy.js +23 -0
- package/dist/bindings/policy.js.map +1 -1
- package/dist/bindings/step.d.ts +3 -3
- package/dist/bindings/step.d.ts.map +1 -1
- package/dist/compile/extract-workflow-module.d.ts +18 -2
- package/dist/compile/extract-workflow-module.d.ts.map +1 -1
- package/dist/compile/extract-workflow-module.js +39 -10
- package/dist/compile/extract-workflow-module.js.map +1 -1
- package/dist/compile/index.d.ts +4 -13
- package/dist/compile/index.d.ts.map +1 -1
- package/dist/compile/index.js +1 -48
- package/dist/compile/index.js.map +1 -1
- package/dist/compile/types.d.ts +1 -1
- package/dist/compile/types.d.ts.map +1 -1
- package/dist/definitions/capability.d.ts +3 -2
- package/dist/definitions/capability.d.ts.map +1 -1
- package/dist/definitions/capability.js +4 -3
- package/dist/definitions/capability.js.map +1 -1
- package/dist/definitions/environment.d.ts +38 -0
- package/dist/definitions/environment.d.ts.map +1 -0
- package/dist/definitions/environment.js +77 -0
- package/dist/definitions/environment.js.map +1 -0
- package/dist/definitions/extension.d.ts +16 -4
- package/dist/definitions/extension.d.ts.map +1 -1
- package/dist/definitions/extension.js +27 -6
- package/dist/definitions/extension.js.map +1 -1
- package/dist/definitions/hook.d.ts +1 -1
- package/dist/definitions/hook.d.ts.map +1 -1
- package/dist/definitions/index.d.ts +2 -2
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/index.js +1 -1
- package/dist/definitions/index.js.map +1 -1
- package/dist/definitions/policy.d.ts +8 -0
- package/dist/definitions/policy.d.ts.map +1 -1
- package/dist/definitions/policy.js +16 -0
- package/dist/definitions/policy.js.map +1 -1
- package/dist/definitions/types.d.ts +23 -5
- package/dist/definitions/types.d.ts.map +1 -1
- package/dist/encoding/contracts.js +1 -1
- package/dist/encoding/contracts.js.map +1 -1
- package/dist/encoding/decode-builder.d.ts +1 -1
- package/dist/encoding/decode-builder.d.ts.map +1 -1
- package/dist/encoding/decode-builder.js +1 -9
- package/dist/encoding/decode-builder.js.map +1 -1
- package/dist/encoding/encode-builder.d.ts +1 -1
- package/dist/encoding/encode-builder.d.ts.map +1 -1
- package/dist/encoding/encode-builder.js +1 -1
- package/dist/encoding/encode-builder.js.map +1 -1
- package/dist/encoding/errors.d.ts +2 -2
- package/dist/encoding/errors.d.ts.map +1 -1
- package/dist/encoding/invoke-utility.d.ts +1 -1
- package/dist/encoding/invoke-utility.d.ts.map +1 -1
- package/dist/encoding/invoke-utility.js +1 -1
- package/dist/encoding/invoke-utility.js.map +1 -1
- package/dist/encoding/json-codec.d.ts +1 -1
- package/dist/encoding/json-codec.d.ts.map +1 -1
- package/dist/encoding/json-codec.js +1 -1
- package/dist/encoding/json-codec.js.map +1 -1
- package/dist/encoding/normalize-workflow.d.ts +1 -1
- package/dist/encoding/normalize-workflow.d.ts.map +1 -1
- package/dist/encoding/resolve.js +1 -1
- package/dist/encoding/resolve.js.map +1 -1
- package/dist/encoding/schemas.d.ts +20 -20
- package/dist/encoding/schemas.js +1 -1
- package/dist/encoding/schemas.js.map +1 -1
- package/dist/environment/bindings.d.ts +4 -14
- package/dist/environment/bindings.d.ts.map +1 -1
- package/dist/environment/bindings.js +2 -7
- package/dist/environment/bindings.js.map +1 -1
- package/dist/environment/config-resolver.d.ts +1 -3
- package/dist/environment/config-resolver.d.ts.map +1 -1
- package/dist/environment/config-resolver.js +13 -19
- package/dist/environment/config-resolver.js.map +1 -1
- package/dist/environment/describe.d.ts +1 -1
- package/dist/environment/describe.d.ts.map +1 -1
- package/dist/environment/describe.js +35 -24
- package/dist/environment/describe.js.map +1 -1
- package/dist/environment/ecp.d.ts +2 -12
- package/dist/environment/ecp.d.ts.map +1 -1
- package/dist/environment/ecp.js +1 -8
- package/dist/environment/ecp.js.map +1 -1
- package/dist/environment/environment.d.ts +71 -48
- package/dist/environment/environment.d.ts.map +1 -1
- package/dist/environment/environment.js +165 -159
- package/dist/environment/environment.js.map +1 -1
- package/dist/environment/search.d.ts +1 -1
- package/dist/environment/search.d.ts.map +1 -1
- package/dist/environment/search.js +10 -7
- package/dist/environment/search.js.map +1 -1
- package/dist/environment/validate-binding-config.d.ts +12 -0
- package/dist/environment/validate-binding-config.d.ts.map +1 -0
- package/dist/environment/validate-binding-config.js +43 -0
- package/dist/environment/validate-binding-config.js.map +1 -0
- package/dist/file/file-ref.d.ts +1 -1
- package/dist/file/file-ref.d.ts.map +1 -1
- package/dist/file/file-ref.js +1 -1
- package/dist/file/file-ref.js.map +1 -1
- package/dist/fluent/encode-fluent.d.ts +1 -1
- package/dist/fluent/encode-fluent.d.ts.map +1 -1
- package/dist/fluent/encode-fluent.js +1 -1
- package/dist/fluent/encode-fluent.js.map +1 -1
- package/dist/fluent/render-expr.d.ts +1 -1
- package/dist/fluent/render-expr.d.ts.map +1 -1
- package/dist/fluent/render-node.d.ts +1 -1
- package/dist/fluent/render-node.d.ts.map +1 -1
- package/dist/fluent/render-value.d.ts +1 -2
- package/dist/fluent/render-value.d.ts.map +1 -1
- package/dist/fluent/render-value.js +0 -5
- package/dist/fluent/render-value.js.map +1 -1
- package/dist/fluent/render-workflow.d.ts +1 -1
- package/dist/fluent/render-workflow.d.ts.map +1 -1
- package/dist/fluent/render-workflow.js +0 -2
- package/dist/fluent/render-workflow.js.map +1 -1
- package/dist/formats/format-fluent.d.ts.map +1 -1
- package/dist/formats/format-fluent.js +10 -7
- package/dist/formats/format-fluent.js.map +1 -1
- package/dist/formats/format-json.d.ts.map +1 -1
- package/dist/formats/format-json.js +22 -26
- package/dist/formats/format-json.js.map +1 -1
- package/dist/formats/register-core-formats.d.ts +2 -1
- package/dist/formats/register-core-formats.d.ts.map +1 -1
- package/dist/formats/register-core-formats.js +2 -4
- package/dist/formats/register-core-formats.js.map +1 -1
- package/dist/helpers/env.d.ts +1 -1
- package/dist/helpers/env.d.ts.map +1 -1
- package/dist/helpers/expr.d.ts +1 -1
- package/dist/helpers/expr.d.ts.map +1 -1
- package/dist/{harness/authoring/to-provider-chat-turns.d.ts → helpers/provider-chat-turns.d.ts} +7 -7
- package/dist/helpers/provider-chat-turns.d.ts.map +1 -0
- package/dist/{harness/authoring/to-provider-chat-turns.js → helpers/provider-chat-turns.js} +4 -4
- package/dist/helpers/provider-chat-turns.js.map +1 -0
- package/dist/helpers/ref.d.ts +1 -1
- package/dist/helpers/ref.d.ts.map +1 -1
- package/dist/helpers/secrets.d.ts +1 -1
- package/dist/helpers/secrets.d.ts.map +1 -1
- package/dist/helpers/state.d.ts +1 -1
- package/dist/helpers/state.d.ts.map +1 -1
- package/dist/index.d.ts +20 -20
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -19
- package/dist/index.js.map +1 -1
- package/dist/invoke/execute-invoke.d.ts +2 -2
- package/dist/invoke/execute-invoke.d.ts.map +1 -1
- package/dist/invoke/execute-invoke.js +5 -19
- package/dist/invoke/execute-invoke.js.map +1 -1
- package/dist/invoke/invoke-builder.d.ts +1 -3
- package/dist/invoke/invoke-builder.d.ts.map +1 -1
- package/dist/invoke/invoke-builder.js +1 -6
- package/dist/invoke/invoke-builder.js.map +1 -1
- package/dist/media/index.d.ts +2 -6
- package/dist/media/index.d.ts.map +1 -1
- package/dist/media/index.js +1 -5
- package/dist/media/index.js.map +1 -1
- package/dist/media/resolve-file.d.ts +11 -1
- package/dist/media/resolve-file.d.ts.map +1 -1
- package/dist/media/resolve-file.js +24 -10
- package/dist/media/resolve-file.js.map +1 -1
- package/dist/media/write-media.d.ts +14 -5
- package/dist/media/write-media.d.ts.map +1 -1
- package/dist/media/write-media.js +91 -25
- package/dist/media/write-media.js.map +1 -1
- package/dist/patch/apply-patch.d.ts +2 -2
- package/dist/patch/apply-patch.d.ts.map +1 -1
- package/dist/patch/apply-patch.js +1 -1
- package/dist/patch/apply-patch.js.map +1 -1
- package/dist/patch/normalize-input.d.ts +1 -1
- package/dist/patch/normalize-input.d.ts.map +1 -1
- package/dist/patch/normalize-input.js +1 -1
- package/dist/patch/normalize-input.js.map +1 -1
- package/dist/patch/patch-builder.d.ts +1 -1
- package/dist/patch/patch-builder.d.ts.map +1 -1
- package/dist/patch/patch-builder.js.map +1 -1
- package/dist/patch/patch-document.d.ts +2 -2
- package/dist/patch/resolve-path.d.ts +2 -2
- package/dist/patch/resolve-path.d.ts.map +1 -1
- package/dist/patch/resolve-path.js +1 -1
- package/dist/patch/resolve-path.js.map +1 -1
- package/dist/patch/step-index.d.ts +1 -1
- package/dist/patch/step-index.d.ts.map +1 -1
- package/dist/policies/registry-control.d.ts +20 -0
- package/dist/policies/registry-control.d.ts.map +1 -0
- package/dist/policies/registry-control.js +72 -0
- package/dist/policies/registry-control.js.map +1 -0
- package/dist/registry/ensure-bound-extensions.d.ts +1 -1
- package/dist/registry/ensure-bound-extensions.js +2 -2
- package/dist/registry/ensure-bound-extensions.js.map +1 -1
- package/dist/registry/errors.d.ts +1 -1
- package/dist/registry/errors.d.ts.map +1 -1
- package/dist/registry/errors.js +2 -1
- package/dist/registry/errors.js.map +1 -1
- package/dist/registry/extension-catalog.d.ts +3 -18
- package/dist/registry/extension-catalog.d.ts.map +1 -1
- package/dist/registry/extension-catalog.js +3 -25
- package/dist/registry/extension-catalog.js.map +1 -1
- package/dist/registry/registry.d.ts +8 -9
- package/dist/registry/registry.d.ts.map +1 -1
- package/dist/registry/registry.js +9 -10
- package/dist/registry/registry.js.map +1 -1
- package/dist/runtime/capability-execution.d.ts +9 -8
- package/dist/runtime/capability-execution.d.ts.map +1 -1
- package/dist/runtime/capability-execution.js +11 -11
- package/dist/runtime/capability-execution.js.map +1 -1
- package/dist/runtime/commit.d.ts +2 -2
- package/dist/runtime/commit.d.ts.map +1 -1
- package/dist/runtime/context.d.ts +18 -4
- package/dist/runtime/context.d.ts.map +1 -1
- package/dist/runtime/context.js.map +1 -1
- package/dist/runtime/dispatch-capability.d.ts +1 -1
- package/dist/runtime/dispatch-capability.d.ts.map +1 -1
- package/dist/runtime/dispatch-capability.js +3 -3
- package/dist/runtime/dispatch-capability.js.map +1 -1
- package/dist/runtime/executor.d.ts +11 -5
- package/dist/runtime/executor.d.ts.map +1 -1
- package/dist/runtime/in-memory-executor.d.ts +1 -1
- package/dist/runtime/in-memory-executor.d.ts.map +1 -1
- package/dist/runtime/in-memory-executor.js +144 -27
- package/dist/runtime/in-memory-executor.js.map +1 -1
- package/dist/runtime/lifecycle.d.ts +1 -1
- package/dist/runtime/lifecycle.d.ts.map +1 -1
- package/dist/runtime/mutation-records.d.ts +1 -1
- package/dist/runtime/mutation-records.d.ts.map +1 -1
- package/dist/runtime/policy-engine.d.ts +3 -2
- package/dist/runtime/policy-engine.d.ts.map +1 -1
- package/dist/runtime/policy-engine.js +12 -3
- package/dist/runtime/policy-engine.js.map +1 -1
- package/dist/runtime/remote-invoke.d.ts +15 -2
- package/dist/runtime/remote-invoke.d.ts.map +1 -1
- package/dist/runtime/remote-invoke.js +34 -2
- package/dist/runtime/remote-invoke.js.map +1 -1
- package/dist/runtime/resolve-input.d.ts +1 -1
- package/dist/runtime/resolve-input.d.ts.map +1 -1
- package/dist/runtime/resolve-input.js +6 -0
- package/dist/runtime/resolve-input.js.map +1 -1
- package/dist/runtime/runtime-ids.d.ts +4 -4
- package/dist/runtime/runtime-ids.d.ts.map +1 -1
- package/dist/runtime/runtime-ids.js +4 -4
- package/dist/runtime/runtime-ids.js.map +1 -1
- package/dist/runtime/step-order.d.ts +32 -0
- package/dist/runtime/step-order.d.ts.map +1 -0
- package/dist/runtime/step-order.js +85 -0
- package/dist/runtime/step-order.js.map +1 -0
- package/dist/runtime/store.d.ts +1 -1
- package/dist/runtime/store.d.ts.map +1 -1
- package/dist/schema/json-schema.js +1 -1
- package/dist/schema/json-schema.js.map +1 -1
- package/dist/schema/workflow-io.d.ts +1 -1
- package/dist/schema/workflow-io.d.ts.map +1 -1
- package/dist/schemas/decode.result.json +155 -0
- package/dist/schemas/encode.result.json +162 -0
- package/dist/schemas/environment.describe.json +362 -0
- package/dist/schemas/environment.manifest.json +159 -0
- package/dist/schemas/environment.search.json +72 -0
- package/dist/schemas/patch.json +104 -0
- package/dist/schemas/patch.result.json +260 -0
- package/dist/schemas/requirements.json +102 -0
- package/dist/schemas/run.journal.json +142 -0
- package/dist/schemas/run.request.json +491 -0
- package/dist/schemas/run.result.json +230 -0
- package/dist/schemas/validation.result.json +89 -0
- package/dist/schemas/workflow.manifest.json +457 -0
- package/dist/testing/index.d.ts +2 -2
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/testing/index.js.map +1 -1
- package/dist/testing/test-extension.d.ts +3 -2
- package/dist/testing/test-extension.d.ts.map +1 -1
- package/dist/testing/test-extension.js +39 -51
- package/dist/testing/test-extension.js.map +1 -1
- package/dist/testing/test-lifecycle-extension.d.ts +5 -4
- package/dist/testing/test-lifecycle-extension.d.ts.map +1 -1
- package/dist/testing/test-lifecycle-extension.js +28 -25
- package/dist/testing/test-lifecycle-extension.js.map +1 -1
- package/dist/types/capabilities.d.ts +39 -0
- package/dist/types/capabilities.d.ts.map +1 -0
- package/dist/types/capabilities.js +2 -0
- package/dist/types/capabilities.js.map +1 -0
- package/dist/types/capability-execution.d.ts +5 -0
- package/dist/types/capability-execution.d.ts.map +1 -0
- package/dist/types/capability-execution.js +3 -0
- package/dist/types/capability-execution.js.map +1 -0
- package/dist/types/capability-metadata.d.ts +216 -0
- package/dist/types/capability-metadata.d.ts.map +1 -0
- package/dist/types/capability-metadata.js +138 -0
- package/dist/types/capability-metadata.js.map +1 -0
- package/dist/types/encoding.d.ts +103 -0
- package/dist/types/encoding.d.ts.map +1 -0
- package/dist/types/encoding.js +29 -0
- package/dist/types/encoding.js.map +1 -0
- package/dist/types/environment.d.ts +155 -0
- package/dist/types/environment.d.ts.map +1 -0
- package/dist/types/environment.js +2 -0
- package/dist/types/environment.js.map +1 -0
- package/dist/types/errors.d.ts +93 -0
- package/dist/types/errors.d.ts.map +1 -0
- package/dist/types/errors.js +89 -0
- package/dist/types/errors.js.map +1 -0
- package/dist/types/file-ref.d.ts +84 -0
- package/dist/types/file-ref.d.ts.map +1 -0
- package/dist/types/file-ref.js +117 -0
- package/dist/types/file-ref.js.map +1 -0
- package/dist/types/image-output.d.ts +32 -0
- package/dist/types/image-output.d.ts.map +1 -0
- package/dist/types/image-output.js +11 -0
- package/dist/types/image-output.js.map +1 -0
- package/dist/types/index.d.ts +36 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +13 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/invoke.d.ts +51 -0
- package/dist/types/invoke.d.ts.map +1 -0
- package/dist/types/invoke.js +32 -0
- package/dist/types/invoke.js.map +1 -0
- package/dist/types/journal.d.ts +113 -0
- package/dist/types/journal.d.ts.map +1 -0
- package/dist/types/journal.js +3 -0
- package/dist/types/journal.js.map +1 -0
- package/dist/types/lifecycle.d.ts +27 -0
- package/dist/types/lifecycle.d.ts.map +1 -0
- package/dist/types/lifecycle.js +2 -0
- package/dist/types/lifecycle.js.map +1 -0
- package/dist/types/model.d.ts +102 -0
- package/dist/types/model.d.ts.map +1 -0
- package/dist/types/model.js +51 -0
- package/dist/types/model.js.map +1 -0
- package/dist/types/patch-errors.d.ts +11 -0
- package/dist/types/patch-errors.d.ts.map +1 -0
- package/dist/types/patch-errors.js +9 -0
- package/dist/types/patch-errors.js.map +1 -0
- package/dist/types/patch.d.ts +51 -0
- package/dist/types/patch.d.ts.map +1 -0
- package/dist/types/patch.js +2 -0
- package/dist/types/patch.js.map +1 -0
- package/dist/types/registry.d.ts +24 -0
- package/dist/types/registry.d.ts.map +1 -0
- package/dist/types/registry.js +2 -0
- package/dist/types/registry.js.map +1 -0
- package/dist/types/requirements.d.ts +42 -0
- package/dist/types/requirements.d.ts.map +1 -0
- package/dist/types/requirements.js +2 -0
- package/dist/types/requirements.js.map +1 -0
- package/dist/types/run-events.d.ts +32 -0
- package/dist/types/run-events.d.ts.map +1 -0
- package/dist/types/run-events.js +8 -0
- package/dist/types/run-events.js.map +1 -0
- package/dist/types/run.d.ts +48 -0
- package/dist/types/run.d.ts.map +1 -0
- package/dist/types/run.js +2 -0
- package/dist/types/run.js.map +1 -0
- package/dist/types/schema.d.ts +58 -0
- package/dist/types/schema.d.ts.map +1 -0
- package/dist/types/schema.js +2 -0
- package/dist/types/schema.js.map +1 -0
- package/dist/types/store.d.ts +30 -0
- package/dist/types/store.d.ts.map +1 -0
- package/dist/types/store.js +2 -0
- package/dist/types/store.js.map +1 -0
- package/dist/types/validation.d.ts +20 -0
- package/dist/types/validation.d.ts.map +1 -0
- package/dist/types/validation.js +2 -0
- package/dist/types/validation.js.map +1 -0
- package/dist/types/version.d.ts +5 -0
- package/dist/types/version.d.ts.map +1 -0
- package/dist/types/version.js +3 -0
- package/dist/types/version.js.map +1 -0
- package/dist/types/workflow.d.ts +80 -0
- package/dist/types/workflow.d.ts.map +1 -0
- package/dist/types/workflow.js +2 -0
- package/dist/types/workflow.js.map +1 -0
- package/dist/util/semver-range.d.ts +6 -0
- package/dist/util/semver-range.d.ts.map +1 -0
- package/dist/util/semver-range.js +9 -0
- package/dist/util/semver-range.js.map +1 -0
- package/dist/validate/environment.d.ts +5 -2
- package/dist/validate/environment.d.ts.map +1 -1
- package/dist/validate/environment.js +38 -19
- package/dist/validate/environment.js.map +1 -1
- package/dist/validate/workflow-schema.d.ts +17 -31
- package/dist/validate/workflow-schema.d.ts.map +1 -1
- package/dist/validate/workflow-schema.js +1 -10
- package/dist/validate/workflow-schema.js.map +1 -1
- package/dist/validate/workflow.d.ts +1 -1
- package/dist/validate/workflow.d.ts.map +1 -1
- package/dist/validate/workflow.js +2 -11
- package/dist/validate/workflow.js.map +1 -1
- package/dist/validate/zod-mapper.d.ts +1 -1
- package/dist/validate/zod-mapper.d.ts.map +1 -1
- package/dist/workflow/assign-unique-step-ids.d.ts +1 -1
- package/dist/workflow/assign-unique-step-ids.d.ts.map +1 -1
- package/dist/workflow/builder.d.ts +17 -1
- package/dist/workflow/builder.d.ts.map +1 -1
- package/dist/workflow/builder.js +27 -1
- package/dist/workflow/builder.js.map +1 -1
- package/dist/workflow/flow.d.ts +2 -2
- package/dist/workflow/flow.d.ts.map +1 -1
- package/dist/workflow/requirements.d.ts +34 -0
- package/dist/workflow/requirements.d.ts.map +1 -0
- package/dist/workflow/requirements.js +135 -0
- package/dist/workflow/requirements.js.map +1 -0
- package/package.json +13 -86
- package/dist/bindings/harness.d.ts +0 -24
- package/dist/bindings/harness.d.ts.map +0 -1
- package/dist/bindings/harness.js +0 -44
- package/dist/bindings/harness.js.map +0 -1
- package/dist/bindings/runtime.d.ts +0 -19
- package/dist/bindings/runtime.d.ts.map +0 -1
- package/dist/bindings/runtime.js +0 -32
- package/dist/bindings/runtime.js.map +0 -1
- package/dist/browser-runtime-entry.d.ts +0 -61
- package/dist/browser-runtime-entry.d.ts.map +0 -1
- package/dist/browser-runtime-entry.js +0 -54
- package/dist/browser-runtime-entry.js.map +0 -1
- package/dist/browser.d.ts +0 -20
- package/dist/browser.d.ts.map +0 -1
- package/dist/browser.js +0 -20
- package/dist/browser.js.map +0 -1
- package/dist/compile/compile-harness-artifact.d.ts +0 -30
- package/dist/compile/compile-harness-artifact.d.ts.map +0 -1
- package/dist/compile/compile-harness-artifact.js +0 -43
- package/dist/compile/compile-harness-artifact.js.map +0 -1
- package/dist/compile/entry.d.ts +0 -3
- package/dist/compile/entry.d.ts.map +0 -1
- package/dist/compile/entry.js +0 -3
- package/dist/compile/entry.js.map +0 -1
- package/dist/compile/evaluate-browser.d.ts +0 -7
- package/dist/compile/evaluate-browser.d.ts.map +0 -1
- package/dist/compile/evaluate-browser.js +0 -26
- package/dist/compile/evaluate-browser.js.map +0 -1
- package/dist/compile/evaluate-harness-artifact.d.ts +0 -3
- package/dist/compile/evaluate-harness-artifact.d.ts.map +0 -1
- package/dist/compile/evaluate-harness-artifact.js +0 -17
- package/dist/compile/evaluate-harness-artifact.js.map +0 -1
- package/dist/compile/evaluate.d.ts +0 -5
- package/dist/compile/evaluate.d.ts.map +0 -1
- package/dist/compile/evaluate.js +0 -20
- package/dist/compile/evaluate.js.map +0 -1
- package/dist/compile/extract-harness-artifact.d.ts +0 -9
- package/dist/compile/extract-harness-artifact.d.ts.map +0 -1
- package/dist/compile/extract-harness-artifact.js +0 -33
- package/dist/compile/extract-harness-artifact.js.map +0 -1
- package/dist/compile/index.browser.d.ts +0 -49
- package/dist/compile/index.browser.d.ts.map +0 -1
- package/dist/compile/index.browser.js +0 -93
- package/dist/compile/index.browser.js.map +0 -1
- package/dist/compile/prepare-browser-source.d.ts +0 -3
- package/dist/compile/prepare-browser-source.d.ts.map +0 -1
- package/dist/compile/prepare-browser-source.js +0 -25
- package/dist/compile/prepare-browser-source.js.map +0 -1
- package/dist/compile/transpile-browser.d.ts +0 -44
- package/dist/compile/transpile-browser.d.ts.map +0 -1
- package/dist/compile/transpile-browser.js +0 -120
- package/dist/compile/transpile-browser.js.map +0 -1
- package/dist/compile/transpile.d.ts +0 -27
- package/dist/compile/transpile.d.ts.map +0 -1
- package/dist/compile/transpile.js +0 -150
- package/dist/compile/transpile.js.map +0 -1
- package/dist/definitions/runtime.d.ts +0 -22
- package/dist/definitions/runtime.d.ts.map +0 -1
- package/dist/definitions/runtime.js +0 -48
- package/dist/definitions/runtime.js.map +0 -1
- package/dist/encoding/strip-harness-typescript-output.d.ts +0 -7
- package/dist/encoding/strip-harness-typescript-output.d.ts.map +0 -1
- package/dist/encoding/strip-harness-typescript-output.js +0 -40
- package/dist/encoding/strip-harness-typescript-output.js.map +0 -1
- package/dist/encoding/strip-markdown-fences.d.ts +0 -6
- package/dist/encoding/strip-markdown-fences.d.ts.map +0 -1
- package/dist/encoding/strip-markdown-fences.js +0 -23
- package/dist/encoding/strip-markdown-fences.js.map +0 -1
- package/dist/feedback/collect.d.ts +0 -32
- package/dist/feedback/collect.d.ts.map +0 -1
- package/dist/feedback/collect.js +0 -97
- package/dist/feedback/collect.js.map +0 -1
- package/dist/feedback/index.d.ts +0 -2
- package/dist/feedback/index.d.ts.map +0 -1
- package/dist/feedback/index.js +0 -2
- package/dist/feedback/index.js.map +0 -1
- package/dist/harness/authoring/chat-result.d.ts +0 -19
- package/dist/harness/authoring/chat-result.d.ts.map +0 -1
- package/dist/harness/authoring/chat-result.js +0 -56
- package/dist/harness/authoring/chat-result.js.map +0 -1
- package/dist/harness/authoring/classified-intent.d.ts +0 -46
- package/dist/harness/authoring/classified-intent.d.ts.map +0 -1
- package/dist/harness/authoring/classified-intent.js +0 -261
- package/dist/harness/authoring/classified-intent.js.map +0 -1
- package/dist/harness/authoring/context-policy.d.ts +0 -47
- package/dist/harness/authoring/context-policy.d.ts.map +0 -1
- package/dist/harness/authoring/context-policy.js +0 -160
- package/dist/harness/authoring/context-policy.js.map +0 -1
- package/dist/harness/authoring/describe-for-prompt.d.ts +0 -19
- package/dist/harness/authoring/describe-for-prompt.d.ts.map +0 -1
- package/dist/harness/authoring/describe-for-prompt.js +0 -105
- package/dist/harness/authoring/describe-for-prompt.js.map +0 -1
- package/dist/harness/authoring/encode-prompt-text.d.ts +0 -7
- package/dist/harness/authoring/encode-prompt-text.d.ts.map +0 -1
- package/dist/harness/authoring/encode-prompt-text.js +0 -13
- package/dist/harness/authoring/encode-prompt-text.js.map +0 -1
- package/dist/harness/authoring/environment-question.d.ts +0 -6
- package/dist/harness/authoring/environment-question.d.ts.map +0 -1
- package/dist/harness/authoring/environment-question.js +0 -11
- package/dist/harness/authoring/environment-question.js.map +0 -1
- package/dist/harness/authoring/index.d.ts +0 -23
- package/dist/harness/authoring/index.d.ts.map +0 -1
- package/dist/harness/authoring/index.js +0 -22
- package/dist/harness/authoring/index.js.map +0 -1
- package/dist/harness/authoring/normalize-create-eql-output.d.ts +0 -27
- package/dist/harness/authoring/normalize-create-eql-output.d.ts.map +0 -1
- package/dist/harness/authoring/normalize-create-eql-output.js +0 -284
- package/dist/harness/authoring/normalize-create-eql-output.js.map +0 -1
- package/dist/harness/authoring/normalize-intent-eql-output.d.ts +0 -7
- package/dist/harness/authoring/normalize-intent-eql-output.d.ts.map +0 -1
- package/dist/harness/authoring/normalize-intent-eql-output.js +0 -59
- package/dist/harness/authoring/normalize-intent-eql-output.js.map +0 -1
- package/dist/harness/authoring/normalize-patch-eql-output.d.ts +0 -28
- package/dist/harness/authoring/normalize-patch-eql-output.d.ts.map +0 -1
- package/dist/harness/authoring/normalize-patch-eql-output.js +0 -202
- package/dist/harness/authoring/normalize-patch-eql-output.js.map +0 -1
- package/dist/harness/authoring/normalize-workflow-output.d.ts +0 -6
- package/dist/harness/authoring/normalize-workflow-output.d.ts.map +0 -1
- package/dist/harness/authoring/normalize-workflow-output.js +0 -51
- package/dist/harness/authoring/normalize-workflow-output.js.map +0 -1
- package/dist/harness/authoring/patch-clear-intent.d.ts +0 -17
- package/dist/harness/authoring/patch-clear-intent.d.ts.map +0 -1
- package/dist/harness/authoring/patch-clear-intent.js +0 -46
- package/dist/harness/authoring/patch-clear-intent.js.map +0 -1
- package/dist/harness/authoring/presentation.d.ts +0 -57
- package/dist/harness/authoring/presentation.d.ts.map +0 -1
- package/dist/harness/authoring/presentation.js +0 -137
- package/dist/harness/authoring/presentation.js.map +0 -1
- package/dist/harness/authoring/recover-structured-patch.d.ts +0 -21
- package/dist/harness/authoring/recover-structured-patch.d.ts.map +0 -1
- package/dist/harness/authoring/recover-structured-patch.js +0 -230
- package/dist/harness/authoring/recover-structured-patch.js.map +0 -1
- package/dist/harness/authoring/repair-workflow-json.d.ts +0 -16
- package/dist/harness/authoring/repair-workflow-json.d.ts.map +0 -1
- package/dist/harness/authoring/repair-workflow-json.js +0 -183
- package/dist/harness/authoring/repair-workflow-json.js.map +0 -1
- package/dist/harness/authoring/safe-reply.d.ts +0 -71
- package/dist/harness/authoring/safe-reply.d.ts.map +0 -1
- package/dist/harness/authoring/safe-reply.js +0 -291
- package/dist/harness/authoring/safe-reply.js.map +0 -1
- package/dist/harness/authoring/summarize-capability-schema.d.ts +0 -20
- package/dist/harness/authoring/summarize-capability-schema.d.ts.map +0 -1
- package/dist/harness/authoring/summarize-capability-schema.js +0 -141
- package/dist/harness/authoring/summarize-capability-schema.js.map +0 -1
- package/dist/harness/authoring/summarize-environment.d.ts +0 -62
- package/dist/harness/authoring/summarize-environment.d.ts.map +0 -1
- package/dist/harness/authoring/summarize-environment.js +0 -300
- package/dist/harness/authoring/summarize-environment.js.map +0 -1
- package/dist/harness/authoring/summarize-probe-context.d.ts +0 -31
- package/dist/harness/authoring/summarize-probe-context.d.ts.map +0 -1
- package/dist/harness/authoring/summarize-probe-context.js +0 -134
- package/dist/harness/authoring/summarize-probe-context.js.map +0 -1
- package/dist/harness/authoring/summarize-run-context.d.ts +0 -28
- package/dist/harness/authoring/summarize-run-context.d.ts.map +0 -1
- package/dist/harness/authoring/summarize-run-context.js +0 -40
- package/dist/harness/authoring/summarize-run-context.js.map +0 -1
- package/dist/harness/authoring/summarize-workflow.d.ts +0 -37
- package/dist/harness/authoring/summarize-workflow.d.ts.map +0 -1
- package/dist/harness/authoring/summarize-workflow.js +0 -148
- package/dist/harness/authoring/summarize-workflow.js.map +0 -1
- package/dist/harness/authoring/to-provider-chat-turns.d.ts.map +0 -1
- package/dist/harness/authoring/to-provider-chat-turns.js.map +0 -1
- package/dist/harness/call-model.d.ts +0 -15
- package/dist/harness/call-model.d.ts.map +0 -1
- package/dist/harness/call-model.js +0 -59
- package/dist/harness/call-model.js.map +0 -1
- package/dist/harness/context.d.ts +0 -28
- package/dist/harness/context.d.ts.map +0 -1
- package/dist/harness/context.js +0 -19
- package/dist/harness/context.js.map +0 -1
- package/dist/harness/define-harness.d.ts +0 -37
- package/dist/harness/define-harness.d.ts.map +0 -1
- package/dist/harness/define-harness.js +0 -88
- package/dist/harness/define-harness.js.map +0 -1
- package/dist/harness/definitions/test-minimal-harness.d.ts +0 -13
- package/dist/harness/definitions/test-minimal-harness.d.ts.map +0 -1
- package/dist/harness/definitions/test-minimal-harness.js +0 -45
- package/dist/harness/definitions/test-minimal-harness.js.map +0 -1
- package/dist/harness/execute-harness.d.ts +0 -9
- package/dist/harness/execute-harness.d.ts.map +0 -1
- package/dist/harness/execute-harness.js +0 -142
- package/dist/harness/execute-harness.js.map +0 -1
- package/dist/harness/format-resolve.d.ts +0 -26
- package/dist/harness/format-resolve.d.ts.map +0 -1
- package/dist/harness/format-resolve.js +0 -50
- package/dist/harness/format-resolve.js.map +0 -1
- package/dist/harness/harness-catalog.d.ts +0 -41
- package/dist/harness/harness-catalog.d.ts.map +0 -1
- package/dist/harness/harness-catalog.js +0 -66
- package/dist/harness/harness-catalog.js.map +0 -1
- package/dist/harness/index.d.ts +0 -11
- package/dist/harness/index.d.ts.map +0 -1
- package/dist/harness/index.js +0 -9
- package/dist/harness/index.js.map +0 -1
- package/dist/harness/prompts/build-repair-hint.d.ts +0 -8
- package/dist/harness/prompts/build-repair-hint.d.ts.map +0 -1
- package/dist/harness/prompts/build-repair-hint.js +0 -28
- package/dist/harness/prompts/build-repair-hint.js.map +0 -1
- package/dist/harness/prompts/build-system-prompt.d.ts +0 -7
- package/dist/harness/prompts/build-system-prompt.d.ts.map +0 -1
- package/dist/harness/prompts/build-system-prompt.js +0 -97
- package/dist/harness/prompts/build-system-prompt.js.map +0 -1
- package/dist/harness/prompts/eql-primer.d.ts +0 -14
- package/dist/harness/prompts/eql-primer.d.ts.map +0 -1
- package/dist/harness/prompts/eql-primer.js +0 -221
- package/dist/harness/prompts/eql-primer.js.map +0 -1
- package/dist/harness/prompts/fixtures-root.d.ts +0 -5
- package/dist/harness/prompts/fixtures-root.d.ts.map +0 -1
- package/dist/harness/prompts/fixtures-root.js +0 -7
- package/dist/harness/prompts/fixtures-root.js.map +0 -1
- package/dist/harness/prompts/harness-prompt-fixture-schema.d.ts +0 -95
- package/dist/harness/prompts/harness-prompt-fixture-schema.d.ts.map +0 -1
- package/dist/harness/prompts/harness-prompt-fixture-schema.js +0 -28
- package/dist/harness/prompts/harness-prompt-fixture-schema.js.map +0 -1
- package/dist/harness/prompts/identity-primer.d.ts +0 -6
- package/dist/harness/prompts/identity-primer.d.ts.map +0 -1
- package/dist/harness/prompts/identity-primer.js +0 -9
- package/dist/harness/prompts/identity-primer.js.map +0 -1
- package/dist/harness/prompts/index.d.ts +0 -7
- package/dist/harness/prompts/index.d.ts.map +0 -1
- package/dist/harness/prompts/index.js +0 -7
- package/dist/harness/prompts/index.js.map +0 -1
- package/dist/harness/prompts/load-schema-example.browser.d.ts +0 -11
- package/dist/harness/prompts/load-schema-example.browser.d.ts.map +0 -1
- package/dist/harness/prompts/load-schema-example.browser.js +0 -70
- package/dist/harness/prompts/load-schema-example.browser.js.map +0 -1
- package/dist/harness/prompts/load-schema-example.d.ts +0 -11
- package/dist/harness/prompts/load-schema-example.d.ts.map +0 -1
- package/dist/harness/prompts/load-schema-example.js +0 -22
- package/dist/harness/prompts/load-schema-example.js.map +0 -1
- package/dist/harness/prompts/load-schema-example.node.d.ts +0 -7
- package/dist/harness/prompts/load-schema-example.node.d.ts.map +0 -1
- package/dist/harness/prompts/load-schema-example.node.js +0 -38
- package/dist/harness/prompts/load-schema-example.node.js.map +0 -1
- package/dist/harness/prompts/schema-example-files.d.ts +0 -7
- package/dist/harness/prompts/schema-example-files.d.ts.map +0 -1
- package/dist/harness/prompts/schema-example-files.js +0 -12
- package/dist/harness/prompts/schema-example-files.js.map +0 -1
- package/dist/harness/prompts/typescript-primer.d.ts +0 -11
- package/dist/harness/prompts/typescript-primer.d.ts.map +0 -1
- package/dist/harness/prompts/typescript-primer.js +0 -80
- package/dist/harness/prompts/typescript-primer.js.map +0 -1
- package/dist/harness/repair-loop-timing.d.ts +0 -17
- package/dist/harness/repair-loop-timing.d.ts.map +0 -1
- package/dist/harness/repair-loop-timing.js +0 -89
- package/dist/harness/repair-loop-timing.js.map +0 -1
- package/dist/harness/resolve-harness-binding.d.ts +0 -10
- package/dist/harness/resolve-harness-binding.d.ts.map +0 -1
- package/dist/harness/resolve-harness-binding.js +0 -14
- package/dist/harness/resolve-harness-binding.js.map +0 -1
- package/dist/harness/run-model-repair-loop.d.ts +0 -45
- package/dist/harness/run-model-repair-loop.d.ts.map +0 -1
- package/dist/harness/run-model-repair-loop.js +0 -57
- package/dist/harness/run-model-repair-loop.js.map +0 -1
- package/dist/harness/types.d.ts +0 -34
- package/dist/harness/types.d.ts.map +0 -1
- package/dist/harness/types.js +0 -2
- package/dist/harness/types.js.map +0 -1
- package/dist/helpers/browser.d.ts +0 -12
- package/dist/helpers/browser.d.ts.map +0 -1
- package/dist/helpers/browser.js +0 -12
- package/dist/helpers/browser.js.map +0 -1
- package/dist/loaders/files.d.ts +0 -13
- package/dist/loaders/files.d.ts.map +0 -1
- package/dist/loaders/files.js +0 -66
- package/dist/loaders/files.js.map +0 -1
- package/dist/loaders/index.d.ts +0 -2
- package/dist/loaders/index.d.ts.map +0 -1
- package/dist/loaders/index.js +0 -2
- package/dist/loaders/index.js.map +0 -1
- package/dist/loaders/read-media-file.d.ts +0 -6
- package/dist/loaders/read-media-file.d.ts.map +0 -1
- package/dist/loaders/read-media-file.js +0 -10
- package/dist/loaders/read-media-file.js.map +0 -1
- package/dist/node.d.ts +0 -8
- package/dist/node.d.ts.map +0 -1
- package/dist/node.js +0 -8
- package/dist/node.js.map +0 -1
- package/dist/runtime/test-session-state.d.ts +0 -23
- package/dist/runtime/test-session-state.d.ts.map +0 -1
- package/dist/runtime/test-session-state.js +0 -62
- package/dist/runtime/test-session-state.js.map +0 -1
- package/dist/test-session/index.d.ts +0 -2
- package/dist/test-session/index.d.ts.map +0 -1
- package/dist/test-session/index.js +0 -2
- package/dist/test-session/index.js.map +0 -1
- package/dist/test-session/test-session.d.ts +0 -36
- package/dist/test-session/test-session.d.ts.map +0 -1
- package/dist/test-session/test-session.js +0 -115
- package/dist/test-session/test-session.js.map +0 -1
- package/dist/testing/test-model-generate.d.ts +0 -15
- package/dist/testing/test-model-generate.d.ts.map +0 -1
- package/dist/testing/test-model-generate.js +0 -71
- package/dist/testing/test-model-generate.js.map +0 -1
- package/dist/validate/harness.d.ts +0 -11
- package/dist/validate/harness.d.ts.map +0 -1
- package/dist/validate/harness.js +0 -72
- package/dist/validate/harness.js.map +0 -1
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/RunResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"RunResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "@executioncontrolprotocol.run.result"
|
|
11
|
+
},
|
|
12
|
+
"version": {
|
|
13
|
+
"$ref": "#/definitions/EcpVersion"
|
|
14
|
+
},
|
|
15
|
+
"run": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"id": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"status": {
|
|
22
|
+
"$ref": "#/definitions/RunStatus"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"id",
|
|
27
|
+
"status"
|
|
28
|
+
],
|
|
29
|
+
"additionalProperties": false
|
|
30
|
+
},
|
|
31
|
+
"state": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": {}
|
|
34
|
+
},
|
|
35
|
+
"output": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"additionalProperties": {},
|
|
38
|
+
"description": "Public output picked from state using `workflow.returns` property names. Present when the workflow declares `returns` and the run completed (or when a returns object was assembled before a validation failure)."
|
|
39
|
+
},
|
|
40
|
+
"history": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"additionalProperties": {
|
|
43
|
+
"$ref": "#/definitions/StepRunRecord"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"usage": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"additionalProperties": {}
|
|
49
|
+
},
|
|
50
|
+
"diagnostics": {
|
|
51
|
+
"type": "array",
|
|
52
|
+
"items": {
|
|
53
|
+
"$ref": "#/definitions/ValidationIssue"
|
|
54
|
+
},
|
|
55
|
+
"description": "Run-level diagnostics (e.g. `workflow.returns` validation after steps completed)."
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": [
|
|
59
|
+
"schema",
|
|
60
|
+
"version",
|
|
61
|
+
"run"
|
|
62
|
+
],
|
|
63
|
+
"additionalProperties": false,
|
|
64
|
+
"description": "Run result document.",
|
|
65
|
+
"category": "Runtime"
|
|
66
|
+
},
|
|
67
|
+
"EcpVersion": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "ECP semantic version literal.",
|
|
70
|
+
"category": "Common"
|
|
71
|
+
},
|
|
72
|
+
"RunStatus": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": [
|
|
75
|
+
"created",
|
|
76
|
+
"started",
|
|
77
|
+
"completed",
|
|
78
|
+
"failed",
|
|
79
|
+
"cancelled",
|
|
80
|
+
"paused",
|
|
81
|
+
"stopped"
|
|
82
|
+
],
|
|
83
|
+
"description": "Run status.",
|
|
84
|
+
"category": "Runtime"
|
|
85
|
+
},
|
|
86
|
+
"StepRunRecord": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"properties": {
|
|
89
|
+
"status": {
|
|
90
|
+
"$ref": "#/definitions/RunStatus"
|
|
91
|
+
},
|
|
92
|
+
"output": {},
|
|
93
|
+
"committedAs": {
|
|
94
|
+
"type": [
|
|
95
|
+
"string",
|
|
96
|
+
"null"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"attempts": {
|
|
100
|
+
"type": "number"
|
|
101
|
+
},
|
|
102
|
+
"usage": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"additionalProperties": {}
|
|
105
|
+
},
|
|
106
|
+
"mutations": {
|
|
107
|
+
"type": "array",
|
|
108
|
+
"items": {
|
|
109
|
+
"$ref": "#/definitions/MutationRecord"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"diagnostics": {
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"$ref": "#/definitions/ValidationIssue"
|
|
116
|
+
},
|
|
117
|
+
"description": "Failure diagnostics when the step did not complete."
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": [
|
|
121
|
+
"status"
|
|
122
|
+
],
|
|
123
|
+
"additionalProperties": false,
|
|
124
|
+
"description": "Per-step run history record.",
|
|
125
|
+
"category": "Runtime"
|
|
126
|
+
},
|
|
127
|
+
"MutationRecord": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"id": {
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
"op": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"enum": [
|
|
136
|
+
"set",
|
|
137
|
+
"replace",
|
|
138
|
+
"merge",
|
|
139
|
+
"append"
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
"path": {
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
"before": {},
|
|
146
|
+
"after": {},
|
|
147
|
+
"reason": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
},
|
|
150
|
+
"metadata": {
|
|
151
|
+
"type": "object",
|
|
152
|
+
"additionalProperties": {}
|
|
153
|
+
},
|
|
154
|
+
"status": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"enum": [
|
|
157
|
+
"committed",
|
|
158
|
+
"denied",
|
|
159
|
+
"discarded",
|
|
160
|
+
"failed"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"stepId": {
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
"capability": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"timestamp": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"required": [
|
|
174
|
+
"id",
|
|
175
|
+
"op",
|
|
176
|
+
"path",
|
|
177
|
+
"before",
|
|
178
|
+
"after",
|
|
179
|
+
"status",
|
|
180
|
+
"stepId",
|
|
181
|
+
"capability",
|
|
182
|
+
"timestamp"
|
|
183
|
+
],
|
|
184
|
+
"additionalProperties": false,
|
|
185
|
+
"description": "Committed or denied mutation record.",
|
|
186
|
+
"category": "Runtime"
|
|
187
|
+
},
|
|
188
|
+
"ValidationIssue": {
|
|
189
|
+
"type": "object",
|
|
190
|
+
"properties": {
|
|
191
|
+
"code": {
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"message": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
"path": {
|
|
198
|
+
"type": "string"
|
|
199
|
+
},
|
|
200
|
+
"suggestions": {
|
|
201
|
+
"type": "array",
|
|
202
|
+
"items": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"severity": {
|
|
207
|
+
"$ref": "#/definitions/ValidationSeverity"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"required": [
|
|
211
|
+
"code",
|
|
212
|
+
"message"
|
|
213
|
+
],
|
|
214
|
+
"additionalProperties": false,
|
|
215
|
+
"description": "Single validation issue.",
|
|
216
|
+
"category": "Validation"
|
|
217
|
+
},
|
|
218
|
+
"ValidationSeverity": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"enum": [
|
|
221
|
+
"error",
|
|
222
|
+
"warning",
|
|
223
|
+
"info"
|
|
224
|
+
],
|
|
225
|
+
"description": "Validation issue severity.",
|
|
226
|
+
"category": "Validation"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"$id": "https://ecp.dev/schemas/run.result.json"
|
|
230
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/ValidationResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"ValidationResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "@executioncontrolprotocol.validation.result"
|
|
11
|
+
},
|
|
12
|
+
"version": {
|
|
13
|
+
"$ref": "#/definitions/EcpVersion"
|
|
14
|
+
},
|
|
15
|
+
"valid": {
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
},
|
|
18
|
+
"errors": {
|
|
19
|
+
"type": "array",
|
|
20
|
+
"items": {
|
|
21
|
+
"$ref": "#/definitions/ValidationIssue"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"warnings": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"$ref": "#/definitions/ValidationIssue"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [
|
|
32
|
+
"schema",
|
|
33
|
+
"version",
|
|
34
|
+
"valid",
|
|
35
|
+
"errors",
|
|
36
|
+
"warnings"
|
|
37
|
+
],
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"description": "Validation result document.",
|
|
40
|
+
"category": "Validation"
|
|
41
|
+
},
|
|
42
|
+
"EcpVersion": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "ECP semantic version literal.",
|
|
45
|
+
"category": "Common"
|
|
46
|
+
},
|
|
47
|
+
"ValidationIssue": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"code": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
"message": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"path": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"suggestions": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"severity": {
|
|
66
|
+
"$ref": "#/definitions/ValidationSeverity"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": [
|
|
70
|
+
"code",
|
|
71
|
+
"message"
|
|
72
|
+
],
|
|
73
|
+
"additionalProperties": false,
|
|
74
|
+
"description": "Single validation issue.",
|
|
75
|
+
"category": "Validation"
|
|
76
|
+
},
|
|
77
|
+
"ValidationSeverity": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"enum": [
|
|
80
|
+
"error",
|
|
81
|
+
"warning",
|
|
82
|
+
"info"
|
|
83
|
+
],
|
|
84
|
+
"description": "Validation issue severity.",
|
|
85
|
+
"category": "Validation"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"$id": "https://ecp.dev/schemas/validation.result.json"
|
|
89
|
+
}
|