@interf/compiler 0.13.0 → 0.18.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/LICENSE.md +1 -0
- package/README.md +50 -7
- package/TRADEMARKS.md +4 -4
- package/agent-skills/interf-actions/SKILL.md +51 -5
- package/agent-skills/interf-actions/references/cli.md +82 -82
- package/builtin-methods/interf-default/README.md +6 -7
- package/builtin-methods/interf-default/method.json +7 -68
- package/builtin-methods/interf-default/method.schema.json +52 -50
- package/dist/cli/commands/agents.d.ts +2 -0
- package/dist/cli/commands/agents.js +213 -0
- package/dist/cli/commands/compile.js +10 -1
- package/dist/cli/commands/doctor.js +1 -1
- package/dist/cli/commands/login.js +1 -1
- package/dist/cli/commands/logout.js +1 -1
- package/dist/cli/commands/mcp.d.ts +42 -0
- package/dist/cli/commands/mcp.js +239 -0
- package/dist/cli/commands/method.js +1 -1
- package/dist/cli/commands/prep.js +81 -7
- package/dist/cli/commands/reset.js +1 -1
- package/dist/cli/commands/runs.js +1 -1
- package/dist/cli/commands/status.js +1 -1
- package/dist/cli/commands/verify.d.ts +10 -0
- package/dist/cli/commands/{test.js → verify.js} +30 -15
- package/dist/cli/commands/web.js +71 -18
- package/dist/cli/commands/wizard.js +462 -107
- package/dist/cli/index.d.ts +4 -2
- package/dist/cli/index.js +7 -3
- package/dist/compiler-ui/404.html +1 -1
- package/dist/compiler-ui/__next.__PAGE__.txt +2 -2
- package/dist/compiler-ui/__next._full.txt +3 -3
- package/dist/compiler-ui/__next._head.txt +1 -1
- package/dist/compiler-ui/__next._index.txt +2 -2
- package/dist/compiler-ui/__next._tree.txt +2 -2
- package/dist/compiler-ui/_next/static/chunks/{045gole2ojo3g.css → 0_c_tvh-cukjz.css} +1 -1
- package/dist/compiler-ui/_next/static/chunks/0f_geuwdesg_c.js +114 -0
- package/dist/compiler-ui/_not-found/__next._full.txt +2 -2
- package/dist/compiler-ui/_not-found/__next._head.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._index.txt +2 -2
- package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._not-found.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._tree.txt +2 -2
- package/dist/compiler-ui/_not-found.html +1 -1
- package/dist/compiler-ui/_not-found.txt +2 -2
- package/dist/compiler-ui/index.html +1 -1
- package/dist/compiler-ui/index.txt +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/packages/contracts/index.d.ts +2 -1
- package/dist/packages/contracts/index.js +1 -0
- package/dist/packages/contracts/lib/schema.d.ts +324 -31
- package/dist/packages/contracts/lib/schema.js +281 -21
- package/dist/packages/{local-service → engine}/action-definitions.js +9 -2
- package/dist/packages/{local-service → engine}/action-planner.d.ts +1 -1
- package/dist/packages/{local-service → engine}/action-planner.js +1 -1
- package/dist/packages/{agents → engine/agents}/index.d.ts +3 -0
- package/dist/packages/{agents → engine/agents}/index.js +3 -0
- package/dist/packages/{agents → engine/agents}/lib/compiled-bootstrap.js +2 -2
- package/dist/packages/engine/agents/lib/detection.d.ts +13 -0
- package/dist/packages/{agents → engine/agents}/lib/detection.js +11 -0
- package/dist/packages/{agents → engine/agents}/lib/executors.d.ts +2 -2
- package/dist/packages/{agents → engine/agents}/lib/shells.d.ts +14 -6
- package/dist/packages/{agents → engine/agents}/lib/shells.js +133 -126
- package/dist/packages/{agents → engine/agents}/lib/user-config.js +2 -2
- package/dist/packages/engine/agents/registry.d.ts +91 -0
- package/dist/packages/engine/agents/registry.js +321 -0
- package/dist/packages/engine/agents/role-executors.d.ts +35 -0
- package/dist/packages/engine/agents/role-executors.js +88 -0
- package/dist/packages/engine/agents/role-router.d.ts +66 -0
- package/dist/packages/engine/agents/role-router.js +73 -0
- package/dist/packages/{local-service → engine}/client.d.ts +9 -9
- package/dist/packages/{local-service → engine}/client.js +11 -11
- package/dist/packages/engine/cloud-seams.d.ts +115 -0
- package/dist/packages/engine/cloud-seams.js +84 -0
- package/dist/packages/engine/compile/artifact-counts.d.ts +1 -0
- package/dist/packages/{compiler → engine/compile}/artifact-counts.js +4 -4
- package/dist/packages/engine/compile/artifact-status.d.ts +41 -0
- package/dist/packages/engine/compile/artifact-status.js +166 -0
- package/dist/packages/engine/compile/billing-events.d.ts +89 -0
- package/dist/packages/engine/compile/billing-events.js +74 -0
- package/dist/packages/engine/compile/check-evaluator.d.ts +66 -0
- package/dist/packages/engine/compile/check-evaluator.js +298 -0
- package/dist/packages/{compiler → engine/compile}/compiled-pipeline.d.ts +12 -1
- package/dist/packages/{compiler → engine/compile}/compiled-pipeline.js +16 -6
- package/dist/packages/engine/compile/compiled-schema.d.ts +21 -0
- package/dist/packages/engine/compile/compiled-schema.js +126 -0
- package/dist/packages/{compiler → engine/compile}/compiled-stage-plan.d.ts +2 -1
- package/dist/packages/{compiler → engine/compile}/compiled-stage-plan.js +35 -18
- package/dist/packages/{compiler → engine/compile}/compiled-stage-runner.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/compiled-stage-runner.js +4 -4
- package/dist/packages/{compiler → engine/compile}/compiled-target.d.ts +2 -2
- package/dist/packages/{compiler → engine/compile}/compiled-target.js +2 -2
- package/dist/packages/{compiler → engine/compile}/discovery.js +1 -1
- package/dist/packages/{compiler → engine/compile}/index.d.ts +0 -1
- package/dist/packages/{compiler → engine/compile}/index.js +0 -1
- package/dist/packages/{compiler → engine/compile}/lib/schema.d.ts +113 -94
- package/dist/packages/{compiler → engine/compile}/lib/schema.js +35 -39
- package/dist/packages/engine/compile/method-primitives.d.ts +2 -0
- package/dist/packages/{compiler → engine/compile}/method-primitives.js +1 -1
- package/dist/packages/{compiler → engine/compile}/method-runs.d.ts +3 -3
- package/dist/packages/{compiler → engine/compile}/method-runs.js +3 -3
- package/dist/packages/{compiler → engine/compile}/reset.js +4 -4
- package/dist/packages/{compiler → engine/compile}/runtime-contracts.js +2 -1
- package/dist/packages/{compiler → engine/compile}/runtime-prompt.js +3 -2
- package/dist/packages/{compiler → engine/compile}/runtime-reconcile.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/runtime-reconcile.js +47 -45
- package/dist/packages/{compiler → engine/compile}/runtime-runs.d.ts +1 -2
- package/dist/packages/{compiler → engine/compile}/runtime-runs.js +3 -44
- package/dist/packages/{compiler → engine/compile}/runtime-types.d.ts +7 -12
- package/dist/packages/engine/compile/runtime.d.ts +5 -0
- package/dist/packages/{compiler → engine/compile}/runtime.js +1 -2
- package/dist/packages/{compiler → engine/compile}/source-files.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/source-files.js +3 -3
- package/dist/packages/{compiler → engine/compile}/state-health.js +8 -8
- package/dist/packages/{compiler → engine/compile}/state-io.js +2 -2
- package/dist/packages/{compiler → engine/compile}/state-view.js +9 -8
- package/dist/packages/{compiler → engine/compile}/validate-compiled.js +63 -32
- package/dist/packages/{compiler → engine/compile}/validate.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/validate.js +29 -27
- package/dist/packages/{execution → engine/execution}/lib/schema.d.ts +81 -55
- package/dist/packages/{execution → engine/execution}/lib/schema.js +14 -6
- package/dist/packages/engine/index.d.ts +22 -0
- package/dist/packages/engine/index.js +15 -0
- package/dist/packages/{local-service → engine}/lib/schema.d.ts +620 -435
- package/dist/packages/{local-service → engine}/lib/schema.js +103 -63
- package/dist/packages/{local-service → engine}/native-run-handlers.d.ts +7 -5
- package/dist/packages/{local-service → engine}/native-run-handlers.js +81 -29
- package/dist/packages/{local-service → engine}/preparation-store.d.ts +22 -4
- package/dist/packages/{local-service → engine}/preparation-store.js +56 -25
- package/dist/packages/{local-service → engine}/readiness-check-draft.d.ts +2 -2
- package/dist/packages/{local-service → engine}/routes.d.ts +36 -1
- package/dist/packages/{local-service → engine}/routes.js +38 -1
- package/dist/packages/{local-service → engine}/run-observability.d.ts +3 -3
- package/dist/packages/{local-service → engine}/run-observability.js +15 -15
- package/dist/packages/{local-service → engine}/runtime-event-applier.d.ts +1 -1
- package/dist/packages/{local-service → engine}/runtime-event-applier.js +7 -0
- package/dist/packages/{local-service → engine}/runtime-persistence.d.ts +6 -6
- package/dist/packages/{local-service → engine}/runtime-persistence.js +9 -9
- package/dist/packages/{local-service → engine}/runtime-proposal-helpers.d.ts +1 -1
- package/dist/packages/{local-service → engine}/runtime-proposal-helpers.js +5 -5
- package/dist/packages/{local-service → engine}/runtime-resource-builders.d.ts +12 -12
- package/dist/packages/{local-service → engine}/runtime-resource-builders.js +6 -5
- package/dist/packages/{local-service → engine}/runtime.d.ts +147 -56
- package/dist/packages/{local-service → engine}/runtime.js +333 -205
- package/dist/packages/{local-service → engine}/server.d.ts +25 -0
- package/dist/packages/{local-service → engine}/server.js +338 -17
- package/dist/packages/engine/verify/index.d.ts +13 -0
- package/dist/packages/engine/verify/index.js +10 -0
- package/dist/packages/{testing → engine/verify}/lib/schema.d.ts +1 -1
- package/dist/packages/{testing → engine/verify}/lib/schema.js +1 -1
- package/dist/packages/{testing → engine/verify}/readiness-check-run.d.ts +27 -11
- package/dist/packages/{testing → engine/verify}/readiness-check-run.js +72 -60
- package/dist/packages/{testing/test-execution.d.ts → engine/verify/verify-execution.d.ts} +2 -2
- package/dist/packages/{testing/test-execution.js → engine/verify/verify-execution.js} +2 -2
- package/dist/packages/{testing/test-paths.d.ts → engine/verify/verify-paths.d.ts} +1 -1
- package/dist/packages/{testing/test-paths.js → engine/verify/verify-paths.js} +2 -2
- package/dist/packages/{testing/test-sandbox.d.ts → engine/verify/verify-sandbox.d.ts} +1 -1
- package/dist/packages/{testing/test-sandbox.js → engine/verify/verify-sandbox.js} +6 -6
- package/dist/packages/{testing/test-specs.d.ts → engine/verify/verify-specs.d.ts} +1 -1
- package/dist/packages/{testing/test-specs.js → engine/verify/verify-specs.js} +2 -2
- package/dist/packages/{testing/test-targets.d.ts → engine/verify/verify-targets.d.ts} +1 -1
- package/dist/packages/{testing/test-targets.js → engine/verify/verify-targets.js} +3 -3
- package/dist/packages/{testing/test.d.ts → engine/verify/verify.d.ts} +4 -4
- package/dist/packages/{testing/test.js → engine/verify/verify.js} +3 -3
- package/dist/packages/engine/wire-schemas.d.ts +545 -0
- package/dist/packages/engine/wire-schemas.js +59 -0
- package/dist/packages/methods/authoring/method-authoring.d.ts +34 -0
- package/dist/packages/methods/authoring/method-authoring.js +260 -0
- package/dist/packages/{method-authoring → methods/authoring}/method-edit-session.d.ts +2 -2
- package/dist/packages/{method-authoring → methods/authoring}/method-edit-session.js +5 -5
- package/dist/packages/{method-authoring → methods/authoring}/method-improvement.d.ts +4 -4
- package/dist/packages/{method-authoring → methods/authoring}/method-improvement.js +16 -10
- package/dist/packages/{method-package → methods/package}/builtin-compiled-method.d.ts +12 -12
- package/dist/packages/{method-package → methods/package}/builtin-compiled-method.js +27 -24
- package/dist/packages/methods/package/context-interface.d.ts +73 -0
- package/dist/packages/{method-package → methods/package}/context-interface.js +50 -41
- package/dist/packages/{method-package → methods/package}/interf-method-package.js +31 -49
- package/dist/packages/{method-package → methods/package}/lib/package-root.js +2 -2
- package/dist/packages/{method-package → methods/package}/local-methods.d.ts +10 -5
- package/dist/packages/{method-package → methods/package}/local-methods.js +41 -68
- package/dist/packages/{method-package → methods/package}/method-definitions.d.ts +11 -7
- package/dist/packages/{method-package → methods/package}/method-definitions.js +5 -8
- package/dist/packages/{method-package → methods/package}/method-helpers.d.ts +1 -3
- package/dist/packages/{method-package → methods/package}/method-helpers.js +4 -8
- package/dist/packages/{method-package → methods/package}/method-review-paths.d.ts +1 -1
- package/dist/packages/{method-package → methods/package}/method-review-paths.js +1 -1
- package/dist/packages/{method-package → methods/package}/method-stage-runner.d.ts +4 -9
- package/dist/packages/{method-package → methods/package}/method-stage-runner.js +1 -29
- package/dist/packages/{method-package → methods/package}/user-methods.js +2 -2
- package/dist/packages/{project-model → project}/interf-bootstrap.d.ts +1 -1
- package/dist/packages/{project-model → project}/interf-bootstrap.js +1 -1
- package/dist/packages/{project-model → project}/interf-detect.js +4 -4
- package/dist/packages/{project-model → project}/interf-scaffold.js +18 -18
- package/dist/packages/{project-model → project}/lib/schema.d.ts +2 -2
- package/dist/packages/{project-model → project}/lib/schema.js +1 -1
- package/dist/packages/{project-model → project}/source-config.d.ts +1 -1
- package/dist/packages/{project-model → project}/source-config.js +9 -8
- package/dist/packages/{project-model → project}/source-folders.js +2 -2
- package/package.json +7 -16
- package/dist/cli/commands/test.d.ts +0 -9
- package/dist/compiler-ui/_next/static/chunks/17t-lulmyawg5.js +0 -89
- package/dist/packages/agents/lib/detection.d.ts +0 -7
- package/dist/packages/compiler/artifact-counts.d.ts +0 -1
- package/dist/packages/compiler/compiled-schema.d.ts +0 -31
- package/dist/packages/compiler/compiled-schema.js +0 -141
- package/dist/packages/compiler/method-primitives.d.ts +0 -2
- package/dist/packages/compiler/runtime-acceptance.d.ts +0 -9
- package/dist/packages/compiler/runtime-acceptance.js +0 -262
- package/dist/packages/compiler/runtime.d.ts +0 -6
- package/dist/packages/local-service/index.d.ts +0 -22
- package/dist/packages/local-service/index.js +0 -15
- package/dist/packages/method-authoring/method-authoring.d.ts +0 -24
- package/dist/packages/method-authoring/method-authoring.js +0 -116
- package/dist/packages/method-package/context-interface.d.ts +0 -60
- package/dist/packages/testing/index.d.ts +0 -13
- package/dist/packages/testing/index.js +0 -10
- /package/dist/compiler-ui/_next/static/{C6vVfy3aeYuIO3d2AoNvC → 6qyE1u9m_oBUkvAhhoCmO}/_buildManifest.js +0 -0
- /package/dist/compiler-ui/_next/static/{C6vVfy3aeYuIO3d2AoNvC → 6qyE1u9m_oBUkvAhhoCmO}/_clientMiddlewareManifest.js +0 -0
- /package/dist/compiler-ui/_next/static/{C6vVfy3aeYuIO3d2AoNvC → 6qyE1u9m_oBUkvAhhoCmO}/_ssgManifest.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/file-types.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/file-types.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/filesystem.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/filesystem.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/logger.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/logger.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/naming.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/naming.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/parse.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/parse.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/path-guards.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/path-guards.js +0 -0
- /package/dist/packages/{local-service → engine}/action-definitions.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/action-values.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/action-values.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/agents.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/agents.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/args.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/args.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/chart-guidance.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/chart-guidance.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/compiled-bootstrap.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/constants.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/constants.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution-profile.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution-profile.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/executors.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/logs.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/logs.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/preflight.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/preflight.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/render.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/render.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/schema.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/schema.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/status.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/status.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/types.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/types.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/user-config.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-compile.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-compile.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-paths.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-paths.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/discovery.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/reset.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-contracts.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-inventory.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-inventory.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-paths.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-paths.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-prompt.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-types.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-artifacts.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-artifacts.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-health.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-io.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-paths.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-paths.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-view.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-compiled.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-helpers.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-helpers.js +0 -0
- /package/dist/packages/{local-service → engine}/connection-config.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/connection-config.js +0 -0
- /package/dist/packages/{execution → engine/execution}/adapters.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/adapters.js +0 -0
- /package/dist/packages/{execution → engine/execution}/events.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/events.js +0 -0
- /package/dist/packages/{execution → engine/execution}/index.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/index.js +0 -0
- /package/dist/packages/{local-service → engine}/instance-paths.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/instance-paths.js +0 -0
- /package/dist/packages/{local-service → engine}/readiness-check-draft.js +0 -0
- /package/dist/packages/{local-service → engine}/runtime-caches.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/runtime-caches.js +0 -0
- /package/dist/packages/{local-service → engine}/service-registry.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/service-registry.js +0 -0
- /package/dist/packages/{testing/test-profile-presets.d.ts → engine/verify/verify-profile-presets.d.ts} +0 -0
- /package/dist/packages/{testing/test-profile-presets.js → engine/verify/verify-profile-presets.js} +0 -0
- /package/dist/packages/{testing/test-types.d.ts → engine/verify/verify-types.d.ts} +0 -0
- /package/dist/packages/{testing/test-types.js → engine/verify/verify-types.js} +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/index.d.ts +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/index.js +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/lib/method-edit-utils.d.ts +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/lib/method-edit-utils.js +0 -0
- /package/dist/packages/{method-package → methods/package}/interf-method-package.d.ts +0 -0
- /package/dist/packages/{method-package → methods/package}/lib/package-root.d.ts +0 -0
- /package/dist/packages/{method-package → methods/package}/user-methods.d.ts +0 -0
- /package/dist/packages/{project-model → project}/index.d.ts +0 -0
- /package/dist/packages/{project-model → project}/index.js +0 -0
- /package/dist/packages/{project-model → project}/interf-detect.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf-scaffold.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf.js +0 -0
- /package/dist/packages/{project-model → project}/preparation-entries.d.ts +0 -0
- /package/dist/packages/{project-model → project}/preparation-entries.js +0 -0
- /package/dist/packages/{project-model → project}/source-folders.d.ts +0 -0
|
@@ -155,7 +155,7 @@ export declare const ObservableRunTypeSchema: z.ZodEnum<{
|
|
|
155
155
|
compile: "compile";
|
|
156
156
|
"method-authoring": "method-authoring";
|
|
157
157
|
"method-improvement": "method-improvement";
|
|
158
|
-
|
|
158
|
+
verify: "verify";
|
|
159
159
|
"readiness-check-draft": "readiness-check-draft";
|
|
160
160
|
job: "job";
|
|
161
161
|
}>;
|
|
@@ -222,7 +222,7 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
222
222
|
compile: "compile";
|
|
223
223
|
"method-authoring": "method-authoring";
|
|
224
224
|
"method-improvement": "method-improvement";
|
|
225
|
-
|
|
225
|
+
verify: "verify";
|
|
226
226
|
"readiness-check-draft": "readiness-check-draft";
|
|
227
227
|
job: "job";
|
|
228
228
|
}>;
|
|
@@ -286,15 +286,15 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
286
286
|
generated_at: z.ZodString;
|
|
287
287
|
preparation: z.ZodString;
|
|
288
288
|
status: z.ZodEnum<{
|
|
289
|
+
ready: "ready";
|
|
290
|
+
failed: "failed";
|
|
289
291
|
"not-configured": "not-configured";
|
|
290
292
|
"not-built": "not-built";
|
|
291
293
|
building: "building";
|
|
292
294
|
built: "built";
|
|
293
295
|
checking: "checking";
|
|
294
|
-
ready: "ready";
|
|
295
296
|
"not-ready": "not-ready";
|
|
296
297
|
stale: "stale";
|
|
297
|
-
failed: "failed";
|
|
298
298
|
}>;
|
|
299
299
|
ready: z.ZodBoolean;
|
|
300
300
|
summary: z.ZodString;
|
|
@@ -307,21 +307,19 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
307
307
|
"preparation-config": "preparation-config";
|
|
308
308
|
"compile-run": "compile-run";
|
|
309
309
|
"readiness-checks": "readiness-checks";
|
|
310
|
-
"source-baseline": "source-baseline";
|
|
311
|
-
"portable-context-check": "portable-context-check";
|
|
312
310
|
"checks-current": "checks-current";
|
|
313
311
|
}>;
|
|
314
312
|
ok: z.ZodBoolean;
|
|
315
313
|
status: z.ZodOptional<z.ZodEnum<{
|
|
314
|
+
ready: "ready";
|
|
315
|
+
failed: "failed";
|
|
316
316
|
"not-configured": "not-configured";
|
|
317
317
|
"not-built": "not-built";
|
|
318
318
|
building: "building";
|
|
319
319
|
built: "built";
|
|
320
320
|
checking: "checking";
|
|
321
|
-
ready: "ready";
|
|
322
321
|
"not-ready": "not-ready";
|
|
323
322
|
stale: "stale";
|
|
324
|
-
failed: "failed";
|
|
325
323
|
}>>;
|
|
326
324
|
summary: z.ZodString;
|
|
327
325
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -356,21 +354,19 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
356
354
|
"preparation-config": "preparation-config";
|
|
357
355
|
"compile-run": "compile-run";
|
|
358
356
|
"readiness-checks": "readiness-checks";
|
|
359
|
-
"source-baseline": "source-baseline";
|
|
360
|
-
"portable-context-check": "portable-context-check";
|
|
361
357
|
"checks-current": "checks-current";
|
|
362
358
|
}>;
|
|
363
359
|
ok: z.ZodBoolean;
|
|
364
360
|
status: z.ZodOptional<z.ZodEnum<{
|
|
361
|
+
ready: "ready";
|
|
362
|
+
failed: "failed";
|
|
365
363
|
"not-configured": "not-configured";
|
|
366
364
|
"not-built": "not-built";
|
|
367
365
|
building: "building";
|
|
368
366
|
built: "built";
|
|
369
367
|
checking: "checking";
|
|
370
|
-
ready: "ready";
|
|
371
368
|
"not-ready": "not-ready";
|
|
372
369
|
stale: "stale";
|
|
373
|
-
failed: "failed";
|
|
374
370
|
}>>;
|
|
375
371
|
summary: z.ZodString;
|
|
376
372
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -474,7 +470,6 @@ export declare const StageRunContractSchema: z.ZodObject<{
|
|
|
474
470
|
stage_total: z.ZodOptional<z.ZodNumber>;
|
|
475
471
|
reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
476
472
|
writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
477
|
-
acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
478
473
|
}, z.core.$strict>;
|
|
479
474
|
export declare const StageRunLogsSchema: z.ZodObject<{
|
|
480
475
|
prompt_path: z.ZodOptional<z.ZodString>;
|
|
@@ -609,6 +604,13 @@ export declare const RunFailedEventSchema: z.ZodObject<{
|
|
|
609
604
|
type: z.ZodLiteral<"run.failed">;
|
|
610
605
|
error: z.ZodString;
|
|
611
606
|
}, z.core.$strict>;
|
|
607
|
+
export declare const RunCancelledEventSchema: z.ZodObject<{
|
|
608
|
+
event_id: z.ZodString;
|
|
609
|
+
run_id: z.ZodString;
|
|
610
|
+
timestamp: z.ZodString;
|
|
611
|
+
type: z.ZodLiteral<"run.cancelled">;
|
|
612
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
613
|
+
}, z.core.$strict>;
|
|
612
614
|
export declare const ChecksEvaluatedEventSchema: z.ZodObject<{
|
|
613
615
|
event_id: z.ZodString;
|
|
614
616
|
run_id: z.ZodString;
|
|
@@ -636,15 +638,15 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
|
|
|
636
638
|
generated_at: z.ZodString;
|
|
637
639
|
preparation: z.ZodString;
|
|
638
640
|
status: z.ZodEnum<{
|
|
641
|
+
ready: "ready";
|
|
642
|
+
failed: "failed";
|
|
639
643
|
"not-configured": "not-configured";
|
|
640
644
|
"not-built": "not-built";
|
|
641
645
|
building: "building";
|
|
642
646
|
built: "built";
|
|
643
647
|
checking: "checking";
|
|
644
|
-
ready: "ready";
|
|
645
648
|
"not-ready": "not-ready";
|
|
646
649
|
stale: "stale";
|
|
647
|
-
failed: "failed";
|
|
648
650
|
}>;
|
|
649
651
|
ready: z.ZodBoolean;
|
|
650
652
|
summary: z.ZodString;
|
|
@@ -657,21 +659,19 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
|
|
|
657
659
|
"preparation-config": "preparation-config";
|
|
658
660
|
"compile-run": "compile-run";
|
|
659
661
|
"readiness-checks": "readiness-checks";
|
|
660
|
-
"source-baseline": "source-baseline";
|
|
661
|
-
"portable-context-check": "portable-context-check";
|
|
662
662
|
"checks-current": "checks-current";
|
|
663
663
|
}>;
|
|
664
664
|
ok: z.ZodBoolean;
|
|
665
665
|
status: z.ZodOptional<z.ZodEnum<{
|
|
666
|
+
ready: "ready";
|
|
667
|
+
failed: "failed";
|
|
666
668
|
"not-configured": "not-configured";
|
|
667
669
|
"not-built": "not-built";
|
|
668
670
|
building: "building";
|
|
669
671
|
built: "built";
|
|
670
672
|
checking: "checking";
|
|
671
|
-
ready: "ready";
|
|
672
673
|
"not-ready": "not-ready";
|
|
673
674
|
stale: "stale";
|
|
674
|
-
failed: "failed";
|
|
675
675
|
}>>;
|
|
676
676
|
summary: z.ZodString;
|
|
677
677
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -706,21 +706,19 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
|
|
|
706
706
|
"preparation-config": "preparation-config";
|
|
707
707
|
"compile-run": "compile-run";
|
|
708
708
|
"readiness-checks": "readiness-checks";
|
|
709
|
-
"source-baseline": "source-baseline";
|
|
710
|
-
"portable-context-check": "portable-context-check";
|
|
711
709
|
"checks-current": "checks-current";
|
|
712
710
|
}>;
|
|
713
711
|
ok: z.ZodBoolean;
|
|
714
712
|
status: z.ZodOptional<z.ZodEnum<{
|
|
713
|
+
ready: "ready";
|
|
714
|
+
failed: "failed";
|
|
715
715
|
"not-configured": "not-configured";
|
|
716
716
|
"not-built": "not-built";
|
|
717
717
|
building: "building";
|
|
718
718
|
built: "built";
|
|
719
719
|
checking: "checking";
|
|
720
|
-
ready: "ready";
|
|
721
720
|
"not-ready": "not-ready";
|
|
722
721
|
stale: "stale";
|
|
723
|
-
failed: "failed";
|
|
724
722
|
}>>;
|
|
725
723
|
summary: z.ZodString;
|
|
726
724
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -846,6 +844,12 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
846
844
|
timestamp: z.ZodString;
|
|
847
845
|
type: z.ZodLiteral<"run.failed">;
|
|
848
846
|
error: z.ZodString;
|
|
847
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
848
|
+
event_id: z.ZodString;
|
|
849
|
+
run_id: z.ZodString;
|
|
850
|
+
timestamp: z.ZodString;
|
|
851
|
+
type: z.ZodLiteral<"run.cancelled">;
|
|
852
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
849
853
|
}, z.core.$strict>, z.ZodObject<{
|
|
850
854
|
event_id: z.ZodString;
|
|
851
855
|
run_id: z.ZodString;
|
|
@@ -872,15 +876,15 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
872
876
|
generated_at: z.ZodString;
|
|
873
877
|
preparation: z.ZodString;
|
|
874
878
|
status: z.ZodEnum<{
|
|
879
|
+
ready: "ready";
|
|
880
|
+
failed: "failed";
|
|
875
881
|
"not-configured": "not-configured";
|
|
876
882
|
"not-built": "not-built";
|
|
877
883
|
building: "building";
|
|
878
884
|
built: "built";
|
|
879
885
|
checking: "checking";
|
|
880
|
-
ready: "ready";
|
|
881
886
|
"not-ready": "not-ready";
|
|
882
887
|
stale: "stale";
|
|
883
|
-
failed: "failed";
|
|
884
888
|
}>;
|
|
885
889
|
ready: z.ZodBoolean;
|
|
886
890
|
summary: z.ZodString;
|
|
@@ -893,21 +897,19 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
893
897
|
"preparation-config": "preparation-config";
|
|
894
898
|
"compile-run": "compile-run";
|
|
895
899
|
"readiness-checks": "readiness-checks";
|
|
896
|
-
"source-baseline": "source-baseline";
|
|
897
|
-
"portable-context-check": "portable-context-check";
|
|
898
900
|
"checks-current": "checks-current";
|
|
899
901
|
}>;
|
|
900
902
|
ok: z.ZodBoolean;
|
|
901
903
|
status: z.ZodOptional<z.ZodEnum<{
|
|
904
|
+
ready: "ready";
|
|
905
|
+
failed: "failed";
|
|
902
906
|
"not-configured": "not-configured";
|
|
903
907
|
"not-built": "not-built";
|
|
904
908
|
building: "building";
|
|
905
909
|
built: "built";
|
|
906
910
|
checking: "checking";
|
|
907
|
-
ready: "ready";
|
|
908
911
|
"not-ready": "not-ready";
|
|
909
912
|
stale: "stale";
|
|
910
|
-
failed: "failed";
|
|
911
913
|
}>>;
|
|
912
914
|
summary: z.ZodString;
|
|
913
915
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -942,21 +944,19 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
942
944
|
"preparation-config": "preparation-config";
|
|
943
945
|
"compile-run": "compile-run";
|
|
944
946
|
"readiness-checks": "readiness-checks";
|
|
945
|
-
"source-baseline": "source-baseline";
|
|
946
|
-
"portable-context-check": "portable-context-check";
|
|
947
947
|
"checks-current": "checks-current";
|
|
948
948
|
}>;
|
|
949
949
|
ok: z.ZodBoolean;
|
|
950
950
|
status: z.ZodOptional<z.ZodEnum<{
|
|
951
|
+
ready: "ready";
|
|
952
|
+
failed: "failed";
|
|
951
953
|
"not-configured": "not-configured";
|
|
952
954
|
"not-built": "not-built";
|
|
953
955
|
building: "building";
|
|
954
956
|
built: "built";
|
|
955
957
|
checking: "checking";
|
|
956
|
-
ready: "ready";
|
|
957
958
|
"not-ready": "not-ready";
|
|
958
959
|
stale: "stale";
|
|
959
|
-
failed: "failed";
|
|
960
960
|
}>>;
|
|
961
961
|
summary: z.ZodString;
|
|
962
962
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -986,7 +986,6 @@ export declare const StageRunSchema: z.ZodObject<{
|
|
|
986
986
|
stage_total: z.ZodOptional<z.ZodNumber>;
|
|
987
987
|
reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
988
988
|
writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
989
|
-
acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
990
989
|
}, z.core.$strict>>;
|
|
991
990
|
executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
992
991
|
kind: z.ZodEnum<{
|
|
@@ -1093,7 +1092,6 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1093
1092
|
stage_total: z.ZodOptional<z.ZodNumber>;
|
|
1094
1093
|
reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1095
1094
|
writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1096
|
-
acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1097
1095
|
}, z.core.$strict>>;
|
|
1098
1096
|
executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1099
1097
|
kind: z.ZodEnum<{
|
|
@@ -1274,6 +1272,12 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1274
1272
|
timestamp: z.ZodString;
|
|
1275
1273
|
type: z.ZodLiteral<"run.failed">;
|
|
1276
1274
|
error: z.ZodString;
|
|
1275
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1276
|
+
event_id: z.ZodString;
|
|
1277
|
+
run_id: z.ZodString;
|
|
1278
|
+
timestamp: z.ZodString;
|
|
1279
|
+
type: z.ZodLiteral<"run.cancelled">;
|
|
1280
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1277
1281
|
}, z.core.$strict>, z.ZodObject<{
|
|
1278
1282
|
event_id: z.ZodString;
|
|
1279
1283
|
run_id: z.ZodString;
|
|
@@ -1300,15 +1304,15 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1300
1304
|
generated_at: z.ZodString;
|
|
1301
1305
|
preparation: z.ZodString;
|
|
1302
1306
|
status: z.ZodEnum<{
|
|
1307
|
+
ready: "ready";
|
|
1308
|
+
failed: "failed";
|
|
1303
1309
|
"not-configured": "not-configured";
|
|
1304
1310
|
"not-built": "not-built";
|
|
1305
1311
|
building: "building";
|
|
1306
1312
|
built: "built";
|
|
1307
1313
|
checking: "checking";
|
|
1308
|
-
ready: "ready";
|
|
1309
1314
|
"not-ready": "not-ready";
|
|
1310
1315
|
stale: "stale";
|
|
1311
|
-
failed: "failed";
|
|
1312
1316
|
}>;
|
|
1313
1317
|
ready: z.ZodBoolean;
|
|
1314
1318
|
summary: z.ZodString;
|
|
@@ -1321,21 +1325,19 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1321
1325
|
"preparation-config": "preparation-config";
|
|
1322
1326
|
"compile-run": "compile-run";
|
|
1323
1327
|
"readiness-checks": "readiness-checks";
|
|
1324
|
-
"source-baseline": "source-baseline";
|
|
1325
|
-
"portable-context-check": "portable-context-check";
|
|
1326
1328
|
"checks-current": "checks-current";
|
|
1327
1329
|
}>;
|
|
1328
1330
|
ok: z.ZodBoolean;
|
|
1329
1331
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1332
|
+
ready: "ready";
|
|
1333
|
+
failed: "failed";
|
|
1330
1334
|
"not-configured": "not-configured";
|
|
1331
1335
|
"not-built": "not-built";
|
|
1332
1336
|
building: "building";
|
|
1333
1337
|
built: "built";
|
|
1334
1338
|
checking: "checking";
|
|
1335
|
-
ready: "ready";
|
|
1336
1339
|
"not-ready": "not-ready";
|
|
1337
1340
|
stale: "stale";
|
|
1338
|
-
failed: "failed";
|
|
1339
1341
|
}>>;
|
|
1340
1342
|
summary: z.ZodString;
|
|
1341
1343
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -1370,21 +1372,19 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1370
1372
|
"preparation-config": "preparation-config";
|
|
1371
1373
|
"compile-run": "compile-run";
|
|
1372
1374
|
"readiness-checks": "readiness-checks";
|
|
1373
|
-
"source-baseline": "source-baseline";
|
|
1374
|
-
"portable-context-check": "portable-context-check";
|
|
1375
1375
|
"checks-current": "checks-current";
|
|
1376
1376
|
}>;
|
|
1377
1377
|
ok: z.ZodBoolean;
|
|
1378
1378
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1379
|
+
ready: "ready";
|
|
1380
|
+
failed: "failed";
|
|
1379
1381
|
"not-configured": "not-configured";
|
|
1380
1382
|
"not-built": "not-built";
|
|
1381
1383
|
building: "building";
|
|
1382
1384
|
built: "built";
|
|
1383
1385
|
checking: "checking";
|
|
1384
|
-
ready: "ready";
|
|
1385
1386
|
"not-ready": "not-ready";
|
|
1386
1387
|
stale: "stale";
|
|
1387
|
-
failed: "failed";
|
|
1388
1388
|
}>>;
|
|
1389
1389
|
summary: z.ZodString;
|
|
1390
1390
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -1426,15 +1426,15 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1426
1426
|
generated_at: z.ZodString;
|
|
1427
1427
|
preparation: z.ZodString;
|
|
1428
1428
|
status: z.ZodEnum<{
|
|
1429
|
+
ready: "ready";
|
|
1430
|
+
failed: "failed";
|
|
1429
1431
|
"not-configured": "not-configured";
|
|
1430
1432
|
"not-built": "not-built";
|
|
1431
1433
|
building: "building";
|
|
1432
1434
|
built: "built";
|
|
1433
1435
|
checking: "checking";
|
|
1434
|
-
ready: "ready";
|
|
1435
1436
|
"not-ready": "not-ready";
|
|
1436
1437
|
stale: "stale";
|
|
1437
|
-
failed: "failed";
|
|
1438
1438
|
}>;
|
|
1439
1439
|
ready: z.ZodBoolean;
|
|
1440
1440
|
summary: z.ZodString;
|
|
@@ -1447,21 +1447,19 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1447
1447
|
"preparation-config": "preparation-config";
|
|
1448
1448
|
"compile-run": "compile-run";
|
|
1449
1449
|
"readiness-checks": "readiness-checks";
|
|
1450
|
-
"source-baseline": "source-baseline";
|
|
1451
|
-
"portable-context-check": "portable-context-check";
|
|
1452
1450
|
"checks-current": "checks-current";
|
|
1453
1451
|
}>;
|
|
1454
1452
|
ok: z.ZodBoolean;
|
|
1455
1453
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1454
|
+
ready: "ready";
|
|
1455
|
+
failed: "failed";
|
|
1456
1456
|
"not-configured": "not-configured";
|
|
1457
1457
|
"not-built": "not-built";
|
|
1458
1458
|
building: "building";
|
|
1459
1459
|
built: "built";
|
|
1460
1460
|
checking: "checking";
|
|
1461
|
-
ready: "ready";
|
|
1462
1461
|
"not-ready": "not-ready";
|
|
1463
1462
|
stale: "stale";
|
|
1464
|
-
failed: "failed";
|
|
1465
1463
|
}>>;
|
|
1466
1464
|
summary: z.ZodString;
|
|
1467
1465
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -1496,21 +1494,19 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1496
1494
|
"preparation-config": "preparation-config";
|
|
1497
1495
|
"compile-run": "compile-run";
|
|
1498
1496
|
"readiness-checks": "readiness-checks";
|
|
1499
|
-
"source-baseline": "source-baseline";
|
|
1500
|
-
"portable-context-check": "portable-context-check";
|
|
1501
1497
|
"checks-current": "checks-current";
|
|
1502
1498
|
}>;
|
|
1503
1499
|
ok: z.ZodBoolean;
|
|
1504
1500
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1501
|
+
ready: "ready";
|
|
1502
|
+
failed: "failed";
|
|
1505
1503
|
"not-configured": "not-configured";
|
|
1506
1504
|
"not-built": "not-built";
|
|
1507
1505
|
building: "building";
|
|
1508
1506
|
built: "built";
|
|
1509
1507
|
checking: "checking";
|
|
1510
|
-
ready: "ready";
|
|
1511
1508
|
"not-ready": "not-ready";
|
|
1512
1509
|
stale: "stale";
|
|
1513
|
-
failed: "failed";
|
|
1514
1510
|
}>>;
|
|
1515
1511
|
summary: z.ZodString;
|
|
1516
1512
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -1518,6 +1514,36 @@ export declare const CompileRunSchema: z.ZodObject<{
|
|
|
1518
1514
|
artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1519
1515
|
}, z.core.$strict>>>;
|
|
1520
1516
|
}, z.core.$strict>>>;
|
|
1517
|
+
artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1518
|
+
artifact_id: z.ZodString;
|
|
1519
|
+
status: z.ZodEnum<{
|
|
1520
|
+
ready: "ready";
|
|
1521
|
+
not_ready: "not_ready";
|
|
1522
|
+
failed: "failed";
|
|
1523
|
+
skipped: "skipped";
|
|
1524
|
+
}>;
|
|
1525
|
+
built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1526
|
+
proofs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1527
|
+
check_id: z.ZodString;
|
|
1528
|
+
kind: z.ZodEnum<{
|
|
1529
|
+
file_exists: "file_exists";
|
|
1530
|
+
min_file_count: "min_file_count";
|
|
1531
|
+
min_file_count_matches_source: "min_file_count_matches_source";
|
|
1532
|
+
frontmatter_valid: "frontmatter_valid";
|
|
1533
|
+
frontmatter_required_keys: "frontmatter_required_keys";
|
|
1534
|
+
wikilinks_valid: "wikilinks_valid";
|
|
1535
|
+
must_not_contain: "must_not_contain";
|
|
1536
|
+
must_contain: "must_contain";
|
|
1537
|
+
qa_match: "qa_match";
|
|
1538
|
+
}>;
|
|
1539
|
+
passed: z.ZodBoolean;
|
|
1540
|
+
required: z.ZodBoolean;
|
|
1541
|
+
summary: z.ZodString;
|
|
1542
|
+
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1543
|
+
evaluated_at: z.ZodString;
|
|
1544
|
+
}, z.core.$strict>>>;
|
|
1545
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1546
|
+
}, z.core.$strict>>>;
|
|
1521
1547
|
}, z.core.$strict>;
|
|
1522
1548
|
export type ExecutionBackendKind = z.infer<typeof ExecutionBackendKindSchema>;
|
|
1523
1549
|
export type MethodTraceRunStatus = z.infer<typeof MethodTraceRunStatusSchema>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { RuntimeExecutorInfoSchema, RuntimeStageSchema, MethodIdSchema,
|
|
2
|
+
import { ArtifactStatusSchema, RuntimeExecutorInfoSchema, RuntimeStageSchema, MethodIdSchema, ReadinessSchema, PreparationNameSchema, } from "../../../contracts/lib/schema.js";
|
|
3
3
|
const RunIdSchema = z.string().min(1);
|
|
4
4
|
const JsonObjectSchema = z.record(z.string(), z.unknown());
|
|
5
5
|
export const MethodTraceRunStatusSchema = z.enum([
|
|
@@ -72,7 +72,7 @@ export const MethodTraceSchema = z.object({
|
|
|
72
72
|
}).strict();
|
|
73
73
|
export const ObservableRunTypeSchema = z.enum([
|
|
74
74
|
"compile",
|
|
75
|
-
"
|
|
75
|
+
"verify",
|
|
76
76
|
"readiness-check-draft",
|
|
77
77
|
"method-authoring",
|
|
78
78
|
"method-improvement",
|
|
@@ -146,7 +146,7 @@ export const RunObservabilitySchema = z.object({
|
|
|
146
146
|
metrics: z.array(ObservableRunMetricSchema).default([]),
|
|
147
147
|
artifacts: z.array(ArtifactRefSchema).default([]),
|
|
148
148
|
proof: z.array(ProofCheckSchema).default([]),
|
|
149
|
-
readiness:
|
|
149
|
+
readiness: ReadinessSchema.nullable().optional(),
|
|
150
150
|
trace: MethodTraceSchema,
|
|
151
151
|
}).strict();
|
|
152
152
|
export const ProofRecordSchema = z.object({
|
|
@@ -165,7 +165,6 @@ export const StageRunContractSchema = z.object({
|
|
|
165
165
|
stage_total: z.number().int().min(1).optional(),
|
|
166
166
|
reads: z.array(z.string().min(1)).default([]),
|
|
167
167
|
writes: z.array(z.string().min(1)).default([]),
|
|
168
|
-
acceptance: z.record(z.string(), z.unknown()).optional(),
|
|
169
168
|
}).strict();
|
|
170
169
|
export const StageRunLogsSchema = z.object({
|
|
171
170
|
prompt_path: z.string().min(1).optional(),
|
|
@@ -230,6 +229,10 @@ export const RunFailedEventSchema = RunEventBaseSchema.extend({
|
|
|
230
229
|
type: z.literal("run.failed"),
|
|
231
230
|
error: z.string().min(1),
|
|
232
231
|
}).strict();
|
|
232
|
+
export const RunCancelledEventSchema = RunEventBaseSchema.extend({
|
|
233
|
+
type: z.literal("run.cancelled"),
|
|
234
|
+
reason: z.string().min(1).optional(),
|
|
235
|
+
}).strict();
|
|
233
236
|
export const ChecksEvaluatedEventSchema = RunEventBaseSchema.extend({
|
|
234
237
|
type: z.literal("checks.evaluated"),
|
|
235
238
|
passed: z.number().int().min(0),
|
|
@@ -242,7 +245,7 @@ export const ChecksEvaluatedEventSchema = RunEventBaseSchema.extend({
|
|
|
242
245
|
export const ReadinessUpdatedEventSchema = RunEventBaseSchema.extend({
|
|
243
246
|
type: z.literal("readiness.updated"),
|
|
244
247
|
preparation: PreparationNameSchema,
|
|
245
|
-
readiness:
|
|
248
|
+
readiness: ReadinessSchema,
|
|
246
249
|
}).strict();
|
|
247
250
|
export const InterfRunEventSchema = z.discriminatedUnion("type", [
|
|
248
251
|
RunStartedEventSchema,
|
|
@@ -255,6 +258,7 @@ export const InterfRunEventSchema = z.discriminatedUnion("type", [
|
|
|
255
258
|
StageFailedEventSchema,
|
|
256
259
|
RunCompletedEventSchema,
|
|
257
260
|
RunFailedEventSchema,
|
|
261
|
+
RunCancelledEventSchema,
|
|
258
262
|
ChecksEvaluatedEventSchema,
|
|
259
263
|
ReadinessUpdatedEventSchema,
|
|
260
264
|
]);
|
|
@@ -291,5 +295,9 @@ export const CompileRunSchema = z.object({
|
|
|
291
295
|
stages: z.array(StageRunSchema).default([]),
|
|
292
296
|
events: z.array(InterfRunEventSchema).default([]),
|
|
293
297
|
latest_proof: ProofRecordSchema.nullable().optional(),
|
|
294
|
-
readiness:
|
|
298
|
+
readiness: ReadinessSchema.nullable().optional(),
|
|
299
|
+
// Per-Artifact status records when the Method declares an
|
|
300
|
+
// `artifacts[]` block. Computed
|
|
301
|
+
// once the run reaches a terminal status; `not_ready` while running.
|
|
302
|
+
artifacts: z.array(ArtifactStatusSchema).default([]),
|
|
295
303
|
}).strict();
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export * as schema from "./lib/schema.js";
|
|
2
|
+
export * as actionValues from "./action-values.js";
|
|
3
|
+
export * as actionDefinitions from "./action-definitions.js";
|
|
4
|
+
export * as routes from "./routes.js";
|
|
5
|
+
export * as client from "./client.js";
|
|
6
|
+
export * as runtime from "./runtime.js";
|
|
7
|
+
export * as server from "./server.js";
|
|
8
|
+
export type { CompileRunCreateRequest, CompileRunResource, CompileRunSummary, LocalServiceDiscovery, PortableContextMapping, PreparationRunLinkage, PreparationResource, PreparationWireShape, MethodResource, LocalJobAgent, LocalJobEvent, LocalJobEventAppendRequest, LocalJobEventType, LocalJobRunCreateRequest, LocalJobRunResource, LocalJobStatus, LocalRunHandlerResult, LocalJobStep, LocalJobType, LocalServiceConfig, LocalServiceError, LocalServiceHealth, LocalExecutorStatus, ActionClientOrigin, ActionProposalApproval, ActionProposalApprovalRequest, ActionProposalCreateRequest, ActionProposalListResponse, ActionProposalPlan, ActionProposalPlanActionType, ActionProposalResource, ActionProposalStatus, ActionProposalType, MethodChangeResult, PreparationChangeResult, PreparationSetupResult, ResetRequest, ResetResult, PortableContextResource, ReadinessResource, SourceFileResource, ReadinessCheckDraftCreateRequest, ReadinessCheckDraftResult, VerifyRunCreateRequest, VerifyRunResource, VerifyRunStatus, RunObservabilityListResponse, RunObservabilityResource, MethodAuthoringCreateRequest, MethodAuthoringResult, PreparationListResponse, MethodListResponse, PortableContextListResponse, SourceFileListResponse, OpenPathRequest, OpenPathResponse, WorkspaceFileResource, } from "./lib/schema.js";
|
|
9
|
+
export { CompileRunCreateRequestSchema, CompileRunResourceSchema, CompileRunSummarySchema, LocalServiceDiscoverySchema, PortableContextMappingSchema, PreparationRunLinkageSchema, PreparationResourceSchema, PreparationWireShapeSchema, MethodResourceSchema, LocalJobAgentSchema, LocalJobEventAppendRequestSchema, LocalJobEventSchema, LocalJobEventTypeSchema, LocalJobRunCreateRequestSchema, LocalJobRunResourceSchema, LocalJobStatusSchema, LocalRunHandlerResultSchema, LocalJobStepSchema, LocalJobTypeSchema, LocalServiceConfigSchema, LocalServiceErrorSchema, LocalServiceHealthSchema, PortableContextResourceSchema, ReadinessResourceSchema, SourceFileResourceSchema, ReadinessCheckDraftCreateRequestSchema, ReadinessCheckDraftResultSchema, VerifyRunCreateRequestSchema, VerifyRunResourceSchema, VerifyRunStatusSchema, RunObservabilityResourceSchema, RunObservabilityListResponseSchema, LocalExecutorStatusSchema, ActionClientOriginSchema, ActionProposalApprovalRequestSchema, ActionProposalApprovalSchema, ActionProposalCreateRequestSchema, ActionProposalListResponseSchema, ActionProposalPlanSchema, ActionProposalPlanActionTypeSchema, ActionProposalResourceSchema, ActionProposalStatusSchema, ActionProposalTypeSchema, ResetRequestSchema, ResetResultSchema, MethodAuthoringCreateRequestSchema, MethodAuthoringResultSchema, PreparationListResponseSchema, MethodListResponseSchema, PortableContextListResponseSchema, SourceFileListResponseSchema, OpenPathRequestSchema, OpenPathResponseSchema, } from "./lib/schema.js";
|
|
10
|
+
export { LOCAL_SERVICE_DEFAULT_HOST, LOCAL_SERVICE_DEFAULT_PORT, LOCAL_SERVICE_ROUTES, buildLocalServiceUrl, } from "./routes.js";
|
|
11
|
+
export type { ServiceRegistry, ServiceRegistryEntry, ServiceRegistryWorkspace, } from "./lib/schema.js";
|
|
12
|
+
export { ServiceRegistrySchema, ServiceRegistryEntrySchema, ServiceRegistryWorkspaceSchema, } from "./lib/schema.js";
|
|
13
|
+
export { readServiceRegistry, registerServiceLocally, unregisterService, writeServiceRegistry, serviceRegistryPath, } from "./service-registry.js";
|
|
14
|
+
export type { LocalServiceJobSubmission, LocalServiceJobSubmitted, LocalServiceConnection, } from "./client.js";
|
|
15
|
+
export type { LocalCompileRunCancelResult, } from "./client.js";
|
|
16
|
+
export { approveActionProposalInLocalService, cancelLocalCompileRun, configuredLocalServiceUrl, resolveLocalServiceAuthToken, createActionProposalInLocalService, decideActionProposalInLocalService, findLocalService, getLocalJobRun, getLocalCompileRun, getLocalServiceHealth, getLocalVerifyRun, submitCompileRunToLocalService, submitReadinessCheckDraftToLocalService, submitResetToLocalService, submitVerifyRunToLocalService, submitMethodAuthoringRunToLocalService, waitForLocalJobRun, waitForLocalCompileRun, waitForLocalVerifyRun, } from "./client.js";
|
|
17
|
+
export type { LocalServiceActionPlanningContext, LocalServiceCompileRunContext, LocalServiceJobRunContext, LocalServiceRunHandlers, LocalServiceRuntimeOptions, LocalServiceVerifyRunContext, PreparationContext, } from "./runtime.js";
|
|
18
|
+
export { LocalServiceRuntime, createLocalServiceRuntime, } from "./runtime.js";
|
|
19
|
+
export type { StartedLocalService, StartLocalServiceOptions, } from "./server.js";
|
|
20
|
+
export { createLocalServiceServer, createLocalServiceAuthToken, startLocalService, } from "./server.js";
|
|
21
|
+
export type { NativeLocalServiceRunHandlerOptions, } from "./native-run-handlers.js";
|
|
22
|
+
export { createNativeLocalServiceRunHandlers, } from "./native-run-handlers.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * as schema from "./lib/schema.js";
|
|
2
|
+
export * as actionValues from "./action-values.js";
|
|
3
|
+
export * as actionDefinitions from "./action-definitions.js";
|
|
4
|
+
export * as routes from "./routes.js";
|
|
5
|
+
export * as client from "./client.js";
|
|
6
|
+
export * as runtime from "./runtime.js";
|
|
7
|
+
export * as server from "./server.js";
|
|
8
|
+
export { CompileRunCreateRequestSchema, CompileRunResourceSchema, CompileRunSummarySchema, LocalServiceDiscoverySchema, PortableContextMappingSchema, PreparationRunLinkageSchema, PreparationResourceSchema, PreparationWireShapeSchema, MethodResourceSchema, LocalJobAgentSchema, LocalJobEventAppendRequestSchema, LocalJobEventSchema, LocalJobEventTypeSchema, LocalJobRunCreateRequestSchema, LocalJobRunResourceSchema, LocalJobStatusSchema, LocalRunHandlerResultSchema, LocalJobStepSchema, LocalJobTypeSchema, LocalServiceConfigSchema, LocalServiceErrorSchema, LocalServiceHealthSchema, PortableContextResourceSchema, ReadinessResourceSchema, SourceFileResourceSchema, ReadinessCheckDraftCreateRequestSchema, ReadinessCheckDraftResultSchema, VerifyRunCreateRequestSchema, VerifyRunResourceSchema, VerifyRunStatusSchema, RunObservabilityResourceSchema, RunObservabilityListResponseSchema, LocalExecutorStatusSchema, ActionClientOriginSchema, ActionProposalApprovalRequestSchema, ActionProposalApprovalSchema, ActionProposalCreateRequestSchema, ActionProposalListResponseSchema, ActionProposalPlanSchema, ActionProposalPlanActionTypeSchema, ActionProposalResourceSchema, ActionProposalStatusSchema, ActionProposalTypeSchema, ResetRequestSchema, ResetResultSchema, MethodAuthoringCreateRequestSchema, MethodAuthoringResultSchema, PreparationListResponseSchema, MethodListResponseSchema, PortableContextListResponseSchema, SourceFileListResponseSchema, OpenPathRequestSchema, OpenPathResponseSchema, } from "./lib/schema.js";
|
|
9
|
+
export { LOCAL_SERVICE_DEFAULT_HOST, LOCAL_SERVICE_DEFAULT_PORT, LOCAL_SERVICE_ROUTES, buildLocalServiceUrl, } from "./routes.js";
|
|
10
|
+
export { ServiceRegistrySchema, ServiceRegistryEntrySchema, ServiceRegistryWorkspaceSchema, } from "./lib/schema.js";
|
|
11
|
+
export { readServiceRegistry, registerServiceLocally, unregisterService, writeServiceRegistry, serviceRegistryPath, } from "./service-registry.js";
|
|
12
|
+
export { approveActionProposalInLocalService, cancelLocalCompileRun, configuredLocalServiceUrl, resolveLocalServiceAuthToken, createActionProposalInLocalService, decideActionProposalInLocalService, findLocalService, getLocalJobRun, getLocalCompileRun, getLocalServiceHealth, getLocalVerifyRun, submitCompileRunToLocalService, submitReadinessCheckDraftToLocalService, submitResetToLocalService, submitVerifyRunToLocalService, submitMethodAuthoringRunToLocalService, waitForLocalJobRun, waitForLocalCompileRun, waitForLocalVerifyRun, } from "./client.js";
|
|
13
|
+
export { LocalServiceRuntime, createLocalServiceRuntime, } from "./runtime.js";
|
|
14
|
+
export { createLocalServiceServer, createLocalServiceAuthToken, startLocalService, } from "./server.js";
|
|
15
|
+
export { createNativeLocalServiceRunHandlers, } from "./native-run-handlers.js";
|