@intentius/chant 0.57.0 → 0.59.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/dist/audit/catalog.d.ts +51 -1
- package/dist/audit/catalog.d.ts.map +1 -1
- package/dist/audit/core.d.ts +36 -1
- package/dist/audit/core.d.ts.map +1 -1
- package/dist/audit/discover.d.ts +26 -9
- package/dist/audit/discover.d.ts.map +1 -1
- package/dist/audit/lineage.d.ts +10 -0
- package/dist/audit/lineage.d.ts.map +1 -0
- package/dist/audit/prior-art.d.ts +385 -0
- package/dist/audit/prior-art.d.ts.map +1 -0
- package/dist/audit/proof.d.ts +16 -0
- package/dist/audit/proof.d.ts.map +1 -1
- package/dist/audit/report-html.d.ts.map +1 -1
- package/dist/audit/report-model.d.ts +8 -1
- package/dist/audit/report-model.d.ts.map +1 -1
- package/dist/audit/report.d.ts.map +1 -1
- package/dist/audit/rules-doc.d.ts +3 -0
- package/dist/audit/rules-doc.d.ts.map +1 -1
- package/dist/audit/secrets.d.ts +15 -0
- package/dist/audit/secrets.d.ts.map +1 -1
- package/dist/audit/terraform-state.d.ts +46 -0
- package/dist/audit/terraform-state.d.ts.map +1 -0
- package/dist/build.d.ts +17 -1
- package/dist/build.d.ts.map +1 -1
- package/dist/claimed-fields.d.ts +161 -0
- package/dist/claimed-fields.d.ts.map +1 -0
- package/dist/cli/build-params-cli.d.ts +2 -2
- package/dist/cli/command-group.d.ts +14 -0
- package/dist/cli/command-group.d.ts.map +1 -1
- package/dist/cli/commands/audit.d.ts +17 -1
- package/dist/cli/commands/audit.d.ts.map +1 -1
- package/dist/cli/commands/build.d.ts.map +1 -1
- package/dist/cli/commands/carve-bridge.d.ts.map +1 -1
- package/dist/cli/commands/check-lexicon-docs.d.ts +1 -1
- package/dist/cli/commands/check-lexicon-examples.d.ts +16 -6
- package/dist/cli/commands/check-lexicon-examples.d.ts.map +1 -1
- package/dist/cli/commands/init-lexicon/templates/codegen.d.ts +1 -0
- package/dist/cli/commands/init-lexicon/templates/codegen.d.ts.map +1 -1
- package/dist/cli/commands/init-lexicon/templates/project.d.ts +7 -0
- package/dist/cli/commands/init-lexicon/templates/project.d.ts.map +1 -1
- package/dist/cli/commands/init-lexicon.d.ts.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/lint.d.ts +13 -0
- package/dist/cli/commands/lint.d.ts.map +1 -1
- package/dist/cli/commands/onboard.d.ts +2 -0
- package/dist/cli/commands/onboard.d.ts.map +1 -1
- package/dist/cli/handlers/build.d.ts.map +1 -1
- package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
- package/dist/cli/handlers/operator.d.ts +82 -16
- package/dist/cli/handlers/operator.d.ts.map +1 -1
- package/dist/cli/handlers/run.d.ts +49 -42
- package/dist/cli/handlers/run.d.ts.map +1 -1
- package/dist/cli/main.d.ts +12 -1
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/mcp/op-tools.d.ts +16 -1
- package/dist/cli/mcp/op-tools.d.ts.map +1 -1
- package/dist/cli/mcp/resource-handlers.d.ts.map +1 -1
- package/dist/cli/mcp/resources/context.d.ts.map +1 -1
- package/dist/cli/plugins.d.ts +22 -0
- package/dist/cli/plugins.d.ts.map +1 -1
- package/dist/cli/registry.d.ts +40 -9
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/codegen/generate-post-synth-barrel.d.ts +1 -1
- package/dist/components/auto-release.d.ts +10 -20
- package/dist/components/auto-release.d.ts.map +1 -1
- package/dist/components/capability.d.ts +4 -4
- package/dist/components/cli-support.d.ts +24 -22
- package/dist/components/cli-support.d.ts.map +1 -1
- package/dist/components/component.d.ts +21 -6
- package/dist/components/component.d.ts.map +1 -1
- package/dist/components/driver-output.d.ts.map +1 -1
- package/dist/components/driver.d.ts +73 -37
- package/dist/components/driver.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest-persistence.d.ts +1 -9
- package/dist/components/manifest-persistence.d.ts.map +1 -1
- package/dist/components/run-progress.d.ts +6 -6
- package/dist/components/run-progress.d.ts.map +1 -1
- package/dist/components/verbs/run-agent.d.ts +10 -22
- package/dist/components/verbs/run-agent.d.ts.map +1 -1
- package/dist/components/verbs/verify.d.ts +2 -2
- package/dist/deep-observation.d.ts +17 -0
- package/dist/deep-observation.d.ts.map +1 -1
- package/dist/detectLexicon.d.ts +13 -0
- package/dist/detectLexicon.d.ts.map +1 -1
- package/dist/discovery/files.d.ts +4 -4
- package/dist/discovery/fold-import.d.ts.map +1 -1
- package/dist/discovery/param-deps.d.ts +33 -0
- package/dist/discovery/param-deps.d.ts.map +1 -1
- package/dist/discovery/sandbox/bundle.d.ts.map +1 -1
- package/dist/discovery/sandbox/config-wire.d.ts +2 -2
- package/dist/fold/foldable-helpers.d.ts +5 -1
- package/dist/fold/foldable-helpers.d.ts.map +1 -1
- package/dist/fold-provenance.d.ts +236 -0
- package/dist/fold-provenance.d.ts.map +1 -0
- package/dist/graph-ops.d.ts +1 -1
- package/dist/held-elsewhere.d.ts +85 -0
- package/dist/held-elsewhere.d.ts.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/kubectl-context.d.ts +3 -3
- package/dist/lexicon-config.d.ts +4 -4
- package/dist/lexicon-plugin-helpers.d.ts +1 -1
- package/dist/lexicon.d.ts +273 -16
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/change-set.d.ts +13 -0
- package/dist/lifecycle/change-set.d.ts.map +1 -1
- package/dist/lifecycle/deep-diff.d.ts +133 -6
- package/dist/lifecycle/deep-diff.d.ts.map +1 -1
- package/dist/lifecycle/deep-observe.d.ts.map +1 -1
- package/dist/lifecycle/gate-ledger.d.ts +79 -3
- package/dist/lifecycle/gate-ledger.d.ts.map +1 -1
- package/dist/lifecycle/index.d.ts +1 -0
- package/dist/lifecycle/index.d.ts.map +1 -1
- package/dist/lifecycle/release-ledger.d.ts +2 -2
- package/dist/lifecycle/run-ledger.d.ts +53 -0
- package/dist/lifecycle/run-ledger.d.ts.map +1 -0
- package/dist/lifecycle/symptoms.d.ts +3 -3
- package/dist/lifecycle/symptoms.d.ts.map +1 -1
- package/dist/lint/config.d.ts +81 -2
- package/dist/lint/config.d.ts.map +1 -1
- package/dist/lint/post-synth.d.ts +55 -2
- package/dist/lint/post-synth.d.ts.map +1 -1
- package/dist/lint/rules/__fixtures__/comp/comp004/pass/neo4j-cluster.component.d.ts +1 -1
- package/dist/lint/rules/__fixtures__/comp/comp004/pass/neo4j-cluster.component.d.ts.map +1 -1
- package/dist/lint/rules/__fixtures__/comp/comp004/pass/orders-table.component.d.ts +1 -1
- package/dist/lint/rules/__fixtures__/comp/comp004/pass/orders-table.component.d.ts.map +1 -1
- package/dist/lint/rules/comp/comp004-gate-needs-durable-runtime.d.ts +44 -0
- package/dist/lint/rules/comp/comp004-gate-needs-durable-runtime.d.ts.map +1 -0
- package/dist/lint/rules/comp/index.d.ts +1 -1
- package/dist/lint/rules/comp/index.d.ts.map +1 -1
- package/dist/lint/rules/op/index.d.ts +16 -0
- package/dist/lint/rules/op/index.d.ts.map +1 -0
- package/dist/lint/rules/op/ops012-activity-contract.d.ts +27 -0
- package/dist/lint/rules/op/ops012-activity-contract.d.ts.map +1 -0
- package/dist/lint/rules/op/ops013-step-output-ref.d.ts +61 -0
- package/dist/lint/rules/op/ops013-step-output-ref.d.ts.map +1 -0
- package/dist/lint/rules/op/ops014-converge-rule-refusals.d.ts +55 -0
- package/dist/lint/rules/op/ops014-converge-rule-refusals.d.ts.map +1 -0
- package/dist/lint/rules/op/support.d.ts +12 -0
- package/dist/lint/rules/op/support.d.ts.map +1 -0
- package/dist/lint/suppressions.d.ts +108 -0
- package/dist/lint/suppressions.d.ts.map +1 -0
- package/dist/live-endpoint.d.ts +1 -1
- package/dist/op/activities/activity-contracts.d.ts +54 -0
- package/dist/op/activities/activity-contracts.d.ts.map +1 -0
- package/dist/op/activities/apply.d.ts +262 -0
- package/dist/op/activities/apply.d.ts.map +1 -0
- package/dist/op/activities/build.d.ts +13 -0
- package/dist/op/activities/build.d.ts.map +1 -0
- package/dist/op/activities/converge.d.ts +110 -0
- package/dist/op/activities/converge.d.ts.map +1 -0
- package/dist/op/activities/env-teardown.d.ts +76 -0
- package/dist/op/activities/env-teardown.d.ts.map +1 -0
- package/dist/op/activities/guard-validate.d.ts +64 -0
- package/dist/op/activities/guard-validate.d.ts.map +1 -0
- package/dist/op/activities/http-check.d.ts +34 -0
- package/dist/op/activities/http-check.d.ts.map +1 -0
- package/dist/op/activities/index.d.ts +31 -0
- package/dist/op/activities/index.d.ts.map +1 -0
- package/dist/op/activities/lexicon-upgrade.d.ts +182 -0
- package/dist/op/activities/lexicon-upgrade.d.ts.map +1 -0
- package/dist/op/activities/lifecycle.d.ts +42 -0
- package/dist/op/activities/lifecycle.d.ts.map +1 -0
- package/dist/op/activities/pipeline-audit.d.ts +84 -0
- package/dist/op/activities/pipeline-audit.d.ts.map +1 -0
- package/dist/op/activities/policy.d.ts +17 -0
- package/dist/op/activities/policy.d.ts.map +1 -0
- package/dist/op/activities/reconcile.d.ts +149 -0
- package/dist/op/activities/reconcile.d.ts.map +1 -0
- package/dist/op/activities/shell.d.ts +13 -0
- package/dist/op/activities/shell.d.ts.map +1 -0
- package/dist/op/activities/teardown.d.ts +10 -0
- package/dist/op/activities/teardown.d.ts.map +1 -0
- package/dist/op/activities/util.d.ts +7 -0
- package/dist/op/activities/util.d.ts.map +1 -0
- package/dist/op/activities/wait.d.ts +28 -0
- package/dist/op/activities/wait.d.ts.map +1 -0
- package/dist/op/activities/workflow-audit.d.ts +92 -0
- package/dist/op/activities/workflow-audit.d.ts.map +1 -0
- package/dist/op/activity-contract-registry.d.ts +76 -0
- package/dist/op/activity-contract-registry.d.ts.map +1 -0
- package/dist/op/activity-contract.d.ts +25 -18
- package/dist/op/activity-contract.d.ts.map +1 -1
- package/dist/op/activity-failure.d.ts +28 -0
- package/dist/op/activity-failure.d.ts.map +1 -0
- package/dist/op/activity-profiles.d.ts +118 -0
- package/dist/op/activity-profiles.d.ts.map +1 -0
- package/dist/op/activity-registry.d.ts +22 -38
- package/dist/op/activity-registry.d.ts.map +1 -1
- package/dist/op/activity-runtime.d.ts +3 -14
- package/dist/op/activity-runtime.d.ts.map +1 -1
- package/dist/op/builders.d.ts +85 -30
- package/dist/op/builders.d.ts.map +1 -1
- package/dist/op/change-signal.d.ts +91 -0
- package/dist/op/change-signal.d.ts.map +1 -0
- package/dist/op/composites/apply-op.d.ts +118 -0
- package/dist/op/composites/apply-op.d.ts.map +1 -0
- package/dist/op/composites/converge-op.d.ts +120 -0
- package/dist/op/composites/converge-op.d.ts.map +1 -0
- package/dist/op/composites/index.d.ts +26 -0
- package/dist/op/composites/index.d.ts.map +1 -0
- package/dist/op/composites/lexicon-upgrade-op.d.ts +78 -0
- package/dist/op/composites/lexicon-upgrade-op.d.ts.map +1 -0
- package/dist/op/composites/pipeline-audit-op.d.ts +50 -0
- package/dist/op/composites/pipeline-audit-op.d.ts.map +1 -0
- package/dist/op/composites/reconcile-op.d.ts +57 -0
- package/dist/op/composites/reconcile-op.d.ts.map +1 -0
- package/dist/op/composites/watch-op.d.ts +60 -0
- package/dist/op/composites/watch-op.d.ts.map +1 -0
- package/dist/op/composites/workflow-audit-op.d.ts +57 -0
- package/dist/op/composites/workflow-audit-op.d.ts.map +1 -0
- package/dist/op/converge-rule.d.ts +12 -10
- package/dist/op/converge-rule.d.ts.map +1 -1
- package/dist/op/cron.d.ts +51 -0
- package/dist/op/cron.d.ts.map +1 -0
- package/dist/op/discover.d.ts +9 -0
- package/dist/op/discover.d.ts.map +1 -1
- package/dist/op/duration.d.ts +11 -0
- package/dist/op/duration.d.ts.map +1 -0
- package/dist/op/emulator-lifecycle.d.ts.map +1 -1
- package/dist/op/gate-name.d.ts +40 -0
- package/dist/op/gate-name.d.ts.map +1 -0
- package/dist/op/gate-summary.d.ts +43 -0
- package/dist/op/gate-summary.d.ts.map +1 -0
- package/dist/op/gate.d.ts +90 -0
- package/dist/op/gate.d.ts.map +1 -0
- package/dist/op/generate-pipeline.d.ts +9 -0
- package/dist/op/generate-pipeline.d.ts.map +1 -1
- package/dist/op/index.d.ts +29 -9
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/local-executor.d.ts +114 -28
- package/dist/op/local-executor.d.ts.map +1 -1
- package/dist/op/local-output.d.ts +11 -1
- package/dist/op/local-output.d.ts.map +1 -1
- package/dist/op/op-ir.d.ts +185 -0
- package/dist/op/op-ir.d.ts.map +1 -0
- package/dist/op/op-verb-class.d.ts +10 -2
- package/dist/op/op-verb-class.d.ts.map +1 -1
- package/dist/op/operator.d.ts +93 -5
- package/dist/op/operator.d.ts.map +1 -1
- package/dist/op/receipt-store.d.ts +1 -1
- package/dist/op/receipt-store.d.ts.map +1 -1
- package/dist/op/resource.d.ts +15 -1
- package/dist/op/resource.d.ts.map +1 -1
- package/dist/op/runtime.d.ts +200 -0
- package/dist/op/runtime.d.ts.map +1 -0
- package/dist/op/runtimes/local.d.ts +29 -0
- package/dist/op/runtimes/local.d.ts.map +1 -0
- package/dist/op/step-output-ref.d.ts +15 -13
- package/dist/op/step-output-ref.d.ts.map +1 -1
- package/dist/op/types.d.ts +96 -29
- package/dist/op/types.d.ts.map +1 -1
- package/dist/ownership.d.ts +1 -1
- package/dist/provenance.d.ts +21 -0
- package/dist/provenance.d.ts.map +1 -1
- package/dist/serializer-walker.d.ts.map +1 -1
- package/dist/terraform/bridge.d.ts +26 -7
- package/dist/terraform/bridge.d.ts.map +1 -1
- package/dist/terraform/carve-provider.d.ts +28 -2
- package/dist/terraform/carve-provider.d.ts.map +1 -1
- package/dist/terraform/data-source-shape.d.ts +77 -0
- package/dist/terraform/data-source-shape.d.ts.map +1 -0
- package/dist/terraform/graph.d.ts.map +1 -1
- package/dist/terraform/providers/kubernetes.d.ts +5 -0
- package/dist/terraform/providers/kubernetes.d.ts.map +1 -1
- package/dist/terraform/tier-map.d.ts +16 -4
- package/dist/terraform/tier-map.d.ts.map +1 -1
- package/dist/terraform/types.d.ts +8 -0
- package/dist/terraform/types.d.ts.map +1 -1
- package/package.json +6 -1
- package/src/audit/catalog.test.ts +79 -3
- package/src/audit/catalog.ts +111 -13
- package/src/audit/core.test.ts +26 -0
- package/src/audit/core.ts +84 -18
- package/src/audit/discover.test.ts +39 -0
- package/src/audit/discover.ts +202 -18
- package/src/audit/lineage.ts +100 -0
- package/src/audit/prior-art.ts +153 -0
- package/src/audit/proof.test.ts +67 -0
- package/src/audit/proof.ts +70 -0
- package/src/audit/report-html.ts +9 -4
- package/src/audit/report-model.ts +16 -2
- package/src/audit/report.test.ts +33 -0
- package/src/audit/report.ts +5 -3
- package/src/audit/rules-doc.test.ts +34 -2
- package/src/audit/rules-doc.ts +82 -9
- package/src/audit/secrets.ts +15 -3
- package/src/audit/terraform-state.test.ts +144 -0
- package/src/audit/terraform-state.ts +131 -0
- package/src/build.ts +31 -1
- package/src/claimed-fields.test.ts +145 -0
- package/src/claimed-fields.ts +208 -0
- package/src/cli/build-params-cli.ts +2 -2
- package/src/cli/command-group.ts +14 -0
- package/src/cli/commands/__fixtures__/audit-terraform/infra/.terraform/providers/lock.txt +1 -0
- package/src/cli/commands/__fixtures__/audit-terraform/infra/main.tf +1 -0
- package/src/cli/commands/__fixtures__/audit-terraform/infra/modules/foo/main.tf +1 -0
- package/src/cli/commands/__fixtures__/audit-terraform/infra/variables.tf +3 -0
- package/src/cli/commands/__fixtures__/init-lexicon-output/package.json +13 -4
- package/src/cli/commands/__fixtures__/init-lexicon-output/src/codegen/docs-cli.ts +4 -0
- package/src/cli/commands/__fixtures__/init-lexicon-output/src/codegen/package.ts +1 -0
- package/src/cli/commands/__fixtures__/init-lexicon-output/src/package-cli.ts +21 -0
- package/src/cli/commands/__snapshots__/init-lexicon.test.ts.snap +1 -0
- package/src/cli/commands/audit.test.ts +191 -11
- package/src/cli/commands/audit.ts +78 -28
- package/src/cli/commands/build.test.ts +330 -9
- package/src/cli/commands/build.ts +170 -24
- package/src/cli/commands/carve-bridge.test.ts +237 -14
- package/src/cli/commands/carve-bridge.ts +21 -17
- package/src/cli/commands/carve-emit-k8s.test.ts +17 -10
- package/src/cli/commands/check-lexicon-docs.ts +1 -1
- package/src/cli/commands/check-lexicon-examples.test.ts +29 -1
- package/src/cli/commands/check-lexicon-examples.ts +42 -10
- package/src/cli/commands/init-lexicon/templates/codegen.ts +9 -0
- package/src/cli/commands/init-lexicon/templates/project.ts +44 -4
- package/src/cli/commands/init-lexicon.test.ts +97 -2
- package/src/cli/commands/init-lexicon.ts +4 -2
- package/src/cli/commands/init.test.ts +35 -1
- package/src/cli/commands/init.ts +14 -3
- package/src/cli/commands/lint.test.ts +194 -1
- package/src/cli/commands/lint.ts +205 -7
- package/src/cli/commands/onboard.test.ts +75 -0
- package/src/cli/commands/onboard.ts +54 -23
- package/src/cli/handlers/build.test.ts +81 -1
- package/src/cli/handlers/build.ts +15 -1
- package/src/cli/handlers/graph.test.ts +3 -3
- package/src/cli/handlers/lifecycle.test.ts +195 -12
- package/src/cli/handlers/lifecycle.ts +123 -6
- package/src/cli/handlers/misc.ts +1 -1
- package/src/cli/handlers/operator.test.ts +183 -11
- package/src/cli/handlers/operator.ts +341 -55
- package/src/cli/handlers/run.test.ts +568 -1295
- package/src/cli/handlers/run.ts +446 -912
- package/src/cli/main.test.ts +22 -16
- package/src/cli/main.ts +66 -33
- package/src/cli/mcp/op-tools.ts +147 -88
- package/src/cli/mcp/resource-handlers.ts +10 -37
- package/src/cli/mcp/resources/context.ts +11 -12
- package/src/cli/mcp/server.test.ts +25 -27
- package/src/cli/mcp/server.ts +2 -2
- package/src/cli/plugins.test.ts +68 -2
- package/src/cli/plugins.ts +39 -0
- package/src/cli/registry.ts +40 -9
- package/src/codegen/docs.ts +1 -1
- package/src/codegen/generate-post-synth-barrel.test.ts +1 -1
- package/src/codegen/generate-post-synth-barrel.ts +1 -1
- package/src/components/README.md +4 -3
- package/src/components/__fixtures__/neo4j-fanout.json +1 -1
- package/src/components/auto-release.test.ts +4 -20
- package/src/components/auto-release.ts +17 -42
- package/src/components/capability.ts +4 -4
- package/src/components/cli-support.test.ts +28 -12
- package/src/components/cli-support.ts +60 -47
- package/src/components/component-schema.test.ts +18 -2
- package/src/components/component.schema.json +18 -5
- package/src/components/component.test.ts +2 -2
- package/src/components/component.ts +27 -7
- package/src/components/config-defaults.test.ts +2 -2
- package/src/components/driver-output.ts +14 -2
- package/src/components/driver.test.ts +109 -20
- package/src/components/driver.ts +201 -84
- package/src/components/index.ts +1 -6
- package/src/components/manifest-persistence.test.ts +2 -20
- package/src/components/manifest-persistence.ts +4 -24
- package/src/components/pilots/neo4j-fanout.pilot.ts +3 -3
- package/src/components/pilots/pilots-lint-clean.test.ts +11 -10
- package/src/components/run-progress.ts +6 -6
- package/src/components/verbs/run-agent.test.ts +19 -0
- package/src/components/verbs/run-agent.ts +12 -24
- package/src/components/verbs/verify.ts +2 -2
- package/src/deep-observation.test.ts +75 -0
- package/src/deep-observation.ts +48 -0
- package/src/detectLexicon.ts +18 -1
- package/src/discovery/collect.test.ts +3 -3
- package/src/discovery/files.ts +4 -4
- package/src/discovery/fold-import.test.ts +1 -1
- package/src/discovery/fold-import.ts +105 -2
- package/src/discovery/param-deps.test.ts +112 -1
- package/src/discovery/param-deps.ts +193 -0
- package/src/discovery/sandbox/bundle.ts +15 -1
- package/src/discovery/sandbox/config-wire.test.ts +2 -2
- package/src/discovery/sandbox/config-wire.ts +2 -2
- package/src/fold/fold.test.ts +56 -0
- package/src/fold/foldable-helpers.ts +82 -2
- package/src/fold-provenance-exclusion.test.ts +186 -0
- package/src/fold-provenance.test.ts +495 -0
- package/src/fold-provenance.ts +441 -0
- package/src/graph-ops.test.ts +3 -3
- package/src/graph-ops.ts +1 -1
- package/src/held-elsewhere.test.ts +102 -0
- package/src/held-elsewhere.ts +114 -0
- package/src/index.ts +3 -0
- package/src/kubectl-context.ts +3 -3
- package/src/lexicon-config.test.ts +5 -5
- package/src/lexicon-config.ts +4 -4
- package/src/lexicon-plugin-helpers.ts +1 -1
- package/src/lexicon.ts +296 -16
- package/src/lifecycle/change-set.test.ts +49 -0
- package/src/lifecycle/change-set.ts +67 -0
- package/src/lifecycle/converge-ledger.ts +1 -1
- package/src/lifecycle/deep-diff.test.ts +267 -14
- package/src/lifecycle/deep-diff.ts +217 -14
- package/src/lifecycle/deep-observe.test.ts +3 -1
- package/src/lifecycle/deep-observe.ts +16 -6
- package/src/lifecycle/gate-ledger.test.ts +74 -2
- package/src/lifecycle/gate-ledger.ts +154 -36
- package/src/lifecycle/index.ts +1 -0
- package/src/lifecycle/release-ledger.ts +2 -2
- package/src/lifecycle/run-ledger.test.ts +268 -0
- package/src/lifecycle/run-ledger.ts +201 -0
- package/src/lifecycle/symptoms.ts +3 -3
- package/src/lint/config.test.ts +82 -1
- package/src/lint/config.ts +112 -3
- package/src/lint/pipeline-change-gate.test.ts +2 -2
- package/src/lint/policy.test.ts +1 -1
- package/src/lint/post-synth.test.ts +31 -0
- package/src/lint/post-synth.ts +54 -1
- package/src/lint/rules/__fixtures__/comp/comp004/pass/neo4j-cluster.component.ts +2 -2
- package/src/lint/rules/__fixtures__/comp/comp004/pass/orders-table.component.ts +1 -1
- package/src/lint/rules/comp/comp.test.ts +27 -1
- package/src/lint/rules/comp/comp004-gate-needs-durable-runtime.ts +76 -0
- package/src/lint/rules/comp/index.ts +3 -3
- package/src/lint/rules/op/index.ts +23 -0
- package/src/lint/rules/op/ops012-activity-contract.test.ts +161 -0
- package/src/lint/rules/op/ops012-activity-contract.ts +64 -0
- package/src/lint/rules/op/ops013-step-output-ref.test.ts +237 -0
- package/src/lint/rules/op/ops013-step-output-ref.ts +98 -0
- package/src/lint/rules/op/ops014-converge-rule-refusals.test.ts +263 -0
- package/src/lint/rules/op/ops014-converge-rule-refusals.ts +179 -0
- package/src/lint/rules/op/support.ts +11 -0
- package/src/lint/suppressions.test.ts +163 -0
- package/src/lint/suppressions.ts +204 -0
- package/src/live-endpoint.ts +1 -1
- package/src/op/activities/activity-contracts.ts +66 -0
- package/src/op/activities/apply.test.ts +567 -0
- package/src/op/activities/apply.ts +662 -0
- package/src/op/activities/build.ts +26 -0
- package/src/op/activities/converge.test.ts +330 -0
- package/src/op/activities/converge.ts +449 -0
- package/src/op/activities/env-teardown.test.ts +187 -0
- package/src/op/activities/env-teardown.ts +171 -0
- package/src/op/activities/guard-validate.test.ts +139 -0
- package/src/op/activities/guard-validate.ts +223 -0
- package/src/op/activities/http-check.test.ts +48 -0
- package/src/op/activities/http-check.ts +55 -0
- package/src/op/activities/index.ts +119 -0
- package/src/op/activities/lexicon-upgrade.test.ts +492 -0
- package/src/op/activities/lexicon-upgrade.ts +673 -0
- package/src/op/activities/lifecycle.ts +85 -0
- package/src/op/activities/pipeline-audit.test.ts +67 -0
- package/src/op/activities/pipeline-audit.ts +201 -0
- package/src/op/activities/policy.test.ts +19 -0
- package/src/op/activities/policy.ts +37 -0
- package/src/op/activities/reconcile.test.ts +161 -0
- package/src/op/activities/reconcile.ts +354 -0
- package/src/op/activities/shell.ts +26 -0
- package/src/op/activities/teardown.ts +22 -0
- package/src/op/activities/util.ts +6 -0
- package/src/op/activities/wait.ts +69 -0
- package/src/op/activities/workflow-audit.test.ts +90 -0
- package/src/op/activities/workflow-audit.ts +203 -0
- package/src/op/activity-contract-registry.test.ts +98 -0
- package/src/op/activity-contract-registry.ts +114 -0
- package/src/op/activity-contract.test.ts +1 -1
- package/src/op/activity-contract.ts +37 -33
- package/src/op/activity-failure.ts +34 -0
- package/src/op/activity-profiles.test.ts +56 -0
- package/src/op/activity-profiles.ts +116 -0
- package/src/op/activity-registry.test.ts +37 -28
- package/src/op/activity-registry.ts +27 -56
- package/src/op/activity-runtime.ts +3 -47
- package/src/op/builders-exports.test.ts +0 -49
- package/src/op/builders-typed.test.ts +164 -0
- package/src/op/builders.ts +125 -41
- package/src/op/change-signal.test.ts +117 -0
- package/src/op/change-signal.ts +169 -0
- package/src/op/composites/apply-op.ts +218 -0
- package/src/op/composites/composites.test.ts +379 -0
- package/src/op/composites/converge-op.test.ts +168 -0
- package/src/op/composites/converge-op.ts +214 -0
- package/src/op/composites/index.ts +26 -0
- package/src/op/composites/lexicon-upgrade-op.test.ts +68 -0
- package/src/op/composites/lexicon-upgrade-op.ts +134 -0
- package/src/op/composites/pipeline-audit-op.test.ts +25 -0
- package/src/op/composites/pipeline-audit-op.ts +78 -0
- package/src/op/composites/reconcile-op.test.ts +51 -0
- package/src/op/composites/reconcile-op.ts +110 -0
- package/src/op/composites/watch-op.ts +108 -0
- package/src/op/composites/workflow-audit-op.test.ts +25 -0
- package/src/op/composites/workflow-audit-op.ts +88 -0
- package/src/op/converge-rule.ts +12 -10
- package/src/op/cron.test.ts +128 -0
- package/src/op/cron.ts +149 -0
- package/src/op/discover-root.test.ts +105 -1
- package/src/op/discover.test.ts +6 -2
- package/src/op/discover.ts +84 -16
- package/src/op/duration.ts +21 -0
- package/src/op/effect-step.test.ts +29 -14
- package/src/op/emulator-lifecycle.ts +1 -2
- package/src/op/gate-name.test.ts +65 -0
- package/src/op/gate-name.ts +60 -0
- package/src/op/gate-summary.ts +84 -0
- package/src/op/gate.ts +155 -0
- package/src/op/generate-pipeline.test.ts +65 -3
- package/src/op/generate-pipeline.ts +19 -2
- package/src/op/index.ts +48 -8
- package/src/op/local-executor.test.ts +178 -34
- package/src/op/local-executor.ts +371 -102
- package/src/op/local-output.test.ts +95 -11
- package/src/op/local-output.ts +33 -4
- package/src/op/op-ir.test.ts +292 -0
- package/src/op/op-ir.ts +419 -0
- package/src/op/op-verb-class.test.ts +2 -2
- package/src/op/op-verb-class.ts +19 -5
- package/src/op/op.test.ts +28 -7
- package/src/op/operator.test.ts +543 -6
- package/src/op/operator.ts +203 -20
- package/src/op/receipt-store.ts +1 -1
- package/src/op/resource.ts +20 -2
- package/src/op/runtime.ts +203 -0
- package/src/op/runtimes/local.test.ts +181 -0
- package/src/op/runtimes/local.ts +212 -0
- package/src/op/step-output-ref.ts +15 -13
- package/src/op/types.ts +106 -26
- package/src/ownership.ts +1 -1
- package/src/provenance.test.ts +6 -0
- package/src/provenance.ts +21 -1
- package/src/serializer-walker.test.ts +42 -0
- package/src/serializer-walker.ts +21 -2
- package/src/terraform/aws-resources.test.ts +13 -4
- package/src/terraform/bridge.test.ts +22 -9
- package/src/terraform/bridge.ts +89 -28
- package/src/terraform/carve-provider.ts +38 -2
- package/src/terraform/data-source-shape.ts +95 -0
- package/src/terraform/graph.ts +35 -7
- package/src/terraform/providers/kubernetes.ts +48 -2
- package/src/terraform/tier-map.ts +21 -6
- package/src/terraform/types.ts +8 -0
- package/dist/cli/handlers/op-progress.d.ts +0 -90
- package/dist/cli/handlers/op-progress.d.ts.map +0 -1
- package/dist/cli/handlers/run-client.d.ts +0 -127
- package/dist/cli/handlers/run-client.d.ts.map +0 -1
- package/dist/cli/handlers/run-report.d.ts +0 -5
- package/dist/cli/handlers/run-report.d.ts.map +0 -1
- package/dist/components/temporal-codegen-loader.d.ts +0 -27
- package/dist/components/temporal-codegen-loader.d.ts.map +0 -1
- package/dist/lint/rules/comp/comp004-gate-needs-temporal.d.ts +0 -37
- package/dist/lint/rules/comp/comp004-gate-needs-temporal.d.ts.map +0 -1
- package/src/cli/handlers/op-progress.test.ts +0 -268
- package/src/cli/handlers/op-progress.ts +0 -248
- package/src/cli/handlers/run-client.test.ts +0 -82
- package/src/cli/handlers/run-client.ts +0 -219
- package/src/cli/handlers/run-report.test.ts +0 -62
- package/src/cli/handlers/run-report.ts +0 -122
- package/src/components/temporal-codegen-loader.ts +0 -41
- package/src/lint/rules/comp/comp004-gate-needs-temporal.ts +0 -66
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { type ChantConfig } from "../../config.js";
|
|
2
1
|
import type { CommandContext } from "../registry.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The exit code a run that stopped at an unapproved gate uses (#2119).
|
|
4
|
+
* Deliberately not 1: a gate is a standing fact waiting on a human, and a CI
|
|
5
|
+
* job that treats it as a failure would page someone for a decision nobody has
|
|
6
|
+
* made yet.
|
|
7
|
+
*/
|
|
8
|
+
export declare const GATED_EXIT_CODE = 3;
|
|
8
9
|
export declare function runOpList(ctx: CommandContext): Promise<number>;
|
|
9
10
|
export declare function runOpStatus(ctx: CommandContext): Promise<number>;
|
|
10
11
|
export declare function runOpLog(ctx: CommandContext): Promise<number>;
|
|
11
12
|
/**
|
|
12
|
-
* `chant run
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
13
|
+
* `chant run approve <op> <gate> [--approver] [--url] [--note]` (#2121) — the
|
|
14
|
+
* rename of `chant run signal`, and a different act.
|
|
15
|
+
*
|
|
16
|
+
* A gate resolution is a fact, not a message: the ledger write is the whole
|
|
17
|
+
* of it, and it is the same write `chant approve` performs
|
|
18
|
+
* (`recordGateApproval`, ./operator.ts), so a resolution recorded here reads
|
|
19
|
+
* back identically. The runtime is told afterwards, through its optional
|
|
20
|
+
* `resolveGate`, purely so a runtime that parks a run mid-flight can wake it
|
|
21
|
+
* now rather than on its next tick. A runtime without that method is not a
|
|
22
|
+
* failure — the fact is recorded either way, and the next run re-reads it.
|
|
19
23
|
*/
|
|
20
|
-
export declare function
|
|
21
|
-
/**
|
|
24
|
+
export declare function runOpApprove(ctx: CommandContext): Promise<number>;
|
|
25
|
+
/**
|
|
26
|
+
* `chant run signal` was renamed `chant run approve` (#2121). Registered so
|
|
27
|
+
* the old spelling says where the verb went instead of being read as an Op
|
|
28
|
+
* named "signal".
|
|
29
|
+
*/
|
|
30
|
+
export declare function runOpSignalRenamed(ctx: CommandContext): Promise<number>;
|
|
31
|
+
/** `chant run cancel <name>` — asks the resolved runtime (#2121) to stop the Op's active run. */
|
|
22
32
|
export declare function runOpCancel(ctx: CommandContext): Promise<number>;
|
|
23
33
|
export declare function runOp(ctx: CommandContext): Promise<number>;
|
|
24
34
|
/**
|
|
25
|
-
* `chant run --components <name|all> [--env <env>]
|
|
26
|
-
*
|
|
27
|
-
* is the component name (or `all`), matching `chant run
|
|
28
|
-
* convention exactly (`args.path` is the Op name there
|
|
29
|
-
* project directory — components are always discovered from
|
|
30
|
-
* working directory, the same way Op discovery (`discoverOps()`)
|
|
31
|
-
* a project-path argument either.
|
|
32
|
-
*
|
|
33
|
-
* Local mode (the default) resolves the selector through `runComponents`
|
|
34
|
-
* (`../../components/cli-support.ts`) and runs it on the local in-process
|
|
35
|
-
* executor; gated components are rejected before any step runs (matching
|
|
36
|
-
* `runOpLocal`'s pre-flight `findGate` guard) with an actionable message
|
|
37
|
-
* pointing at `--temporal`.
|
|
35
|
+
* `chant run --components <name|all> [--env <env>]` (#585) — the interpret
|
|
36
|
+
* driver's CLI entrypoint, and since #2116 the only component run path there
|
|
37
|
+
* is. `args.path` is the component name (or `all`), matching `chant run
|
|
38
|
+
* <name>`'s Op-dispatch convention exactly (`args.path` is the Op name there
|
|
39
|
+
* too) rather than a project directory — components are always discovered from
|
|
40
|
+
* the current working directory, the same way Op discovery (`discoverOps()`)
|
|
41
|
+
* never takes a project-path argument either.
|
|
38
42
|
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* in-process block. Scoped to a single named component (`all --temporal` is
|
|
44
|
-
* out of scope for #589: coordinating N durable workflows' cross-component
|
|
45
|
-
* `dependsOn` durably is a follow-up, not part of "compile a component's
|
|
46
|
-
* `deploy` composition into a durable orchestrator").
|
|
43
|
+
* The selector resolves through the runtime's `runComponents` and runs on the
|
|
44
|
+
* local in-process driver; a `gate` is decided against the gate ledger when
|
|
45
|
+
* the driver reaches it (#2119), and one nobody has approved ends the run with
|
|
46
|
+
* exit code 3 and the `chant approve` line, exactly as `chant run <op>` does.
|
|
47
47
|
*
|
|
48
48
|
* On a successful run, auto-emits one release-ledger record per component
|
|
49
49
|
* that published a digest (#597, `recordAutoReleasesForRun` above) — a
|
|
@@ -56,8 +56,8 @@ export declare function runOp(ctx: CommandContext): Promise<number>;
|
|
|
56
56
|
* chant #1108 — resolves this invocation's declared build-time parameters
|
|
57
57
|
* (`chant.config.ts`'s `buildParams`, against `--param`/`--params-file`/a
|
|
58
58
|
* declared `env` mapping) the exact same way `chant build` does
|
|
59
|
-
* (`resolveCliBuildParams`, shared with `buildCommand`), BEFORE
|
|
60
|
-
*
|
|
59
|
+
* (`resolveCliBuildParams`, shared with `buildCommand`), BEFORE anything
|
|
60
|
+
* discovers/imports a `*.component.ts` file.
|
|
61
61
|
* Before this, `params.*` (`@intentius/chant/params`) was always `{}` under
|
|
62
62
|
* this command, no matter what a component's `chant.config.ts` declared or a
|
|
63
63
|
* CI job's environment supplied — see chant #1108. `chant.config.ts` is
|
|
@@ -67,10 +67,17 @@ export declare function runOp(ctx: CommandContext): Promise<number>;
|
|
|
67
67
|
*/
|
|
68
68
|
export declare function runOpComponents(ctx: CommandContext): Promise<number>;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
70
|
+
* `chant run <name>` on the resolved runtime (#2121) — the built-in `local`
|
|
71
|
+
* provider by default, a lexicon's `opRuntime` under `--on <name>`.
|
|
72
|
+
*
|
|
73
|
+
* This function knows nothing about how a run happens. It discovers the Op,
|
|
74
|
+
* runs the CLI-level pre-flights that are about flags rather than execution
|
|
75
|
+
* (`--sandbox` over a `policyGate` step, #2003), hands the config to the
|
|
76
|
+
* runtime, and renders whatever comes back. On the local runtime that is the
|
|
77
|
+
* executor's own `OpRunResult`, so `--json` and the human render are exactly
|
|
78
|
+
* what they were before the seam existed; a runtime that reports only a state
|
|
79
|
+
* gets the terser render instead.
|
|
73
80
|
*/
|
|
74
|
-
export declare function
|
|
81
|
+
export declare function runOpOnRuntime(ctx: CommandContext): Promise<number>;
|
|
75
82
|
export declare function runOpUnknown(ctx: CommandContext): Promise<number>;
|
|
76
83
|
//# sourceMappingURL=run.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/run.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/run.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAOlD;;;;;GAKG;AACH,eAAO,MAAM,eAAe,IAAI,CAAC;AA0JjC,wBAAsB,SAAS,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAGpE;AAuED,wBAAsB,WAAW,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAetE;AA8BD,wBAAsB,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAenE;AA2CD;;;;;;;;;;;GAWG;AACH,wBAAsB,YAAY,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAuCvE;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAQvE;AAID,iGAAiG;AACjG,wBAAsB,WAAW,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAuBtE;AAsED,wBAAsB,KAAK,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAiBhE;AA+ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAsB,eAAe,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA+G1E;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,cAAc,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA0GzE;AAID,wBAAgB,YAAY,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAMjE"}
|
package/dist/cli/main.d.ts
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env tsx
|
|
2
|
-
import { type ParsedArgs } from "./registry.js";
|
|
2
|
+
import { type CommandDef, type ParsedArgs } from "./registry.js";
|
|
3
3
|
/**
|
|
4
4
|
* Parse command line arguments
|
|
5
5
|
*/
|
|
6
6
|
export declare function parseArgs(args: string[]): ParsedArgs;
|
|
7
|
+
/**
|
|
8
|
+
* Every command word `chant` answers to, and the handler behind it.
|
|
9
|
+
*
|
|
10
|
+
* Exported because a caller other than `main()` now needs to ask "is this a
|
|
11
|
+
* chant verb, and what runs it?" — the fountain lexicon's ACP server (#2125)
|
|
12
|
+
* treats a prompt as a chant command line, and the only honest answer to
|
|
13
|
+
* whether `chant lifecycle diff` is a verb is this list. A hand-kept copy
|
|
14
|
+
* would be wrong the first time a command is added, and the ACP server would
|
|
15
|
+
* refuse a verb that works at the terminal.
|
|
16
|
+
*/
|
|
17
|
+
export declare const commandRegistry: CommandDef[];
|
|
7
18
|
/**
|
|
8
19
|
* Wait until a writable stream has flushed its buffer. `process.exit()` discards
|
|
9
20
|
* data still buffered for an async sink (a pipe or file), truncating large output
|
package/dist/cli/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":";AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":";AAMA,OAAO,EAAkB,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAwF9E;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CA2VpD;AAgbD;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,EAkGvC,CAAC;AAgIF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAuB5E"}
|
|
@@ -1,7 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP tools over Ops — on the runtime seam (#2121), not on any one runtime's
|
|
3
|
+
* own client.
|
|
4
|
+
*
|
|
5
|
+
* Every tool here goes through an {@link OpRuntimeProvider} — the built-in
|
|
6
|
+
* `local` one by default, or the `runtime` argument's lexicon `opRuntime` when
|
|
7
|
+
* an agent names one. One provider is built per call, so a long-lived server
|
|
8
|
+
* picks up a project's config as it is now rather than as it was at boot; the
|
|
9
|
+
* local provider's in-process run history is the exception and is held for the
|
|
10
|
+
* life of the module, so `op-status` can answer for a run `op-run` started.
|
|
11
|
+
*
|
|
12
|
+
* #2118 owns the ledger-backed record shape; when it lands, `status`/`log`
|
|
13
|
+
* read the ledger and this file stops depending on the process outliving the
|
|
14
|
+
* run.
|
|
15
|
+
*/
|
|
1
16
|
import type { ToolRegistration } from "./lifecycle-tools.js";
|
|
2
17
|
export declare function createOpListTool(): ToolRegistration;
|
|
3
18
|
export declare function createOpRunTool(): ToolRegistration;
|
|
4
19
|
export declare function createOpStatusTool(): ToolRegistration;
|
|
5
|
-
export declare function
|
|
20
|
+
export declare function createOpApproveTool(): ToolRegistration;
|
|
6
21
|
export declare function createOpReportTool(): ToolRegistration;
|
|
7
22
|
//# sourceMappingURL=op-tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"op-tools.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/op-tools.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"op-tools.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/op-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAoC1D,wBAAgB,gBAAgB,IAAI,gBAAgB,CAsCnD;AAED,wBAAgB,eAAe,IAAI,gBAAgB,CAuClD;AAED,wBAAgB,kBAAkB,IAAI,gBAAgB,CAoCrD;AAED,wBAAgB,mBAAmB,IAAI,gBAAgB,CA2CtD;AAED,wBAAgB,kBAAkB,IAAI,gBAAgB,CAkDrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-handlers.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/resource-handlers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"resource-handlers.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/resource-handlers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAQlD,KAAK,mBAAmB,GAAG;IAAE,UAAU,EAAE,kBAAkB,CAAC;IAAC,OAAO,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAA;CAAE,CAAC;AAE9F;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,kBAAkB,EAiDvD,CAAC;AAEF;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAChD;IAAE,SAAS,EAAE,kBAAkB,EAAE,CAAA;CAAE,CAMrC;AAED;;GAEG;AACH,wBAAgB,eAAe,CAC7B,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAChD,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAS9C;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAChD,OAAO,CAAC,OAAO,CAAC,CAkKlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/cli/mcp/resources/context.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,UAAU,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/cli/mcp/resources/context.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAgFnC"}
|
package/dist/cli/plugins.d.ts
CHANGED
|
@@ -34,6 +34,28 @@ export declare function resolveLexiconVersions(lexiconNames: readonly string[]):
|
|
|
34
34
|
* an empty array is the common case and `build()` treats it as absent.
|
|
35
35
|
*/
|
|
36
36
|
export declare function collectBuildRootContributors(plugins: readonly LexiconPlugin[] | undefined, config: Record<string, unknown>, projectRoot: string): Array<import("../lexicon.js").BuildRootContributor>;
|
|
37
|
+
/**
|
|
38
|
+
* Bind each loaded plugin's `subscribeChanges` seam (#1981) to one environment
|
|
39
|
+
* and its declared entities, producing the `ChangeSubscriber` list `chant
|
|
40
|
+
* operator`'s loop takes, in the same extract-then-thread shape
|
|
41
|
+
* {@link collectBuildRootContributors} uses, and for the same reason: core's
|
|
42
|
+
* operator must not import plugins.
|
|
43
|
+
*
|
|
44
|
+
* Plugins without the seam contribute nothing, so a project whose lexicons all
|
|
45
|
+
* lack it gets a loop that is exactly the timer it always was. `entities` is
|
|
46
|
+
* the per-lexicon slice of a build's declared entities, which is the bound on
|
|
47
|
+
* what a subscription may watch; a lexicon with no declared entities is
|
|
48
|
+
* skipped rather than handed an empty scope to widen.
|
|
49
|
+
*/
|
|
50
|
+
export declare function collectChangeSubscribers(plugins: readonly LexiconPlugin[] | undefined, options: {
|
|
51
|
+
environment: string;
|
|
52
|
+
cwd?: string;
|
|
53
|
+
/** Declared entities per lexicon name, from a build. */
|
|
54
|
+
entities: Map<string, Map<string, {
|
|
55
|
+
entityType: string;
|
|
56
|
+
props: Record<string, unknown>;
|
|
57
|
+
}>>;
|
|
58
|
+
}): Array<import("../op/operator.js").ChangeSubscriber>;
|
|
37
59
|
/**
|
|
38
60
|
* Load plugins for all detected lexicon names.
|
|
39
61
|
* Calls `init()` on each plugin if present.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/cli/plugins.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAKjE;;;;;GAKG;AACH,wBAAsB,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CA6B5E;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA+B9F;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,SAAS,aAAa,EAAE,GAAG,SAAS,EAC7C,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,WAAW,EAAE,MAAM,GAClB,KAAK,CAAC,OAAO,YAAY,EAAE,oBAAoB,CAAC,CAMlD;AAED;;;GAGG;AACH,wBAAsB,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CA6BlF;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAsB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAUnF"}
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/cli/plugins.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAKjE;;;;;GAKG;AACH,wBAAsB,UAAU,CAAC,WAAW,E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
|
|
20
|
-
profile?: string;
|
|
21
20
|
report?: boolean;
|
|
22
21
|
/** `chant run` — force the local in-process executor (the default). */
|
|
23
22
|
local?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
|
|
23
|
+
/**
|
|
24
|
+
* `chant run <op> --on <lexicon>` (#2121) — which runtime hosts the run.
|
|
25
|
+
* The named lexicon's `opRuntime` (`../lexicon.ts`) takes it; omitted, core's
|
|
26
|
+
* built-in `local` provider does. Applies to every `run` subcommand, so
|
|
27
|
+
* `run status`/`log`/`list`/`cancel`/`approve` all address the same runtime
|
|
28
|
+
* the run started on.
|
|
29
|
+
*/
|
|
30
|
+
on?: string;
|
|
31
|
+
/**
|
|
32
|
+
* `-p, --profile <name>` (#2124, restored in #2192) — which named connection
|
|
33
|
+
* profile the hosting runtime targets, handed to it as
|
|
34
|
+
* {@link OpRunStartOptions.profile}. Only a runtime that declares profiles
|
|
35
|
+
* reads it: fountain resolves it through `fountain.profiles` in
|
|
36
|
+
* `chant.config.ts` and refuses a name it does not find. Omitted, each
|
|
37
|
+
* runtime keeps its own default (fountain's `defaultProfile`).
|
|
38
|
+
*/
|
|
39
|
+
profile?: string;
|
|
26
40
|
/** `chant run` — emit the structured OpRunResult as JSON on stdout. */
|
|
27
41
|
json?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* `chant run <op> --gated-exit <code>` (#2243) — the process exit code a
|
|
44
|
+
* run that stopped at an unapproved gate returns, instead of the default 3.
|
|
45
|
+
*
|
|
46
|
+
* Only the gated outcome is remapped. A run that fails still returns 1 and a
|
|
47
|
+
* run that completes still returns 0, so `--gated-exit 0` on a CI job means
|
|
48
|
+
* "a pending approval is not a broken build" and nothing more. The `--json`
|
|
49
|
+
* payload is untouched by it: the record still says `status: "gated"` and
|
|
50
|
+
* still carries the gate and the `chant approve` line, so a job that maps the
|
|
51
|
+
* code to success can still tell the two apart.
|
|
52
|
+
*
|
|
53
|
+
* Accepts 0-255 (a POSIX exit status). Anything else is refused by name.
|
|
54
|
+
*/
|
|
55
|
+
gatedExit?: number;
|
|
28
56
|
/**
|
|
29
57
|
* `chant run --components <name|all> --progress-json` (local executor) —
|
|
30
58
|
* stream one NDJSON `RunProgressEvent` (../../components/run-progress.ts)
|
|
31
59
|
* per line to stdout while the run executes, so a consumer can render live
|
|
32
60
|
* wave/component/phase/step progress instead of tailing raw logs.
|
|
33
61
|
*
|
|
34
|
-
* `chant run <name> --
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* ../handlers/op-progress.ts) per settled step instead.
|
|
62
|
+
* `chant run <name> --progress-json` streams one NDJSON `StepRecord`
|
|
63
|
+
* (../../op/local-executor.ts) per settled step instead, fed by whatever
|
|
64
|
+
* the resolved runtime reports through its `progress` hook (#2121).
|
|
38
65
|
*
|
|
39
66
|
* Both are purely additive: run semantics, ordering, and exit code are
|
|
40
67
|
* unchanged; omitted (undefined, not false) when the flag isn't passed.
|
|
@@ -172,7 +199,7 @@ export interface ParsedArgs {
|
|
|
172
199
|
* registered in `~/.claude.json`, not just the path argument.
|
|
173
200
|
*/
|
|
174
201
|
allProjects?: boolean;
|
|
175
|
-
/** `chant audit --fail-on merge-worthy|warning|none` */
|
|
202
|
+
/** `chant audit --fail-on merge-worthy|warning|error|none` */
|
|
176
203
|
failOn?: string;
|
|
177
204
|
/** `chant audit --theme <file>` — JSON theme knobs for the HTML report */
|
|
178
205
|
theme?: string;
|
|
@@ -249,8 +276,10 @@ export interface ParsedArgs {
|
|
|
249
276
|
runId?: string;
|
|
250
277
|
/** `chant components release record --actor <name>` (#568) — who/what triggered the deploy. */
|
|
251
278
|
actor?: string;
|
|
252
|
-
/** `--approver <name>` (#1035) — who approved a gated change.
|
|
279
|
+
/** `--approver <name>` (#1035) — who approved a gated change. Read by `chant approve` and `chant run approve` (recorded as `resolvedBy` on the gate-resolution fact, taking precedence over `--actor`) and by `chant components release` (recorded on the release ledger). Optional; absent for ungated changes. */
|
|
253
280
|
approver?: string;
|
|
281
|
+
/** `chant run approve <op> <gate> --on <lexicon> --durable-requests` (#2126) — reserved. It would resolve the gate by answering the hosting runtime's own pending request instead of posting a follow-up prompt. No runtime implements it: fountain's needs the request-answer path from BinaryBourbon/fountain#1635, which has not shipped, and refuses by name rather than reporting a resolution it did not make. */
|
|
282
|
+
durableRequests?: boolean;
|
|
254
283
|
/** `chant components status <env> --compare-to <env>` (#568) — a second environment to cross-check the same component's recorded digest against. */
|
|
255
284
|
compareTo?: string;
|
|
256
285
|
/** `chant run --components <name> --env <env> --no-release-record` (#597) — opt out of auto-emitting a release-ledger record after a successful component deploy. Default (flag omitted): recording is ON. Also settable project-wide via `chant.config.ts`'s `release.autoRecord: false`. */
|
|
@@ -285,6 +314,8 @@ export interface ParsedArgs {
|
|
|
285
314
|
once?: boolean;
|
|
286
315
|
/** `chant approve <op> <gate> --note <text>` (#1485) — optional free-text prose recorded on the gate-resolution fact. The PR link belongs in `--url` since #2028; this is for everything that isn't the link. */
|
|
287
316
|
note?: string;
|
|
317
|
+
/** `chant approve <op> <gate> --expire` (#2119) — clear the gate's standing pending fact instead of approving it, so the next run decides the gate from scratch and records a fresh one. Writes no resolution: nothing is approved, the wait is only restarted. */
|
|
318
|
+
expire?: boolean;
|
|
288
319
|
/** `chant operator log --op <name>` (#2029) — restrict the tick history to one ConvergeOp by name. Omitted, every discovered ConvergeOp's ticks are merged into one timeline. */
|
|
289
320
|
op?: string;
|
|
290
321
|
/** `chant operator log --since <iso>` (#2029) — only entries at or after this ISO-8601 instant. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/cli/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,eA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E,OAAO,CAAC;IAC1B,0CAA0C;IAC1C,OAAO,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,UAAU,CAAC;IAChB,4FAA4F;IAC5F,QAAQ,EAAE,OAAO,CAAC;CACnB;AAWD,wBAAgB,cAAc,CAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,eAAe,GAAG,IAAI,CAiB/F"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* Detection reuses the runtime's own `isPostSynthCheck`, so the barrel contains
|
|
11
11
|
* exactly the checks discovery would — including files whose export name differs
|
|
12
|
-
* from the filename (docker/helm
|
|
12
|
+
* from the filename (docker/helm) and excluding helper modules
|
|
13
13
|
* (cf-refs, arm-refs, …) that export no check.
|
|
14
14
|
*/
|
|
15
15
|
export interface BarrelEntry {
|
|
@@ -13,16 +13,6 @@ import type { DriverStepRecord } from "./driver.js";
|
|
|
13
13
|
* `runComponentDeploy`.
|
|
14
14
|
*/
|
|
15
15
|
export declare function extractRunDigest(records: DriverStepRecord[]): string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* Same digest extraction as `extractRunDigest`, but over a component
|
|
18
|
-
* Temporal workflow's returned `phaseOutputs` (`{ [phase]: output }`) instead
|
|
19
|
-
* of a `DriverStepRecord[]` — the shape `handle.result()` resolves to for a
|
|
20
|
-
* COMPLETED component workflow (see lexicons/temporal/src/component-op/
|
|
21
|
-
* serializer.ts's generated `return { phaseOutputs, componentOutputs }`).
|
|
22
|
-
* Used by the `--temporal` CLI path, which never sees individual step
|
|
23
|
-
* records (those exist only inside the workflow/activities).
|
|
24
|
-
*/
|
|
25
|
-
export declare function extractRunDigestFromPhaseOutputs(phaseOutputs: Record<string, Record<string, unknown>> | undefined): string | undefined;
|
|
26
16
|
/** Explicit reasons `maybeRecordAutoRelease` declined to write a record — never a thrown error, since "nothing to record" (or "opted out") is an expected, common outcome. */
|
|
27
17
|
export type AutoReleaseSkipReason = "opted-out" | "run-not-successful" | "no-digest" | "no-actor";
|
|
28
18
|
export type AutoReleaseResult = {
|
|
@@ -38,19 +28,19 @@ export type AutoReleaseResult = {
|
|
|
38
28
|
reason: "error";
|
|
39
29
|
error: string;
|
|
40
30
|
};
|
|
41
|
-
/** Input describing one component's completed run
|
|
31
|
+
/** Input describing one component's completed run. */
|
|
42
32
|
export interface AutoReleaseRunInfo {
|
|
43
33
|
component: string;
|
|
44
34
|
env: string;
|
|
45
|
-
/** Whether the run reported overall success
|
|
35
|
+
/** Whether the run reported overall success (`DriverRunResult.ok`). A caller must not call this for a non-terminal/in-progress run. */
|
|
46
36
|
success: boolean;
|
|
47
37
|
/** The component's step records (local executor), used to locate the published digest via `extractRunDigest`. Mutually exclusive with `digest` — pass whichever the caller already has. */
|
|
48
38
|
records?: DriverStepRecord[];
|
|
49
|
-
/** A digest
|
|
39
|
+
/** A digest the caller already resolved by its own means. Takes precedence over `records` when both are given. */
|
|
50
40
|
digest?: string;
|
|
51
|
-
/** Orchestrator run identifier — a
|
|
41
|
+
/** Orchestrator run identifier — a hosting runtime's own run id, or a locally generated one (mirrors `runComponentsReleaseRecord`'s `--run-id` default). */
|
|
52
42
|
runId: string;
|
|
53
|
-
/** The id space `runId` lives in (#2045) — `{ forge: "op" }` for a
|
|
43
|
+
/** The id space `runId` lives in (#2045) — `{ forge: "op" }` for a hosted run, `{ forge: "local" }` for a local-executor mint. Recorded verbatim as the release record's `runOrigin`. */
|
|
54
44
|
runOrigin?: RunOrigin;
|
|
55
45
|
/** The bypassed capability-profile divergences, when the caller deliberately overrode a deploy-time profile assertion (chant #1244) — recorded verbatim as the release record's `profileOverride`. */
|
|
56
46
|
profileOverride?: string;
|
|
@@ -69,11 +59,11 @@ export interface AutoReleaseOptions {
|
|
|
69
59
|
cwd?: string;
|
|
70
60
|
}
|
|
71
61
|
/**
|
|
72
|
-
* After a successful `chant run --components <name> --env <env
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
62
|
+
* After a successful `chant run --components <name> --env <env>`, append
|
|
63
|
+
* exactly one immutable release record to the ledger and push it — or
|
|
64
|
+
* explain, without throwing, why it didn't. Never called for a failed run
|
|
65
|
+
* (`run.success` must be true before the caller invokes this at all; see
|
|
66
|
+
* `runOpComponents`) — a failed
|
|
77
67
|
* deploy writes nothing, by construction, since this function is simply
|
|
78
68
|
* never reached on that path.
|
|
79
69
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-release.d.ts","sourceRoot":"","sources":["../../src/components/auto-release.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auto-release.d.ts","sourceRoot":"","sources":["../../src/components/auto-release.ts"],"names":[],"mappings":"AA4BA,OAAO,EAAkD,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACjI,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAkBjD;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,EAAE,GAAG,MAAM,GAAG,SAAS,CAShF;AAED,8KAA8K;AAC9K,MAAM,MAAM,qBAAqB,GAC7B,WAAW,GACX,oBAAoB,GACpB,WAAW,GACX,UAAU,CAAC;AAEf,MAAM,MAAM,iBAAiB,GACzB;IAAE,QAAQ,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,aAAa,CAAA;CAAE,GACzD;IAAE,QAAQ,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,qBAAqB,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GACnE;IAAE,QAAQ,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAExD,sDAAsD;AACtD,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,uIAAuI;IACvI,OAAO,EAAE,OAAO,CAAC;IACjB,2LAA2L;IAC3L,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC7B,kHAAkH;IAClH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4JAA4J;IAC5J,KAAK,EAAE,MAAM,CAAC;IACd,yLAAyL;IACzL,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,sMAAsM;IACtM,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oQAAoQ;IACpQ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,0JAA0J;AAC1J,MAAM,WAAW,kBAAkB;IACjC,iIAAiI;IACjI,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sHAAsH;IACtH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qIAAqI;IACrI,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,sBAAsB,CAC1C,GAAG,EAAE,kBAAkB,EACvB,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,iBAAiB,CAAC,CAmD5B"}
|
|
@@ -48,10 +48,10 @@ export interface Capability<In = unknown, Out = unknown> {
|
|
|
48
48
|
* returned (#1944, epic #1564 phase 4) — a serializable identity channel a
|
|
49
49
|
* capability can use to recover state `rollback` needs when it cannot rely
|
|
50
50
|
* on in-process object identity between its `run`/`rollback` calls. The
|
|
51
|
-
* local interpret driver (../driver.ts) always threads it through;
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
51
|
+
* local interpret driver (../driver.ts) always threads it through; a
|
|
52
|
+
* hosting runtime that splits a run across process boundaries threads it
|
|
53
|
+
* across as plain JSON, which is exactly the case this exists for — see
|
|
54
|
+
* ./verbs/run-agent.ts's "Rollback identity" doc
|
|
55
55
|
* comment for the motivating gap (a fresh sprite's checkpoint id, recorded
|
|
56
56
|
* only in an in-process `WeakMap` keyed by `run()`'s `input` object, never
|
|
57
57
|
* survives to a `rollback()` call that runs as a separate Activity with its
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
import type { BuildParamProvenance } from "../provenance.js";
|
|
25
25
|
import { type Archetype } from "./component.js";
|
|
26
26
|
import { type DriverComponent, type DriverRunResult } from "./driver.js";
|
|
27
|
+
import type { PendingGateRecord } from "../lifecycle/gate-ledger.js";
|
|
28
|
+
import type { GateLedgerPort } from "../op/gate.js";
|
|
27
29
|
import { type ComponentPipelineOptions } from "../lexicon.js";
|
|
28
30
|
import type { RunProgressEvent } from "./run-progress.js";
|
|
29
31
|
import type { CapabilityRegistry } from "./capability.js";
|
|
@@ -132,14 +134,17 @@ export declare function generateComponentsPipeline(path: string, lexicon: Genera
|
|
|
132
134
|
buildParams?: BuildParamProvenance[]): Promise<GenerateComponentsResult>;
|
|
133
135
|
/**
|
|
134
136
|
* Find the first `gate` step anywhere in a component's `deploy`/`rollback`
|
|
135
|
-
* composition (including nested fan-out phases)
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
137
|
+
* composition (including nested fan-out phases).
|
|
138
|
+
*
|
|
139
|
+
* A declaration-time question, not a pre-flight refusal: since #2119 the
|
|
140
|
+
* driver decides a gate against the ledger when it reaches one, so nothing
|
|
141
|
+
* needs to know up front that a component has one.
|
|
142
|
+
*
|
|
143
|
+
* The name comes back on `gate` whichever key the component spelled it with,
|
|
144
|
+
* so a caller never has to know about the deprecated `signalName` (#2202).
|
|
140
145
|
*/
|
|
141
146
|
export declare function findComponentGate(component: DriverComponent): {
|
|
142
|
-
|
|
147
|
+
gate: string;
|
|
143
148
|
} | undefined;
|
|
144
149
|
/** Options for `runComponents` (backs `chant run --components <name|all> [--env <env>]`). */
|
|
145
150
|
export interface RunComponentsOptions {
|
|
@@ -208,6 +213,8 @@ export interface RunComponentsOptions {
|
|
|
208
213
|
* every test in `cli-support.test.ts`) that doesn't supply this.
|
|
209
214
|
*/
|
|
210
215
|
buildParams?: BuildParamProvenance[];
|
|
216
|
+
/** Where a `gate` step's facts are read and written (#2119). Defaults to the `chant/lifecycle` orphan branch; a test passes `memoryGateLedgerPort()` from `../op/gate.ts`. */
|
|
217
|
+
gates?: GateLedgerPort;
|
|
211
218
|
}
|
|
212
219
|
/** Result of `chant run --components <name|all>`. */
|
|
213
220
|
export interface RunComponentsResult {
|
|
@@ -217,10 +224,10 @@ export interface RunComponentsResult {
|
|
|
217
224
|
/** Component names actually dispatched to the driver, in run order. */
|
|
218
225
|
selected: string[];
|
|
219
226
|
error?: string;
|
|
220
|
-
/** Set when
|
|
221
|
-
|
|
227
|
+
/** Set when the run stopped at a `gate` nobody has approved (#2119): the component it stopped at and the pending fact recorded for it. */
|
|
228
|
+
gated?: {
|
|
222
229
|
component: string;
|
|
223
|
-
|
|
230
|
+
gate: PendingGateRecord;
|
|
224
231
|
};
|
|
225
232
|
/** This run's resolved build-time parameters (chant #1108) — the component-driver counterpart of `../cli/commands/build.ts`'s `BuildResult.buildParams`. Present only once the run actually reached dispatch (mirrors `BuildResult.buildParams`, which is likewise absent on an early-error return). */
|
|
226
233
|
buildParams?: BuildParamProvenance[];
|
|
@@ -231,8 +238,7 @@ export interface RunComponentsResult {
|
|
|
231
238
|
* local in-process executor — the CLI entrypoint the driver never had (#585,
|
|
232
239
|
* follow-up to #556). Discovers the full component set first, then either:
|
|
233
240
|
* - `selector === "all"`: resolves the whole set's dependency order/waves
|
|
234
|
-
* and dispatches every component through `runInterpretDriver`,
|
|
235
|
-
* what the generated orchestrator Op will eventually do — the same
|
|
241
|
+
* and dispatches every component through `runInterpretDriver`, in the same
|
|
236
242
|
* order `chant graph --components` reports.
|
|
237
243
|
* - a single name: dispatches just that component via `runComponentDeploy`,
|
|
238
244
|
* without requiring the rest of its `dependsOn` graph to be present in
|
|
@@ -244,14 +250,12 @@ export interface RunComponentsResult {
|
|
|
244
250
|
* infra outside the discovered set (e.g. a shared stack, per the
|
|
245
251
|
* `search-service` pilot), which is exactly the common case.
|
|
246
252
|
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* `
|
|
250
|
-
*
|
|
251
|
-
* component execution to what already exists for Ops; the epic tracks
|
|
252
|
-
* graduating a gated component to `--temporal` separately).
|
|
253
|
+
* A `gate` no longer refuses the run up front (#2119). The driver decides each
|
|
254
|
+
* one against the gate ledger as it reaches it; a gate nobody has approved
|
|
255
|
+
* stops the run there with `gated` set, which the CLI turns into exit code 3
|
|
256
|
+
* and the `chant approve` line.
|
|
253
257
|
*/
|
|
254
|
-
/** Result of resolving a `<name|all>` selector against discovered components
|
|
258
|
+
/** Result of resolving a `<name|all>` selector against discovered components. */
|
|
255
259
|
export interface ResolvedComponentTargets {
|
|
256
260
|
success: boolean;
|
|
257
261
|
targets: DriverComponent[];
|
|
@@ -261,10 +265,8 @@ export interface ResolvedComponentTargets {
|
|
|
261
265
|
* Discover every component under `path` and resolve `selector` (`"all"` or a
|
|
262
266
|
* single component name) to the `DriverComponent`(s) to run, with no gate
|
|
263
267
|
* check and no dispatch — just discovery + selection, factored out of
|
|
264
|
-
* `runComponents` so
|
|
265
|
-
*
|
|
266
|
-
* without also inheriting the local executor's pre-flight gate rejection
|
|
267
|
-
* (gates are exactly what the durable path exists to support).
|
|
268
|
+
* `runComponents` so another entrypoint can reuse the exact same selection
|
|
269
|
+
* semantics without inheriting the run itself.
|
|
268
270
|
*/
|
|
269
271
|
export declare function resolveComponentTargets(path: string, selector: string, sandbox?: boolean,
|
|
270
272
|
/** chant #1108 — this invocation's resolved build-time parameter values, forwarded into `discoverComponents` so a `params.<name>` reference inside a discovered `*.component.ts` file resolves instead of reading `{}`. See `discoverComponents`'s `buildParams` option (./discover.ts). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-support.d.ts","sourceRoot":"","sources":["../../src/components/cli-support.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,
|
|
1
|
+
{"version":3,"file":"cli-support.d.ts","sourceRoot":"","sources":["../../src/components/cli-support.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAOL,KAAK,eAAe,EAGpB,KAAK,eAAe,EACrB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,OAAO,EAAuC,KAAK,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAChG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,OAAO,EAAmB,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAE9D,yDAAyD;AACzD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAA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