@executioncontrolprotocol/core 0.14.0 → 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 +32 -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 -8
- 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 -27
- 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 +1 -1
- package/dist/media/index.d.ts.map +1 -1
- package/dist/media/index.js +1 -1
- 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 +11 -6
- package/dist/media/resolve-file.js.map +1 -1
- package/dist/media/write-media.d.ts +1 -1
- package/dist/media/write-media.d.ts.map +1 -1
- package/dist/media/write-media.js +1 -1
- 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 -77
- package/dist/harness/authoring/summarize-environment.d.ts.map +0 -1
- package/dist/harness/authoring/summarize-environment.js +0 -298
- 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,457 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/WorkflowManifest",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"WorkflowManifest": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"schema": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "@executioncontrolprotocol.workflow"
|
|
11
|
+
},
|
|
12
|
+
"version": {
|
|
13
|
+
"$ref": "#/definitions/EcpVersion"
|
|
14
|
+
},
|
|
15
|
+
"workflow": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"id": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Workflow id."
|
|
21
|
+
},
|
|
22
|
+
"label": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Display label."
|
|
25
|
+
},
|
|
26
|
+
"accepts": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": {},
|
|
29
|
+
"description": "JSON Schema (object) for run input (`ecp.run(..., { input })`). Property names seed workflow state and are read with `ref(\"name\")`."
|
|
30
|
+
},
|
|
31
|
+
"returns": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": {},
|
|
34
|
+
"description": "JSON Schema (object) for public run output. Property names are top-level state keys (typically a step `.as()`)."
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": [
|
|
38
|
+
"id"
|
|
39
|
+
],
|
|
40
|
+
"additionalProperties": false
|
|
41
|
+
},
|
|
42
|
+
"steps": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"$ref": "#/definitions/WorkflowNode"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"discovery": {
|
|
49
|
+
"$ref": "#/definitions/WorkflowDiscoveryMarker",
|
|
50
|
+
"description": "Present when this manifest is a disposable discovery / inspect workflow. Hosts read this instead of guessing from step ids."
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": [
|
|
54
|
+
"schema",
|
|
55
|
+
"version",
|
|
56
|
+
"workflow",
|
|
57
|
+
"steps"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": false,
|
|
60
|
+
"description": "Portable workflow manifest.",
|
|
61
|
+
"category": "Workflow"
|
|
62
|
+
},
|
|
63
|
+
"EcpVersion": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "ECP semantic version literal.",
|
|
66
|
+
"category": "Common"
|
|
67
|
+
},
|
|
68
|
+
"WorkflowNode": {
|
|
69
|
+
"anyOf": [
|
|
70
|
+
{
|
|
71
|
+
"$ref": "#/definitions/StepNode"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"$ref": "#/definitions/ParallelNode"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"$ref": "#/definitions/BranchNode"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"$ref": "#/definitions/LoopNode"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"description": "Workflow graph node union.",
|
|
84
|
+
"category": "Workflow"
|
|
85
|
+
},
|
|
86
|
+
"StepNode": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"properties": {
|
|
89
|
+
"type": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"const": "step"
|
|
92
|
+
},
|
|
93
|
+
"id": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"label": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"uses": {
|
|
100
|
+
"anyOf": [
|
|
101
|
+
{
|
|
102
|
+
"$ref": "#/definitions/CapabilityId"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "string"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"input": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"additionalProperties": {
|
|
112
|
+
"$ref": "#/definitions/InputValue"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"as": {
|
|
116
|
+
"type": "string",
|
|
117
|
+
"description": "State key for committed output (fluent `.as()`)."
|
|
118
|
+
},
|
|
119
|
+
"mode": {
|
|
120
|
+
"$ref": "#/definitions/CommitMode",
|
|
121
|
+
"description": "Commit mode when `as` is set (fluent `.as(key, { mode })`)."
|
|
122
|
+
},
|
|
123
|
+
"when": {
|
|
124
|
+
"$ref": "#/definitions/ExprValue"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": [
|
|
128
|
+
"id",
|
|
129
|
+
"uses"
|
|
130
|
+
],
|
|
131
|
+
"additionalProperties": false,
|
|
132
|
+
"description": "Single capability step.",
|
|
133
|
+
"category": "Workflow"
|
|
134
|
+
},
|
|
135
|
+
"CapabilityId": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "Capability id (`@namespace/name.capability`).",
|
|
138
|
+
"category": "Common"
|
|
139
|
+
},
|
|
140
|
+
"InputValue": {
|
|
141
|
+
"anyOf": [
|
|
142
|
+
{
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "number"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"type": "boolean"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "null"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "array",
|
|
156
|
+
"items": {
|
|
157
|
+
"$ref": "#/definitions/InputValue"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"type": "object",
|
|
162
|
+
"additionalProperties": {
|
|
163
|
+
"$ref": "#/definitions/InputValue"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"$ref": "#/definitions/RefValue"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"$ref": "#/definitions/StateValue"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"$ref": "#/definitions/EnvValue"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"$ref": "#/definitions/SecretValue"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"description": "Input value allowed in step config.",
|
|
180
|
+
"category": "Workflow"
|
|
181
|
+
},
|
|
182
|
+
"RefValue": {
|
|
183
|
+
"type": "object",
|
|
184
|
+
"properties": {
|
|
185
|
+
"$ref": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"description": "State path prefixed with `state.` in manifests."
|
|
188
|
+
},
|
|
189
|
+
"optional": {
|
|
190
|
+
"type": "boolean",
|
|
191
|
+
"description": "When true, missing state does not fail resolution."
|
|
192
|
+
},
|
|
193
|
+
"fallback": {
|
|
194
|
+
"description": "Fallback when optional ref is missing."
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"required": [
|
|
198
|
+
"$ref"
|
|
199
|
+
],
|
|
200
|
+
"additionalProperties": false,
|
|
201
|
+
"description": "Workflow reference to committed state.",
|
|
202
|
+
"category": "Workflow"
|
|
203
|
+
},
|
|
204
|
+
"StateValue": {
|
|
205
|
+
"type": "object",
|
|
206
|
+
"properties": {
|
|
207
|
+
"$state": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"description": "State path for staged mutations."
|
|
210
|
+
},
|
|
211
|
+
"optional": {
|
|
212
|
+
"type": "boolean"
|
|
213
|
+
},
|
|
214
|
+
"fallback": {}
|
|
215
|
+
},
|
|
216
|
+
"required": [
|
|
217
|
+
"$state"
|
|
218
|
+
],
|
|
219
|
+
"additionalProperties": false,
|
|
220
|
+
"description": "Mutable state handle in step input.",
|
|
221
|
+
"category": "Workflow"
|
|
222
|
+
},
|
|
223
|
+
"EnvValue": {
|
|
224
|
+
"type": "object",
|
|
225
|
+
"properties": {
|
|
226
|
+
"$env": {
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"optional": {
|
|
230
|
+
"type": "boolean"
|
|
231
|
+
},
|
|
232
|
+
"fallback": {}
|
|
233
|
+
},
|
|
234
|
+
"required": [
|
|
235
|
+
"$env"
|
|
236
|
+
],
|
|
237
|
+
"additionalProperties": false,
|
|
238
|
+
"description": "Environment config secret reference (not portable in workflows).",
|
|
239
|
+
"category": "Environment"
|
|
240
|
+
},
|
|
241
|
+
"SecretValue": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"properties": {
|
|
244
|
+
"$secret": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"description": "Logical key in the OS secrets store."
|
|
247
|
+
},
|
|
248
|
+
"optional": {
|
|
249
|
+
"type": "boolean",
|
|
250
|
+
"description": "When true, missing secret does not fail resolution."
|
|
251
|
+
},
|
|
252
|
+
"fallback": {
|
|
253
|
+
"description": "Fallback when optional secret is missing."
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"required": [
|
|
257
|
+
"$secret"
|
|
258
|
+
],
|
|
259
|
+
"additionalProperties": false,
|
|
260
|
+
"description": "OS secrets reference (not portable in workflows).",
|
|
261
|
+
"category": "Environment"
|
|
262
|
+
},
|
|
263
|
+
"CommitMode": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"enum": [
|
|
266
|
+
"create",
|
|
267
|
+
"replace",
|
|
268
|
+
"merge",
|
|
269
|
+
"append",
|
|
270
|
+
"version"
|
|
271
|
+
],
|
|
272
|
+
"description": "Commit mode for step output.",
|
|
273
|
+
"category": "Workflow"
|
|
274
|
+
},
|
|
275
|
+
"ExprValue": {
|
|
276
|
+
"anyOf": [
|
|
277
|
+
{
|
|
278
|
+
"type": "object",
|
|
279
|
+
"properties": {
|
|
280
|
+
"eq": {
|
|
281
|
+
"type": "array",
|
|
282
|
+
"minItems": 2,
|
|
283
|
+
"items": [
|
|
284
|
+
{
|
|
285
|
+
"type": "string"
|
|
286
|
+
},
|
|
287
|
+
{}
|
|
288
|
+
],
|
|
289
|
+
"maxItems": 2
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"required": [
|
|
293
|
+
"eq"
|
|
294
|
+
],
|
|
295
|
+
"additionalProperties": false
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"type": "object",
|
|
299
|
+
"properties": {
|
|
300
|
+
"neq": {
|
|
301
|
+
"type": "array",
|
|
302
|
+
"minItems": 2,
|
|
303
|
+
"items": [
|
|
304
|
+
{
|
|
305
|
+
"type": "string"
|
|
306
|
+
},
|
|
307
|
+
{}
|
|
308
|
+
],
|
|
309
|
+
"maxItems": 2
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"required": [
|
|
313
|
+
"neq"
|
|
314
|
+
],
|
|
315
|
+
"additionalProperties": false
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"type": "object",
|
|
319
|
+
"additionalProperties": {}
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"description": "Expression value in workflow conditions.",
|
|
323
|
+
"category": "Workflow"
|
|
324
|
+
},
|
|
325
|
+
"ParallelNode": {
|
|
326
|
+
"type": "object",
|
|
327
|
+
"properties": {
|
|
328
|
+
"type": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"const": "parallel"
|
|
331
|
+
},
|
|
332
|
+
"id": {
|
|
333
|
+
"type": "string"
|
|
334
|
+
},
|
|
335
|
+
"label": {
|
|
336
|
+
"type": "string"
|
|
337
|
+
},
|
|
338
|
+
"branches": {
|
|
339
|
+
"type": "array",
|
|
340
|
+
"items": {
|
|
341
|
+
"type": "array",
|
|
342
|
+
"items": {
|
|
343
|
+
"$ref": "#/definitions/WorkflowNode"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"required": [
|
|
349
|
+
"type",
|
|
350
|
+
"id",
|
|
351
|
+
"branches"
|
|
352
|
+
],
|
|
353
|
+
"additionalProperties": false,
|
|
354
|
+
"description": "Parallel branches.",
|
|
355
|
+
"category": "Workflow"
|
|
356
|
+
},
|
|
357
|
+
"BranchNode": {
|
|
358
|
+
"type": "object",
|
|
359
|
+
"properties": {
|
|
360
|
+
"type": {
|
|
361
|
+
"type": "string",
|
|
362
|
+
"const": "branch"
|
|
363
|
+
},
|
|
364
|
+
"id": {
|
|
365
|
+
"type": "string"
|
|
366
|
+
},
|
|
367
|
+
"label": {
|
|
368
|
+
"type": "string"
|
|
369
|
+
},
|
|
370
|
+
"branches": {
|
|
371
|
+
"type": "array",
|
|
372
|
+
"items": {
|
|
373
|
+
"type": "object",
|
|
374
|
+
"properties": {
|
|
375
|
+
"label": {
|
|
376
|
+
"type": "string"
|
|
377
|
+
},
|
|
378
|
+
"when": {
|
|
379
|
+
"$ref": "#/definitions/ExprValue"
|
|
380
|
+
},
|
|
381
|
+
"steps": {
|
|
382
|
+
"type": "array",
|
|
383
|
+
"items": {
|
|
384
|
+
"$ref": "#/definitions/WorkflowNode"
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"required": [
|
|
389
|
+
"when",
|
|
390
|
+
"steps"
|
|
391
|
+
],
|
|
392
|
+
"additionalProperties": false
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"required": [
|
|
397
|
+
"type",
|
|
398
|
+
"id",
|
|
399
|
+
"branches"
|
|
400
|
+
],
|
|
401
|
+
"additionalProperties": false,
|
|
402
|
+
"description": "Conditional branches.",
|
|
403
|
+
"category": "Workflow"
|
|
404
|
+
},
|
|
405
|
+
"LoopNode": {
|
|
406
|
+
"type": "object",
|
|
407
|
+
"properties": {
|
|
408
|
+
"type": {
|
|
409
|
+
"type": "string",
|
|
410
|
+
"const": "loop"
|
|
411
|
+
},
|
|
412
|
+
"id": {
|
|
413
|
+
"type": "string"
|
|
414
|
+
},
|
|
415
|
+
"label": {
|
|
416
|
+
"type": "string"
|
|
417
|
+
},
|
|
418
|
+
"until": {
|
|
419
|
+
"$ref": "#/definitions/ExprValue"
|
|
420
|
+
},
|
|
421
|
+
"maxRounds": {
|
|
422
|
+
"type": "number"
|
|
423
|
+
},
|
|
424
|
+
"steps": {
|
|
425
|
+
"type": "array",
|
|
426
|
+
"items": {
|
|
427
|
+
"$ref": "#/definitions/WorkflowNode"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"required": [
|
|
432
|
+
"type",
|
|
433
|
+
"id",
|
|
434
|
+
"steps"
|
|
435
|
+
],
|
|
436
|
+
"additionalProperties": false,
|
|
437
|
+
"description": "Loop until condition.",
|
|
438
|
+
"category": "Workflow"
|
|
439
|
+
},
|
|
440
|
+
"WorkflowDiscoveryMarker": {
|
|
441
|
+
"type": "object",
|
|
442
|
+
"properties": {
|
|
443
|
+
"capabilityId": {
|
|
444
|
+
"type": "string",
|
|
445
|
+
"description": "Capability id the inspect workflow calls."
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"required": [
|
|
449
|
+
"capabilityId"
|
|
450
|
+
],
|
|
451
|
+
"additionalProperties": false,
|
|
452
|
+
"description": "Marker for a disposable one-step inspect workflow compiled from a capability.",
|
|
453
|
+
"category": "Workflow"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"$id": "https://ecp.dev/schemas/workflow.manifest.json"
|
|
457
|
+
}
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Test-extension entry for examples and unit tests.
|
|
3
|
+
* Bind {@link testExtension} with `extension(testExtension)`.
|
|
3
4
|
* @category Testing
|
|
4
5
|
*/
|
|
5
|
-
import "./test-extension.js";
|
|
6
6
|
export { registerTestExtension, testExtension } from "./test-extension.js";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA"}
|
package/dist/testing/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Test-extension entry for examples and unit tests.
|
|
3
|
+
* Bind {@link testExtension} with `extension(testExtension)`.
|
|
3
4
|
* @category Testing
|
|
4
5
|
*/
|
|
5
|
-
import "./test-extension.js";
|
|
6
6
|
export { registerTestExtension, testExtension } from "./test-extension.js";
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { Registry } from "../registry/registry.js";
|
|
1
2
|
/** In-repo stub extension for examples and tests. @category Testing */
|
|
2
|
-
export declare const testExtension: import("../
|
|
3
|
+
export declare const testExtension: import("../index.js").ExtensionDefinition;
|
|
3
4
|
/** Register @executioncontrolprotocol/test capabilities for examples and tests. */
|
|
4
|
-
export declare function registerTestExtension(registry
|
|
5
|
+
export declare function registerTestExtension(registry: Registry): Promise<void>;
|
|
5
6
|
//# sourceMappingURL=test-extension.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-extension.d.ts","sourceRoot":"","sources":["../../src/testing/test-extension.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"test-extension.d.ts","sourceRoot":"","sources":["../../src/testing/test-extension.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAUvD,uEAAuE;AACvE,eAAO,MAAM,aAAa,2CA+GhB,CAAA;AAEV,mFAAmF;AACnF,wBAAsB,qBAAqB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAI7E"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { defineExtension } from "../definitions/extension.js";
|
|
2
2
|
import { capabilityFor } from "../definitions/capability.js";
|
|
3
|
-
import { catalogExtension } from "../registry/extension-catalog.js";
|
|
4
|
-
import { globalRegistry } from "../registry/registry.js";
|
|
5
|
-
import { modelGenerateInputSchema, modelGenerateOutputSchema } from "@executioncontrolprotocol/types";
|
|
6
|
-
import { testModelGenerateHandler } from "./test-model-generate.js";
|
|
7
3
|
import { z } from "zod";
|
|
8
4
|
const TestStubInput = z.object({ payload: z.unknown().optional() });
|
|
9
5
|
const TestStubOutput = z.object({ ok: z.boolean(), result: z.unknown().optional() });
|
|
@@ -15,7 +11,7 @@ export const testExtension = defineExtension("@executioncontrolprotocol", "test"
|
|
|
15
11
|
.withConfig({})
|
|
16
12
|
.withMetadata({
|
|
17
13
|
summary: "Stub capabilities for examples, CLI demos, and unit tests.",
|
|
18
|
-
description: "Provides deterministic echo
|
|
14
|
+
description: "Provides deterministic echo and placeholder step handlers used by first-party examples and conformance tests without external services."
|
|
19
15
|
})
|
|
20
16
|
.withCapabilities([
|
|
21
17
|
capabilityFor("@executioncontrolprotocol/test", "echo")
|
|
@@ -27,33 +23,18 @@ export const testExtension = defineExtension("@executioncontrolprotocol", "test"
|
|
|
27
23
|
description: "Echoes the supplied value or a default greeting. Used to verify wiring, refs, and step output propagation in minimal workflows.",
|
|
28
24
|
useCases: [
|
|
29
25
|
"01-echo example demonstrates a single-step workflow.",
|
|
30
|
-
"Integration test asserts invoke and run paths return payloads."
|
|
31
|
-
],
|
|
32
|
-
samplePrompts: [
|
|
33
|
-
"Echo back the value hello.",
|
|
34
|
-
"Run the test echo step with this payload.",
|
|
26
|
+
"Integration test asserts invoke and run paths return payloads."
|
|
35
27
|
],
|
|
28
|
+
projections: [
|
|
29
|
+
{
|
|
30
|
+
summary: "Use the echoed value",
|
|
31
|
+
description: "Take the echo field as the step output for refs and downstream wiring checks."
|
|
32
|
+
}
|
|
33
|
+
]
|
|
36
34
|
})
|
|
37
35
|
.withHandler(async (input) => ({
|
|
38
|
-
echo: input.value ?? "hi"
|
|
36
|
+
echo: input.value ?? "hi"
|
|
39
37
|
})),
|
|
40
|
-
capabilityFor("@executioncontrolprotocol/test", "generate")
|
|
41
|
-
.withInput(modelGenerateInputSchema)
|
|
42
|
-
.withOutput(modelGenerateOutputSchema)
|
|
43
|
-
.withExecution("local")
|
|
44
|
-
.withMetadata({
|
|
45
|
-
summary: "Deterministic stub text generation for tests.",
|
|
46
|
-
description: "Returns predictable text derived from the prompt without calling an external model. Use when examples need a generate-shaped step offline.",
|
|
47
|
-
useCases: [
|
|
48
|
-
"Harness unit test exercises generate input shaping.",
|
|
49
|
-
"Example workflow includes a model step without API keys.",
|
|
50
|
-
],
|
|
51
|
-
samplePrompts: [
|
|
52
|
-
"Generate a stub reply for this prompt.",
|
|
53
|
-
"Run test generate with system and user messages.",
|
|
54
|
-
],
|
|
55
|
-
})
|
|
56
|
-
.withHandler(async (input) => testModelGenerateHandler(input)),
|
|
57
38
|
capabilityFor("@executioncontrolprotocol/test", "summarize")
|
|
58
39
|
.withInput(TestStubInput)
|
|
59
40
|
.withOutput(TestStubOutput)
|
|
@@ -63,12 +44,14 @@ export const testExtension = defineExtension("@executioncontrolprotocol", "test"
|
|
|
63
44
|
description: "Returns a fixed ok stub. Useful in sample workflows that list several capability kinds without real summarization logic.",
|
|
64
45
|
useCases: [
|
|
65
46
|
"Demo manifest shows a summarize step beside echo and translate.",
|
|
66
|
-
"Test verifies multiple capabilities register on one extension."
|
|
67
|
-
],
|
|
68
|
-
samplePrompts: [
|
|
69
|
-
"Invoke the test summarize capability.",
|
|
70
|
-
"Run summarize with a sample payload.",
|
|
47
|
+
"Test verifies multiple capabilities register on one extension."
|
|
71
48
|
],
|
|
49
|
+
projections: [
|
|
50
|
+
{
|
|
51
|
+
summary: "Use the stub result",
|
|
52
|
+
description: "Take ok and result when present as placeholder output for multi-capability demos."
|
|
53
|
+
}
|
|
54
|
+
]
|
|
72
55
|
})
|
|
73
56
|
.withHandler(async (input) => testStubHandler(input)),
|
|
74
57
|
capabilityFor("@executioncontrolprotocol/test", "translate")
|
|
@@ -80,12 +63,14 @@ export const testExtension = defineExtension("@executioncontrolprotocol", "test"
|
|
|
80
63
|
description: "Returns a fixed ok stub. Represents a translate-shaped step in examples without calling a real translation service.",
|
|
81
64
|
useCases: [
|
|
82
65
|
"Sample workflow chains translate after summarize.",
|
|
83
|
-
"Registry test lists distinct capability names on test extension."
|
|
84
|
-
],
|
|
85
|
-
samplePrompts: [
|
|
86
|
-
"Invoke the test translate capability.",
|
|
87
|
-
"Run translate with a sample payload.",
|
|
66
|
+
"Registry test lists distinct capability names on test extension."
|
|
88
67
|
],
|
|
68
|
+
projections: [
|
|
69
|
+
{
|
|
70
|
+
summary: "Use the stub result",
|
|
71
|
+
description: "Take ok and result when present as placeholder output for multi-capability demos."
|
|
72
|
+
}
|
|
73
|
+
]
|
|
89
74
|
})
|
|
90
75
|
.withHandler(async (input) => testStubHandler(input)),
|
|
91
76
|
capabilityFor("@executioncontrolprotocol/test", "notify")
|
|
@@ -97,12 +82,14 @@ export const testExtension = defineExtension("@executioncontrolprotocol", "test"
|
|
|
97
82
|
description: "Returns a fixed ok stub. Stands in for notification side effects in tutorials and tests.",
|
|
98
83
|
useCases: [
|
|
99
84
|
"Example workflow ends with a notify step after processing.",
|
|
100
|
-
"Unit test covers invoke on a non-echo capability id."
|
|
101
|
-
],
|
|
102
|
-
samplePrompts: [
|
|
103
|
-
"Invoke the test notify capability.",
|
|
104
|
-
"Fire the notify stub with this payload.",
|
|
85
|
+
"Unit test covers invoke on a non-echo capability id."
|
|
105
86
|
],
|
|
87
|
+
projections: [
|
|
88
|
+
{
|
|
89
|
+
summary: "Use the stub result",
|
|
90
|
+
description: "Take ok and result when present as placeholder output for multi-capability demos."
|
|
91
|
+
}
|
|
92
|
+
]
|
|
106
93
|
})
|
|
107
94
|
.withHandler(async (input) => testStubHandler(input)),
|
|
108
95
|
capabilityFor("@executioncontrolprotocol/test", "validate")
|
|
@@ -114,19 +101,20 @@ export const testExtension = defineExtension("@executioncontrolprotocol", "test"
|
|
|
114
101
|
description: "Returns a fixed ok stub. Represents a validation-shaped step in sample graphs without running real validators.",
|
|
115
102
|
useCases: [
|
|
116
103
|
"Tutorial workflow includes validate before notify.",
|
|
117
|
-
"Conformance test enumerates all test extension capability ids."
|
|
118
|
-
],
|
|
119
|
-
samplePrompts: [
|
|
120
|
-
"Invoke the test validate capability.",
|
|
121
|
-
"Run validate with a sample payload.",
|
|
104
|
+
"Conformance test enumerates all test extension capability ids."
|
|
122
105
|
],
|
|
106
|
+
projections: [
|
|
107
|
+
{
|
|
108
|
+
summary: "Use the stub result",
|
|
109
|
+
description: "Take ok and result when present as placeholder output for multi-capability demos."
|
|
110
|
+
}
|
|
111
|
+
]
|
|
123
112
|
})
|
|
124
|
-
.withHandler(async (input) => testStubHandler(input))
|
|
113
|
+
.withHandler(async (input) => testStubHandler(input))
|
|
125
114
|
])
|
|
126
115
|
.build();
|
|
127
|
-
catalogExtension(testExtension);
|
|
128
116
|
/** Register @executioncontrolprotocol/test capabilities for examples and tests. */
|
|
129
|
-
export async function registerTestExtension(registry
|
|
117
|
+
export async function registerTestExtension(registry) {
|
|
130
118
|
if (!registry.getExtension("@executioncontrolprotocol/test")) {
|
|
131
119
|
await registry.registerExtension(testExtension);
|
|
132
120
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-extension.js","sourceRoot":"","sources":["../../src/testing/test-extension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"test-extension.js","sourceRoot":"","sources":["../../src/testing/test-extension.ts"],"names":[],"mappings":"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"}
|