@interf/compiler 0.6.1 → 0.6.4
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 +106 -80
- package/builtin-workflows/interf/README.md +5 -5
- package/builtin-workflows/interf/compile/stages/shape/SKILL.md +4 -4
- package/builtin-workflows/interf/improve/SKILL.md +2 -2
- package/builtin-workflows/interf/use/query/SKILL.md +1 -1
- package/builtin-workflows/interf/workflow.json +6 -6
- package/builtin-workflows/interf/workflow.schema.json +1 -1
- package/dist/bin.js +2 -28
- package/dist/{commands → cli/commands}/check-draft.d.ts +2 -2
- package/dist/{commands → cli/commands}/check-draft.js +16 -16
- package/dist/{commands → cli/commands}/compile-controller.d.ts +3 -3
- package/dist/{commands → cli/commands}/compile-controller.js +37 -35
- package/dist/{commands → cli/commands}/compile.d.ts +2 -2
- package/dist/{commands → cli/commands}/compile.js +15 -11
- package/dist/{commands → cli/commands}/compiled-flow.d.ts +3 -4
- package/dist/{commands → cli/commands}/compiled-flow.js +9 -14
- package/dist/{commands → cli/commands}/create-workflow-wizard.d.ts +3 -3
- package/dist/{commands → cli/commands}/create-workflow-wizard.js +64 -37
- package/dist/{commands → cli/commands}/create.d.ts +1 -1
- package/dist/{commands → cli/commands}/create.js +15 -18
- package/dist/{commands → cli/commands}/dataset-selection.d.ts +1 -1
- package/dist/{commands → cli/commands}/default.js +3 -3
- package/dist/{commands → cli/commands}/doctor.js +5 -6
- package/dist/{commands → cli/commands}/executor-flow.d.ts +1 -1
- package/dist/{commands → cli/commands}/executor-flow.js +13 -16
- package/dist/{commands → cli/commands}/init.d.ts +4 -1
- package/dist/{commands → cli/commands}/init.js +162 -77
- package/dist/{commands → cli/commands}/list.js +6 -6
- package/dist/{commands → cli/commands}/reset.js +4 -4
- package/dist/{commands → cli/commands}/source-config-wizard.d.ts +9 -4
- package/dist/{commands → cli/commands}/source-config-wizard.js +168 -94
- package/dist/{commands → cli/commands}/status.js +20 -11
- package/dist/{commands → cli/commands}/test-flow.d.ts +13 -4
- package/dist/{commands → cli/commands}/test-flow.js +52 -48
- package/dist/cli/commands/test.d.ts +14 -0
- package/dist/{commands → cli/commands}/test.js +40 -24
- package/dist/{commands → cli/commands}/verify.js +4 -4
- package/dist/cli/index.d.ts +21 -0
- package/dist/cli/index.js +33 -0
- package/dist/index.d.ts +22 -11
- package/dist/index.js +15 -6
- package/dist/lib/agent-args.d.ts +1 -4
- package/dist/lib/agent-args.js +1 -52
- package/dist/lib/agent-constants.d.ts +1 -5
- package/dist/lib/agent-constants.js +1 -28
- package/dist/lib/agent-detection.d.ts +1 -7
- package/dist/lib/agent-detection.js +1 -65
- package/dist/lib/agent-execution.d.ts +1 -2
- package/dist/lib/agent-execution.js +1 -243
- package/dist/lib/agent-logs.d.ts +1 -2
- package/dist/lib/agent-logs.js +1 -17
- package/dist/lib/agent-preflight.d.ts +1 -7
- package/dist/lib/agent-preflight.js +1 -77
- package/dist/lib/agent-render.d.ts +1 -8
- package/dist/lib/agent-render.js +1 -218
- package/dist/lib/agent-shells.d.ts +1 -69
- package/dist/lib/agent-shells.js +1 -1021
- package/dist/lib/agent-status.d.ts +1 -3
- package/dist/lib/agent-status.js +1 -58
- package/dist/lib/agent-types.d.ts +1 -30
- package/dist/lib/agent-types.js +1 -1
- package/dist/lib/agents.d.ts +1 -6
- package/dist/lib/agents.js +1 -5
- package/dist/lib/builtin-compiled-workflow.d.ts +1 -38
- package/dist/lib/builtin-compiled-workflow.js +1 -94
- package/dist/lib/chart-guidance.d.ts +1 -1
- package/dist/lib/chart-guidance.js +1 -8
- package/dist/lib/compiled-compile.d.ts +1 -48
- package/dist/lib/compiled-compile.js +1 -255
- package/dist/lib/compiled-paths.d.ts +1 -40
- package/dist/lib/compiled-paths.js +3 -106
- package/dist/lib/compiled-raw.d.ts +1 -49
- package/dist/lib/compiled-raw.js +3 -102
- package/dist/lib/compiled-reset.d.ts +1 -2
- package/dist/lib/compiled-reset.js +3 -72
- package/dist/lib/compiled-schema.d.ts +1 -31
- package/dist/lib/compiled-schema.js +1 -141
- package/dist/lib/discovery.d.ts +1 -7
- package/dist/lib/discovery.js +1 -84
- package/dist/lib/execution-profile.d.ts +1 -17
- package/dist/lib/execution-profile.js +1 -84
- package/dist/lib/executors.d.ts +1 -32
- package/dist/lib/executors.js +1 -43
- package/dist/lib/filesystem.d.ts +1 -2
- package/dist/lib/filesystem.js +1 -55
- package/dist/lib/interf-bootstrap.d.ts +1 -3
- package/dist/lib/interf-bootstrap.js +3 -18
- package/dist/lib/interf-detect.d.ts +1 -33
- package/dist/lib/interf-detect.js +3 -176
- package/dist/lib/interf-scaffold.d.ts +1 -2
- package/dist/lib/interf-scaffold.js +3 -114
- package/dist/lib/interf-workflow-package.d.ts +1 -25
- package/dist/lib/interf-workflow-package.js +1 -342
- package/dist/lib/interf.d.ts +1 -5
- package/dist/lib/interf.js +3 -4
- package/dist/lib/local-workflows.d.ts +1 -54
- package/dist/lib/local-workflows.js +1 -422
- package/dist/lib/logger.d.ts +1 -3
- package/dist/lib/logger.js +1 -10
- package/dist/lib/package-root.d.ts +1 -0
- package/dist/lib/package-root.js +1 -0
- package/dist/lib/parse.d.ts +1 -8
- package/dist/lib/parse.js +1 -145
- package/dist/lib/project-paths.d.ts +1 -11
- package/dist/lib/project-paths.js +3 -32
- package/dist/lib/runtime-acceptance.d.ts +1 -9
- package/dist/lib/runtime-acceptance.js +1 -269
- package/dist/lib/runtime-contracts.d.ts +1 -2
- package/dist/lib/runtime-contracts.js +1 -48
- package/dist/lib/runtime-inventory.d.ts +1 -7
- package/dist/lib/runtime-inventory.js +1 -29
- package/dist/lib/runtime-paths.d.ts +1 -8
- package/dist/lib/runtime-paths.js +1 -26
- package/dist/lib/runtime-prompt.d.ts +1 -2
- package/dist/lib/runtime-prompt.js +1 -48
- package/dist/lib/runtime-reconcile.d.ts +1 -2
- package/dist/lib/runtime-reconcile.js +1 -193
- package/dist/lib/runtime-runs.d.ts +1 -11
- package/dist/lib/runtime-runs.js +1 -262
- package/dist/lib/runtime-types.d.ts +1 -43
- package/dist/lib/runtime-types.js +1 -1
- package/dist/lib/runtime.d.ts +1 -6
- package/dist/lib/runtime.js +1 -5
- package/dist/lib/schema.d.ts +4 -1073
- package/dist/lib/schema.js +6 -542
- package/dist/lib/source-config.d.ts +1 -39
- package/dist/lib/source-config.js +3 -293
- package/dist/lib/state-artifacts.d.ts +1 -8
- package/dist/lib/state-artifacts.js +1 -13
- package/dist/lib/state-health.d.ts +1 -4
- package/dist/lib/state-health.js +1 -132
- package/dist/lib/state-io.d.ts +1 -10
- package/dist/lib/state-io.js +1 -76
- package/dist/lib/state-paths.d.ts +1 -4
- package/dist/lib/state-paths.js +1 -13
- package/dist/lib/state-view.d.ts +1 -4
- package/dist/lib/state-view.js +1 -103
- package/dist/lib/state.d.ts +1 -7
- package/dist/lib/state.js +1 -12
- package/dist/lib/test-execution.d.ts +1 -14
- package/dist/lib/test-execution.js +3 -525
- package/dist/lib/test-matrices.d.ts +1 -90
- package/dist/lib/test-matrices.js +3 -96
- package/dist/lib/test-paths.d.ts +1 -12
- package/dist/lib/test-paths.js +3 -59
- package/dist/lib/test-profile-presets.d.ts +1 -57
- package/dist/lib/test-profile-presets.js +3 -50
- package/dist/lib/test-sandbox.d.ts +1 -11
- package/dist/lib/test-sandbox.js +3 -105
- package/dist/lib/test-specs.d.ts +1 -7
- package/dist/lib/test-specs.js +3 -114
- package/dist/lib/test-targets.d.ts +1 -5
- package/dist/lib/test-targets.js +3 -38
- package/dist/lib/test-types.d.ts +1 -17
- package/dist/lib/test-types.js +3 -1
- package/dist/lib/test.d.ts +1 -4
- package/dist/lib/test.js +3 -3
- package/dist/lib/util.d.ts +1 -4
- package/dist/lib/util.js +1 -25
- package/dist/lib/validate-compiled.d.ts +1 -27
- package/dist/lib/validate-compiled.js +1 -241
- package/dist/lib/validate-helpers.d.ts +1 -12
- package/dist/lib/validate-helpers.js +1 -41
- package/dist/lib/validate.d.ts +1 -21
- package/dist/lib/validate.js +1 -249
- package/dist/lib/workflow-authoring.d.ts +1 -26
- package/dist/lib/workflow-authoring.js +1 -119
- package/dist/lib/workflow-definitions.d.ts +1 -78
- package/dist/lib/workflow-definitions.js +1 -203
- package/dist/lib/workflow-edit-session.d.ts +1 -16
- package/dist/lib/workflow-edit-session.js +1 -57
- package/dist/lib/workflow-edit-utils.d.ts +1 -10
- package/dist/lib/workflow-edit-utils.js +1 -39
- package/dist/lib/workflow-helpers.d.ts +1 -38
- package/dist/lib/workflow-helpers.js +1 -167
- package/dist/lib/workflow-improvement.d.ts +1 -22
- package/dist/lib/workflow-improvement.js +1 -209
- package/dist/lib/workflow-primitives.d.ts +1 -2
- package/dist/lib/workflow-primitives.js +1 -5
- package/dist/lib/workflow-review-paths.d.ts +1 -10
- package/dist/lib/workflow-review-paths.js +1 -27
- package/dist/lib/workflow-stage-policy.d.ts +1 -5
- package/dist/lib/workflow-stage-policy.js +1 -31
- package/dist/lib/workflow-stage-runner.d.ts +1 -41
- package/dist/lib/workflow-stage-runner.js +1 -109
- package/dist/lib/workflows.d.ts +1 -15
- package/dist/lib/workflows.js +1 -31
- package/dist/packages/agents/index.d.ts +18 -0
- package/dist/packages/agents/index.js +16 -0
- package/dist/packages/agents/lib/agents.d.ts +6 -0
- package/dist/packages/agents/lib/agents.js +5 -0
- package/dist/packages/agents/lib/args.d.ts +4 -0
- package/dist/packages/agents/lib/args.js +52 -0
- package/dist/packages/agents/lib/chart-guidance.d.ts +1 -0
- package/dist/packages/agents/lib/chart-guidance.js +8 -0
- package/dist/packages/agents/lib/compiled-bootstrap.d.ts +3 -0
- package/dist/packages/agents/lib/compiled-bootstrap.js +18 -0
- package/dist/packages/agents/lib/constants.d.ts +5 -0
- package/dist/packages/agents/lib/constants.js +28 -0
- package/dist/packages/agents/lib/detection.d.ts +7 -0
- package/dist/packages/agents/lib/detection.js +65 -0
- package/dist/packages/agents/lib/execution-profile.d.ts +17 -0
- package/dist/packages/agents/lib/execution-profile.js +84 -0
- package/dist/packages/agents/lib/execution.d.ts +2 -0
- package/dist/packages/agents/lib/execution.js +243 -0
- package/dist/packages/agents/lib/executors.d.ts +32 -0
- package/dist/packages/agents/lib/executors.js +45 -0
- package/dist/packages/agents/lib/logs.d.ts +2 -0
- package/dist/packages/agents/lib/logs.js +17 -0
- package/dist/packages/agents/lib/preflight.d.ts +7 -0
- package/dist/packages/agents/lib/preflight.js +77 -0
- package/dist/packages/agents/lib/render.d.ts +8 -0
- package/dist/packages/agents/lib/render.js +218 -0
- package/dist/packages/agents/lib/schema.d.ts +8 -0
- package/dist/packages/agents/lib/schema.js +7 -0
- package/dist/packages/agents/lib/shells.d.ts +71 -0
- package/dist/packages/agents/lib/shells.js +1023 -0
- package/dist/packages/agents/lib/status.d.ts +3 -0
- package/dist/packages/agents/lib/status.js +58 -0
- package/dist/packages/agents/lib/types.d.ts +30 -0
- package/dist/packages/agents/lib/types.js +1 -0
- package/dist/{lib → packages/agents/lib}/user-config.d.ts +1 -0
- package/dist/{lib → packages/agents/lib}/user-config.js +3 -2
- package/dist/packages/compiler/compiled-compile.d.ts +4 -0
- package/dist/packages/compiler/compiled-compile.js +4 -0
- package/dist/packages/compiler/compiled-paths.d.ts +40 -0
- package/dist/packages/compiler/compiled-paths.js +106 -0
- package/dist/packages/compiler/compiled-pipeline.d.ts +39 -0
- package/dist/packages/compiler/compiled-pipeline.js +134 -0
- package/dist/packages/compiler/compiled-schema.d.ts +31 -0
- package/dist/packages/compiler/compiled-schema.js +141 -0
- package/dist/packages/compiler/compiled-stage-plan.d.ts +15 -0
- package/dist/packages/compiler/compiled-stage-plan.js +79 -0
- package/dist/packages/compiler/compiled-stage-runner.d.ts +10 -0
- package/dist/packages/compiler/compiled-stage-runner.js +46 -0
- package/dist/packages/compiler/compiled-target.d.ts +11 -0
- package/dist/packages/compiler/compiled-target.js +16 -0
- package/dist/packages/compiler/discovery.d.ts +7 -0
- package/dist/packages/compiler/discovery.js +80 -0
- package/dist/packages/compiler/index.d.ts +24 -0
- package/dist/packages/compiler/index.js +23 -0
- package/dist/packages/compiler/lib/schema.d.ts +684 -0
- package/dist/packages/compiler/lib/schema.js +363 -0
- package/dist/packages/compiler/raw-snapshot.d.ts +49 -0
- package/dist/packages/compiler/raw-snapshot.js +102 -0
- package/dist/packages/compiler/reset.d.ts +2 -0
- package/dist/packages/compiler/reset.js +72 -0
- package/dist/packages/compiler/runtime-acceptance.d.ts +9 -0
- package/dist/packages/compiler/runtime-acceptance.js +269 -0
- package/dist/packages/compiler/runtime-contracts.d.ts +2 -0
- package/dist/packages/compiler/runtime-contracts.js +48 -0
- package/dist/packages/compiler/runtime-inventory.d.ts +7 -0
- package/dist/packages/compiler/runtime-inventory.js +29 -0
- package/dist/packages/compiler/runtime-paths.d.ts +8 -0
- package/dist/packages/compiler/runtime-paths.js +26 -0
- package/dist/packages/compiler/runtime-prompt.d.ts +2 -0
- package/dist/packages/compiler/runtime-prompt.js +48 -0
- package/dist/packages/compiler/runtime-reconcile.d.ts +2 -0
- package/dist/packages/compiler/runtime-reconcile.js +193 -0
- package/dist/packages/compiler/runtime-runs.d.ts +11 -0
- package/dist/packages/compiler/runtime-runs.js +262 -0
- package/dist/packages/compiler/runtime-types.d.ts +43 -0
- package/dist/packages/compiler/runtime-types.js +1 -0
- package/dist/packages/compiler/runtime.d.ts +6 -0
- package/dist/packages/compiler/runtime.js +5 -0
- package/dist/packages/compiler/state-artifacts.d.ts +8 -0
- package/dist/packages/compiler/state-artifacts.js +13 -0
- package/dist/packages/compiler/state-health.d.ts +4 -0
- package/dist/packages/compiler/state-health.js +132 -0
- package/dist/packages/compiler/state-io.d.ts +10 -0
- package/dist/packages/compiler/state-io.js +76 -0
- package/dist/packages/compiler/state-paths.d.ts +4 -0
- package/dist/packages/compiler/state-paths.js +13 -0
- package/dist/packages/compiler/state-view.d.ts +4 -0
- package/dist/packages/compiler/state-view.js +103 -0
- package/dist/packages/compiler/state.d.ts +7 -0
- package/dist/packages/compiler/state.js +12 -0
- package/dist/packages/compiler/validate-compiled.d.ts +27 -0
- package/dist/packages/compiler/validate-compiled.js +241 -0
- package/dist/packages/compiler/validate-helpers.d.ts +12 -0
- package/dist/packages/compiler/validate-helpers.js +41 -0
- package/dist/packages/compiler/validate.d.ts +21 -0
- package/dist/packages/compiler/validate.js +249 -0
- package/dist/packages/compiler/workflow-primitives.d.ts +2 -0
- package/dist/packages/compiler/workflow-primitives.js +5 -0
- package/dist/packages/compiler/workflows.d.ts +15 -0
- package/dist/packages/compiler/workflows.js +31 -0
- package/dist/packages/project-model/compiled-paths.d.ts +1 -0
- package/dist/packages/project-model/compiled-paths.js +1 -0
- package/dist/packages/project-model/compiled-raw.d.ts +1 -0
- package/dist/packages/project-model/compiled-raw.js +1 -0
- package/dist/packages/project-model/compiled-reset.d.ts +1 -0
- package/dist/packages/project-model/compiled-reset.js +1 -0
- package/dist/packages/project-model/index.d.ts +11 -0
- package/dist/packages/project-model/index.js +10 -0
- package/dist/packages/project-model/interf-bootstrap.d.ts +1 -0
- package/dist/packages/project-model/interf-bootstrap.js +1 -0
- package/dist/packages/project-model/interf-detect.d.ts +33 -0
- package/dist/packages/project-model/interf-detect.js +176 -0
- package/dist/packages/project-model/interf-scaffold.d.ts +2 -0
- package/dist/packages/project-model/interf-scaffold.js +124 -0
- package/dist/packages/project-model/interf.d.ts +5 -0
- package/dist/packages/project-model/interf.js +4 -0
- package/dist/packages/project-model/lib/schema.d.ts +125 -0
- package/dist/packages/project-model/lib/schema.js +62 -0
- package/dist/packages/project-model/project-paths.d.ts +11 -0
- package/dist/packages/project-model/project-paths.js +32 -0
- package/dist/packages/project-model/source-config.d.ts +38 -0
- package/dist/packages/project-model/source-config.js +298 -0
- package/dist/packages/shared/file-types.d.ts +1 -0
- package/dist/packages/shared/file-types.js +4 -0
- package/dist/packages/shared/filesystem.d.ts +2 -0
- package/dist/packages/shared/filesystem.js +55 -0
- package/dist/packages/shared/index.d.ts +7 -0
- package/dist/packages/shared/index.js +7 -0
- package/dist/packages/shared/logger.d.ts +3 -0
- package/dist/packages/shared/logger.js +10 -0
- package/dist/packages/shared/naming.d.ts +1 -0
- package/dist/packages/shared/naming.js +8 -0
- package/dist/packages/shared/parse.d.ts +8 -0
- package/dist/packages/shared/parse.js +145 -0
- package/dist/packages/shared/path-guards.d.ts +2 -0
- package/dist/packages/shared/path-guards.js +14 -0
- package/dist/packages/shared/util.d.ts +3 -0
- package/dist/packages/shared/util.js +3 -0
- package/dist/packages/testing/index.d.ts +13 -0
- package/dist/packages/testing/index.js +10 -0
- package/dist/packages/testing/lib/schema.d.ts +261 -0
- package/dist/packages/testing/lib/schema.js +119 -0
- package/dist/packages/testing/test-execution.d.ts +14 -0
- package/dist/packages/testing/test-execution.js +525 -0
- package/dist/packages/testing/test-matrices.d.ts +90 -0
- package/dist/packages/testing/test-matrices.js +96 -0
- package/dist/packages/testing/test-paths.d.ts +12 -0
- package/dist/packages/testing/test-paths.js +59 -0
- package/dist/packages/testing/test-profile-presets.d.ts +57 -0
- package/dist/packages/testing/test-profile-presets.js +50 -0
- package/dist/packages/testing/test-sandbox.d.ts +11 -0
- package/dist/packages/testing/test-sandbox.js +105 -0
- package/dist/packages/testing/test-specs.d.ts +7 -0
- package/dist/packages/testing/test-specs.js +114 -0
- package/dist/packages/testing/test-targets.d.ts +5 -0
- package/dist/packages/testing/test-targets.js +38 -0
- package/dist/packages/testing/test-types.d.ts +16 -0
- package/dist/packages/testing/test-types.js +1 -0
- package/dist/packages/testing/test.d.ts +4 -0
- package/dist/packages/testing/test.js +3 -0
- package/dist/packages/workflow-authoring/index.d.ts +4 -0
- package/dist/packages/workflow-authoring/index.js +4 -0
- package/dist/packages/workflow-authoring/lib/workflow-edit-utils.d.ts +10 -0
- package/dist/packages/workflow-authoring/lib/workflow-edit-utils.js +39 -0
- package/dist/packages/workflow-authoring/workflow-authoring.d.ts +26 -0
- package/dist/packages/workflow-authoring/workflow-authoring.js +121 -0
- package/dist/packages/workflow-authoring/workflow-edit-session.d.ts +16 -0
- package/dist/packages/workflow-authoring/workflow-edit-session.js +57 -0
- package/dist/packages/workflow-authoring/workflow-improvement.d.ts +23 -0
- package/dist/packages/workflow-authoring/workflow-improvement.js +210 -0
- package/dist/packages/workflow-package/builtin-compiled-workflow.d.ts +38 -0
- package/dist/packages/workflow-package/builtin-compiled-workflow.js +94 -0
- package/dist/packages/workflow-package/context-interface.d.ts +96 -0
- package/dist/packages/workflow-package/context-interface.js +146 -0
- package/dist/packages/workflow-package/index.d.ts +11 -0
- package/dist/packages/workflow-package/index.js +11 -0
- package/dist/packages/workflow-package/interf-workflow-package.d.ts +25 -0
- package/dist/packages/workflow-package/interf-workflow-package.js +389 -0
- package/dist/{lib/config.d.ts → packages/workflow-package/lib/package-root.d.ts} +0 -1
- package/dist/packages/workflow-package/lib/package-root.js +6 -0
- package/dist/packages/workflow-package/local-workflows.d.ts +57 -0
- package/dist/packages/workflow-package/local-workflows.js +424 -0
- package/dist/packages/workflow-package/workflow-definitions.d.ts +82 -0
- package/dist/packages/workflow-package/workflow-definitions.js +210 -0
- package/dist/packages/workflow-package/workflow-helpers.d.ts +38 -0
- package/dist/packages/workflow-package/workflow-helpers.js +167 -0
- package/dist/packages/workflow-package/workflow-review-paths.d.ts +10 -0
- package/dist/packages/workflow-package/workflow-review-paths.js +27 -0
- package/dist/packages/workflow-package/workflow-stage-policy.d.ts +5 -0
- package/dist/packages/workflow-package/workflow-stage-policy.js +31 -0
- package/dist/packages/workflow-package/workflow-stage-runner.d.ts +41 -0
- package/dist/packages/workflow-package/workflow-stage-runner.js +109 -0
- package/package.json +43 -19
- package/dist/commands/test.d.ts +0 -3
- package/dist/lib/compiled-home.d.ts +0 -5
- package/dist/lib/compiled-home.js +0 -32
- package/dist/lib/config.js +0 -9
- /package/dist/{commands → cli/commands}/dataset-selection.js +0 -0
- /package/dist/{commands → cli/commands}/default.d.ts +0 -0
- /package/dist/{commands → cli/commands}/doctor.d.ts +0 -0
- /package/dist/{commands → cli/commands}/list.d.ts +0 -0
- /package/dist/{commands → cli/commands}/reset.d.ts +0 -0
- /package/dist/{commands → cli/commands}/status.d.ts +0 -0
- /package/dist/{commands → cli/commands}/verify.d.ts +0 -0
|
@@ -0,0 +1,684 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export type RuntimeStatus = "idle" | "running" | "compiled" | "stale" | "failed";
|
|
3
|
+
export type CompiledStage = "idle" | "compiled" | "failed" | string;
|
|
4
|
+
export declare const RuntimeTargetTypeSchema: z.ZodEnum<{
|
|
5
|
+
compiled: "compiled";
|
|
6
|
+
}>;
|
|
7
|
+
export declare const TestTargetTypeSchema: z.ZodEnum<{
|
|
8
|
+
compiled: "compiled";
|
|
9
|
+
raw: "raw";
|
|
10
|
+
}>;
|
|
11
|
+
export declare const WorkflowIdPattern: RegExp;
|
|
12
|
+
export declare const RuntimeStageSchema: z.ZodString;
|
|
13
|
+
export declare const RuntimeContractTypeSchema: z.ZodString;
|
|
14
|
+
export declare const WorkflowIdSchema: z.ZodString;
|
|
15
|
+
export declare const WorkflowZoneIdSchema: z.ZodString;
|
|
16
|
+
export declare const WorkflowCompiledZoneKindSchema: z.ZodEnum<{
|
|
17
|
+
runtime: "runtime";
|
|
18
|
+
directory: "directory";
|
|
19
|
+
file: "file";
|
|
20
|
+
}>;
|
|
21
|
+
export declare const WorkflowZoneRoleSchema: z.ZodEnum<{
|
|
22
|
+
output: "output";
|
|
23
|
+
runtime: "runtime";
|
|
24
|
+
input: "input";
|
|
25
|
+
working: "working";
|
|
26
|
+
}>;
|
|
27
|
+
export declare const CompiledStageStatusSchema: z.ZodEnum<{
|
|
28
|
+
idle: "idle";
|
|
29
|
+
running: "running";
|
|
30
|
+
failed: "failed";
|
|
31
|
+
succeeded: "succeeded";
|
|
32
|
+
}>;
|
|
33
|
+
export declare const SourceCompiledMaxAttemptsSchema: z.ZodNumber;
|
|
34
|
+
export declare const SourceCompiledMaxLoopsSchema: z.ZodNumber;
|
|
35
|
+
export declare const CompiledStageStateSchema: z.ZodObject<{
|
|
36
|
+
contract_type: z.ZodOptional<z.ZodString>;
|
|
37
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
idle: "idle";
|
|
39
|
+
running: "running";
|
|
40
|
+
failed: "failed";
|
|
41
|
+
succeeded: "succeeded";
|
|
42
|
+
}>>;
|
|
43
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
46
|
+
zone_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
47
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
48
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
export declare const CompiledStateSchema: z.ZodObject<{
|
|
52
|
+
version: z.ZodNumber;
|
|
53
|
+
pending: z.ZodArray<z.ZodString>;
|
|
54
|
+
stages: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
55
|
+
contract_type: z.ZodOptional<z.ZodString>;
|
|
56
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
57
|
+
idle: "idle";
|
|
58
|
+
running: "running";
|
|
59
|
+
failed: "failed";
|
|
60
|
+
succeeded: "succeeded";
|
|
61
|
+
}>>;
|
|
62
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
65
|
+
zone_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
66
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
67
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
}, z.core.$strip>>>;
|
|
70
|
+
last_add: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
+
last_compile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
+
warning_count: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
error_count: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
}, z.core.$strict>;
|
|
75
|
+
export declare const ViewSectionSchema: z.ZodObject<{
|
|
76
|
+
id: z.ZodString;
|
|
77
|
+
type: z.ZodEnum<{
|
|
78
|
+
status: "status";
|
|
79
|
+
cards: "cards";
|
|
80
|
+
graph: "graph";
|
|
81
|
+
documents: "documents";
|
|
82
|
+
table: "table";
|
|
83
|
+
}>;
|
|
84
|
+
title: z.ZodString;
|
|
85
|
+
path: z.ZodOptional<z.ZodString>;
|
|
86
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
export declare const ViewCardSchema: z.ZodObject<{
|
|
89
|
+
id: z.ZodString;
|
|
90
|
+
label: z.ZodString;
|
|
91
|
+
metric: z.ZodString;
|
|
92
|
+
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
93
|
+
format: z.ZodEnum<{
|
|
94
|
+
number: "number";
|
|
95
|
+
fraction: "fraction";
|
|
96
|
+
timestamp: "timestamp";
|
|
97
|
+
}>;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
export declare const CompiledHealthSchema: z.ZodObject<{
|
|
100
|
+
kind: z.ZodLiteral<"compiled-health">;
|
|
101
|
+
version: z.ZodNumber;
|
|
102
|
+
generated_at: z.ZodString;
|
|
103
|
+
target_name: z.ZodString;
|
|
104
|
+
status: z.ZodEnum<{
|
|
105
|
+
compiled: "compiled";
|
|
106
|
+
idle: "idle";
|
|
107
|
+
running: "running";
|
|
108
|
+
stale: "stale";
|
|
109
|
+
failed: "failed";
|
|
110
|
+
}>;
|
|
111
|
+
stage: z.ZodUnion<readonly [z.ZodEnum<{
|
|
112
|
+
compiled: "compiled";
|
|
113
|
+
idle: "idle";
|
|
114
|
+
failed: "failed";
|
|
115
|
+
}>, z.ZodString]>;
|
|
116
|
+
summary: z.ZodString;
|
|
117
|
+
metrics: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
118
|
+
checks: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
export declare const CompiledViewSpecSchema: z.ZodObject<{
|
|
121
|
+
kind: z.ZodLiteral<"compiled-view-spec">;
|
|
122
|
+
version: z.ZodNumber;
|
|
123
|
+
generated_at: z.ZodString;
|
|
124
|
+
target_name: z.ZodString;
|
|
125
|
+
health_source: z.ZodString;
|
|
126
|
+
state_source: z.ZodString;
|
|
127
|
+
default_note: z.ZodNullable<z.ZodString>;
|
|
128
|
+
graph_scope: z.ZodArray<z.ZodString>;
|
|
129
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
130
|
+
id: z.ZodString;
|
|
131
|
+
label: z.ZodString;
|
|
132
|
+
metric: z.ZodString;
|
|
133
|
+
denominator_metric: z.ZodOptional<z.ZodString>;
|
|
134
|
+
format: z.ZodEnum<{
|
|
135
|
+
number: "number";
|
|
136
|
+
fraction: "fraction";
|
|
137
|
+
timestamp: "timestamp";
|
|
138
|
+
}>;
|
|
139
|
+
}, z.core.$strip>>;
|
|
140
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
141
|
+
id: z.ZodString;
|
|
142
|
+
type: z.ZodEnum<{
|
|
143
|
+
status: "status";
|
|
144
|
+
cards: "cards";
|
|
145
|
+
graph: "graph";
|
|
146
|
+
documents: "documents";
|
|
147
|
+
table: "table";
|
|
148
|
+
}>;
|
|
149
|
+
title: z.ZodString;
|
|
150
|
+
path: z.ZodOptional<z.ZodString>;
|
|
151
|
+
paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
152
|
+
}, z.core.$strip>>;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
export declare const CompiledRawSnapshotSchema: z.ZodObject<{
|
|
155
|
+
kind: z.ZodLiteral<"compiled-raw-snapshot">;
|
|
156
|
+
version: z.ZodLiteral<1>;
|
|
157
|
+
generated_at: z.ZodString;
|
|
158
|
+
target_name: z.ZodString;
|
|
159
|
+
source_root: z.ZodString;
|
|
160
|
+
raw_root: z.ZodString;
|
|
161
|
+
source_total: z.ZodNumber;
|
|
162
|
+
sample_files: z.ZodArray<z.ZodString>;
|
|
163
|
+
}, z.core.$strip>;
|
|
164
|
+
export declare const WorkflowPurposeSchema: z.ZodObject<{
|
|
165
|
+
label: z.ZodString;
|
|
166
|
+
task_hint: z.ZodString;
|
|
167
|
+
}, z.core.$strict>;
|
|
168
|
+
export declare const WorkflowZoneSchema: z.ZodObject<{
|
|
169
|
+
id: z.ZodString;
|
|
170
|
+
role: z.ZodEnum<{
|
|
171
|
+
output: "output";
|
|
172
|
+
runtime: "runtime";
|
|
173
|
+
input: "input";
|
|
174
|
+
working: "working";
|
|
175
|
+
}>;
|
|
176
|
+
path: z.ZodString;
|
|
177
|
+
kind: z.ZodEnum<{
|
|
178
|
+
runtime: "runtime";
|
|
179
|
+
directory: "directory";
|
|
180
|
+
file: "file";
|
|
181
|
+
}>;
|
|
182
|
+
required: z.ZodBoolean;
|
|
183
|
+
owned_by: z.ZodArray<z.ZodString>;
|
|
184
|
+
description: z.ZodString;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
export declare const WorkflowCompiledZoneSchema: z.ZodObject<{
|
|
187
|
+
id: z.ZodString;
|
|
188
|
+
role: z.ZodEnum<{
|
|
189
|
+
output: "output";
|
|
190
|
+
runtime: "runtime";
|
|
191
|
+
input: "input";
|
|
192
|
+
working: "working";
|
|
193
|
+
}>;
|
|
194
|
+
path: z.ZodString;
|
|
195
|
+
kind: z.ZodEnum<{
|
|
196
|
+
runtime: "runtime";
|
|
197
|
+
directory: "directory";
|
|
198
|
+
file: "file";
|
|
199
|
+
}>;
|
|
200
|
+
required: z.ZodBoolean;
|
|
201
|
+
owned_by: z.ZodArray<z.ZodString>;
|
|
202
|
+
description: z.ZodString;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
export declare const WorkflowSchemaSchema: z.ZodObject<{
|
|
205
|
+
kind: z.ZodLiteral<"workflow-schema">;
|
|
206
|
+
version: z.ZodLiteral<1>;
|
|
207
|
+
target_type: z.ZodLiteral<"compiled">;
|
|
208
|
+
label: z.ZodString;
|
|
209
|
+
zones: z.ZodArray<z.ZodObject<{
|
|
210
|
+
id: z.ZodString;
|
|
211
|
+
role: z.ZodEnum<{
|
|
212
|
+
output: "output";
|
|
213
|
+
runtime: "runtime";
|
|
214
|
+
input: "input";
|
|
215
|
+
working: "working";
|
|
216
|
+
}>;
|
|
217
|
+
path: z.ZodString;
|
|
218
|
+
kind: z.ZodEnum<{
|
|
219
|
+
runtime: "runtime";
|
|
220
|
+
directory: "directory";
|
|
221
|
+
file: "file";
|
|
222
|
+
}>;
|
|
223
|
+
required: z.ZodBoolean;
|
|
224
|
+
owned_by: z.ZodArray<z.ZodString>;
|
|
225
|
+
description: z.ZodString;
|
|
226
|
+
}, z.core.$strip>>;
|
|
227
|
+
}, z.core.$strip>;
|
|
228
|
+
export declare const WorkflowCompiledSchemaSchema: z.ZodObject<{
|
|
229
|
+
kind: z.ZodLiteral<"workflow-schema">;
|
|
230
|
+
version: z.ZodLiteral<1>;
|
|
231
|
+
target_type: z.ZodLiteral<"compiled">;
|
|
232
|
+
label: z.ZodString;
|
|
233
|
+
zones: z.ZodArray<z.ZodObject<{
|
|
234
|
+
id: z.ZodString;
|
|
235
|
+
role: z.ZodEnum<{
|
|
236
|
+
output: "output";
|
|
237
|
+
runtime: "runtime";
|
|
238
|
+
input: "input";
|
|
239
|
+
working: "working";
|
|
240
|
+
}>;
|
|
241
|
+
path: z.ZodString;
|
|
242
|
+
kind: z.ZodEnum<{
|
|
243
|
+
runtime: "runtime";
|
|
244
|
+
directory: "directory";
|
|
245
|
+
file: "file";
|
|
246
|
+
}>;
|
|
247
|
+
required: z.ZodBoolean;
|
|
248
|
+
owned_by: z.ZodArray<z.ZodString>;
|
|
249
|
+
description: z.ZodString;
|
|
250
|
+
}, z.core.$strip>>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
export declare const WorkflowCompilerApiSchema: z.ZodObject<{
|
|
253
|
+
kind: z.ZodLiteral<"compiled">;
|
|
254
|
+
version: z.ZodLiteral<1>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
export type WorkflowCompilerApi = z.infer<typeof WorkflowCompilerApiSchema>;
|
|
257
|
+
export declare const WorkflowStageZoneAccessSchema: z.ZodArray<z.ZodString>;
|
|
258
|
+
export declare const ExecutionShellZoneMountSchema: z.ZodObject<{
|
|
259
|
+
zone_id: z.ZodString;
|
|
260
|
+
compiled_path: z.ZodString;
|
|
261
|
+
shell_root_path: z.ZodString;
|
|
262
|
+
input_mount_path: z.ZodNullable<z.ZodString>;
|
|
263
|
+
output_mount_path: z.ZodNullable<z.ZodString>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
export declare const ExecutionShellPathsSchema: z.ZodObject<{
|
|
266
|
+
kind: z.ZodLiteral<"interf-execution-shell">;
|
|
267
|
+
version: z.ZodLiteral<1>;
|
|
268
|
+
workflow: z.ZodString;
|
|
269
|
+
stage: z.ZodString;
|
|
270
|
+
reads: z.ZodArray<z.ZodObject<{
|
|
271
|
+
zone_id: z.ZodString;
|
|
272
|
+
compiled_path: z.ZodString;
|
|
273
|
+
shell_root_path: z.ZodString;
|
|
274
|
+
input_mount_path: z.ZodNullable<z.ZodString>;
|
|
275
|
+
output_mount_path: z.ZodNullable<z.ZodString>;
|
|
276
|
+
}, z.core.$strip>>;
|
|
277
|
+
writes: z.ZodArray<z.ZodObject<{
|
|
278
|
+
zone_id: z.ZodString;
|
|
279
|
+
compiled_path: z.ZodString;
|
|
280
|
+
shell_root_path: z.ZodString;
|
|
281
|
+
input_mount_path: z.ZodNullable<z.ZodString>;
|
|
282
|
+
output_mount_path: z.ZodNullable<z.ZodString>;
|
|
283
|
+
}, z.core.$strip>>;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
export declare const RuntimeExecutorInfoSchema: z.ZodObject<{
|
|
286
|
+
kind: z.ZodEnum<{
|
|
287
|
+
"local-agent": "local-agent";
|
|
288
|
+
"connected-provider": "connected-provider";
|
|
289
|
+
managed: "managed";
|
|
290
|
+
}>;
|
|
291
|
+
name: z.ZodString;
|
|
292
|
+
display_name: z.ZodString;
|
|
293
|
+
command: z.ZodNullable<z.ZodString>;
|
|
294
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
295
|
+
effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
296
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
297
|
+
timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
298
|
+
}, z.core.$strip>;
|
|
299
|
+
export declare const RuntimeStageInstructionsSchema: z.ZodObject<{
|
|
300
|
+
stage_skill_dir: z.ZodString;
|
|
301
|
+
effective_mode: z.ZodEnum<{
|
|
302
|
+
builtin: "builtin";
|
|
303
|
+
extend: "extend";
|
|
304
|
+
override: "override";
|
|
305
|
+
}>;
|
|
306
|
+
local_mode: z.ZodNullable<z.ZodEnum<{
|
|
307
|
+
extend: "extend";
|
|
308
|
+
override: "override";
|
|
309
|
+
}>>;
|
|
310
|
+
local_docs: z.ZodArray<z.ZodString>;
|
|
311
|
+
mode_sources: z.ZodArray<z.ZodString>;
|
|
312
|
+
}, z.core.$strict>;
|
|
313
|
+
export declare const RuntimeStageAcceptanceSchema: z.ZodObject<{
|
|
314
|
+
artifacts_exist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
315
|
+
stage_truthy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
316
|
+
stage_equals_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
317
|
+
stage_at_least: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
318
|
+
stage_at_least_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
319
|
+
zone_counts_at_least: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
320
|
+
zone_counts_at_least_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
321
|
+
markdown_frontmatter_valid_zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
322
|
+
frontmatter_required_keys_in_zones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
323
|
+
markdown_abstract_valid_zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
324
|
+
wikilinks_valid_in_zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
325
|
+
artifacts_must_not_contain: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
326
|
+
}, z.core.$strict>;
|
|
327
|
+
export declare const RuntimeStageContractSchema: z.ZodObject<{
|
|
328
|
+
kind: z.ZodLiteral<"interf-stage-contract">;
|
|
329
|
+
version: z.ZodLiteral<1>;
|
|
330
|
+
generated_at: z.ZodString;
|
|
331
|
+
run_id: z.ZodString;
|
|
332
|
+
target_type: z.ZodEnum<{
|
|
333
|
+
compiled: "compiled";
|
|
334
|
+
}>;
|
|
335
|
+
target_name: z.ZodString;
|
|
336
|
+
workflow: z.ZodObject<{
|
|
337
|
+
id: z.ZodString;
|
|
338
|
+
stage_index: z.ZodNullable<z.ZodNumber>;
|
|
339
|
+
stage_total: z.ZodNumber;
|
|
340
|
+
stages: z.ZodArray<z.ZodString>;
|
|
341
|
+
}, z.core.$strip>;
|
|
342
|
+
stage: z.ZodString;
|
|
343
|
+
stage_label: z.ZodString;
|
|
344
|
+
contract_type: z.ZodString;
|
|
345
|
+
executor: z.ZodObject<{
|
|
346
|
+
kind: z.ZodEnum<{
|
|
347
|
+
"local-agent": "local-agent";
|
|
348
|
+
"connected-provider": "connected-provider";
|
|
349
|
+
managed: "managed";
|
|
350
|
+
}>;
|
|
351
|
+
name: z.ZodString;
|
|
352
|
+
display_name: z.ZodString;
|
|
353
|
+
command: z.ZodNullable<z.ZodString>;
|
|
354
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
355
|
+
effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
356
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
357
|
+
timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
358
|
+
}, z.core.$strip>;
|
|
359
|
+
instructions: z.ZodObject<{
|
|
360
|
+
stage_skill_dir: z.ZodString;
|
|
361
|
+
effective_mode: z.ZodEnum<{
|
|
362
|
+
builtin: "builtin";
|
|
363
|
+
extend: "extend";
|
|
364
|
+
override: "override";
|
|
365
|
+
}>;
|
|
366
|
+
local_mode: z.ZodNullable<z.ZodEnum<{
|
|
367
|
+
extend: "extend";
|
|
368
|
+
override: "override";
|
|
369
|
+
}>>;
|
|
370
|
+
local_docs: z.ZodArray<z.ZodString>;
|
|
371
|
+
mode_sources: z.ZodArray<z.ZodString>;
|
|
372
|
+
}, z.core.$strict>;
|
|
373
|
+
counts: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
374
|
+
acceptance: z.ZodOptional<z.ZodObject<{
|
|
375
|
+
artifacts_exist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
376
|
+
stage_truthy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
377
|
+
stage_equals_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
378
|
+
stage_at_least: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
379
|
+
stage_at_least_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
380
|
+
zone_counts_at_least: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
381
|
+
zone_counts_at_least_counts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
382
|
+
markdown_frontmatter_valid_zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
383
|
+
frontmatter_required_keys_in_zones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
384
|
+
markdown_abstract_valid_zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
385
|
+
wikilinks_valid_in_zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
386
|
+
artifacts_must_not_contain: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
387
|
+
}, z.core.$strict>>;
|
|
388
|
+
artifacts: z.ZodObject<{
|
|
389
|
+
reads: z.ZodArray<z.ZodString>;
|
|
390
|
+
writes: z.ZodArray<z.ZodString>;
|
|
391
|
+
verifies: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
392
|
+
}, z.core.$strip>;
|
|
393
|
+
policies: z.ZodObject<{
|
|
394
|
+
execution_mode: z.ZodLiteral<"deterministic">;
|
|
395
|
+
status_prefixes: z.ZodArray<z.ZodString>;
|
|
396
|
+
notes: z.ZodArray<z.ZodString>;
|
|
397
|
+
evidence_weighting: z.ZodOptional<z.ZodObject<{
|
|
398
|
+
required_fields: z.ZodArray<z.ZodString>;
|
|
399
|
+
preserve_tiers: z.ZodBoolean;
|
|
400
|
+
}, z.core.$strip>>;
|
|
401
|
+
working_set: z.ZodOptional<z.ZodObject<{
|
|
402
|
+
target_context_fraction: z.ZodNumber;
|
|
403
|
+
strategy: z.ZodString;
|
|
404
|
+
}, z.core.$strip>>;
|
|
405
|
+
}, z.core.$strip>;
|
|
406
|
+
}, z.core.$strip>;
|
|
407
|
+
export declare const RuntimeRunSchema: z.ZodObject<{
|
|
408
|
+
kind: z.ZodLiteral<"interf-run">;
|
|
409
|
+
version: z.ZodLiteral<1>;
|
|
410
|
+
run_id: z.ZodString;
|
|
411
|
+
target_type: z.ZodEnum<{
|
|
412
|
+
compiled: "compiled";
|
|
413
|
+
}>;
|
|
414
|
+
target_name: z.ZodString;
|
|
415
|
+
workflow: z.ZodString;
|
|
416
|
+
stage: z.ZodString;
|
|
417
|
+
stage_label: z.ZodString;
|
|
418
|
+
contract_type: z.ZodString;
|
|
419
|
+
status: z.ZodEnum<{
|
|
420
|
+
running: "running";
|
|
421
|
+
failed: "failed";
|
|
422
|
+
succeeded: "succeeded";
|
|
423
|
+
}>;
|
|
424
|
+
executor: z.ZodObject<{
|
|
425
|
+
kind: z.ZodEnum<{
|
|
426
|
+
"local-agent": "local-agent";
|
|
427
|
+
"connected-provider": "connected-provider";
|
|
428
|
+
managed: "managed";
|
|
429
|
+
}>;
|
|
430
|
+
name: z.ZodString;
|
|
431
|
+
display_name: z.ZodString;
|
|
432
|
+
command: z.ZodNullable<z.ZodString>;
|
|
433
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
434
|
+
effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
435
|
+
profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
436
|
+
timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
437
|
+
}, z.core.$strip>;
|
|
438
|
+
started_at: z.ZodString;
|
|
439
|
+
updated_at: z.ZodString;
|
|
440
|
+
finished_at: z.ZodNullable<z.ZodString>;
|
|
441
|
+
contract_path: z.ZodString;
|
|
442
|
+
execution_path: z.ZodOptional<z.ZodString>;
|
|
443
|
+
counts: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
444
|
+
output_artifacts: z.ZodArray<z.ZodString>;
|
|
445
|
+
logs: z.ZodOptional<z.ZodObject<{
|
|
446
|
+
prompt_path: z.ZodString;
|
|
447
|
+
event_stream_path: z.ZodString;
|
|
448
|
+
status_path: z.ZodOptional<z.ZodString>;
|
|
449
|
+
}, z.core.$strip>>;
|
|
450
|
+
summary: z.ZodString;
|
|
451
|
+
exit_code: z.ZodNullable<z.ZodNumber>;
|
|
452
|
+
error: z.ZodNullable<z.ZodString>;
|
|
453
|
+
}, z.core.$strip>;
|
|
454
|
+
export declare const CompiledInventoryEntrySchema: z.ZodObject<{
|
|
455
|
+
input_zone: z.ZodOptional<z.ZodString>;
|
|
456
|
+
input_path: z.ZodOptional<z.ZodString>;
|
|
457
|
+
output_zone: z.ZodString;
|
|
458
|
+
output_path: z.ZodString;
|
|
459
|
+
state: z.ZodOptional<z.ZodString>;
|
|
460
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
461
|
+
}, z.core.$strict>;
|
|
462
|
+
export declare const CompiledInventorySchema: z.ZodObject<{
|
|
463
|
+
kind: z.ZodOptional<z.ZodLiteral<"compiled-runtime-ledger">>;
|
|
464
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
465
|
+
stage: z.ZodOptional<z.ZodString>;
|
|
466
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
467
|
+
input_zone: z.ZodOptional<z.ZodString>;
|
|
468
|
+
input_path: z.ZodOptional<z.ZodString>;
|
|
469
|
+
output_zone: z.ZodString;
|
|
470
|
+
output_path: z.ZodString;
|
|
471
|
+
state: z.ZodOptional<z.ZodString>;
|
|
472
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
473
|
+
}, z.core.$strict>>;
|
|
474
|
+
total: z.ZodNumber;
|
|
475
|
+
}, z.core.$strip>;
|
|
476
|
+
export declare const TestCaseExpectSchema: z.ZodObject<{
|
|
477
|
+
must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
478
|
+
must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
479
|
+
must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
480
|
+
min_words: z.ZodOptional<z.ZodNumber>;
|
|
481
|
+
max_words: z.ZodOptional<z.ZodNumber>;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
export declare const WorkflowImprovementLoopSummarySchema: z.ZodObject<{
|
|
484
|
+
variation: z.ZodNumber;
|
|
485
|
+
kind: z.ZodEnum<{
|
|
486
|
+
baseline: "baseline";
|
|
487
|
+
edited: "edited";
|
|
488
|
+
}>;
|
|
489
|
+
attempts_run: z.ZodNumber;
|
|
490
|
+
passed: z.ZodBoolean;
|
|
491
|
+
passed_questions: z.ZodNumber;
|
|
492
|
+
total_questions: z.ZodNumber;
|
|
493
|
+
failed_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
494
|
+
test_run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
495
|
+
test_sandbox_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
496
|
+
summary: z.ZodString;
|
|
497
|
+
}, z.core.$strip>;
|
|
498
|
+
export declare const WorkflowImprovementContextSchema: z.ZodObject<{
|
|
499
|
+
kind: z.ZodLiteral<"interf-workflow-improvement-loop">;
|
|
500
|
+
version: z.ZodLiteral<1>;
|
|
501
|
+
generated_at: z.ZodString;
|
|
502
|
+
target_name: z.ZodString;
|
|
503
|
+
workflow_id: z.ZodString;
|
|
504
|
+
loop_index: z.ZodNumber;
|
|
505
|
+
max_loops: z.ZodNumber;
|
|
506
|
+
max_attempts: z.ZodNumber;
|
|
507
|
+
review_paths: z.ZodObject<{
|
|
508
|
+
workflow_root: z.ZodString;
|
|
509
|
+
compiled_runtime: z.ZodNullable<z.ZodString>;
|
|
510
|
+
test_comparisons: z.ZodNullable<z.ZodString>;
|
|
511
|
+
execution_shells: z.ZodNullable<z.ZodString>;
|
|
512
|
+
test_runs: z.ZodNullable<z.ZodString>;
|
|
513
|
+
test_sandboxes: z.ZodNullable<z.ZodString>;
|
|
514
|
+
}, z.core.$strip>;
|
|
515
|
+
truth_checks: z.ZodObject<{
|
|
516
|
+
count: z.ZodNumber;
|
|
517
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
518
|
+
id: z.ZodString;
|
|
519
|
+
question: z.ZodString;
|
|
520
|
+
}, z.core.$strip>>;
|
|
521
|
+
}, z.core.$strip>;
|
|
522
|
+
previous_variations: z.ZodArray<z.ZodObject<{
|
|
523
|
+
variation: z.ZodNumber;
|
|
524
|
+
kind: z.ZodEnum<{
|
|
525
|
+
baseline: "baseline";
|
|
526
|
+
edited: "edited";
|
|
527
|
+
}>;
|
|
528
|
+
attempts_run: z.ZodNumber;
|
|
529
|
+
passed: z.ZodBoolean;
|
|
530
|
+
passed_questions: z.ZodNumber;
|
|
531
|
+
total_questions: z.ZodNumber;
|
|
532
|
+
failed_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
533
|
+
test_run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
534
|
+
test_sandbox_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
535
|
+
summary: z.ZodString;
|
|
536
|
+
}, z.core.$strip>>;
|
|
537
|
+
latest_failure: z.ZodNullable<z.ZodObject<{
|
|
538
|
+
variation: z.ZodNumber;
|
|
539
|
+
kind: z.ZodEnum<{
|
|
540
|
+
baseline: "baseline";
|
|
541
|
+
edited: "edited";
|
|
542
|
+
}>;
|
|
543
|
+
attempts_run: z.ZodNumber;
|
|
544
|
+
passed: z.ZodBoolean;
|
|
545
|
+
passed_questions: z.ZodNumber;
|
|
546
|
+
total_questions: z.ZodNumber;
|
|
547
|
+
failed_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
548
|
+
test_run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
549
|
+
test_sandbox_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
550
|
+
summary: z.ZodString;
|
|
551
|
+
}, z.core.$strip>>;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
export type WorkflowImprovementLoopSummary = z.infer<typeof WorkflowImprovementLoopSummarySchema>;
|
|
554
|
+
export type WorkflowImprovementContext = z.infer<typeof WorkflowImprovementContextSchema>;
|
|
555
|
+
export declare const PreservedShellTypeSchema: z.ZodEnum<{
|
|
556
|
+
"stage-execution": "stage-execution";
|
|
557
|
+
"workflow-improvement": "workflow-improvement";
|
|
558
|
+
}>;
|
|
559
|
+
export declare const PreservedShellSnapshotSchema: z.ZodObject<{
|
|
560
|
+
kind: z.ZodLiteral<"interf-preserved-shell">;
|
|
561
|
+
version: z.ZodLiteral<1>;
|
|
562
|
+
shell_type: z.ZodEnum<{
|
|
563
|
+
"stage-execution": "stage-execution";
|
|
564
|
+
"workflow-improvement": "workflow-improvement";
|
|
565
|
+
}>;
|
|
566
|
+
generated_at: z.ZodString;
|
|
567
|
+
root_path: z.ZodString;
|
|
568
|
+
materialized_symlinks: z.ZodNumber;
|
|
569
|
+
}, z.core.$strip>;
|
|
570
|
+
export declare const WorkflowPackageValidationSchema: z.ZodObject<{
|
|
571
|
+
ok: z.ZodBoolean;
|
|
572
|
+
summary: z.ZodString;
|
|
573
|
+
errors: z.ZodArray<z.ZodString>;
|
|
574
|
+
counts: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
575
|
+
}, z.core.$strip>;
|
|
576
|
+
export declare const WorkflowImprovementLoopRecordSchema: z.ZodObject<{
|
|
577
|
+
kind: z.ZodLiteral<"interf-workflow-improvement-loop-record">;
|
|
578
|
+
version: z.ZodLiteral<1>;
|
|
579
|
+
recorded_at: z.ZodString;
|
|
580
|
+
run_id: z.ZodString;
|
|
581
|
+
loop_index: z.ZodNumber;
|
|
582
|
+
target_name: z.ZodString;
|
|
583
|
+
workflow_id: z.ZodString;
|
|
584
|
+
result: z.ZodEnum<{
|
|
585
|
+
updated: "updated";
|
|
586
|
+
"no-change": "no-change";
|
|
587
|
+
invalid: "invalid";
|
|
588
|
+
"executor-failed": "executor-failed";
|
|
589
|
+
}>;
|
|
590
|
+
changed: z.ZodBoolean;
|
|
591
|
+
applied: z.ZodBoolean;
|
|
592
|
+
summary: z.ZodString;
|
|
593
|
+
shell_path: z.ZodString;
|
|
594
|
+
loop_root_path: z.ZodString;
|
|
595
|
+
context_path: z.ZodString;
|
|
596
|
+
workflow_before_path: z.ZodString;
|
|
597
|
+
workflow_after_path: z.ZodString;
|
|
598
|
+
prompt_log_path: z.ZodString;
|
|
599
|
+
event_log_path: z.ZodString;
|
|
600
|
+
status_log_path: z.ZodString;
|
|
601
|
+
preserved_shell_manifest_path: z.ZodNullable<z.ZodString>;
|
|
602
|
+
validation: z.ZodNullable<z.ZodObject<{
|
|
603
|
+
ok: z.ZodBoolean;
|
|
604
|
+
summary: z.ZodString;
|
|
605
|
+
errors: z.ZodArray<z.ZodString>;
|
|
606
|
+
counts: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
607
|
+
}, z.core.$strip>>;
|
|
608
|
+
}, z.core.$strip>;
|
|
609
|
+
export declare const WorkflowImprovementRunLedgerSchema: z.ZodObject<{
|
|
610
|
+
kind: z.ZodLiteral<"interf-workflow-improvement-run">;
|
|
611
|
+
version: z.ZodLiteral<1>;
|
|
612
|
+
generated_at: z.ZodString;
|
|
613
|
+
updated_at: z.ZodString;
|
|
614
|
+
run_id: z.ZodString;
|
|
615
|
+
target_name: z.ZodString;
|
|
616
|
+
workflow_id: z.ZodString;
|
|
617
|
+
max_loops: z.ZodNumber;
|
|
618
|
+
max_attempts: z.ZodNumber;
|
|
619
|
+
loops: z.ZodArray<z.ZodObject<{
|
|
620
|
+
kind: z.ZodLiteral<"interf-workflow-improvement-loop-record">;
|
|
621
|
+
version: z.ZodLiteral<1>;
|
|
622
|
+
recorded_at: z.ZodString;
|
|
623
|
+
run_id: z.ZodString;
|
|
624
|
+
loop_index: z.ZodNumber;
|
|
625
|
+
target_name: z.ZodString;
|
|
626
|
+
workflow_id: z.ZodString;
|
|
627
|
+
result: z.ZodEnum<{
|
|
628
|
+
updated: "updated";
|
|
629
|
+
"no-change": "no-change";
|
|
630
|
+
invalid: "invalid";
|
|
631
|
+
"executor-failed": "executor-failed";
|
|
632
|
+
}>;
|
|
633
|
+
changed: z.ZodBoolean;
|
|
634
|
+
applied: z.ZodBoolean;
|
|
635
|
+
summary: z.ZodString;
|
|
636
|
+
shell_path: z.ZodString;
|
|
637
|
+
loop_root_path: z.ZodString;
|
|
638
|
+
context_path: z.ZodString;
|
|
639
|
+
workflow_before_path: z.ZodString;
|
|
640
|
+
workflow_after_path: z.ZodString;
|
|
641
|
+
prompt_log_path: z.ZodString;
|
|
642
|
+
event_log_path: z.ZodString;
|
|
643
|
+
status_log_path: z.ZodString;
|
|
644
|
+
preserved_shell_manifest_path: z.ZodNullable<z.ZodString>;
|
|
645
|
+
validation: z.ZodNullable<z.ZodObject<{
|
|
646
|
+
ok: z.ZodBoolean;
|
|
647
|
+
summary: z.ZodString;
|
|
648
|
+
errors: z.ZodArray<z.ZodString>;
|
|
649
|
+
counts: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
650
|
+
}, z.core.$strip>>;
|
|
651
|
+
}, z.core.$strip>>;
|
|
652
|
+
}, z.core.$strip>;
|
|
653
|
+
export type PreservedShellType = z.infer<typeof PreservedShellTypeSchema>;
|
|
654
|
+
export type PreservedShellSnapshot = z.infer<typeof PreservedShellSnapshotSchema>;
|
|
655
|
+
export type WorkflowPackageValidation = z.infer<typeof WorkflowPackageValidationSchema>;
|
|
656
|
+
export type WorkflowImprovementLoopRecord = z.infer<typeof WorkflowImprovementLoopRecordSchema>;
|
|
657
|
+
export type WorkflowImprovementRunLedger = z.infer<typeof WorkflowImprovementRunLedgerSchema>;
|
|
658
|
+
export type CompiledState = z.infer<typeof CompiledStateSchema>;
|
|
659
|
+
export type ViewSection = z.infer<typeof ViewSectionSchema>;
|
|
660
|
+
export type ViewCard = z.infer<typeof ViewCardSchema>;
|
|
661
|
+
export type CompiledHealth = z.infer<typeof CompiledHealthSchema>;
|
|
662
|
+
export type CompiledViewSpec = z.infer<typeof CompiledViewSpecSchema>;
|
|
663
|
+
export type CompiledRawSnapshot = z.infer<typeof CompiledRawSnapshotSchema>;
|
|
664
|
+
export type WorkflowCompiledZone = z.infer<typeof WorkflowCompiledZoneSchema>;
|
|
665
|
+
export type WorkflowCompiledSchema = z.infer<typeof WorkflowCompiledSchemaSchema>;
|
|
666
|
+
export type WorkflowCompiledZoneKind = z.infer<typeof WorkflowCompiledZoneKindSchema>;
|
|
667
|
+
export type WorkflowZoneId = z.infer<typeof WorkflowZoneIdSchema>;
|
|
668
|
+
export type ExecutionShellZoneMount = z.infer<typeof ExecutionShellZoneMountSchema>;
|
|
669
|
+
export type ExecutionShellPaths = z.infer<typeof ExecutionShellPathsSchema>;
|
|
670
|
+
export type RuntimeExecutorInfo = z.infer<typeof RuntimeExecutorInfoSchema>;
|
|
671
|
+
export type RuntimeTargetType = z.infer<typeof RuntimeTargetTypeSchema>;
|
|
672
|
+
export type TestTargetType = z.infer<typeof TestTargetTypeSchema>;
|
|
673
|
+
export type RuntimeStage = z.infer<typeof RuntimeStageSchema>;
|
|
674
|
+
export type RuntimeContractType = z.infer<typeof RuntimeContractTypeSchema>;
|
|
675
|
+
export type WorkflowId = z.infer<typeof WorkflowIdSchema>;
|
|
676
|
+
export type LocalInstructionMode = "extend" | "override";
|
|
677
|
+
export type RuntimeInstructionMode = "builtin" | LocalInstructionMode;
|
|
678
|
+
export type RuntimeStageInstructions = z.infer<typeof RuntimeStageInstructionsSchema>;
|
|
679
|
+
export type RuntimeStageAcceptance = z.infer<typeof RuntimeStageAcceptanceSchema>;
|
|
680
|
+
export type RuntimeStageContract = z.infer<typeof RuntimeStageContractSchema>;
|
|
681
|
+
export type RuntimeRun = z.infer<typeof RuntimeRunSchema>;
|
|
682
|
+
export type CompiledInventoryEntry = z.infer<typeof CompiledInventoryEntrySchema>;
|
|
683
|
+
export type CompiledInventory = z.infer<typeof CompiledInventorySchema>;
|
|
684
|
+
export type TestCaseExpect = z.infer<typeof TestCaseExpectSchema>;
|