@interf/compiler 0.22.0 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +268 -0
- package/dist/bin-mcp.d.ts +2 -0
- package/dist/bin-mcp.js +63 -0
- package/dist/bin-runtime.d.ts +2 -0
- package/dist/bin-runtime.js +111 -0
- package/dist/cli/commands/agents.js +4 -4
- package/dist/cli/commands/auth.d.ts +20 -0
- package/dist/cli/commands/auth.js +161 -0
- package/dist/cli/commands/benchmark.d.ts +10 -0
- package/dist/cli/commands/benchmark.js +88 -0
- package/dist/cli/commands/build-plan.js +95 -103
- package/dist/cli/commands/build.d.ts +1 -1
- package/dist/cli/commands/build.js +16 -15
- package/dist/cli/commands/doctor.js +3 -3
- package/dist/cli/commands/graphs.d.ts +2 -0
- package/dist/cli/commands/graphs.js +199 -0
- package/dist/cli/commands/login.js +4 -6
- package/dist/cli/commands/logout.js +1 -1
- package/dist/cli/commands/mcp.d.ts +3 -2
- package/dist/cli/commands/mcp.js +721 -204
- package/dist/cli/commands/project.d.ts +2 -0
- package/dist/cli/commands/project.js +202 -0
- package/dist/cli/commands/reset.d.ts +1 -1
- package/dist/cli/commands/reset.js +10 -10
- package/dist/cli/commands/runs.js +52 -26
- package/dist/cli/commands/runtime.d.ts +24 -0
- package/dist/cli/commands/runtime.js +373 -0
- package/dist/cli/commands/status.d.ts +1 -0
- package/dist/cli/commands/status.js +33 -22
- package/dist/cli/commands/traces.d.ts +2 -0
- package/dist/cli/commands/traces.js +125 -0
- package/dist/cli/commands/wizard.js +155 -150
- package/dist/cli/index.d.ts +7 -4
- package/dist/cli/index.js +13 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/packages/build-plans/authoring/brief.d.ts +517 -0
- package/dist/packages/build-plans/authoring/brief.js +89 -0
- package/dist/packages/build-plans/authoring/build-plan-authoring.d.ts +10 -10
- package/dist/packages/build-plans/authoring/build-plan-authoring.js +66 -26
- package/dist/packages/build-plans/authoring/build-plan-edit-session.d.ts +1 -1
- package/dist/packages/build-plans/authoring/build-plan-edit-session.js +8 -2
- package/dist/packages/build-plans/authoring/build-plan-improvement.d.ts +9 -6
- package/dist/packages/build-plans/authoring/build-plan-improvement.js +39 -42
- package/dist/packages/build-plans/authoring/lib/build-plan-edit-utils.js +7 -7
- package/dist/packages/build-plans/build-plan-resolution.d.ts +1 -1
- package/dist/packages/build-plans/build-plan-resolution.js +3 -3
- package/dist/packages/build-plans/index.d.ts +1 -1
- package/dist/packages/build-plans/index.js +1 -1
- package/dist/packages/build-plans/package/build-plan-definitions.d.ts +14 -12
- package/dist/packages/build-plans/package/build-plan-definitions.js +40 -39
- package/dist/packages/build-plans/package/build-plan-helpers.d.ts +3 -2
- package/dist/packages/build-plans/package/build-plan-helpers.js +27 -13
- package/dist/packages/build-plans/package/build-plan-review-paths.d.ts +5 -5
- package/dist/packages/build-plans/package/build-plan-review-paths.js +15 -15
- package/dist/packages/build-plans/package/build-plan-stage-runner.d.ts +4 -4
- package/dist/packages/build-plans/package/build-plan-stage-runner.js +22 -11
- package/dist/packages/build-plans/package/builtin-build-plan.d.ts +5 -6
- package/dist/packages/build-plans/package/builtin-build-plan.js +7 -8
- package/dist/packages/build-plans/package/context-interface.d.ts +11 -9
- package/dist/packages/build-plans/package/context-interface.js +14 -33
- package/dist/packages/build-plans/package/interf-build-plan-package.d.ts +6 -17
- package/dist/packages/build-plans/package/interf-build-plan-package.js +56 -52
- package/dist/packages/build-plans/package/local-build-plans.d.ts +12 -10
- package/dist/packages/build-plans/package/local-build-plans.js +56 -31
- package/dist/packages/build-plans/package/user-build-plans.js +1 -1
- package/dist/packages/contracts/index.d.ts +4 -2
- package/dist/packages/contracts/index.js +2 -1
- package/dist/packages/contracts/lib/project-paths.d.ts +137 -0
- package/dist/packages/contracts/lib/project-paths.js +211 -0
- package/dist/packages/contracts/lib/project-schema.d.ts +160 -0
- package/dist/packages/contracts/lib/project-schema.js +113 -0
- package/dist/packages/contracts/lib/schema.d.ts +739 -80
- package/dist/packages/contracts/lib/schema.js +410 -75
- package/dist/packages/contracts/utils/parse.js +67 -0
- package/dist/packages/projects/index.d.ts +6 -0
- package/dist/packages/{project → projects}/index.js +0 -3
- package/dist/packages/{project → projects}/interf-detect.d.ts +12 -12
- package/dist/packages/{project → projects}/interf-detect.js +56 -50
- package/dist/packages/projects/interf.d.ts +2 -0
- package/dist/packages/projects/interf.js +1 -0
- package/dist/packages/projects/lib/schema.d.ts +79 -0
- package/dist/packages/projects/lib/schema.js +89 -0
- package/dist/packages/projects/source-config.d.ts +58 -0
- package/dist/packages/projects/source-config.js +352 -0
- package/dist/packages/projects/source-folders.d.ts +11 -0
- package/dist/packages/{project → projects}/source-folders.js +26 -26
- package/dist/packages/{engine → runtime}/action-planner.d.ts +1 -1
- package/dist/packages/{engine → runtime}/action-planner.js +20 -22
- package/dist/packages/runtime/action-values.d.ts +1 -0
- package/dist/packages/runtime/action-values.js +1 -0
- package/dist/packages/runtime/actions/errors.d.ts +2 -0
- package/dist/packages/runtime/actions/errors.js +12 -0
- package/dist/packages/runtime/actions/fields.d.ts +82 -0
- package/dist/packages/runtime/actions/form-builders.d.ts +14 -0
- package/dist/packages/runtime/actions/form-builders.js +619 -0
- package/dist/packages/runtime/actions/form-validators.d.ts +8 -0
- package/dist/packages/runtime/actions/form-validators.js +128 -0
- package/dist/packages/runtime/actions/helpers.d.ts +11 -0
- package/dist/packages/runtime/actions/helpers.js +80 -0
- package/dist/packages/runtime/actions/index.d.ts +8 -0
- package/dist/packages/runtime/actions/index.js +11 -0
- package/dist/packages/runtime/actions/registry.d.ts +64 -0
- package/dist/packages/runtime/actions/registry.js +62 -0
- package/dist/packages/runtime/actions/requests.d.ts +45 -0
- package/dist/packages/runtime/actions/requests.js +158 -0
- package/dist/packages/runtime/actions/schemas.d.ts +154 -0
- package/dist/packages/runtime/actions/schemas.js +36 -0
- package/dist/packages/runtime/agent-handoff.d.ts +11 -0
- package/dist/packages/runtime/agent-handoff.js +101 -0
- package/dist/packages/{engine → runtime}/agents/index.d.ts +1 -2
- package/dist/packages/{engine → runtime}/agents/index.js +1 -2
- package/dist/packages/runtime/agents/lib/args.d.ts +14 -0
- package/dist/packages/runtime/agents/lib/args.js +24 -0
- package/dist/packages/{engine → runtime}/agents/lib/constants.d.ts +4 -1
- package/dist/packages/runtime/agents/lib/constants.js +13 -0
- package/dist/packages/runtime/agents/lib/context-graph-bootstrap.d.ts +3 -0
- package/dist/packages/{engine/agents/lib/verifiable-context-bootstrap.js → runtime/agents/lib/context-graph-bootstrap.js} +5 -6
- package/dist/packages/{engine → runtime}/agents/lib/detection.d.ts +5 -0
- package/dist/packages/{engine → runtime}/agents/lib/detection.js +16 -7
- package/dist/packages/{engine → runtime}/agents/lib/execution-profile.js +8 -14
- package/dist/packages/{engine → runtime}/agents/lib/execution.js +14 -4
- package/dist/packages/{engine → runtime}/agents/lib/preflight.js +15 -13
- package/dist/packages/{engine → runtime}/agents/lib/render.js +4 -4
- package/dist/packages/runtime/agents/lib/shell-fs.d.ts +18 -0
- package/dist/packages/runtime/agents/lib/shell-fs.js +190 -0
- package/dist/packages/runtime/agents/lib/shell-paths.d.ts +16 -0
- package/dist/packages/runtime/agents/lib/shell-paths.js +63 -0
- package/dist/packages/runtime/agents/lib/shell-projection.d.ts +25 -0
- package/dist/packages/runtime/agents/lib/shell-projection.js +314 -0
- package/dist/packages/runtime/agents/lib/shell-templates.d.ts +30 -0
- package/dist/packages/runtime/agents/lib/shell-templates.js +452 -0
- package/dist/packages/runtime/agents/lib/shell-workspace.d.ts +17 -0
- package/dist/packages/runtime/agents/lib/shell-workspace.js +70 -0
- package/dist/packages/runtime/agents/lib/shells.d.ts +63 -0
- package/dist/packages/runtime/agents/lib/shells.js +383 -0
- package/dist/packages/{engine → runtime}/agents/lib/user-config.d.ts +8 -2
- package/dist/packages/{engine → runtime}/agents/lib/user-config.js +8 -2
- package/dist/packages/runtime/agents/providers/claude-code.d.ts +13 -0
- package/dist/packages/runtime/agents/providers/claude-code.js +45 -0
- package/dist/packages/runtime/agents/providers/codex.d.ts +17 -0
- package/dist/packages/runtime/agents/providers/codex.js +64 -0
- package/dist/packages/runtime/agents/providers/cursor.d.ts +9 -0
- package/dist/packages/runtime/agents/providers/cursor.js +24 -0
- package/dist/packages/runtime/agents/providers/index.d.ts +9 -0
- package/dist/packages/runtime/agents/providers/index.js +31 -0
- package/dist/packages/runtime/agents/providers/types.d.ts +50 -0
- package/dist/packages/{engine → runtime}/agents/registry.d.ts +13 -2
- package/dist/packages/{engine → runtime}/agents/registry.js +48 -10
- package/dist/packages/{engine → runtime}/agents/role-executors.d.ts +1 -1
- package/dist/packages/{engine → runtime}/agents/role-executors.js +7 -6
- package/dist/packages/{engine → runtime}/agents/role-router.js +7 -5
- package/dist/packages/runtime/auth/account-context.d.ts +52 -0
- package/dist/packages/runtime/auth/account-context.js +68 -0
- package/dist/packages/runtime/auth/auth-flow.d.ts +73 -0
- package/dist/packages/runtime/auth/auth-flow.js +189 -0
- package/dist/packages/runtime/auth/jwt-validator.d.ts +58 -0
- package/dist/packages/runtime/auth/jwt-validator.js +86 -0
- package/dist/packages/runtime/auth/keychain.d.ts +35 -0
- package/dist/packages/runtime/auth/keychain.js +85 -0
- package/dist/packages/runtime/auth/session-store.d.ts +38 -0
- package/dist/packages/runtime/auth/session-store.js +88 -0
- package/dist/packages/runtime/auth/workos-client.d.ts +58 -0
- package/dist/packages/runtime/auth/workos-client.js +87 -0
- package/dist/packages/runtime/benchmark-question-draft.d.ts +20 -0
- package/dist/packages/runtime/benchmark-question-draft.js +124 -0
- package/dist/packages/runtime/build/artifact-counts.d.ts +1 -0
- package/dist/packages/{engine → runtime}/build/artifact-counts.js +5 -9
- package/dist/packages/{engine → runtime}/build/artifact-status.d.ts +5 -5
- package/dist/packages/{engine → runtime}/build/artifact-status.js +25 -23
- package/dist/packages/runtime/build/atomic-fs.d.ts +3 -0
- package/dist/packages/runtime/build/atomic-fs.js +95 -0
- package/dist/packages/runtime/build/billing-events.d.ts +78 -0
- package/dist/packages/{engine → runtime}/build/billing-events.js +17 -19
- package/dist/packages/runtime/build/build-evidence.d.ts +15 -0
- package/dist/packages/runtime/build/build-evidence.js +173 -0
- package/dist/packages/{engine → runtime}/build/build-pipeline.d.ts +12 -8
- package/dist/packages/runtime/build/build-pipeline.js +304 -0
- package/dist/packages/{engine → runtime}/build/build-plan-primitives.d.ts +1 -1
- package/dist/packages/{engine → runtime}/build/build-plan-primitives.js +0 -1
- package/dist/packages/runtime/build/build-plan-runs.d.ts +14 -0
- package/dist/packages/runtime/build/build-plan-runs.js +31 -0
- package/dist/packages/runtime/build/build-stage-plan.d.ts +16 -0
- package/dist/packages/{engine → runtime}/build/build-stage-plan.js +28 -29
- package/dist/packages/{engine → runtime}/build/build-stage-runner.d.ts +2 -1
- package/dist/packages/runtime/build/build-stage-runner.js +165 -0
- package/dist/packages/{engine → runtime}/build/build-target.d.ts +4 -4
- package/dist/packages/runtime/build/build-target.js +16 -0
- package/dist/packages/{engine → runtime}/build/check-evaluator.d.ts +14 -16
- package/dist/packages/runtime/build/check-evaluator.js +575 -0
- package/dist/packages/runtime/build/context-graph-paths.d.ts +51 -0
- package/dist/packages/runtime/build/context-graph-paths.js +133 -0
- package/dist/packages/runtime/build/context-graph-schema.d.ts +19 -0
- package/dist/packages/runtime/build/context-graph-schema.js +39 -0
- package/dist/packages/{engine → runtime}/build/discovery.d.ts +2 -2
- package/dist/packages/{engine → runtime}/build/discovery.js +4 -4
- package/dist/packages/{engine → runtime}/build/index.d.ts +5 -3
- package/dist/packages/{engine → runtime}/build/index.js +5 -3
- package/dist/packages/{engine → runtime}/build/lib/schema.d.ts +221 -88
- package/dist/packages/{engine → runtime}/build/lib/schema.js +61 -41
- package/dist/packages/runtime/build/reset.d.ts +2 -0
- package/dist/packages/runtime/build/reset.js +62 -0
- package/dist/packages/{engine → runtime}/build/runtime-contracts.js +5 -5
- package/dist/packages/runtime/build/runtime-inventory.d.ts +7 -0
- package/dist/packages/{engine → runtime}/build/runtime-inventory.js +3 -3
- package/dist/packages/{engine → runtime}/build/runtime-paths.js +6 -6
- package/dist/packages/{engine → runtime}/build/runtime-prompt.js +7 -6
- package/dist/packages/{engine → runtime}/build/runtime-reconcile.d.ts +1 -1
- package/dist/packages/{engine → runtime}/build/runtime-reconcile.js +25 -21
- package/dist/packages/runtime/build/runtime-runs.d.ts +10 -0
- package/dist/packages/runtime/build/runtime-runs.js +265 -0
- package/dist/packages/{engine → runtime}/build/runtime-types.d.ts +6 -6
- package/dist/packages/runtime/build/runtime-types.js +1 -0
- package/dist/packages/runtime/build/runtime.d.ts +6 -0
- package/dist/packages/runtime/build/runtime.js +5 -0
- package/dist/packages/runtime/build/source-files.d.ts +58 -0
- package/dist/packages/runtime/build/source-files.js +184 -0
- package/dist/packages/runtime/build/source-inventory.d.ts +27 -0
- package/dist/packages/runtime/build/source-inventory.js +273 -0
- package/dist/packages/runtime/build/source-manifest.d.ts +52 -0
- package/dist/packages/runtime/build/source-manifest.js +192 -0
- package/dist/packages/runtime/build/stage-evidence.d.ts +22 -0
- package/dist/packages/runtime/build/stage-evidence.js +317 -0
- package/dist/packages/runtime/build/stage-reuse.d.ts +11 -0
- package/dist/packages/runtime/build/stage-reuse.js +142 -0
- package/dist/packages/runtime/build/state-artifacts.d.ts +9 -0
- package/dist/packages/runtime/build/state-artifacts.js +14 -0
- package/dist/packages/runtime/build/state-health.d.ts +4 -0
- package/dist/packages/{engine → runtime}/build/state-health.js +21 -26
- package/dist/packages/runtime/build/state-io.d.ts +12 -0
- package/dist/packages/runtime/build/state-io.js +119 -0
- package/dist/packages/{engine → runtime}/build/state-paths.d.ts +3 -1
- package/dist/packages/runtime/build/state-paths.js +22 -0
- package/dist/packages/runtime/build/state-view.d.ts +5 -0
- package/dist/packages/{engine → runtime}/build/state-view.js +60 -33
- package/dist/packages/runtime/build/state.d.ts +7 -0
- package/dist/packages/runtime/build/state.js +12 -0
- package/dist/packages/runtime/build/traces.d.ts +30 -0
- package/dist/packages/runtime/build/traces.js +133 -0
- package/dist/packages/{engine/build/validate-verifiable-context.d.ts → runtime/build/validate-context-graph.d.ts} +6 -6
- package/dist/packages/{engine/build/validate-verifiable-context.js → runtime/build/validate-context-graph.js} +48 -35
- package/dist/packages/{engine → runtime}/build/validate.d.ts +5 -5
- package/dist/packages/{engine → runtime}/build/validate.js +26 -26
- package/dist/packages/{engine → runtime}/client.d.ts +15 -15
- package/dist/packages/{engine → runtime}/client.js +41 -24
- package/dist/packages/{engine → runtime}/connection-config.d.ts +3 -2
- package/dist/packages/{engine → runtime}/connection-config.js +9 -8
- package/dist/packages/runtime/context-checks.d.ts +10 -0
- package/dist/packages/runtime/context-checks.js +114 -0
- package/dist/packages/runtime/context-graph-scaffold.d.ts +9 -0
- package/dist/packages/runtime/context-graph-scaffold.js +134 -0
- package/dist/packages/runtime/entitlement-guard.d.ts +43 -0
- package/dist/packages/runtime/entitlement-guard.js +70 -0
- package/dist/packages/{engine → runtime}/execution/index.d.ts +2 -2
- package/dist/packages/{engine → runtime}/execution/index.js +1 -1
- package/dist/packages/{engine → runtime}/execution/lib/schema.d.ts +270 -192
- package/dist/packages/{engine → runtime}/execution/lib/schema.js +35 -32
- package/dist/packages/runtime/index.d.ts +29 -0
- package/dist/packages/runtime/index.js +21 -0
- package/dist/packages/runtime/instance-paths.d.ts +30 -0
- package/dist/packages/runtime/instance-paths.js +29 -0
- package/dist/packages/{engine → runtime}/native-run-handlers.d.ts +4 -4
- package/dist/packages/{engine → runtime}/native-run-handlers.js +184 -152
- package/dist/packages/runtime/plan-artifact-contract.d.ts +17 -0
- package/dist/packages/runtime/plan-artifact-contract.js +42 -0
- package/dist/packages/runtime/project-entries.d.ts +11 -0
- package/dist/packages/runtime/project-entries.js +49 -0
- package/dist/packages/runtime/project-source-state.d.ts +26 -0
- package/dist/packages/runtime/project-source-state.js +53 -0
- package/dist/packages/runtime/project-store.d.ts +85 -0
- package/dist/packages/runtime/project-store.js +168 -0
- package/dist/packages/runtime/requested-artifacts.d.ts +7 -0
- package/dist/packages/{engine → runtime}/requested-artifacts.js +23 -1
- package/dist/packages/{engine → runtime}/run-observability.d.ts +2 -1
- package/dist/packages/{engine → runtime}/run-observability.js +166 -84
- package/dist/packages/runtime/runtime-action-proposals.d.ts +7 -0
- package/dist/packages/runtime/runtime-action-proposals.js +542 -0
- package/dist/packages/runtime/runtime-build-plans.d.ts +5 -0
- package/dist/packages/runtime/runtime-build-plans.js +131 -0
- package/dist/packages/runtime/runtime-build-runs.d.ts +47 -0
- package/dist/packages/runtime/runtime-build-runs.js +562 -0
- package/dist/packages/runtime/runtime-caches.d.ts +91 -0
- package/dist/packages/{engine → runtime}/runtime-caches.js +77 -49
- package/dist/packages/{engine → runtime}/runtime-event-applier.d.ts +3 -1
- package/dist/packages/{engine → runtime}/runtime-event-applier.js +53 -17
- package/dist/packages/runtime/runtime-executor.d.ts +22 -0
- package/dist/packages/runtime/runtime-executor.js +131 -0
- package/dist/packages/runtime/runtime-jobs.d.ts +13 -0
- package/dist/packages/runtime/runtime-jobs.js +463 -0
- package/dist/packages/runtime/runtime-observability.d.ts +11 -0
- package/dist/packages/runtime/runtime-observability.js +39 -0
- package/dist/packages/{engine → runtime}/runtime-persistence.d.ts +9 -18
- package/dist/packages/{engine → runtime}/runtime-persistence.js +25 -25
- package/dist/packages/runtime/runtime-project-mutations.d.ts +7 -0
- package/dist/packages/runtime/runtime-project-mutations.js +64 -0
- package/dist/packages/runtime/runtime-project-reads.d.ts +15 -0
- package/dist/packages/runtime/runtime-project-reads.js +381 -0
- package/dist/packages/runtime/runtime-proposal-helpers.d.ts +22 -0
- package/dist/packages/runtime/runtime-proposal-helpers.js +223 -0
- package/dist/packages/{engine → runtime}/runtime-resource-builders.d.ts +21 -16
- package/dist/packages/{engine → runtime}/runtime-resource-builders.js +48 -38
- package/dist/packages/runtime/runtime-verify-runs.d.ts +84 -0
- package/dist/packages/runtime/runtime-verify-runs.js +295 -0
- package/dist/packages/runtime/runtime.d.ts +1165 -0
- package/dist/packages/runtime/runtime.js +417 -0
- package/dist/packages/runtime/schemas/actions.d.ts +1182 -0
- package/dist/packages/runtime/schemas/actions.js +117 -0
- package/dist/packages/runtime/schemas/agents.d.ts +76 -0
- package/dist/packages/runtime/schemas/agents.js +41 -0
- package/dist/packages/runtime/schemas/build-plans.d.ts +959 -0
- package/dist/packages/runtime/schemas/build-plans.js +107 -0
- package/dist/packages/runtime/schemas/files.d.ts +567 -0
- package/dist/packages/runtime/schemas/files.js +51 -0
- package/dist/packages/runtime/schemas/index.d.ts +8 -0
- package/dist/packages/runtime/schemas/index.js +12 -0
- package/dist/packages/runtime/schemas/instance.d.ts +141 -0
- package/dist/packages/runtime/schemas/instance.js +143 -0
- package/dist/packages/runtime/schemas/jobs.d.ts +339 -0
- package/dist/packages/runtime/schemas/jobs.js +103 -0
- package/dist/packages/runtime/schemas/projects.d.ts +339 -0
- package/dist/packages/runtime/schemas/projects.js +136 -0
- package/dist/packages/runtime/schemas/runs.d.ts +2676 -0
- package/dist/packages/runtime/schemas/runs.js +98 -0
- package/dist/packages/runtime/service/index.d.ts +3 -0
- package/dist/packages/runtime/service/index.js +3 -0
- package/dist/packages/runtime/service/openapi.d.ts +7 -0
- package/dist/packages/runtime/service/openapi.js +117 -0
- package/dist/packages/runtime/service/operations.d.ts +1490 -0
- package/dist/packages/runtime/service/operations.js +245 -0
- package/dist/packages/runtime/service/routes.d.ts +106 -0
- package/dist/packages/runtime/service/routes.js +120 -0
- package/dist/packages/runtime/service/server-api-files.d.ts +10 -0
- package/dist/packages/runtime/service/server-api-files.js +85 -0
- package/dist/packages/runtime/service/server-app-boot.d.ts +4 -0
- package/dist/packages/runtime/service/server-app-boot.js +46 -0
- package/dist/packages/runtime/service/server-guards.d.ts +63 -0
- package/dist/packages/runtime/service/server-guards.js +181 -0
- package/dist/packages/runtime/service/server-helpers.d.ts +27 -0
- package/dist/packages/runtime/service/server-helpers.js +89 -0
- package/dist/packages/runtime/service/server-instance-helpers.d.ts +30 -0
- package/dist/packages/runtime/service/server-instance-helpers.js +114 -0
- package/dist/packages/runtime/service/server-routes-action-proposals.d.ts +3 -0
- package/dist/packages/runtime/service/server-routes-action-proposals.js +43 -0
- package/dist/packages/runtime/service/server-routes-agents.d.ts +4 -0
- package/dist/packages/runtime/service/server-routes-agents.js +198 -0
- package/dist/packages/runtime/service/server-routes-auth.d.ts +33 -0
- package/dist/packages/runtime/service/server-routes-auth.js +138 -0
- package/dist/packages/runtime/service/server-routes-build-plans.d.ts +3 -0
- package/dist/packages/runtime/service/server-routes-build-plans.js +83 -0
- package/dist/packages/runtime/service/server-routes-discovery.d.ts +4 -0
- package/dist/packages/runtime/service/server-routes-discovery.js +196 -0
- package/dist/packages/runtime/service/server-routes-events.d.ts +5 -0
- package/dist/packages/runtime/service/server-routes-events.js +99 -0
- package/dist/packages/runtime/service/server-routes-project-context.d.ts +9 -0
- package/dist/packages/runtime/service/server-routes-project-context.js +192 -0
- package/dist/packages/runtime/service/server-routes-project-jobs.d.ts +9 -0
- package/dist/packages/runtime/service/server-routes-project-jobs.js +130 -0
- package/dist/packages/runtime/service/server-routes-project-runs.d.ts +14 -0
- package/dist/packages/runtime/service/server-routes-project-runs.js +85 -0
- package/dist/packages/runtime/service/server-routes-projects.d.ts +4 -0
- package/dist/packages/runtime/service/server-routes-projects.js +92 -0
- package/dist/packages/runtime/service/server-routes-runs.d.ts +3 -0
- package/dist/packages/runtime/service/server-routes-runs.js +112 -0
- package/dist/packages/runtime/service/server.d.ts +37 -0
- package/dist/packages/runtime/service/server.js +300 -0
- package/dist/packages/{engine → runtime/service}/service-registry.d.ts +5 -5
- package/dist/packages/{engine → runtime/service}/service-registry.js +7 -7
- package/dist/packages/runtime/verify/benchmark-run.d.ts +81 -0
- package/dist/packages/runtime/verify/benchmark-run.js +303 -0
- package/dist/packages/{engine → runtime}/verify/index.d.ts +2 -2
- package/dist/packages/{engine → runtime}/verify/index.js +1 -1
- package/dist/packages/{engine → runtime}/verify/lib/schema.d.ts +83 -16
- package/dist/packages/{engine → runtime}/verify/lib/schema.js +26 -18
- package/dist/packages/{engine → runtime}/verify/verify-execution.js +11 -11
- package/dist/packages/{engine → runtime}/verify/verify-paths.d.ts +4 -4
- package/dist/packages/runtime/verify/verify-paths.js +61 -0
- package/dist/packages/{engine → runtime}/verify/verify-sandbox.d.ts +1 -1
- package/dist/packages/runtime/verify/verify-sandbox.js +88 -0
- package/dist/packages/{engine → runtime}/verify/verify-specs.d.ts +2 -0
- package/dist/packages/{engine → runtime}/verify/verify-specs.js +5 -3
- package/dist/packages/runtime/verify/verify-targets.d.ts +5 -0
- package/dist/packages/{engine → runtime}/verify/verify-targets.js +12 -12
- package/dist/packages/runtime/verify/verify-types.js +1 -0
- package/dist/packages/{engine → runtime}/verify/verify.d.ts +1 -1
- package/dist/packages/{engine → runtime}/verify/verify.js +1 -1
- package/dist/packages/runtime/wire-schemas.d.ts +18 -0
- package/dist/packages/runtime/wire-schemas.js +27 -0
- package/package.json +40 -30
- package/public-repo/CONTRIBUTING.md +7 -16
- package/public-repo/README.md +175 -234
- package/public-repo/SECURITY.md +3 -4
- package/public-repo/build-plans/interf-default/README.md +19 -14
- package/public-repo/build-plans/interf-default/build/stages/shape/SKILL.md +18 -11
- package/public-repo/build-plans/interf-default/build/stages/structure/SKILL.md +12 -5
- package/public-repo/build-plans/interf-default/build/stages/summarize/SKILL.md +16 -4
- package/public-repo/build-plans/interf-default/build-plan.json +34 -28
- package/public-repo/build-plans/interf-default/build-plan.schema.json +54 -32
- package/public-repo/build-plans/interf-default/improve/SKILL.md +3 -3
- package/public-repo/build-plans/interf-default/use/query/SKILL.md +17 -11
- package/public-repo/openapi/local-service.openapi.json +6803 -0
- package/public-repo/skills/interf/SKILL.md +460 -179
- package/dist/cli/commands/prep.d.ts +0 -2
- package/dist/cli/commands/prep.js +0 -240
- package/dist/cli/commands/test.d.ts +0 -10
- package/dist/cli/commands/test.js +0 -85
- package/dist/cli/commands/web.d.ts +0 -2
- package/dist/cli/commands/web.js +0 -286
- package/dist/interf-ui/404.html +0 -1
- package/dist/interf-ui/__next.__PAGE__.txt +0 -10
- package/dist/interf-ui/__next._full.txt +0 -20
- package/dist/interf-ui/__next._head.txt +0 -5
- package/dist/interf-ui/__next._index.txt +0 -5
- package/dist/interf-ui/__next._tree.txt +0 -5
- package/dist/interf-ui/_next/static/_qJKnA0dammQ306MG_zMq/_buildManifest.js +0 -11
- package/dist/interf-ui/_next/static/_qJKnA0dammQ306MG_zMq/_clientMiddlewareManifest.js +0 -1
- package/dist/interf-ui/_next/static/_qJKnA0dammQ306MG_zMq/_ssgManifest.js +0 -1
- package/dist/interf-ui/_next/static/chunks/0.tjb6f4golw..css +0 -3
- package/dist/interf-ui/_next/static/chunks/03~yq9q893hmn.js +0 -1
- package/dist/interf-ui/_next/static/chunks/085-n_jv2ng_q.css +0 -1
- package/dist/interf-ui/_next/static/chunks/0dn41fa_zvgsl.js +0 -1
- package/dist/interf-ui/_next/static/chunks/0g-ea0zj5d-0k.js +0 -1
- package/dist/interf-ui/_next/static/chunks/0gwqglc4iz583.js +0 -1
- package/dist/interf-ui/_next/static/chunks/0haldgm65ve6l.js +0 -1
- package/dist/interf-ui/_next/static/chunks/0nv3am99vjzn4.js +0 -1
- package/dist/interf-ui/_next/static/chunks/0s77gt_o4jwtx.js +0 -1
- package/dist/interf-ui/_next/static/chunks/0y5z3t-z1c8ks.js.map +0 -5
- package/dist/interf-ui/_next/static/chunks/0~a36ujuzpaz..js +0 -116
- package/dist/interf-ui/_next/static/chunks/10jeodxe4nkgj.js +0 -31
- package/dist/interf-ui/_next/static/chunks/119h2rouych2t.js +0 -1
- package/dist/interf-ui/_next/static/chunks/13c8b~m8knjsf.js +0 -1
- package/dist/interf-ui/_next/static/chunks/14dznb2qpt-ho.js +0 -91
- package/dist/interf-ui/_next/static/chunks/15z_en80lrq-3.js +0 -5
- package/dist/interf-ui/_next/static/chunks/turbopack-0p.pvcjrtq-jh.js +0 -1
- package/dist/interf-ui/_next/static/chunks/turbopack-0usj_75.8frlw.js +0 -1
- package/dist/interf-ui/_next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +0 -1
- package/dist/interf-ui/_next/static/media/GeistMono_Variable.p.17jn9btb_52pq.woff2 +0 -0
- package/dist/interf-ui/_next/static/media/Geist_Variable-s.p.0-te~ja_gpvcf.woff2 +0 -0
- package/dist/interf-ui/_next/static/media/worker.102zas1s52_pf.js +0 -109
- package/dist/interf-ui/_not-found/__next._full.txt +0 -15
- package/dist/interf-ui/_not-found/__next._head.txt +0 -5
- package/dist/interf-ui/_not-found/__next._index.txt +0 -5
- package/dist/interf-ui/_not-found/__next._not-found.__PAGE__.txt +0 -5
- package/dist/interf-ui/_not-found/__next._not-found.txt +0 -5
- package/dist/interf-ui/_not-found/__next._tree.txt +0 -2
- package/dist/interf-ui/_not-found.html +0 -1
- package/dist/interf-ui/_not-found.txt +0 -15
- package/dist/interf-ui/index.html +0 -1
- package/dist/interf-ui/index.txt +0 -20
- package/dist/packages/contracts/lib/preparation-paths.d.ts +0 -117
- package/dist/packages/contracts/lib/preparation-paths.js +0 -177
- package/dist/packages/engine/action-definitions.d.ts +0 -407
- package/dist/packages/engine/action-definitions.js +0 -1158
- package/dist/packages/engine/action-values.d.ts +0 -1
- package/dist/packages/engine/action-values.js +0 -1
- package/dist/packages/engine/agents/lib/args.d.ts +0 -4
- package/dist/packages/engine/agents/lib/args.js +0 -52
- package/dist/packages/engine/agents/lib/chart-guidance.d.ts +0 -1
- package/dist/packages/engine/agents/lib/chart-guidance.js +0 -8
- package/dist/packages/engine/agents/lib/constants.js +0 -28
- package/dist/packages/engine/agents/lib/schema.d.ts +0 -8
- package/dist/packages/engine/agents/lib/schema.js +0 -7
- package/dist/packages/engine/agents/lib/shells.d.ts +0 -74
- package/dist/packages/engine/agents/lib/shells.js +0 -1052
- package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.d.ts +0 -3
- package/dist/packages/engine/build/artifact-counts.d.ts +0 -1
- package/dist/packages/engine/build/billing-events.d.ts +0 -89
- package/dist/packages/engine/build/build-pipeline.js +0 -175
- package/dist/packages/engine/build/build-plan-runs.d.ts +0 -14
- package/dist/packages/engine/build/build-plan-runs.js +0 -31
- package/dist/packages/engine/build/build-stage-plan.d.ts +0 -16
- package/dist/packages/engine/build/build-stage-runner.js +0 -94
- package/dist/packages/engine/build/build-target.js +0 -16
- package/dist/packages/engine/build/check-evaluator.js +0 -298
- package/dist/packages/engine/build/reset.d.ts +0 -2
- package/dist/packages/engine/build/reset.js +0 -74
- package/dist/packages/engine/build/runtime-inventory.d.ts +0 -7
- package/dist/packages/engine/build/runtime-runs.d.ts +0 -10
- package/dist/packages/engine/build/runtime-runs.js +0 -224
- package/dist/packages/engine/build/runtime.d.ts +0 -5
- package/dist/packages/engine/build/runtime.js +0 -4
- package/dist/packages/engine/build/source-files.d.ts +0 -46
- package/dist/packages/engine/build/source-files.js +0 -149
- package/dist/packages/engine/build/state-artifacts.d.ts +0 -9
- package/dist/packages/engine/build/state-artifacts.js +0 -14
- package/dist/packages/engine/build/state-health.d.ts +0 -4
- package/dist/packages/engine/build/state-io.d.ts +0 -11
- package/dist/packages/engine/build/state-io.js +0 -82
- package/dist/packages/engine/build/state-paths.js +0 -16
- package/dist/packages/engine/build/state-view.d.ts +0 -5
- package/dist/packages/engine/build/state.d.ts +0 -7
- package/dist/packages/engine/build/state.js +0 -12
- package/dist/packages/engine/build/validate-helpers.d.ts +0 -12
- package/dist/packages/engine/build/validate-helpers.js +0 -41
- package/dist/packages/engine/build/verifiable-context-paths.d.ts +0 -47
- package/dist/packages/engine/build/verifiable-context-paths.js +0 -121
- package/dist/packages/engine/build/verifiable-context-schema.d.ts +0 -21
- package/dist/packages/engine/build/verifiable-context-schema.js +0 -126
- package/dist/packages/engine/cloud-seams.d.ts +0 -115
- package/dist/packages/engine/cloud-seams.js +0 -84
- package/dist/packages/engine/index.d.ts +0 -22
- package/dist/packages/engine/index.js +0 -15
- package/dist/packages/engine/instance-paths.d.ts +0 -106
- package/dist/packages/engine/instance-paths.js +0 -171
- package/dist/packages/engine/lib/schema.d.ts +0 -6304
- package/dist/packages/engine/lib/schema.js +0 -730
- package/dist/packages/engine/preparation-store.d.ts +0 -105
- package/dist/packages/engine/preparation-store.js +0 -213
- package/dist/packages/engine/readiness-check-draft.d.ts +0 -20
- package/dist/packages/engine/readiness-check-draft.js +0 -111
- package/dist/packages/engine/requested-artifacts.d.ts +0 -5
- package/dist/packages/engine/routes.d.ts +0 -85
- package/dist/packages/engine/routes.js +0 -99
- package/dist/packages/engine/runtime-caches.d.ts +0 -76
- package/dist/packages/engine/runtime-proposal-helpers.d.ts +0 -35
- package/dist/packages/engine/runtime-proposal-helpers.js +0 -247
- package/dist/packages/engine/runtime.d.ts +0 -371
- package/dist/packages/engine/runtime.js +0 -2463
- package/dist/packages/engine/server.d.ts +0 -58
- package/dist/packages/engine/server.js +0 -1399
- package/dist/packages/engine/verify/readiness-check-run.d.ts +0 -82
- package/dist/packages/engine/verify/readiness-check-run.js +0 -265
- package/dist/packages/engine/verify/verify-paths.js +0 -61
- package/dist/packages/engine/verify/verify-sandbox.js +0 -88
- package/dist/packages/engine/verify/verify-targets.d.ts +0 -5
- package/dist/packages/engine/wire-schemas.d.ts +0 -547
- package/dist/packages/engine/wire-schemas.js +0 -59
- package/dist/packages/project/index.d.ts +0 -9
- package/dist/packages/project/interf-bootstrap.d.ts +0 -1
- package/dist/packages/project/interf-bootstrap.js +0 -1
- package/dist/packages/project/interf-scaffold.d.ts +0 -3
- package/dist/packages/project/interf-scaffold.js +0 -136
- package/dist/packages/project/interf.d.ts +0 -4
- package/dist/packages/project/interf.js +0 -3
- package/dist/packages/project/lib/schema.d.ts +0 -328
- package/dist/packages/project/lib/schema.js +0 -136
- package/dist/packages/project/preparation-entries.d.ts +0 -11
- package/dist/packages/project/preparation-entries.js +0 -49
- package/dist/packages/project/source-config.d.ts +0 -46
- package/dist/packages/project/source-config.js +0 -394
- package/dist/packages/project/source-folders.d.ts +0 -11
- package/public-repo/plugins/README.md +0 -9
- package/public-repo/plugins/interf/.claude-plugin/plugin.json +0 -21
- package/public-repo/plugins/interf/.mcp.json +0 -12
- package/public-repo/plugins/interf/README.md +0 -32
- package/public-repo/plugins/interf/skills/interf/SKILL.md +0 -376
- /package/dist/packages/{engine/agents/lib/types.js → runtime/actions/fields.js} +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/agents.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/agents.js +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/execution-profile.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/execution.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/executors.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/executors.js +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/logs.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/logs.js +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/preflight.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/render.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/status.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/status.js +0 -0
- /package/dist/packages/{engine → runtime}/agents/lib/types.d.ts +0 -0
- /package/dist/packages/{engine/build/runtime-types.js → runtime/agents/lib/types.js} +0 -0
- /package/dist/packages/{engine/verify/verify-types.js → runtime/agents/providers/types.js} +0 -0
- /package/dist/packages/{engine → runtime}/agents/role-router.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/build/build-execution.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/build/build-execution.js +0 -0
- /package/dist/packages/{engine → runtime}/build/runtime-contracts.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/build/runtime-paths.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/build/runtime-prompt.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/execution/adapters.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/execution/adapters.js +0 -0
- /package/dist/packages/{engine → runtime}/execution/events.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/execution/events.js +0 -0
- /package/dist/packages/{engine → runtime}/verify/verify-execution.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/verify/verify-profile-presets.d.ts +0 -0
- /package/dist/packages/{engine → runtime}/verify/verify-profile-presets.js +0 -0
- /package/dist/packages/{engine → runtime}/verify/verify-types.d.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const RunTraceRunStatusSchema: z.ZodEnum<{
|
|
3
|
-
failed: "failed";
|
|
4
|
-
running: "running";
|
|
5
3
|
pending: "pending";
|
|
4
|
+
running: "running";
|
|
5
|
+
failed: "failed";
|
|
6
6
|
completed: "completed";
|
|
7
7
|
cancelled: "cancelled";
|
|
8
8
|
}>;
|
|
@@ -32,9 +32,9 @@ export declare const RunTraceStructuredErrorSchema: z.ZodObject<{
|
|
|
32
32
|
export declare const RunTraceRunSchema: z.ZodObject<{
|
|
33
33
|
runId: z.ZodString;
|
|
34
34
|
status: z.ZodEnum<{
|
|
35
|
-
failed: "failed";
|
|
36
|
-
running: "running";
|
|
37
35
|
pending: "pending";
|
|
36
|
+
running: "running";
|
|
37
|
+
failed: "failed";
|
|
38
38
|
completed: "completed";
|
|
39
39
|
cancelled: "cancelled";
|
|
40
40
|
}>;
|
|
@@ -93,9 +93,9 @@ export declare const RunTraceSchema: z.ZodObject<{
|
|
|
93
93
|
run: z.ZodObject<{
|
|
94
94
|
runId: z.ZodString;
|
|
95
95
|
status: z.ZodEnum<{
|
|
96
|
-
failed: "failed";
|
|
97
|
-
running: "running";
|
|
98
96
|
pending: "pending";
|
|
97
|
+
running: "running";
|
|
98
|
+
failed: "failed";
|
|
99
99
|
completed: "completed";
|
|
100
100
|
cancelled: "cancelled";
|
|
101
101
|
}>;
|
|
@@ -153,46 +153,51 @@ export declare const RunTraceSchema: z.ZodObject<{
|
|
|
153
153
|
}, z.core.$strict>;
|
|
154
154
|
export declare const ObservableRunTypeSchema: z.ZodEnum<{
|
|
155
155
|
build: "build";
|
|
156
|
-
"build-plan-improvement": "build-plan-improvement";
|
|
157
156
|
verify: "verify";
|
|
158
|
-
"
|
|
157
|
+
"benchmark-question-draft": "benchmark-question-draft";
|
|
159
158
|
"build-plan-draft": "build-plan-draft";
|
|
159
|
+
"build-plan-improvement": "build-plan-improvement";
|
|
160
160
|
job: "job";
|
|
161
161
|
}>;
|
|
162
|
-
export declare const
|
|
163
|
-
|
|
162
|
+
export declare const ExecutionBackendKindSchema: z.ZodEnum<{
|
|
163
|
+
native: "native";
|
|
164
|
+
}>;
|
|
165
|
+
/**
|
|
166
|
+
* The canonical run-status enum. Build runs, verify runs, and the
|
|
167
|
+
* observability projection all share this set so a status string is the
|
|
168
|
+
* same string everywhere it appears.
|
|
169
|
+
*/
|
|
170
|
+
export declare const BuildRunStatusSchema: z.ZodEnum<{
|
|
171
|
+
running: "running";
|
|
164
172
|
failed: "failed";
|
|
173
|
+
cancelled: "cancelled";
|
|
174
|
+
queued: "queued";
|
|
175
|
+
succeeded: "succeeded";
|
|
176
|
+
}>;
|
|
177
|
+
export declare const ObservableRunStatusSchema: z.ZodEnum<{
|
|
165
178
|
running: "running";
|
|
179
|
+
failed: "failed";
|
|
166
180
|
cancelled: "cancelled";
|
|
167
181
|
queued: "queued";
|
|
182
|
+
succeeded: "succeeded";
|
|
168
183
|
}>;
|
|
169
184
|
export declare const ObservableRunMetricSchema: z.ZodObject<{
|
|
170
185
|
label: z.ZodString;
|
|
171
186
|
value: z.ZodString;
|
|
172
187
|
detail: z.ZodOptional<z.ZodString>;
|
|
173
188
|
}, z.core.$strict>;
|
|
174
|
-
export declare const ExecutionBackendKindSchema: z.ZodEnum<{
|
|
175
|
-
native: "native";
|
|
176
|
-
}>;
|
|
177
|
-
export declare const BuildRunStatusSchema: z.ZodEnum<{
|
|
178
|
-
succeeded: "succeeded";
|
|
179
|
-
failed: "failed";
|
|
180
|
-
running: "running";
|
|
181
|
-
cancelled: "cancelled";
|
|
182
|
-
queued: "queued";
|
|
183
|
-
}>;
|
|
184
189
|
export declare const StageRunStatusSchema: z.ZodEnum<{
|
|
185
|
-
succeeded: "succeeded";
|
|
186
|
-
failed: "failed";
|
|
187
190
|
running: "running";
|
|
191
|
+
failed: "failed";
|
|
188
192
|
queued: "queued";
|
|
193
|
+
succeeded: "succeeded";
|
|
189
194
|
}>;
|
|
190
195
|
export declare const ArtifactRoleSchema: z.ZodEnum<{
|
|
191
196
|
runtime: "runtime";
|
|
192
197
|
output: "output";
|
|
193
198
|
source: "source";
|
|
194
|
-
|
|
195
|
-
|
|
199
|
+
evidence: "evidence";
|
|
200
|
+
benchmark: "benchmark";
|
|
196
201
|
}>;
|
|
197
202
|
export declare const ArtifactRefSchema: z.ZodObject<{
|
|
198
203
|
path: z.ZodString;
|
|
@@ -200,14 +205,14 @@ export declare const ArtifactRefSchema: z.ZodObject<{
|
|
|
200
205
|
runtime: "runtime";
|
|
201
206
|
output: "output";
|
|
202
207
|
source: "source";
|
|
203
|
-
|
|
204
|
-
|
|
208
|
+
evidence: "evidence";
|
|
209
|
+
benchmark: "benchmark";
|
|
205
210
|
}>;
|
|
206
211
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
207
212
|
label: z.ZodOptional<z.ZodString>;
|
|
208
213
|
sha256: z.ZodOptional<z.ZodString>;
|
|
209
214
|
}, z.core.$strict>;
|
|
210
|
-
export declare const
|
|
215
|
+
export declare const RunCheckSchema: z.ZodObject<{
|
|
211
216
|
id: z.ZodString;
|
|
212
217
|
label: z.ZodString;
|
|
213
218
|
ok: z.ZodBoolean;
|
|
@@ -219,21 +224,21 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
219
224
|
run_id: z.ZodString;
|
|
220
225
|
run_type: z.ZodEnum<{
|
|
221
226
|
build: "build";
|
|
222
|
-
"build-plan-improvement": "build-plan-improvement";
|
|
223
227
|
verify: "verify";
|
|
224
|
-
"
|
|
228
|
+
"benchmark-question-draft": "benchmark-question-draft";
|
|
225
229
|
"build-plan-draft": "build-plan-draft";
|
|
230
|
+
"build-plan-improvement": "build-plan-improvement";
|
|
226
231
|
job: "job";
|
|
227
232
|
}>;
|
|
228
233
|
title: z.ZodString;
|
|
229
234
|
status: z.ZodEnum<{
|
|
230
|
-
succeeded: "succeeded";
|
|
231
|
-
failed: "failed";
|
|
232
235
|
running: "running";
|
|
236
|
+
failed: "failed";
|
|
233
237
|
cancelled: "cancelled";
|
|
234
238
|
queued: "queued";
|
|
239
|
+
succeeded: "succeeded";
|
|
235
240
|
}>;
|
|
236
|
-
|
|
241
|
+
project: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
242
|
build_plan: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
243
|
source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
239
244
|
output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -266,27 +271,44 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
266
271
|
runtime: "runtime";
|
|
267
272
|
output: "output";
|
|
268
273
|
source: "source";
|
|
269
|
-
|
|
270
|
-
|
|
274
|
+
evidence: "evidence";
|
|
275
|
+
benchmark: "benchmark";
|
|
271
276
|
}>;
|
|
272
277
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
273
278
|
label: z.ZodOptional<z.ZodString>;
|
|
274
279
|
sha256: z.ZodOptional<z.ZodString>;
|
|
275
280
|
}, z.core.$strict>>>;
|
|
276
|
-
|
|
281
|
+
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
277
282
|
id: z.ZodString;
|
|
278
283
|
label: z.ZodString;
|
|
279
284
|
ok: z.ZodBoolean;
|
|
280
285
|
detail: z.ZodOptional<z.ZodString>;
|
|
281
286
|
}, z.core.$strict>>>;
|
|
282
|
-
|
|
287
|
+
context_checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
288
|
+
id: z.ZodString;
|
|
289
|
+
label: z.ZodString;
|
|
290
|
+
description: z.ZodOptional<z.ZodString>;
|
|
291
|
+
backed_by_artifact_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
292
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
293
|
+
evidence_expectation: z.ZodOptional<z.ZodString>;
|
|
294
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
295
|
+
passed: "passed";
|
|
296
|
+
pending: "pending";
|
|
297
|
+
running: "running";
|
|
298
|
+
failed: "failed";
|
|
299
|
+
skipped: "skipped";
|
|
300
|
+
}>>;
|
|
301
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
302
|
+
issue: z.ZodOptional<z.ZodString>;
|
|
303
|
+
}, z.core.$strict>>>;
|
|
304
|
+
readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
283
305
|
kind: z.ZodLiteral<"interf-readiness-state">;
|
|
284
306
|
version: z.ZodLiteral<1>;
|
|
285
307
|
generated_at: z.ZodString;
|
|
286
|
-
|
|
308
|
+
project: z.ZodString;
|
|
287
309
|
status: z.ZodEnum<{
|
|
288
|
-
ready: "ready";
|
|
289
310
|
failed: "failed";
|
|
311
|
+
ready: "ready";
|
|
290
312
|
"not-configured": "not-configured";
|
|
291
313
|
"not-built": "not-built";
|
|
292
314
|
building: "building";
|
|
@@ -297,22 +319,23 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
297
319
|
}>;
|
|
298
320
|
ready: z.ZodBoolean;
|
|
299
321
|
summary: z.ZodString;
|
|
300
|
-
|
|
322
|
+
context_graph_path: z.ZodNullable<z.ZodString>;
|
|
301
323
|
latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
302
|
-
|
|
324
|
+
latest_benchmark_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
303
325
|
build: z.ZodNullable<z.ZodObject<{
|
|
304
326
|
gate: z.ZodEnum<{
|
|
305
|
-
"
|
|
306
|
-
"
|
|
327
|
+
"context-graph": "context-graph";
|
|
328
|
+
"project-config": "project-config";
|
|
307
329
|
"build-run": "build-run";
|
|
308
|
-
"artifact-
|
|
309
|
-
"
|
|
310
|
-
|
|
330
|
+
"artifact-diagnostics": "artifact-diagnostics";
|
|
331
|
+
"context-checks": "context-checks";
|
|
332
|
+
benchmarks: "benchmarks";
|
|
333
|
+
"benchmarks-current": "benchmarks-current";
|
|
311
334
|
}>;
|
|
312
335
|
ok: z.ZodBoolean;
|
|
313
336
|
status: z.ZodOptional<z.ZodEnum<{
|
|
314
|
-
ready: "ready";
|
|
315
337
|
failed: "failed";
|
|
338
|
+
ready: "ready";
|
|
316
339
|
"not-configured": "not-configured";
|
|
317
340
|
"not-built": "not-built";
|
|
318
341
|
building: "building";
|
|
@@ -338,7 +361,7 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
338
361
|
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
339
362
|
run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
340
363
|
}, z.core.$strict>>;
|
|
341
|
-
|
|
364
|
+
context_graph: z.ZodNullable<z.ZodObject<{
|
|
342
365
|
passed: z.ZodNumber;
|
|
343
366
|
total: z.ZodNumber;
|
|
344
367
|
pass_rate: z.ZodNullable<z.ZodNumber>;
|
|
@@ -350,17 +373,18 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
350
373
|
}, z.core.$strict>;
|
|
351
374
|
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
352
375
|
gate: z.ZodEnum<{
|
|
353
|
-
"
|
|
354
|
-
"
|
|
376
|
+
"context-graph": "context-graph";
|
|
377
|
+
"project-config": "project-config";
|
|
355
378
|
"build-run": "build-run";
|
|
356
|
-
"artifact-
|
|
357
|
-
"
|
|
358
|
-
|
|
379
|
+
"artifact-diagnostics": "artifact-diagnostics";
|
|
380
|
+
"context-checks": "context-checks";
|
|
381
|
+
benchmarks: "benchmarks";
|
|
382
|
+
"benchmarks-current": "benchmarks-current";
|
|
359
383
|
}>;
|
|
360
384
|
ok: z.ZodBoolean;
|
|
361
385
|
status: z.ZodOptional<z.ZodEnum<{
|
|
362
|
-
ready: "ready";
|
|
363
386
|
failed: "failed";
|
|
387
|
+
ready: "ready";
|
|
364
388
|
"not-configured": "not-configured";
|
|
365
389
|
"not-built": "not-built";
|
|
366
390
|
building: "building";
|
|
@@ -374,14 +398,14 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
374
398
|
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
375
399
|
artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
376
400
|
}, z.core.$strict>>>;
|
|
377
|
-
}, z.core.$strict
|
|
401
|
+
}, z.core.$strict>>>;
|
|
378
402
|
trace: z.ZodObject<{
|
|
379
403
|
run: z.ZodObject<{
|
|
380
404
|
runId: z.ZodString;
|
|
381
405
|
status: z.ZodEnum<{
|
|
382
|
-
failed: "failed";
|
|
383
|
-
running: "running";
|
|
384
406
|
pending: "pending";
|
|
407
|
+
running: "running";
|
|
408
|
+
failed: "failed";
|
|
385
409
|
completed: "completed";
|
|
386
410
|
cancelled: "cancelled";
|
|
387
411
|
}>;
|
|
@@ -438,7 +462,7 @@ export declare const RunObservabilitySchema: z.ZodObject<{
|
|
|
438
462
|
}, z.core.$strict>>>;
|
|
439
463
|
}, z.core.$strict>;
|
|
440
464
|
}, z.core.$strict>;
|
|
441
|
-
export declare const
|
|
465
|
+
export declare const EvidenceRecordSchema: z.ZodObject<{
|
|
442
466
|
id: z.ZodString;
|
|
443
467
|
run_id: z.ZodString;
|
|
444
468
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -451,8 +475,8 @@ export declare const ProofRecordSchema: z.ZodObject<{
|
|
|
451
475
|
runtime: "runtime";
|
|
452
476
|
output: "output";
|
|
453
477
|
source: "source";
|
|
454
|
-
|
|
455
|
-
|
|
478
|
+
evidence: "evidence";
|
|
479
|
+
benchmark: "benchmark";
|
|
456
480
|
}>;
|
|
457
481
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
458
482
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -477,15 +501,16 @@ export declare const StageRunLogsSchema: z.ZodObject<{
|
|
|
477
501
|
event_stream_path: z.ZodOptional<z.ZodString>;
|
|
478
502
|
status_path: z.ZodOptional<z.ZodString>;
|
|
479
503
|
contract_path: z.ZodOptional<z.ZodString>;
|
|
504
|
+
evidence_path: z.ZodOptional<z.ZodString>;
|
|
480
505
|
}, z.core.$strict>;
|
|
481
506
|
export declare const RunStartedEventSchema: z.ZodObject<{
|
|
482
507
|
event_id: z.ZodString;
|
|
483
508
|
run_id: z.ZodString;
|
|
484
509
|
timestamp: z.ZodString;
|
|
485
510
|
type: z.ZodLiteral<"run.started">;
|
|
486
|
-
|
|
511
|
+
project: z.ZodString;
|
|
487
512
|
build_plan: z.ZodOptional<z.ZodString>;
|
|
488
|
-
|
|
513
|
+
context_graph_path: z.ZodOptional<z.ZodString>;
|
|
489
514
|
backend: z.ZodEnum<{
|
|
490
515
|
native: "native";
|
|
491
516
|
}>;
|
|
@@ -498,6 +523,13 @@ export declare const StageStartedEventSchema: z.ZodObject<{
|
|
|
498
523
|
stage_id: z.ZodString;
|
|
499
524
|
stage_index: z.ZodOptional<z.ZodNumber>;
|
|
500
525
|
stage_total: z.ZodOptional<z.ZodNumber>;
|
|
526
|
+
logs: z.ZodOptional<z.ZodObject<{
|
|
527
|
+
prompt_path: z.ZodOptional<z.ZodString>;
|
|
528
|
+
event_stream_path: z.ZodOptional<z.ZodString>;
|
|
529
|
+
status_path: z.ZodOptional<z.ZodString>;
|
|
530
|
+
contract_path: z.ZodOptional<z.ZodString>;
|
|
531
|
+
evidence_path: z.ZodOptional<z.ZodString>;
|
|
532
|
+
}, z.core.$strict>>;
|
|
501
533
|
}, z.core.$strict>;
|
|
502
534
|
export declare const FileProcessedEventSchema: z.ZodObject<{
|
|
503
535
|
event_id: z.ZodString;
|
|
@@ -519,21 +551,21 @@ export declare const ArtifactWrittenEventSchema: z.ZodObject<{
|
|
|
519
551
|
runtime: "runtime";
|
|
520
552
|
output: "output";
|
|
521
553
|
source: "source";
|
|
522
|
-
|
|
523
|
-
|
|
554
|
+
evidence: "evidence";
|
|
555
|
+
benchmark: "benchmark";
|
|
524
556
|
}>;
|
|
525
557
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
526
558
|
label: z.ZodOptional<z.ZodString>;
|
|
527
559
|
sha256: z.ZodOptional<z.ZodString>;
|
|
528
560
|
}, z.core.$strict>;
|
|
529
561
|
}, z.core.$strict>;
|
|
530
|
-
export declare const
|
|
562
|
+
export declare const EvidenceUpdatedEventSchema: z.ZodObject<{
|
|
531
563
|
event_id: z.ZodString;
|
|
532
564
|
run_id: z.ZodString;
|
|
533
565
|
timestamp: z.ZodString;
|
|
534
|
-
type: z.ZodLiteral<"
|
|
566
|
+
type: z.ZodLiteral<"evidence.updated">;
|
|
535
567
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
536
|
-
|
|
568
|
+
evidence: z.ZodObject<{
|
|
537
569
|
id: z.ZodString;
|
|
538
570
|
run_id: z.ZodString;
|
|
539
571
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -546,8 +578,8 @@ export declare const ProofUpdatedEventSchema: z.ZodObject<{
|
|
|
546
578
|
runtime: "runtime";
|
|
547
579
|
output: "output";
|
|
548
580
|
source: "source";
|
|
549
|
-
|
|
550
|
-
|
|
581
|
+
evidence: "evidence";
|
|
582
|
+
benchmark: "benchmark";
|
|
551
583
|
}>;
|
|
552
584
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
553
585
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -619,8 +651,8 @@ export declare const ChecksEvaluatedEventSchema: z.ZodObject<{
|
|
|
619
651
|
passed: z.ZodNumber;
|
|
620
652
|
total: z.ZodNumber;
|
|
621
653
|
target: z.ZodOptional<z.ZodEnum<{
|
|
622
|
-
"verifiable-context": "verifiable-context";
|
|
623
654
|
"source-files": "source-files";
|
|
655
|
+
"context-graph": "context-graph";
|
|
624
656
|
}>>;
|
|
625
657
|
checks_fingerprint: z.ZodOptional<z.ZodString>;
|
|
626
658
|
stale: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -631,15 +663,15 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
|
|
|
631
663
|
run_id: z.ZodString;
|
|
632
664
|
timestamp: z.ZodString;
|
|
633
665
|
type: z.ZodLiteral<"readiness.updated">;
|
|
634
|
-
|
|
635
|
-
readiness: z.
|
|
666
|
+
project: z.ZodString;
|
|
667
|
+
readiness: z.ZodObject<{
|
|
636
668
|
kind: z.ZodLiteral<"interf-readiness-state">;
|
|
637
669
|
version: z.ZodLiteral<1>;
|
|
638
670
|
generated_at: z.ZodString;
|
|
639
|
-
|
|
671
|
+
project: z.ZodString;
|
|
640
672
|
status: z.ZodEnum<{
|
|
641
|
-
ready: "ready";
|
|
642
673
|
failed: "failed";
|
|
674
|
+
ready: "ready";
|
|
643
675
|
"not-configured": "not-configured";
|
|
644
676
|
"not-built": "not-built";
|
|
645
677
|
building: "building";
|
|
@@ -650,22 +682,23 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
|
|
|
650
682
|
}>;
|
|
651
683
|
ready: z.ZodBoolean;
|
|
652
684
|
summary: z.ZodString;
|
|
653
|
-
|
|
685
|
+
context_graph_path: z.ZodNullable<z.ZodString>;
|
|
654
686
|
latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
655
|
-
|
|
687
|
+
latest_benchmark_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
656
688
|
build: z.ZodNullable<z.ZodObject<{
|
|
657
689
|
gate: z.ZodEnum<{
|
|
658
|
-
"
|
|
659
|
-
"
|
|
690
|
+
"context-graph": "context-graph";
|
|
691
|
+
"project-config": "project-config";
|
|
660
692
|
"build-run": "build-run";
|
|
661
|
-
"artifact-
|
|
662
|
-
"
|
|
663
|
-
|
|
693
|
+
"artifact-diagnostics": "artifact-diagnostics";
|
|
694
|
+
"context-checks": "context-checks";
|
|
695
|
+
benchmarks: "benchmarks";
|
|
696
|
+
"benchmarks-current": "benchmarks-current";
|
|
664
697
|
}>;
|
|
665
698
|
ok: z.ZodBoolean;
|
|
666
699
|
status: z.ZodOptional<z.ZodEnum<{
|
|
667
|
-
ready: "ready";
|
|
668
700
|
failed: "failed";
|
|
701
|
+
ready: "ready";
|
|
669
702
|
"not-configured": "not-configured";
|
|
670
703
|
"not-built": "not-built";
|
|
671
704
|
building: "building";
|
|
@@ -691,7 +724,7 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
|
|
|
691
724
|
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
692
725
|
run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
693
726
|
}, z.core.$strict>>;
|
|
694
|
-
|
|
727
|
+
context_graph: z.ZodNullable<z.ZodObject<{
|
|
695
728
|
passed: z.ZodNumber;
|
|
696
729
|
total: z.ZodNumber;
|
|
697
730
|
pass_rate: z.ZodNullable<z.ZodNumber>;
|
|
@@ -703,17 +736,18 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
|
|
|
703
736
|
}, z.core.$strict>;
|
|
704
737
|
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
705
738
|
gate: z.ZodEnum<{
|
|
706
|
-
"
|
|
707
|
-
"
|
|
739
|
+
"context-graph": "context-graph";
|
|
740
|
+
"project-config": "project-config";
|
|
708
741
|
"build-run": "build-run";
|
|
709
|
-
"artifact-
|
|
710
|
-
"
|
|
711
|
-
|
|
742
|
+
"artifact-diagnostics": "artifact-diagnostics";
|
|
743
|
+
"context-checks": "context-checks";
|
|
744
|
+
benchmarks: "benchmarks";
|
|
745
|
+
"benchmarks-current": "benchmarks-current";
|
|
712
746
|
}>;
|
|
713
747
|
ok: z.ZodBoolean;
|
|
714
748
|
status: z.ZodOptional<z.ZodEnum<{
|
|
715
|
-
ready: "ready";
|
|
716
749
|
failed: "failed";
|
|
750
|
+
ready: "ready";
|
|
717
751
|
"not-configured": "not-configured";
|
|
718
752
|
"not-built": "not-built";
|
|
719
753
|
building: "building";
|
|
@@ -727,16 +761,16 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
|
|
|
727
761
|
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
728
762
|
artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
729
763
|
}, z.core.$strict>>>;
|
|
730
|
-
}, z.core.$strict
|
|
764
|
+
}, z.core.$strict>;
|
|
731
765
|
}, z.core.$strict>;
|
|
732
766
|
export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
733
767
|
event_id: z.ZodString;
|
|
734
768
|
run_id: z.ZodString;
|
|
735
769
|
timestamp: z.ZodString;
|
|
736
770
|
type: z.ZodLiteral<"run.started">;
|
|
737
|
-
|
|
771
|
+
project: z.ZodString;
|
|
738
772
|
build_plan: z.ZodOptional<z.ZodString>;
|
|
739
|
-
|
|
773
|
+
context_graph_path: z.ZodOptional<z.ZodString>;
|
|
740
774
|
backend: z.ZodEnum<{
|
|
741
775
|
native: "native";
|
|
742
776
|
}>;
|
|
@@ -748,6 +782,13 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
748
782
|
stage_id: z.ZodString;
|
|
749
783
|
stage_index: z.ZodOptional<z.ZodNumber>;
|
|
750
784
|
stage_total: z.ZodOptional<z.ZodNumber>;
|
|
785
|
+
logs: z.ZodOptional<z.ZodObject<{
|
|
786
|
+
prompt_path: z.ZodOptional<z.ZodString>;
|
|
787
|
+
event_stream_path: z.ZodOptional<z.ZodString>;
|
|
788
|
+
status_path: z.ZodOptional<z.ZodString>;
|
|
789
|
+
contract_path: z.ZodOptional<z.ZodString>;
|
|
790
|
+
evidence_path: z.ZodOptional<z.ZodString>;
|
|
791
|
+
}, z.core.$strict>>;
|
|
751
792
|
}, z.core.$strict>, z.ZodObject<{
|
|
752
793
|
event_id: z.ZodString;
|
|
753
794
|
run_id: z.ZodString;
|
|
@@ -767,8 +808,8 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
767
808
|
runtime: "runtime";
|
|
768
809
|
output: "output";
|
|
769
810
|
source: "source";
|
|
770
|
-
|
|
771
|
-
|
|
811
|
+
evidence: "evidence";
|
|
812
|
+
benchmark: "benchmark";
|
|
772
813
|
}>;
|
|
773
814
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
774
815
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -778,9 +819,9 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
778
819
|
event_id: z.ZodString;
|
|
779
820
|
run_id: z.ZodString;
|
|
780
821
|
timestamp: z.ZodString;
|
|
781
|
-
type: z.ZodLiteral<"
|
|
822
|
+
type: z.ZodLiteral<"evidence.updated">;
|
|
782
823
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
783
|
-
|
|
824
|
+
evidence: z.ZodObject<{
|
|
784
825
|
id: z.ZodString;
|
|
785
826
|
run_id: z.ZodString;
|
|
786
827
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -793,8 +834,8 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
793
834
|
runtime: "runtime";
|
|
794
835
|
output: "output";
|
|
795
836
|
source: "source";
|
|
796
|
-
|
|
797
|
-
|
|
837
|
+
evidence: "evidence";
|
|
838
|
+
benchmark: "benchmark";
|
|
798
839
|
}>;
|
|
799
840
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
800
841
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -859,8 +900,8 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
859
900
|
passed: z.ZodNumber;
|
|
860
901
|
total: z.ZodNumber;
|
|
861
902
|
target: z.ZodOptional<z.ZodEnum<{
|
|
862
|
-
"verifiable-context": "verifiable-context";
|
|
863
903
|
"source-files": "source-files";
|
|
904
|
+
"context-graph": "context-graph";
|
|
864
905
|
}>>;
|
|
865
906
|
checks_fingerprint: z.ZodOptional<z.ZodString>;
|
|
866
907
|
stale: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -870,15 +911,15 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
870
911
|
run_id: z.ZodString;
|
|
871
912
|
timestamp: z.ZodString;
|
|
872
913
|
type: z.ZodLiteral<"readiness.updated">;
|
|
873
|
-
|
|
874
|
-
readiness: z.
|
|
914
|
+
project: z.ZodString;
|
|
915
|
+
readiness: z.ZodObject<{
|
|
875
916
|
kind: z.ZodLiteral<"interf-readiness-state">;
|
|
876
917
|
version: z.ZodLiteral<1>;
|
|
877
918
|
generated_at: z.ZodString;
|
|
878
|
-
|
|
919
|
+
project: z.ZodString;
|
|
879
920
|
status: z.ZodEnum<{
|
|
880
|
-
ready: "ready";
|
|
881
921
|
failed: "failed";
|
|
922
|
+
ready: "ready";
|
|
882
923
|
"not-configured": "not-configured";
|
|
883
924
|
"not-built": "not-built";
|
|
884
925
|
building: "building";
|
|
@@ -889,22 +930,23 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
889
930
|
}>;
|
|
890
931
|
ready: z.ZodBoolean;
|
|
891
932
|
summary: z.ZodString;
|
|
892
|
-
|
|
933
|
+
context_graph_path: z.ZodNullable<z.ZodString>;
|
|
893
934
|
latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
894
|
-
|
|
935
|
+
latest_benchmark_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
895
936
|
build: z.ZodNullable<z.ZodObject<{
|
|
896
937
|
gate: z.ZodEnum<{
|
|
897
|
-
"
|
|
898
|
-
"
|
|
938
|
+
"context-graph": "context-graph";
|
|
939
|
+
"project-config": "project-config";
|
|
899
940
|
"build-run": "build-run";
|
|
900
|
-
"artifact-
|
|
901
|
-
"
|
|
902
|
-
|
|
941
|
+
"artifact-diagnostics": "artifact-diagnostics";
|
|
942
|
+
"context-checks": "context-checks";
|
|
943
|
+
benchmarks: "benchmarks";
|
|
944
|
+
"benchmarks-current": "benchmarks-current";
|
|
903
945
|
}>;
|
|
904
946
|
ok: z.ZodBoolean;
|
|
905
947
|
status: z.ZodOptional<z.ZodEnum<{
|
|
906
|
-
ready: "ready";
|
|
907
948
|
failed: "failed";
|
|
949
|
+
ready: "ready";
|
|
908
950
|
"not-configured": "not-configured";
|
|
909
951
|
"not-built": "not-built";
|
|
910
952
|
building: "building";
|
|
@@ -930,7 +972,7 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
930
972
|
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
931
973
|
run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
932
974
|
}, z.core.$strict>>;
|
|
933
|
-
|
|
975
|
+
context_graph: z.ZodNullable<z.ZodObject<{
|
|
934
976
|
passed: z.ZodNumber;
|
|
935
977
|
total: z.ZodNumber;
|
|
936
978
|
pass_rate: z.ZodNullable<z.ZodNumber>;
|
|
@@ -942,17 +984,18 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
942
984
|
}, z.core.$strict>;
|
|
943
985
|
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
944
986
|
gate: z.ZodEnum<{
|
|
945
|
-
"
|
|
946
|
-
"
|
|
987
|
+
"context-graph": "context-graph";
|
|
988
|
+
"project-config": "project-config";
|
|
947
989
|
"build-run": "build-run";
|
|
948
|
-
"artifact-
|
|
949
|
-
"
|
|
950
|
-
|
|
990
|
+
"artifact-diagnostics": "artifact-diagnostics";
|
|
991
|
+
"context-checks": "context-checks";
|
|
992
|
+
benchmarks: "benchmarks";
|
|
993
|
+
"benchmarks-current": "benchmarks-current";
|
|
951
994
|
}>;
|
|
952
995
|
ok: z.ZodBoolean;
|
|
953
996
|
status: z.ZodOptional<z.ZodEnum<{
|
|
954
|
-
ready: "ready";
|
|
955
997
|
failed: "failed";
|
|
998
|
+
ready: "ready";
|
|
956
999
|
"not-configured": "not-configured";
|
|
957
1000
|
"not-built": "not-built";
|
|
958
1001
|
building: "building";
|
|
@@ -966,7 +1009,7 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
966
1009
|
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
967
1010
|
artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
968
1011
|
}, z.core.$strict>>>;
|
|
969
|
-
}, z.core.$strict
|
|
1012
|
+
}, z.core.$strict>;
|
|
970
1013
|
}, z.core.$strict>], "type">;
|
|
971
1014
|
export declare const StageRunSchema: z.ZodObject<{
|
|
972
1015
|
run_id: z.ZodString;
|
|
@@ -975,10 +1018,10 @@ export declare const StageRunSchema: z.ZodObject<{
|
|
|
975
1018
|
stage_index: z.ZodOptional<z.ZodNumber>;
|
|
976
1019
|
stage_total: z.ZodOptional<z.ZodNumber>;
|
|
977
1020
|
status: z.ZodEnum<{
|
|
978
|
-
succeeded: "succeeded";
|
|
979
|
-
failed: "failed";
|
|
980
1021
|
running: "running";
|
|
1022
|
+
failed: "failed";
|
|
981
1023
|
queued: "queued";
|
|
1024
|
+
succeeded: "succeeded";
|
|
982
1025
|
}>;
|
|
983
1026
|
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
984
1027
|
finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1010,8 +1053,8 @@ export declare const StageRunSchema: z.ZodObject<{
|
|
|
1010
1053
|
runtime: "runtime";
|
|
1011
1054
|
output: "output";
|
|
1012
1055
|
source: "source";
|
|
1013
|
-
|
|
1014
|
-
|
|
1056
|
+
evidence: "evidence";
|
|
1057
|
+
benchmark: "benchmark";
|
|
1015
1058
|
}>;
|
|
1016
1059
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1017
1060
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1022,8 +1065,9 @@ export declare const StageRunSchema: z.ZodObject<{
|
|
|
1022
1065
|
event_stream_path: z.ZodOptional<z.ZodString>;
|
|
1023
1066
|
status_path: z.ZodOptional<z.ZodString>;
|
|
1024
1067
|
contract_path: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
evidence_path: z.ZodOptional<z.ZodString>;
|
|
1025
1069
|
}, z.core.$strict>>;
|
|
1026
|
-
|
|
1070
|
+
latest_evidence: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1027
1071
|
id: z.ZodString;
|
|
1028
1072
|
run_id: z.ZodString;
|
|
1029
1073
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1036,8 +1080,8 @@ export declare const StageRunSchema: z.ZodObject<{
|
|
|
1036
1080
|
runtime: "runtime";
|
|
1037
1081
|
output: "output";
|
|
1038
1082
|
source: "source";
|
|
1039
|
-
|
|
1040
|
-
|
|
1083
|
+
evidence: "evidence";
|
|
1084
|
+
benchmark: "benchmark";
|
|
1041
1085
|
}>;
|
|
1042
1086
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1043
1087
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1057,19 +1101,19 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1057
1101
|
version: z.ZodLiteral<1>;
|
|
1058
1102
|
run_id: z.ZodString;
|
|
1059
1103
|
status: z.ZodEnum<{
|
|
1060
|
-
succeeded: "succeeded";
|
|
1061
|
-
failed: "failed";
|
|
1062
1104
|
running: "running";
|
|
1105
|
+
failed: "failed";
|
|
1063
1106
|
cancelled: "cancelled";
|
|
1064
1107
|
queued: "queued";
|
|
1108
|
+
succeeded: "succeeded";
|
|
1065
1109
|
}>;
|
|
1066
|
-
|
|
1110
|
+
project: z.ZodString;
|
|
1067
1111
|
build_plan: z.ZodString;
|
|
1068
1112
|
backend: z.ZodEnum<{
|
|
1069
1113
|
native: "native";
|
|
1070
1114
|
}>;
|
|
1071
1115
|
source_path: z.ZodString;
|
|
1072
|
-
|
|
1116
|
+
context_graph_path: z.ZodString;
|
|
1073
1117
|
created_at: z.ZodString;
|
|
1074
1118
|
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1075
1119
|
finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1080,10 +1124,10 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1080
1124
|
stage_index: z.ZodOptional<z.ZodNumber>;
|
|
1081
1125
|
stage_total: z.ZodOptional<z.ZodNumber>;
|
|
1082
1126
|
status: z.ZodEnum<{
|
|
1083
|
-
succeeded: "succeeded";
|
|
1084
|
-
failed: "failed";
|
|
1085
1127
|
running: "running";
|
|
1128
|
+
failed: "failed";
|
|
1086
1129
|
queued: "queued";
|
|
1130
|
+
succeeded: "succeeded";
|
|
1087
1131
|
}>;
|
|
1088
1132
|
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1089
1133
|
finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1115,8 +1159,8 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1115
1159
|
runtime: "runtime";
|
|
1116
1160
|
output: "output";
|
|
1117
1161
|
source: "source";
|
|
1118
|
-
|
|
1119
|
-
|
|
1162
|
+
evidence: "evidence";
|
|
1163
|
+
benchmark: "benchmark";
|
|
1120
1164
|
}>;
|
|
1121
1165
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1122
1166
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1127,8 +1171,9 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1127
1171
|
event_stream_path: z.ZodOptional<z.ZodString>;
|
|
1128
1172
|
status_path: z.ZodOptional<z.ZodString>;
|
|
1129
1173
|
contract_path: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
evidence_path: z.ZodOptional<z.ZodString>;
|
|
1130
1175
|
}, z.core.$strict>>;
|
|
1131
|
-
|
|
1176
|
+
latest_evidence: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1132
1177
|
id: z.ZodString;
|
|
1133
1178
|
run_id: z.ZodString;
|
|
1134
1179
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1141,8 +1186,8 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1141
1186
|
runtime: "runtime";
|
|
1142
1187
|
output: "output";
|
|
1143
1188
|
source: "source";
|
|
1144
|
-
|
|
1145
|
-
|
|
1189
|
+
evidence: "evidence";
|
|
1190
|
+
benchmark: "benchmark";
|
|
1146
1191
|
}>;
|
|
1147
1192
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1148
1193
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1162,9 +1207,9 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1162
1207
|
run_id: z.ZodString;
|
|
1163
1208
|
timestamp: z.ZodString;
|
|
1164
1209
|
type: z.ZodLiteral<"run.started">;
|
|
1165
|
-
|
|
1210
|
+
project: z.ZodString;
|
|
1166
1211
|
build_plan: z.ZodOptional<z.ZodString>;
|
|
1167
|
-
|
|
1212
|
+
context_graph_path: z.ZodOptional<z.ZodString>;
|
|
1168
1213
|
backend: z.ZodEnum<{
|
|
1169
1214
|
native: "native";
|
|
1170
1215
|
}>;
|
|
@@ -1176,6 +1221,13 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1176
1221
|
stage_id: z.ZodString;
|
|
1177
1222
|
stage_index: z.ZodOptional<z.ZodNumber>;
|
|
1178
1223
|
stage_total: z.ZodOptional<z.ZodNumber>;
|
|
1224
|
+
logs: z.ZodOptional<z.ZodObject<{
|
|
1225
|
+
prompt_path: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
event_stream_path: z.ZodOptional<z.ZodString>;
|
|
1227
|
+
status_path: z.ZodOptional<z.ZodString>;
|
|
1228
|
+
contract_path: z.ZodOptional<z.ZodString>;
|
|
1229
|
+
evidence_path: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
}, z.core.$strict>>;
|
|
1179
1231
|
}, z.core.$strict>, z.ZodObject<{
|
|
1180
1232
|
event_id: z.ZodString;
|
|
1181
1233
|
run_id: z.ZodString;
|
|
@@ -1195,8 +1247,8 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1195
1247
|
runtime: "runtime";
|
|
1196
1248
|
output: "output";
|
|
1197
1249
|
source: "source";
|
|
1198
|
-
|
|
1199
|
-
|
|
1250
|
+
evidence: "evidence";
|
|
1251
|
+
benchmark: "benchmark";
|
|
1200
1252
|
}>;
|
|
1201
1253
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1202
1254
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1206,9 +1258,9 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1206
1258
|
event_id: z.ZodString;
|
|
1207
1259
|
run_id: z.ZodString;
|
|
1208
1260
|
timestamp: z.ZodString;
|
|
1209
|
-
type: z.ZodLiteral<"
|
|
1261
|
+
type: z.ZodLiteral<"evidence.updated">;
|
|
1210
1262
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1211
|
-
|
|
1263
|
+
evidence: z.ZodObject<{
|
|
1212
1264
|
id: z.ZodString;
|
|
1213
1265
|
run_id: z.ZodString;
|
|
1214
1266
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1221,8 +1273,8 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1221
1273
|
runtime: "runtime";
|
|
1222
1274
|
output: "output";
|
|
1223
1275
|
source: "source";
|
|
1224
|
-
|
|
1225
|
-
|
|
1276
|
+
evidence: "evidence";
|
|
1277
|
+
benchmark: "benchmark";
|
|
1226
1278
|
}>;
|
|
1227
1279
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1228
1280
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1287,8 +1339,8 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1287
1339
|
passed: z.ZodNumber;
|
|
1288
1340
|
total: z.ZodNumber;
|
|
1289
1341
|
target: z.ZodOptional<z.ZodEnum<{
|
|
1290
|
-
"verifiable-context": "verifiable-context";
|
|
1291
1342
|
"source-files": "source-files";
|
|
1343
|
+
"context-graph": "context-graph";
|
|
1292
1344
|
}>>;
|
|
1293
1345
|
checks_fingerprint: z.ZodOptional<z.ZodString>;
|
|
1294
1346
|
stale: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1298,15 +1350,15 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1298
1350
|
run_id: z.ZodString;
|
|
1299
1351
|
timestamp: z.ZodString;
|
|
1300
1352
|
type: z.ZodLiteral<"readiness.updated">;
|
|
1301
|
-
|
|
1302
|
-
readiness: z.
|
|
1353
|
+
project: z.ZodString;
|
|
1354
|
+
readiness: z.ZodObject<{
|
|
1303
1355
|
kind: z.ZodLiteral<"interf-readiness-state">;
|
|
1304
1356
|
version: z.ZodLiteral<1>;
|
|
1305
1357
|
generated_at: z.ZodString;
|
|
1306
|
-
|
|
1358
|
+
project: z.ZodString;
|
|
1307
1359
|
status: z.ZodEnum<{
|
|
1308
|
-
ready: "ready";
|
|
1309
1360
|
failed: "failed";
|
|
1361
|
+
ready: "ready";
|
|
1310
1362
|
"not-configured": "not-configured";
|
|
1311
1363
|
"not-built": "not-built";
|
|
1312
1364
|
building: "building";
|
|
@@ -1317,22 +1369,23 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1317
1369
|
}>;
|
|
1318
1370
|
ready: z.ZodBoolean;
|
|
1319
1371
|
summary: z.ZodString;
|
|
1320
|
-
|
|
1372
|
+
context_graph_path: z.ZodNullable<z.ZodString>;
|
|
1321
1373
|
latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1322
|
-
|
|
1374
|
+
latest_benchmark_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1323
1375
|
build: z.ZodNullable<z.ZodObject<{
|
|
1324
1376
|
gate: z.ZodEnum<{
|
|
1325
|
-
"
|
|
1326
|
-
"
|
|
1377
|
+
"context-graph": "context-graph";
|
|
1378
|
+
"project-config": "project-config";
|
|
1327
1379
|
"build-run": "build-run";
|
|
1328
|
-
"artifact-
|
|
1329
|
-
"
|
|
1330
|
-
|
|
1380
|
+
"artifact-diagnostics": "artifact-diagnostics";
|
|
1381
|
+
"context-checks": "context-checks";
|
|
1382
|
+
benchmarks: "benchmarks";
|
|
1383
|
+
"benchmarks-current": "benchmarks-current";
|
|
1331
1384
|
}>;
|
|
1332
1385
|
ok: z.ZodBoolean;
|
|
1333
1386
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1334
|
-
ready: "ready";
|
|
1335
1387
|
failed: "failed";
|
|
1388
|
+
ready: "ready";
|
|
1336
1389
|
"not-configured": "not-configured";
|
|
1337
1390
|
"not-built": "not-built";
|
|
1338
1391
|
building: "building";
|
|
@@ -1358,7 +1411,7 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1358
1411
|
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1359
1412
|
run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1360
1413
|
}, z.core.$strict>>;
|
|
1361
|
-
|
|
1414
|
+
context_graph: z.ZodNullable<z.ZodObject<{
|
|
1362
1415
|
passed: z.ZodNumber;
|
|
1363
1416
|
total: z.ZodNumber;
|
|
1364
1417
|
pass_rate: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1370,17 +1423,18 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1370
1423
|
}, z.core.$strict>;
|
|
1371
1424
|
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1372
1425
|
gate: z.ZodEnum<{
|
|
1373
|
-
"
|
|
1374
|
-
"
|
|
1426
|
+
"context-graph": "context-graph";
|
|
1427
|
+
"project-config": "project-config";
|
|
1375
1428
|
"build-run": "build-run";
|
|
1376
|
-
"artifact-
|
|
1377
|
-
"
|
|
1378
|
-
|
|
1429
|
+
"artifact-diagnostics": "artifact-diagnostics";
|
|
1430
|
+
"context-checks": "context-checks";
|
|
1431
|
+
benchmarks: "benchmarks";
|
|
1432
|
+
"benchmarks-current": "benchmarks-current";
|
|
1379
1433
|
}>;
|
|
1380
1434
|
ok: z.ZodBoolean;
|
|
1381
1435
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1382
|
-
ready: "ready";
|
|
1383
1436
|
failed: "failed";
|
|
1437
|
+
ready: "ready";
|
|
1384
1438
|
"not-configured": "not-configured";
|
|
1385
1439
|
"not-built": "not-built";
|
|
1386
1440
|
building: "building";
|
|
@@ -1394,9 +1448,9 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1394
1448
|
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1395
1449
|
artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1396
1450
|
}, z.core.$strict>>>;
|
|
1397
|
-
}, z.core.$strict
|
|
1451
|
+
}, z.core.$strict>;
|
|
1398
1452
|
}, z.core.$strict>], "type">>>;
|
|
1399
|
-
|
|
1453
|
+
latest_evidence: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1400
1454
|
id: z.ZodString;
|
|
1401
1455
|
run_id: z.ZodString;
|
|
1402
1456
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1409,8 +1463,8 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1409
1463
|
runtime: "runtime";
|
|
1410
1464
|
output: "output";
|
|
1411
1465
|
source: "source";
|
|
1412
|
-
|
|
1413
|
-
|
|
1466
|
+
evidence: "evidence";
|
|
1467
|
+
benchmark: "benchmark";
|
|
1414
1468
|
}>;
|
|
1415
1469
|
stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1416
1470
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -1423,14 +1477,14 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1423
1477
|
detail: z.ZodOptional<z.ZodString>;
|
|
1424
1478
|
}, z.core.$strict>>>;
|
|
1425
1479
|
}, z.core.$strict>>>;
|
|
1426
|
-
readiness: z.ZodOptional<z.ZodNullable<z.
|
|
1480
|
+
readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1427
1481
|
kind: z.ZodLiteral<"interf-readiness-state">;
|
|
1428
1482
|
version: z.ZodLiteral<1>;
|
|
1429
1483
|
generated_at: z.ZodString;
|
|
1430
|
-
|
|
1484
|
+
project: z.ZodString;
|
|
1431
1485
|
status: z.ZodEnum<{
|
|
1432
|
-
ready: "ready";
|
|
1433
1486
|
failed: "failed";
|
|
1487
|
+
ready: "ready";
|
|
1434
1488
|
"not-configured": "not-configured";
|
|
1435
1489
|
"not-built": "not-built";
|
|
1436
1490
|
building: "building";
|
|
@@ -1441,22 +1495,23 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1441
1495
|
}>;
|
|
1442
1496
|
ready: z.ZodBoolean;
|
|
1443
1497
|
summary: z.ZodString;
|
|
1444
|
-
|
|
1498
|
+
context_graph_path: z.ZodNullable<z.ZodString>;
|
|
1445
1499
|
latest_build_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1446
|
-
|
|
1500
|
+
latest_benchmark_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1447
1501
|
build: z.ZodNullable<z.ZodObject<{
|
|
1448
1502
|
gate: z.ZodEnum<{
|
|
1449
|
-
"
|
|
1450
|
-
"
|
|
1503
|
+
"context-graph": "context-graph";
|
|
1504
|
+
"project-config": "project-config";
|
|
1451
1505
|
"build-run": "build-run";
|
|
1452
|
-
"artifact-
|
|
1453
|
-
"
|
|
1454
|
-
|
|
1506
|
+
"artifact-diagnostics": "artifact-diagnostics";
|
|
1507
|
+
"context-checks": "context-checks";
|
|
1508
|
+
benchmarks: "benchmarks";
|
|
1509
|
+
"benchmarks-current": "benchmarks-current";
|
|
1455
1510
|
}>;
|
|
1456
1511
|
ok: z.ZodBoolean;
|
|
1457
1512
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1458
|
-
ready: "ready";
|
|
1459
1513
|
failed: "failed";
|
|
1514
|
+
ready: "ready";
|
|
1460
1515
|
"not-configured": "not-configured";
|
|
1461
1516
|
"not-built": "not-built";
|
|
1462
1517
|
building: "building";
|
|
@@ -1482,7 +1537,7 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1482
1537
|
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1483
1538
|
run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1484
1539
|
}, z.core.$strict>>;
|
|
1485
|
-
|
|
1540
|
+
context_graph: z.ZodNullable<z.ZodObject<{
|
|
1486
1541
|
passed: z.ZodNumber;
|
|
1487
1542
|
total: z.ZodNumber;
|
|
1488
1543
|
pass_rate: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1494,17 +1549,18 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1494
1549
|
}, z.core.$strict>;
|
|
1495
1550
|
checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1496
1551
|
gate: z.ZodEnum<{
|
|
1497
|
-
"
|
|
1498
|
-
"
|
|
1552
|
+
"context-graph": "context-graph";
|
|
1553
|
+
"project-config": "project-config";
|
|
1499
1554
|
"build-run": "build-run";
|
|
1500
|
-
"artifact-
|
|
1501
|
-
"
|
|
1502
|
-
|
|
1555
|
+
"artifact-diagnostics": "artifact-diagnostics";
|
|
1556
|
+
"context-checks": "context-checks";
|
|
1557
|
+
benchmarks: "benchmarks";
|
|
1558
|
+
"benchmarks-current": "benchmarks-current";
|
|
1503
1559
|
}>;
|
|
1504
1560
|
ok: z.ZodBoolean;
|
|
1505
1561
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1506
|
-
ready: "ready";
|
|
1507
1562
|
failed: "failed";
|
|
1563
|
+
ready: "ready";
|
|
1508
1564
|
"not-configured": "not-configured";
|
|
1509
1565
|
"not-built": "not-built";
|
|
1510
1566
|
building: "building";
|
|
@@ -1518,24 +1574,46 @@ export declare const BuildRunSchema: z.ZodObject<{
|
|
|
1518
1574
|
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1519
1575
|
artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1520
1576
|
}, z.core.$strict>>>;
|
|
1521
|
-
}, z.core.$strict
|
|
1577
|
+
}, z.core.$strict>>>;
|
|
1578
|
+
context_checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1579
|
+
id: z.ZodString;
|
|
1580
|
+
label: z.ZodString;
|
|
1581
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
backed_by_artifact_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1583
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1584
|
+
evidence_expectation: z.ZodOptional<z.ZodString>;
|
|
1585
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1586
|
+
passed: "passed";
|
|
1587
|
+
pending: "pending";
|
|
1588
|
+
running: "running";
|
|
1589
|
+
failed: "failed";
|
|
1590
|
+
skipped: "skipped";
|
|
1591
|
+
}>>;
|
|
1592
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
1593
|
+
issue: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
}, z.core.$strict>>>;
|
|
1522
1595
|
artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1523
1596
|
artifact_id: z.ZodString;
|
|
1524
1597
|
status: z.ZodEnum<{
|
|
1525
|
-
ready: "ready";
|
|
1526
|
-
not_ready: "not_ready";
|
|
1527
1598
|
failed: "failed";
|
|
1528
1599
|
skipped: "skipped";
|
|
1600
|
+
ready: "ready";
|
|
1601
|
+
not_ready: "not_ready";
|
|
1529
1602
|
}>;
|
|
1530
1603
|
built_by_stages: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1531
|
-
|
|
1604
|
+
check_results: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1532
1605
|
check_id: z.ZodString;
|
|
1533
1606
|
kind: z.ZodEnum<{
|
|
1534
1607
|
file_exists: "file_exists";
|
|
1608
|
+
source_manifest_valid: "source_manifest_valid";
|
|
1535
1609
|
min_file_count: "min_file_count";
|
|
1536
1610
|
min_file_count_matches_source: "min_file_count_matches_source";
|
|
1611
|
+
source_summary_folders: "source_summary_folders";
|
|
1612
|
+
source_page_coverage: "source_page_coverage";
|
|
1537
1613
|
frontmatter_valid: "frontmatter_valid";
|
|
1538
1614
|
frontmatter_required_keys: "frontmatter_required_keys";
|
|
1615
|
+
frontmatter_nonempty_keys: "frontmatter_nonempty_keys";
|
|
1616
|
+
source_refs_required: "source_refs_required";
|
|
1539
1617
|
wikilinks_valid: "wikilinks_valid";
|
|
1540
1618
|
must_not_contain: "must_not_contain";
|
|
1541
1619
|
must_contain: "must_contain";
|
|
@@ -1566,8 +1644,8 @@ export type BuildRunStatus = z.infer<typeof BuildRunStatusSchema>;
|
|
|
1566
1644
|
export type StageRunStatus = z.infer<typeof StageRunStatusSchema>;
|
|
1567
1645
|
export type ArtifactRole = z.infer<typeof ArtifactRoleSchema>;
|
|
1568
1646
|
export type ArtifactRef = z.infer<typeof ArtifactRefSchema>;
|
|
1569
|
-
export type
|
|
1570
|
-
export type
|
|
1647
|
+
export type RunCheck = z.infer<typeof RunCheckSchema>;
|
|
1648
|
+
export type EvidenceRecord = z.infer<typeof EvidenceRecordSchema>;
|
|
1571
1649
|
export type StageRunContract = z.infer<typeof StageRunContractSchema>;
|
|
1572
1650
|
export type StageRunLogs = z.infer<typeof StageRunLogsSchema>;
|
|
1573
1651
|
export type InterfRunEvent = z.infer<typeof InterfRunEventSchema>;
|