@intentius/chant 0.101.0 → 0.104.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/agents/checks.d.ts.map +1 -1
- package/dist/attrref.d.ts.map +1 -1
- package/dist/audit/core.d.ts +2 -0
- package/dist/audit/core.d.ts.map +1 -1
- package/dist/audit/discover.d.ts.map +1 -1
- package/dist/audit/nginx.d.ts.map +1 -1
- package/dist/audit/prior-art.d.ts +48 -0
- package/dist/audit/prior-art.d.ts.map +1 -1
- package/dist/behaviour-kinds.d.ts.map +1 -1
- package/dist/builder.d.ts.map +1 -1
- package/dist/change-set.d.ts +232 -0
- package/dist/change-set.d.ts.map +1 -0
- package/dist/cli/commands/audit.d.ts +7 -0
- 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-emit.d.ts.map +1 -1
- package/dist/cli/commands/check-lexicon.d.ts +16 -0
- package/dist/cli/commands/check-lexicon.d.ts.map +1 -1
- package/dist/cli/commands/import.d.ts +8 -0
- package/dist/cli/commands/import.d.ts.map +1 -1
- package/dist/cli/commands/init-lexicon.d.ts.map +1 -1
- package/dist/cli/commands/init.d.ts +19 -0
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/onboard.d.ts +9 -0
- package/dist/cli/commands/onboard.d.ts.map +1 -1
- package/dist/cli/commands/pinned-upgrade.d.ts +19 -5
- package/dist/cli/commands/pinned-upgrade.d.ts.map +1 -1
- package/dist/cli/handlers/build.d.ts.map +1 -1
- package/dist/cli/handlers/change-set.d.ts +11 -0
- package/dist/cli/handlers/change-set.d.ts.map +1 -0
- package/dist/cli/handlers/dev.d.ts.map +1 -1
- package/dist/cli/handlers/fan-out.d.ts +33 -0
- package/dist/cli/handlers/fan-out.d.ts.map +1 -1
- package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
- package/dist/cli/handlers/misc.d.ts.map +1 -1
- package/dist/cli/handlers/operator.d.ts +16 -0
- package/dist/cli/handlers/operator.d.ts.map +1 -1
- package/dist/cli/handlers/pr.d.ts +31 -0
- package/dist/cli/handlers/pr.d.ts.map +1 -0
- package/dist/cli/handlers/run.d.ts.map +1 -1
- package/dist/cli/lsp/server.d.ts.map +1 -1
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/mcp/op-tools.d.ts.map +1 -1
- package/dist/cli/mcp/server.d.ts.map +1 -1
- package/dist/cli/mcp/tools/build.d.ts.map +1 -1
- package/dist/cli/mcp/tools/composites.d.ts.map +1 -1
- package/dist/cli/mcp/tools/explain.d.ts.map +1 -1
- package/dist/cli/mcp/tools/import.d.ts.map +1 -1
- package/dist/cli/mcp/tools/lint.d.ts.map +1 -1
- package/dist/cli/mcp/tools/scaffold.d.ts.map +1 -1
- package/dist/cli/mcp/tools/search.d.ts.map +1 -1
- package/dist/cli/mcp/workspace-tools.d.ts +4 -3
- package/dist/cli/mcp/workspace-tools.d.ts.map +1 -1
- package/dist/cli/registry.d.ts +74 -3
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/codegen/fetch.d.ts.map +1 -1
- package/dist/codegen/naming.d.ts.map +1 -1
- package/dist/codegen/pinned-upgrade.d.ts +67 -3
- package/dist/codegen/pinned-upgrade.d.ts.map +1 -1
- package/dist/codegen/registry.d.ts.map +1 -1
- package/dist/components/auto-release.d.ts +16 -0
- package/dist/components/auto-release.d.ts.map +1 -1
- package/dist/components/capability-plugin-loader.d.ts.map +1 -1
- package/dist/components/capability.d.ts +53 -0
- package/dist/components/capability.d.ts.map +1 -1
- package/dist/components/changed-files.d.ts +31 -0
- package/dist/components/changed-files.d.ts.map +1 -0
- package/dist/components/cli-support.d.ts +9 -1
- package/dist/components/cli-support.d.ts.map +1 -1
- package/dist/components/component.d.ts +24 -0
- package/dist/components/component.d.ts.map +1 -1
- package/dist/components/deploy-units.d.ts.map +1 -1
- package/dist/components/driver.d.ts +13 -0
- package/dist/components/driver.d.ts.map +1 -1
- package/dist/components/fan-out-output.d.ts +6 -0
- package/dist/components/fan-out-output.d.ts.map +1 -1
- package/dist/components/fan-out-record.d.ts +41 -0
- package/dist/components/fan-out-record.d.ts.map +1 -0
- package/dist/components/fan-out-run.d.ts +65 -0
- package/dist/components/fan-out-run.d.ts.map +1 -1
- package/dist/components/fan-out-support.d.ts +2 -0
- package/dist/components/fan-out-support.d.ts.map +1 -1
- package/dist/components/fan-out.d.ts +6 -0
- package/dist/components/fan-out.d.ts.map +1 -1
- package/dist/components/gated-wave-pipeline.d.ts +50 -0
- package/dist/components/gated-wave-pipeline.d.ts.map +1 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layers.d.ts +25 -0
- package/dist/components/layers.d.ts.map +1 -0
- package/dist/components/pr-pipeline.d.ts +61 -0
- package/dist/components/pr-pipeline.d.ts.map +1 -0
- package/dist/components/pr-run.d.ts +119 -0
- package/dist/components/pr-run.d.ts.map +1 -0
- package/dist/components/promote.d.ts.map +1 -1
- package/dist/components/starter-plugin.d.ts.map +1 -1
- package/dist/components/verbs/process-runner.d.ts.map +1 -1
- package/dist/components/verbs/r2-sync.d.ts.map +1 -1
- package/dist/components/verbs/run-agent.d.ts.map +1 -1
- package/dist/components/verbs/sbom-generator.d.ts.map +1 -1
- package/dist/components/verbs/shell.d.ts.map +1 -1
- package/dist/components/verbs/sign.d.ts.map +1 -1
- package/dist/components/verbs/verify.d.ts.map +1 -1
- package/dist/components/verbs/vuln-gate.d.ts.map +1 -1
- package/dist/components/verbs/vuln-scan.d.ts.map +1 -1
- package/dist/components/verbs/wrangler.d.ts.map +1 -1
- package/dist/components/wave-plan.d.ts +49 -0
- package/dist/components/wave-plan.d.ts.map +1 -0
- package/dist/composite.d.ts.map +1 -1
- package/dist/config.d.ts +19 -7
- package/dist/config.d.ts.map +1 -1
- package/dist/declarable.d.ts +16 -0
- package/dist/declarable.d.ts.map +1 -1
- package/dist/discovery/cache.d.ts.map +1 -1
- package/dist/discovery/fold-import.d.ts +15 -5
- package/dist/discovery/fold-import.d.ts.map +1 -1
- package/dist/discovery/param-deps.d.ts +16 -0
- package/dist/discovery/param-deps.d.ts.map +1 -1
- package/dist/discovery/sandbox/policy-wire.d.ts.map +1 -1
- package/dist/discovery/specifier-resolve.d.ts +37 -0
- package/dist/discovery/specifier-resolve.d.ts.map +1 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/fold/fold.d.ts +3 -1
- package/dist/fold/fold.d.ts.map +1 -1
- package/dist/gated-waves.d.ts +147 -0
- package/dist/gated-waves.d.ts.map +1 -0
- package/dist/graph-detail.d.ts.map +1 -1
- package/dist/graph-ir.d.ts.map +1 -1
- package/dist/graph-layout.d.ts.map +1 -1
- package/dist/import/base-parser.d.ts.map +1 -1
- package/dist/import/embedded.d.ts +7 -0
- package/dist/import/embedded.d.ts.map +1 -1
- package/dist/import/parser-options.d.ts +14 -0
- package/dist/import/parser-options.d.ts.map +1 -0
- package/dist/import/parser.d.ts +17 -0
- package/dist/import/parser.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/kubectl-context.d.ts.map +1 -1
- package/dist/lexicon-output.d.ts.map +1 -1
- package/dist/lexicon-schema.d.ts +3 -3
- package/dist/lexicon.d.ts +103 -3
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/assert-live.d.ts.map +1 -1
- package/dist/lifecycle/gate-ledger.d.ts +22 -0
- package/dist/lifecycle/gate-ledger.d.ts.map +1 -1
- package/dist/lifecycle/git.d.ts +46 -1
- package/dist/lifecycle/git.d.ts.map +1 -1
- package/dist/lifecycle/member-ledger.d.ts.map +1 -1
- package/dist/lifecycle/observe.d.ts.map +1 -1
- package/dist/lifecycle/plan-ledger.d.ts.map +1 -1
- package/dist/lifecycle/release-ledger.d.ts.map +1 -1
- package/dist/lifecycle/scenario.d.ts.map +1 -1
- package/dist/lifecycle/status.d.ts.map +1 -1
- package/dist/lifecycle/work-lease.d.ts +61 -2
- package/dist/lifecycle/work-lease.d.ts.map +1 -1
- package/dist/lint/config.d.ts +8 -8
- package/dist/lint/engine.d.ts +6 -0
- package/dist/lint/engine.d.ts.map +1 -1
- package/dist/lint/post-synth.d.ts +18 -0
- package/dist/lint/post-synth.d.ts.map +1 -1
- package/dist/lsp/lexicon-providers.d.ts.map +1 -1
- package/dist/op/activities/activity-contracts.d.ts +137 -11
- package/dist/op/activities/activity-contracts.d.ts.map +1 -1
- package/dist/op/activities/apply.d.ts +79 -9
- package/dist/op/activities/apply.d.ts.map +1 -1
- package/dist/op/activities/change-set.d.ts +62 -0
- package/dist/op/activities/change-set.d.ts.map +1 -0
- package/dist/op/activities/decide.d.ts +2 -0
- package/dist/op/activities/decide.d.ts.map +1 -1
- package/dist/op/activities/factory.d.ts +137 -0
- package/dist/op/activities/factory.d.ts.map +1 -0
- package/dist/op/activities/index.d.ts +5 -1
- package/dist/op/activities/index.d.ts.map +1 -1
- package/dist/op/activities/lexicon-upgrade.d.ts +44 -12
- package/dist/op/activities/lexicon-upgrade.d.ts.map +1 -1
- package/dist/op/activity-contract.d.ts +1 -1
- package/dist/op/activity-contract.d.ts.map +1 -1
- package/dist/op/activity-failure.d.ts.map +1 -1
- package/dist/op/activity-profiles.d.ts.map +1 -1
- package/dist/op/builders.d.ts +11 -0
- package/dist/op/builders.d.ts.map +1 -1
- package/dist/op/composites/apply-op.d.ts +12 -5
- package/dist/op/composites/apply-op.d.ts.map +1 -1
- package/dist/op/composites/lexicon-upgrade-op.d.ts +22 -6
- package/dist/op/composites/lexicon-upgrade-op.d.ts.map +1 -1
- package/dist/op/decide-backend.d.ts +5 -1
- package/dist/op/decide-backend.d.ts.map +1 -1
- package/dist/op/decide-read-inputs.d.ts +4 -2
- package/dist/op/decide-read-inputs.d.ts.map +1 -1
- package/dist/op/emulator-lifecycle.d.ts +21 -2
- package/dist/op/emulator-lifecycle.d.ts.map +1 -1
- package/dist/op/factory.d.ts +83 -0
- package/dist/op/factory.d.ts.map +1 -0
- package/dist/op/gate-approval.d.ts +5 -1
- package/dist/op/gate-approval.d.ts.map +1 -1
- package/dist/op/gate-wait.d.ts.map +1 -1
- package/dist/op/gate.d.ts +19 -3
- package/dist/op/gate.d.ts.map +1 -1
- package/dist/op/index.d.ts +6 -1
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/local-executor.d.ts +6 -0
- package/dist/op/local-executor.d.ts.map +1 -1
- package/dist/op/op-ir.d.ts +2 -0
- package/dist/op/op-ir.d.ts.map +1 -1
- package/dist/op/op-verb-class.d.ts.map +1 -1
- package/dist/op/operator.d.ts.map +1 -1
- package/dist/op/run-context.d.ts +39 -0
- package/dist/op/run-context.d.ts.map +1 -0
- package/dist/op/run-live.d.ts.map +1 -1
- package/dist/op/runtimes/local.d.ts.map +1 -1
- package/dist/op/source-archive.d.ts.map +1 -1
- package/dist/op/steward-beside.d.ts.map +1 -1
- package/dist/op/steward-points.d.ts.map +1 -1
- package/dist/op/steward.d.ts.map +1 -1
- package/dist/op/types.d.ts +16 -3
- package/dist/op/types.d.ts.map +1 -1
- package/dist/op/work-lease-run.d.ts +24 -4
- package/dist/op/work-lease-run.d.ts.map +1 -1
- package/dist/plan-summary.d.ts +207 -0
- package/dist/plan-summary.d.ts.map +1 -0
- package/dist/pr-forge.d.ts +105 -0
- package/dist/pr-forge.d.ts.map +1 -0
- package/dist/pr-loop.d.ts +178 -0
- package/dist/pr-loop.d.ts.map +1 -0
- package/dist/project-root.d.ts.map +1 -1
- package/dist/provenance.d.ts +21 -0
- package/dist/provenance.d.ts.map +1 -1
- package/dist/pseudo-parameter.d.ts.map +1 -1
- package/dist/reconcile.d.ts.map +1 -1
- package/dist/secret-materialization.d.ts.map +1 -1
- package/dist/telemetry-attribution.d.ts +31 -0
- package/dist/telemetry-attribution.d.ts.map +1 -1
- package/dist/terraform/emit-source.d.ts.map +1 -1
- package/dist/terraform/hcl2json.d.ts +45 -0
- package/dist/terraform/hcl2json.d.ts.map +1 -0
- package/dist/terraform/parse.d.ts +4 -40
- package/dist/terraform/parse.d.ts.map +1 -1
- package/dist/testing.d.ts.map +1 -1
- package/dist/workspace/__fixtures__/contract-repo.d.ts.map +1 -1
- package/dist/workspace/__fixtures__/decide-workspace.d.ts +1 -1
- package/dist/workspace/__fixtures__/decide-workspace.d.ts.map +1 -1
- package/dist/workspace/agent-cli.d.ts +5 -0
- package/dist/workspace/agent-cli.d.ts.map +1 -1
- package/dist/workspace/box-cli.d.ts +12 -0
- package/dist/workspace/box-cli.d.ts.map +1 -0
- package/dist/workspace/box-factory.d.ts +97 -0
- package/dist/workspace/box-factory.d.ts.map +1 -0
- package/dist/workspace/box-listing.d.ts +85 -0
- package/dist/workspace/box-listing.d.ts.map +1 -0
- package/dist/workspace/box-publish.d.ts +147 -0
- package/dist/workspace/box-publish.d.ts.map +1 -0
- package/dist/workspace/broker-protocol.d.ts +190 -0
- package/dist/workspace/broker-protocol.d.ts.map +1 -0
- package/dist/workspace/changes.d.ts.map +1 -1
- package/dist/workspace/chant-migrations/chud-lexicon-exit.d.ts.map +1 -1
- package/dist/workspace/checks/boxes.d.ts.map +1 -1
- package/dist/workspace/checks.d.ts +5 -0
- package/dist/workspace/checks.d.ts.map +1 -1
- package/dist/workspace/compose-graph.d.ts +10 -0
- package/dist/workspace/compose-graph.d.ts.map +1 -1
- package/dist/workspace/composites.d.ts +2 -2
- package/dist/workspace/composites.d.ts.map +1 -1
- package/dist/workspace/conformance/__fixtures__/reference-broker.d.ts +17 -0
- package/dist/workspace/conformance/__fixtures__/reference-broker.d.ts.map +1 -0
- package/dist/workspace/conformance/broker.d.ts +202 -0
- package/dist/workspace/conformance/broker.d.ts.map +1 -0
- package/dist/workspace/conformance/index.d.ts +68 -6
- package/dist/workspace/conformance/index.d.ts.map +1 -1
- package/dist/workspace/conformance/vitest.d.ts +19 -3
- package/dist/workspace/conformance/vitest.d.ts.map +1 -1
- package/dist/workspace/conformance/writer.d.ts +462 -0
- package/dist/workspace/conformance/writer.d.ts.map +1 -0
- package/dist/workspace/decide.d.ts +126 -12
- package/dist/workspace/decide.d.ts.map +1 -1
- package/dist/workspace/decision-points.schema.json +11 -4
- package/dist/workspace/declaration.d.ts +156 -4
- package/dist/workspace/declaration.d.ts.map +1 -1
- package/dist/workspace/declaration.schema.json +383 -5
- package/dist/workspace/environments.d.ts +36 -10
- package/dist/workspace/environments.d.ts.map +1 -1
- package/dist/workspace/factory-rules.d.ts +180 -0
- package/dist/workspace/factory-rules.d.ts.map +1 -0
- package/dist/workspace/generated-files.d.ts.map +1 -1
- package/dist/workspace/graph-cache.d.ts.map +1 -1
- package/dist/workspace/graph-cli.d.ts +2 -0
- package/dist/workspace/graph-cli.d.ts.map +1 -1
- package/dist/workspace/identity.d.ts +111 -0
- package/dist/workspace/identity.d.ts.map +1 -0
- package/dist/workspace/init.d.ts +21 -0
- package/dist/workspace/init.d.ts.map +1 -1
- package/dist/workspace/intent-cli.d.ts +7 -4
- package/dist/workspace/intent-cli.d.ts.map +1 -1
- package/dist/workspace/intent-record.d.ts +36 -2
- package/dist/workspace/intent-record.d.ts.map +1 -1
- package/dist/workspace/intent.d.ts +249 -8
- package/dist/workspace/intent.d.ts.map +1 -1
- package/dist/workspace/json-edit.d.ts +24 -0
- package/dist/workspace/json-edit.d.ts.map +1 -0
- package/dist/workspace/jsonc.d.ts +11 -0
- package/dist/workspace/jsonc.d.ts.map +1 -1
- package/dist/workspace/kinds.d.ts +66 -4
- package/dist/workspace/kinds.d.ts.map +1 -1
- package/dist/workspace/lexicon-symbols.d.ts +29 -0
- package/dist/workspace/lexicon-symbols.d.ts.map +1 -0
- package/dist/workspace/lineage-hash-index.d.ts.map +1 -1
- package/dist/workspace/lineage-lock.d.ts +2 -2
- package/dist/workspace/lineage-lock.d.ts.map +1 -1
- package/dist/workspace/lineage-upgrade.d.ts +31 -2
- package/dist/workspace/lineage-upgrade.d.ts.map +1 -1
- package/dist/workspace/links.d.ts.map +1 -1
- package/dist/workspace/point-answer.schema.json +42 -2
- package/dist/workspace/points-cli.d.ts +10 -3
- package/dist/workspace/points-cli.d.ts.map +1 -1
- package/dist/workspace/points.d.ts +66 -5
- package/dist/workspace/points.d.ts.map +1 -1
- package/dist/workspace/principal-classes.d.ts +114 -0
- package/dist/workspace/principal-classes.d.ts.map +1 -0
- package/dist/workspace/reason-codes.d.ts +53 -4
- package/dist/workspace/reason-codes.d.ts.map +1 -1
- package/dist/workspace/record-assets.d.ts.map +1 -1
- package/dist/workspace/record-sessions.d.ts +5 -7
- package/dist/workspace/record-sessions.d.ts.map +1 -1
- package/dist/workspace/records-checkout.d.ts +54 -0
- package/dist/workspace/records-checkout.d.ts.map +1 -0
- package/dist/workspace/records-cli.d.ts +34 -1
- package/dist/workspace/records-cli.d.ts.map +1 -1
- package/dist/workspace/records-close.d.ts +7 -3
- package/dist/workspace/records-close.d.ts.map +1 -1
- package/dist/workspace/records-since.d.ts.map +1 -1
- package/dist/workspace/records-write.d.ts +68 -7
- package/dist/workspace/records-write.d.ts.map +1 -1
- package/dist/workspace/records.d.ts +43 -9
- package/dist/workspace/records.d.ts.map +1 -1
- package/dist/workspace/runs-cli.d.ts +296 -0
- package/dist/workspace/runs-cli.d.ts.map +1 -0
- package/dist/workspace/runs.d.ts +544 -0
- package/dist/workspace/runs.d.ts.map +1 -0
- package/dist/workspace/session-kinds.d.ts +1 -1
- package/dist/workspace/session-kinds.d.ts.map +1 -1
- package/dist/workspace/source-block.d.ts +1 -1
- package/dist/workspace/source-block.d.ts.map +1 -1
- package/dist/workspace/squash.d.ts +80 -0
- package/dist/workspace/squash.d.ts.map +1 -0
- package/dist/workspace/status-gates.d.ts +17 -3
- package/dist/workspace/status-gates.d.ts.map +1 -1
- package/dist/workspace/status.d.ts +64 -0
- package/dist/workspace/status.d.ts.map +1 -1
- package/dist/workspace/symbols.d.ts +63 -0
- package/dist/workspace/symbols.d.ts.map +1 -0
- package/dist/workspace/trailer-joins.d.ts +46 -0
- package/dist/workspace/trailer-joins.d.ts.map +1 -0
- package/dist/workspace/trailers.d.ts +89 -0
- package/dist/workspace/trailers.d.ts.map +1 -0
- package/dist/workspace/trust/attestor.d.ts.map +1 -1
- package/dist/workspace/trust/rotation.d.ts.map +1 -1
- package/dist/workspace/trust/run-commits.d.ts +46 -0
- package/dist/workspace/trust/run-commits.d.ts.map +1 -0
- package/dist/workspace/trust/run-statement.d.ts +128 -0
- package/dist/workspace/trust/run-statement.d.ts.map +1 -0
- package/dist/workspace/trust/seal.d.ts +38 -0
- package/dist/workspace/trust/seal.d.ts.map +1 -1
- package/dist/workspace/trust/test-repo.d.ts.map +1 -1
- package/dist/workspace/trust/verify-cli.d.ts +1 -1
- package/dist/workspace/trust/verify.d.ts +16 -2
- package/dist/workspace/trust/verify.d.ts.map +1 -1
- package/dist/workspace/wip-cli.d.ts +21 -0
- package/dist/workspace/wip-cli.d.ts.map +1 -0
- package/dist/workspace/wip.d.ts +268 -0
- package/dist/workspace/wip.d.ts.map +1 -0
- package/dist/workspace/work-cli.d.ts +39 -3
- package/dist/workspace/work-cli.d.ts.map +1 -1
- package/dist/workspace/work-evidence.d.ts +1 -1
- package/dist/workspace/work-evidence.d.ts.map +1 -1
- package/dist/workspace/work-size.d.ts +55 -0
- package/dist/workspace/work-size.d.ts.map +1 -0
- package/dist/workspace/work.d.ts +26 -1
- package/dist/workspace/work.d.ts.map +1 -1
- package/dist/workspace/workspace-kinds.schema.json +122 -0
- package/dist/workspace/workspace-principals.schema.json +60 -0
- package/dist/workspace/write-lock-cli.d.ts +60 -0
- package/dist/workspace/write-lock-cli.d.ts.map +1 -0
- package/dist/workspace/write-lock.d.ts +152 -0
- package/dist/workspace/write-lock.d.ts.map +1 -0
- package/dist/workspace/write-scope.d.ts +83 -19
- package/dist/workspace/write-scope.d.ts.map +1 -1
- package/dist/yaml.d.ts +21 -39
- package/dist/yaml.d.ts.map +1 -1
- package/package.json +7 -2
- package/src/__fixtures__/change-set/lifecycle-plan.floci.json +59 -0
- package/src/__fixtures__/change-set/lifecycle-v1.ts.txt +4 -0
- package/src/__fixtures__/change-set/lifecycle-v2.ts.txt +4 -0
- package/src/__fixtures__/change-set/lifecycle.change-set.golden.json +95 -0
- package/src/__fixtures__/change-set/warden.change-set.golden.json +106 -0
- package/src/__fixtures__/change-set/warden.plan.json +44 -0
- package/src/__fixtures__/plan-summary/normalization-vectors.json +1593 -0
- package/src/__fixtures__/pr-loop/pr-apply-applied.note.golden.md +31 -0
- package/src/__fixtures__/pr-loop/pr-apply-refused.note.golden.md +31 -0
- package/src/__fixtures__/pr-loop/pr-plan.golden.json +127 -0
- package/src/__fixtures__/pr-loop/pr-plan.note.golden.md +37 -0
- package/src/audit/core.test.ts +15 -0
- package/src/audit/core.ts +8 -2
- package/src/audit/discover.test.ts +11 -0
- package/src/audit/discover.ts +7 -2
- package/src/audit/prior-art.ts +15 -0
- package/src/change-set-bundle.test.ts +57 -0
- package/src/change-set.test.ts +215 -0
- package/src/change-set.ts +445 -0
- package/src/cli/commands/__fixtures__/init-lexicon-output/package.json +1 -1
- package/src/cli/commands/audit-opt-in.test.ts +54 -0
- package/src/cli/commands/audit.ts +29 -2
- package/src/cli/commands/build.test.ts +19 -0
- package/src/cli/commands/build.ts +3 -2
- package/src/cli/commands/carve-emit-state.test.ts +4 -0
- package/src/cli/commands/carve-emit.ts +5 -19
- package/src/cli/commands/check-lexicon.test.ts +62 -1
- package/src/cli/commands/check-lexicon.ts +36 -6
- package/src/cli/commands/import-live.test.ts +18 -0
- package/src/cli/commands/import-parser-options.test.ts +133 -0
- package/src/cli/commands/import.ts +21 -3
- package/src/cli/commands/init-lexicon/templates/project.ts +1 -1
- package/src/cli/commands/init.test.ts +8 -1
- package/src/cli/commands/init.ts +23 -8
- package/src/cli/commands/lint.test.ts +37 -0
- package/src/cli/commands/onboard.test.ts +53 -3
- package/src/cli/commands/onboard.ts +52 -4
- package/src/cli/commands/pinned-upgrade.ts +73 -33
- package/src/cli/handlers/__snapshots__/build-member.test.ts.snap +2 -2
- package/src/cli/handlers/build.ts +13 -1
- package/src/cli/handlers/change-set.test.ts +56 -0
- package/src/cli/handlers/change-set.ts +44 -0
- package/src/cli/handlers/components.ts +2 -2
- package/src/cli/handlers/dev.ts +8 -6
- package/src/cli/handlers/fan-out.test.ts +221 -2
- package/src/cli/handlers/fan-out.ts +165 -75
- package/src/cli/handlers/graph.ts +3 -0
- package/src/cli/handlers/lifecycle.test.ts +67 -0
- package/src/cli/handlers/lifecycle.ts +6 -5
- package/src/cli/handlers/misc.ts +2 -0
- package/src/cli/handlers/operator.test.ts +21 -0
- package/src/cli/handlers/operator.ts +121 -6
- package/src/cli/handlers/pr.ts +373 -0
- package/src/cli/handlers/run.test.ts +111 -0
- package/src/cli/handlers/run.ts +86 -24
- package/src/cli/handlers/scenario.ts +2 -2
- package/src/cli/main.test.ts +21 -0
- package/src/cli/main.ts +246 -30
- package/src/cli/mcp/never-over-mcp.test.ts +101 -0
- package/src/cli/mcp/op-tools.ts +24 -2
- package/src/cli/mcp/workspace-tools.test.ts +5 -2
- package/src/cli/mcp/workspace-tools.ts +62 -7
- package/src/cli/registry.ts +74 -3
- package/src/codegen/pinned-upgrade-multi.test.ts +157 -0
- package/src/codegen/pinned-upgrade-tags.test.ts +112 -0
- package/src/codegen/pinned-upgrade.test.ts +104 -0
- package/src/codegen/pinned-upgrade.ts +250 -56
- package/src/codegen/testdata/postgres-tags.json +242 -0
- package/src/components/auto-release.ts +1 -1
- package/src/components/capability.ts +55 -0
- package/src/components/changed-files.ts +66 -0
- package/src/components/cli-support.ts +28 -5
- package/src/components/component.schema.json +17 -0
- package/src/components/component.ts +25 -0
- package/src/components/deploy-units.ts +3 -0
- package/src/components/driver.test.ts +52 -0
- package/src/components/driver.ts +31 -13
- package/src/components/fan-out-output.ts +42 -1
- package/src/components/fan-out-record.ts +69 -0
- package/src/components/fan-out-run.test.ts +17 -0
- package/src/components/fan-out-run.ts +304 -1
- package/src/components/fan-out-support.ts +3 -0
- package/src/components/fan-out-waves.test.ts +375 -0
- package/src/components/fan-out.ts +18 -17
- package/src/components/gated-wave-pipeline.ts +82 -0
- package/src/components/index.ts +1 -0
- package/src/components/layers.ts +30 -0
- package/src/components/pr-pipeline.ts +91 -0
- package/src/components/pr-run.test.ts +205 -0
- package/src/components/pr-run.ts +280 -0
- package/src/components/promote.ts +5 -0
- package/src/components/verbs/shell.test.ts +11 -0
- package/src/components/verbs/shell.ts +7 -3
- package/src/components/wave-plan.ts +124 -0
- package/src/config.test.ts +21 -0
- package/src/config.ts +15 -0
- package/src/declarable.test.ts +21 -0
- package/src/declarable.ts +19 -0
- package/src/discovery/fold-composite.test.ts +41 -5
- package/src/discovery/fold-import.test.ts +129 -0
- package/src/discovery/fold-import.ts +643 -131
- package/src/discovery/fold-package-composite.test.ts +264 -0
- package/src/discovery/fold-specifiers.test.ts +191 -0
- package/src/discovery/param-deps.test.ts +66 -1
- package/src/discovery/param-deps.ts +45 -0
- package/src/discovery/sandbox/bundle.ts +1 -1
- package/src/discovery/specifier-resolve.ts +344 -0
- package/src/fold/fold.test.ts +39 -1
- package/src/fold/fold.ts +83 -9
- package/src/fold-provenance.test.ts +140 -0
- package/src/gated-waves-bundle.test.ts +62 -0
- package/src/gated-waves.test.ts +118 -0
- package/src/gated-waves.ts +240 -0
- package/src/graph-ir.test.ts +83 -0
- package/src/graph-ir.ts +29 -0
- package/src/import/embedded.test.ts +20 -0
- package/src/import/embedded.ts +13 -0
- package/src/import/parser-options.ts +46 -0
- package/src/import/parser.ts +20 -0
- package/src/index.ts +1 -0
- package/src/lexicon.ts +106 -3
- package/src/lifecycle/gate-ledger.ts +23 -0
- package/src/lifecycle/git.ts +102 -16
- package/src/lifecycle/observe.test.ts +18 -0
- package/src/lifecycle/observe.ts +6 -4
- package/src/lifecycle/snapshot.ts +2 -2
- package/src/lifecycle/work-lease.test.ts +1 -1
- package/src/lifecycle/work-lease.ts +93 -2
- package/src/lint/engine.test.ts +55 -0
- package/src/lint/engine.ts +30 -4
- package/src/lint/output-docs.test.ts +59 -56
- package/src/lint/post-synth.test.ts +19 -0
- package/src/lint/post-synth.ts +19 -1
- package/src/meta/declared-imports.test.ts +1 -1
- package/src/op/activities/activity-contracts.ts +84 -0
- package/src/op/activities/apply.test.ts +189 -5
- package/src/op/activities/apply.ts +230 -8
- package/src/op/activities/change-set.ts +114 -0
- package/src/op/activities/decide.ts +3 -0
- package/src/op/activities/factory.ts +675 -0
- package/src/op/activities/index.ts +9 -0
- package/src/op/activities/lexicon-upgrade.test.ts +160 -6
- package/src/op/activities/lexicon-upgrade.ts +154 -51
- package/src/op/activity-contract.test.ts +21 -1
- package/src/op/activity-contract.ts +19 -9
- package/src/op/builders.ts +23 -0
- package/src/op/composites/apply-op.ts +12 -5
- package/src/op/composites/composites.test.ts +30 -3
- package/src/op/composites/lexicon-upgrade-op.test.ts +7 -2
- package/src/op/composites/lexicon-upgrade-op.ts +29 -8
- package/src/op/decide-backend.ts +5 -1
- package/src/op/decide-read-inputs.ts +33 -5
- package/src/op/emulator-lifecycle.test.ts +23 -0
- package/src/op/emulator-lifecycle.ts +52 -14
- package/src/op/factory.e2e.test.ts +232 -0
- package/src/op/factory.ts +118 -0
- package/src/op/gate-approval.test.ts +74 -0
- package/src/op/gate-approval.ts +5 -1
- package/src/op/gate.ts +31 -5
- package/src/op/index.ts +11 -1
- package/src/op/local-executor.test.ts +15 -0
- package/src/op/local-executor.ts +40 -12
- package/src/op/local-output.ts +1 -1
- package/src/op/op-ir.test.ts +9 -0
- package/src/op/op-ir.ts +4 -0
- package/src/op/op-verb-class.ts +3 -0
- package/src/op/operator.ts +4 -0
- package/src/op/run-context.test.ts +141 -0
- package/src/op/run-context.ts +51 -0
- package/src/op/runtimes/local.test.ts +14 -0
- package/src/op/runtimes/local.ts +2 -0
- package/src/op/steward-beside.ts +2 -0
- package/src/op/types.ts +16 -3
- package/src/op/work-lease-run.test.ts +47 -0
- package/src/op/work-lease-run.ts +76 -11
- package/src/plan-summary.test.ts +263 -0
- package/src/plan-summary.ts +845 -0
- package/src/pr-forge.test.ts +237 -0
- package/src/pr-forge.ts +332 -0
- package/src/pr-loop-bundle.test.ts +46 -0
- package/src/pr-loop.test.ts +171 -0
- package/src/pr-loop.ts +324 -0
- package/src/provenance.ts +35 -0
- package/src/telemetry-attribution.test.ts +23 -1
- package/src/telemetry-attribution.ts +51 -0
- package/src/terraform/hcl2json.test.ts +21 -0
- package/src/terraform/hcl2json.ts +81 -0
- package/src/terraform/parse.ts +11 -74
- package/src/workspace/agent-cli.ts +7 -3
- package/src/workspace/agent.schema.json +22 -0
- package/src/workspace/app-kind.test.ts +196 -0
- package/src/workspace/box-cli.ts +113 -0
- package/src/workspace/box-factory.test.ts +323 -0
- package/src/workspace/box-factory.ts +136 -0
- package/src/workspace/box-listing-write.schema.json +204 -0
- package/src/workspace/box-listing.test.ts +234 -0
- package/src/workspace/box-listing.ts +324 -0
- package/src/workspace/box-publish.schema.json +498 -0
- package/src/workspace/box-publish.test.ts +204 -0
- package/src/workspace/box-publish.ts +420 -0
- package/src/workspace/box-ship.test.ts +96 -0
- package/src/workspace/broker-protocol.schema.json +186 -0
- package/src/workspace/broker-protocol.test.ts +122 -0
- package/src/workspace/broker-protocol.ts +317 -0
- package/src/workspace/builder-tiers.test.ts +146 -0
- package/src/workspace/change-set.schema.json +460 -0
- package/src/workspace/changes.schema.json +12 -20
- package/src/workspace/changes.ts +4 -1
- package/src/workspace/chant-migrations.e2e.test.ts +17 -5
- package/src/workspace/checks/boxes.test.ts +5 -0
- package/src/workspace/checks.ts +39 -8
- package/src/workspace/component-environments.test.ts +105 -0
- package/src/workspace/compose-graph.ts +7 -0
- package/src/workspace/composites.schema.json +23 -4
- package/src/workspace/composites.test.ts +8 -8
- package/src/workspace/composites.ts +13 -2
- package/src/workspace/conformance/__fixture__/decisions/decision.schema.json +2 -2
- package/src/workspace/conformance/__fixtures__/reference-broker.ts +207 -0
- package/src/workspace/conformance/__writer_fixture__/answers/answer.kind.mjs +32 -0
- package/src/workspace/conformance/__writer_fixture__/answers/answer.schema.json +135 -0
- package/src/workspace/conformance/__writer_fixture__/contracts/contract.kind.mjs +37 -0
- package/src/workspace/conformance/__writer_fixture__/contracts/contract.schema.json +213 -0
- package/src/workspace/conformance/__writer_fixture__/decisions/points.json +228 -0
- package/src/workspace/conformance/__writer_fixture__/drivers/driver.kind.mjs +15 -0
- package/src/workspace/conformance/__writer_fixture__/drivers/driver.schema.json +38 -0
- package/src/workspace/conformance/__writer_fixture__/sessions/session.kind.mjs +54 -0
- package/src/workspace/conformance/__writer_fixture__/sessions/session.schema.json +289 -0
- package/src/workspace/conformance/__writer_fixture__/work/W-001-the-writer-suite-works-this-item.md +25 -0
- package/src/workspace/conformance/__writer_fixture__/work/work.kind.mjs +60 -0
- package/src/workspace/conformance/__writer_fixture__/work/work.schema.json +603 -0
- package/src/workspace/conformance/broker.test.ts +122 -0
- package/src/workspace/conformance/broker.ts +792 -0
- package/src/workspace/conformance/conformance.e2e.test.ts +36 -3
- package/src/workspace/conformance/index.mjs +51 -3
- package/src/workspace/conformance/index.ts +107 -15
- package/src/workspace/conformance/vitest.ts +76 -2
- package/src/workspace/conformance/writer-conformance.e2e.test.ts +177 -0
- package/src/workspace/conformance/writer.test.ts +186 -0
- package/src/workspace/conformance/writer.ts +1191 -0
- package/src/workspace/decide.test.ts +208 -4
- package/src/workspace/decide.ts +433 -73
- package/src/workspace/decision-points.schema.json +11 -4
- package/src/workspace/declaration.schema.json +383 -5
- package/src/workspace/declaration.ts +315 -10
- package/src/workspace/environments.ts +66 -14
- package/src/workspace/factory-rules.test.ts +62 -0
- package/src/workspace/factory-rules.ts +218 -0
- package/src/workspace/graph-cli.ts +6 -3
- package/src/workspace/graph.schema.json +314 -0
- package/src/workspace/identity.test.ts +219 -0
- package/src/workspace/identity.ts +186 -0
- package/src/workspace/init.ts +82 -2
- package/src/workspace/intent-cli.ts +84 -13
- package/src/workspace/intent-patch-id.test.ts +162 -0
- package/src/workspace/intent-record.schema.json +336 -1
- package/src/workspace/intent-record.ts +96 -16
- package/src/workspace/intent-reviews.test.ts +76 -0
- package/src/workspace/intent-squash.test.ts +213 -0
- package/src/workspace/intent-why.test.ts +274 -0
- package/src/workspace/intent.schema.json +950 -9
- package/src/workspace/intent.test.ts +11 -2
- package/src/workspace/intent.ts +722 -65
- package/src/workspace/json-edit.test.ts +121 -0
- package/src/workspace/json-edit.ts +142 -0
- package/src/workspace/jsonc.ts +20 -0
- package/src/workspace/kinds.ts +201 -39
- package/src/workspace/lexicon-symbols.test.ts +148 -0
- package/src/workspace/lexicon-symbols.ts +125 -0
- package/src/workspace/lineage-upgrade.test.ts +63 -0
- package/src/workspace/lineage-upgrade.ts +146 -5
- package/src/workspace/plan-summary.schema.json +155 -0
- package/src/workspace/point-answer.schema.json +42 -2
- package/src/workspace/points-cli.ts +42 -16
- package/src/workspace/points-write.schema.json +163 -4
- package/src/workspace/points.schema.json +157 -2
- package/src/workspace/points.test.ts +13 -1
- package/src/workspace/points.ts +118 -12
- package/src/workspace/pr-report.schema.json +95 -0
- package/src/workspace/principal-classes.test.ts +175 -0
- package/src/workspace/principal-classes.ts +307 -0
- package/src/workspace/profiles.test.ts +159 -0
- package/src/workspace/read-contract.test.ts +2 -2
- package/src/workspace/reason-codes.test.ts +23 -3
- package/src/workspace/reason-codes.ts +61 -4
- package/src/workspace/record-sessions.ts +9 -8
- package/src/workspace/records-amend.schema.json +80 -0
- package/src/workspace/records-checkout.ts +106 -0
- package/src/workspace/records-cli.ts +123 -17
- package/src/workspace/records-close.schema.json +79 -0
- package/src/workspace/records-close.ts +31 -7
- package/src/workspace/records-concurrent.e2e.test.ts +135 -0
- package/src/workspace/records-concurrent.test.ts +145 -0
- package/src/workspace/records-formats.test.ts +46 -10
- package/src/workspace/records-new.schema.json +9 -0
- package/src/workspace/records-review.schema.json +80 -0
- package/src/workspace/records-sessions-write.test.ts +69 -0
- package/src/workspace/records-sessions.test.ts +22 -0
- package/src/workspace/records-uncommitted.test.ts +171 -0
- package/src/workspace/records-write.ts +219 -30
- package/src/workspace/records.schema.json +88 -1
- package/src/workspace/records.ts +76 -8
- package/src/workspace/reference-kinds/app/package.json +10 -0
- package/src/workspace/reference-kinds/app/workspace-kinds.json +45 -0
- package/src/workspace/run-statement.schema.json +622 -0
- package/src/workspace/runs-cli.ts +710 -0
- package/src/workspace/runs-statement.test.ts +239 -0
- package/src/workspace/runs-write.schema.json +994 -0
- package/src/workspace/runs.schema.json +1257 -0
- package/src/workspace/runs.test.ts +281 -0
- package/src/workspace/runs.ts +970 -0
- package/src/workspace/session-kinds.ts +3 -3
- package/src/workspace/squash.ts +198 -0
- package/src/workspace/status-contract.test.ts +10 -2
- package/src/workspace/status-gates.ts +25 -9
- package/src/workspace/status.schema.json +252 -4
- package/src/workspace/status.ts +110 -1
- package/src/workspace/symbols.ts +191 -0
- package/src/workspace/trailer-joins.test.ts +171 -0
- package/src/workspace/trailer-joins.ts +82 -0
- package/src/workspace/trailers.ts +148 -0
- package/src/workspace/trust/run-commits.ts +115 -0
- package/src/workspace/trust/run-statement.ts +226 -0
- package/src/workspace/trust/seal.ts +58 -1
- package/src/workspace/trust/verify-cli.ts +6 -5
- package/src/workspace/trust/verify.ts +39 -6
- package/src/workspace/wip-cli.ts +97 -0
- package/src/workspace/wip-write.schema.json +504 -0
- package/src/workspace/wip.schema.json +334 -0
- package/src/workspace/wip.test.ts +294 -0
- package/src/workspace/wip.ts +753 -0
- package/src/workspace/work-cli.e2e.test.ts +28 -1
- package/src/workspace/work-cli.ts +136 -8
- package/src/workspace/work-evidence.schema.json +5 -0
- package/src/workspace/work-history.schema.json +73 -1
- package/src/workspace/work-history.test.ts +48 -5
- package/src/workspace/work-kind-fields.test.ts +154 -0
- package/src/workspace/work-lease.schema.json +14 -1
- package/src/workspace/work-size.test.ts +77 -0
- package/src/workspace/work-size.ts +93 -0
- package/src/workspace/work.ts +82 -0
- package/src/workspace/workspace-kinds.schema.json +122 -0
- package/src/workspace/workspace-principals.schema.json +60 -0
- package/src/workspace/write-lock-cli.ts +131 -0
- package/src/workspace/write-lock.schema.json +172 -0
- package/src/workspace/write-lock.test.ts +189 -0
- package/src/workspace/write-lock.ts +474 -0
- package/src/workspace/write-scope.test.ts +144 -3
- package/src/workspace/write-scope.ts +192 -45
- package/src/yaml.test.ts +111 -1
- package/src/yaml.ts +141 -549
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The intent graph over one region: `chant workspace graph --intent
|
|
3
|
-
* <path[:start-end]>` (#2651; #2650 sections B and C1; #2524 D8,
|
|
3
|
+
* <path[:start-end]|path#symbol>` (#2651; #2650 sections B and C1; #2524 D8,
|
|
4
|
+
* D15; #3034).
|
|
4
5
|
*
|
|
5
6
|
* A person points at some code and asks how it got this way and who decided
|
|
6
7
|
* it should be this way. This module gathers what the workspace records about
|
|
@@ -30,7 +31,30 @@
|
|
|
30
31
|
* record kind the declaration names (#2680), and each one's `commitJoins`
|
|
31
32
|
* runs for every commit in that order. chant emits the
|
|
32
33
|
* graph and hud renders it (#2524 D8, D15). Git is read through a local
|
|
33
|
-
* `git` subprocess only: no fetch, no network
|
|
34
|
+
* `git` subprocess only: no fetch, no network, except to follow a squash
|
|
35
|
+
* when asked (below).
|
|
36
|
+
*
|
|
37
|
+
* A region can name a symbol, `path#symbol`, which `symbols.ts` resolves to
|
|
38
|
+
* its current lines (#3034). For a file region the document also carries
|
|
39
|
+
* `why`: who made the region's current lines, from `git blame`, the agent run
|
|
40
|
+
* behind each (narrowed by the hunks a run recorded when several share a
|
|
41
|
+
* commit), and the decisions governing the region, most relevant first, with
|
|
42
|
+
* `explained: false` and closed gap codes when nothing accounts for it.
|
|
43
|
+
*
|
|
44
|
+
* A commit joins an agent run by its `Chant-Run` trailer or the run's own
|
|
45
|
+
* list of commits, and, failing both, by content (#3036): a commit whose
|
|
46
|
+
* `git patch-id --stable` equals one the run recorded, as after a rebase or a
|
|
47
|
+
* cherry-pick that dropped the trailer. Its `made-by` edge says `patch-id`,
|
|
48
|
+
* and a commit joined one way whose content matches another run's recorded
|
|
49
|
+
* commit is `intent-commit-join-conflict`.
|
|
50
|
+
*
|
|
51
|
+
* Asked to (`followSquash`, #3035), the walk follows a squash merge to its
|
|
52
|
+
* pull request's original commits (`squash.ts`): the squash commit node lists
|
|
53
|
+
* them with their trailers, joins and signatures, carries what their trailers
|
|
54
|
+
* and plugin joins carry, and joins their runs, marked `squash`. That is the
|
|
55
|
+
* one part of the walk that may reach the network, to fetch a pull request
|
|
56
|
+
* ref the clone lacks; a ref that can't be read is `squash-unfollowed` in
|
|
57
|
+
* `reasons`, and the walk keeps its answer without it.
|
|
34
58
|
*/
|
|
35
59
|
import { type CommitJoins, type IntentCommit } from "./intent-joins.js";
|
|
36
60
|
import { type LinkTableRow } from "./links.js";
|
|
@@ -38,6 +62,10 @@ import type { DecidedIn } from "./record-decided.js";
|
|
|
38
62
|
import { type LoadedRecordKind } from "./records.js";
|
|
39
63
|
import { type RecordView } from "./records-cli.js";
|
|
40
64
|
import { type PluginCode } from "./reason-codes.js";
|
|
65
|
+
import { type RunCost, type RunJoin, type RunPin, type RunUsage } from "./runs.js";
|
|
66
|
+
import { type Forge } from "./squash.js";
|
|
67
|
+
import { type SymbolPluginLoader } from "./lexicon-symbols.js";
|
|
68
|
+
import { type CommitTrailerJoins } from "./trailer-joins.js";
|
|
41
69
|
import { type ProvenanceLevel } from "./trust/attestor.js";
|
|
42
70
|
import { type WorkLink, type WorkWarningCode } from "./work.js";
|
|
43
71
|
/** The version of the `intent` document this chant writes. */
|
|
@@ -45,14 +73,17 @@ export declare const INTENT_CONTRACT_VERSION = 1;
|
|
|
45
73
|
/** `$id` of the JSON Schema for the document, shipped beside this file. */
|
|
46
74
|
export declare const INTENT_OUTPUT_SCHEMA_ID = "https://intentius.io/chant/schemas/workspace/intent/v1/intent.schema.json";
|
|
47
75
|
/** The finding codes. Closed: a reader may switch on them. */
|
|
48
|
-
export declare const INTENT_FINDING_CODES: readonly ["intent-commit-undecided", "intent-commit-bare", "intent-pin-drifted", "intent-pin-missing", "intent-pin-stale", "intent-artifact-unpinned", "intent-decision-superseded-live", "intent-decision-provisional", "intent-decision-contested", "intent-constraint-coarse", "intent-constraint-lost", "intent-evidence-unpinned", "intent-trailer-unverified", "intent-region-unconstrained", "intent-decision-unimplemented", "intent-work-blocked", "intent-work-open-decided-code"];
|
|
76
|
+
export declare const INTENT_FINDING_CODES: readonly ["intent-commit-undecided", "intent-commit-bare", "intent-pin-drifted", "intent-pin-missing", "intent-pin-stale", "intent-artifact-unpinned", "intent-decision-superseded-live", "intent-decision-provisional", "intent-decision-contested", "intent-constraint-coarse", "intent-constraint-lost", "intent-evidence-unpinned", "intent-trailer-unverified", "intent-region-unconstrained", "intent-decision-unimplemented", "intent-work-blocked", "intent-work-open-decided-code", "intent-commit-join-conflict"];
|
|
49
77
|
export type IntentFindingCode = (typeof INTENT_FINDING_CODES)[number];
|
|
50
78
|
/** Why part of the walk could not be read. The read still succeeds. */
|
|
51
|
-
export declare const INTENT_REASON_CODES: readonly ["intent-history-shallow", "intent-plugin-failed"];
|
|
79
|
+
export declare const INTENT_REASON_CODES: readonly ["intent-history-shallow", "intent-plugin-failed", "squash-unfollowed"];
|
|
52
80
|
export type IntentReasonCode = (typeof INTENT_REASON_CODES)[number];
|
|
53
81
|
/** Why the read failed as a whole: the declaration's codes, the record kind's codes, or a region that isn't there. */
|
|
54
|
-
export declare const INTENT_ERROR_CODES: readonly ["declaration-missing", "declaration-ambiguous", "declaration-unparseable", "declaration-invalid", "placement-invalid", "reader-too-old", "root-chant-required", "not-a-git-repository", "revision-unknown", "kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "intent-region-invalid", "intent-record-unknown"];
|
|
82
|
+
export declare const INTENT_ERROR_CODES: readonly ["declaration-missing", "declaration-ambiguous", "declaration-unparseable", "declaration-invalid", "placement-invalid", "reader-too-old", "root-chant-required", "not-a-git-repository", "revision-unknown", "kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "intent-region-invalid", "intent-record-unknown", "intent-symbol-unsupported", "intent-symbol-unknown", "intent-symbol-ambiguous"];
|
|
55
83
|
export type IntentErrorCode = (typeof INTENT_ERROR_CODES)[number];
|
|
84
|
+
/** Why `why` can't account for some or all of a region (#3034). Closed. */
|
|
85
|
+
export declare const INTENT_WHY_CODES: readonly ["intent-why-no-decision", "intent-why-no-run", "intent-why-uncommitted", "intent-why-run-ambiguous"];
|
|
86
|
+
export type IntentWhyCode = (typeof INTENT_WHY_CODES)[number];
|
|
56
87
|
export declare class IntentError extends Error {
|
|
57
88
|
readonly code: IntentErrorCode;
|
|
58
89
|
constructor(code: IntentErrorCode, message: string);
|
|
@@ -75,6 +106,12 @@ export interface RegionNode {
|
|
|
75
106
|
generated: boolean | null;
|
|
76
107
|
/** Set when the region was given as a graph node id. */
|
|
77
108
|
node: string | null;
|
|
109
|
+
/** Set when the region was given as `path#symbol` (#3034): the symbol as given, the declaration it resolved to, and its kind. `lines` holds its current lines. */
|
|
110
|
+
symbol?: {
|
|
111
|
+
name: string;
|
|
112
|
+
qualified: string;
|
|
113
|
+
kind: string;
|
|
114
|
+
} | null;
|
|
78
115
|
}
|
|
79
116
|
export interface FileNode {
|
|
80
117
|
id: string;
|
|
@@ -118,6 +155,51 @@ export interface CommitNode {
|
|
|
118
155
|
* null when no record kind was read.
|
|
119
156
|
*/
|
|
120
157
|
state: CommitState | null;
|
|
158
|
+
/**
|
|
159
|
+
* What chant's own trailers join the commit to (#3149, ws-075): the agent
|
|
160
|
+
* session, the work lease and the item it was taken on, the agent run, the
|
|
161
|
+
* records it names and the apply it records. A record or a lease item that
|
|
162
|
+
* a kind read has is linked by a `carries` edge.
|
|
163
|
+
*/
|
|
164
|
+
joins: CommitTrailerJoins;
|
|
165
|
+
/**
|
|
166
|
+
* Set only when the walk follows squashes (#3035) and the commit squashes
|
|
167
|
+
* a pull request: its original commits, read from the forge's pull request
|
|
168
|
+
* ref. The commit carries what they carry and joins their runs.
|
|
169
|
+
*/
|
|
170
|
+
squash?: SquashNode;
|
|
171
|
+
}
|
|
172
|
+
/** A squash commit's pull request, followed to its original commits (#3035). */
|
|
173
|
+
export interface SquashNode {
|
|
174
|
+
pullRequest: number;
|
|
175
|
+
/** The forge `origin` points at, or null for one chant doesn't know. */
|
|
176
|
+
forge: Forge | null;
|
|
177
|
+
/** The local ref the pull request's head was read from, or null. */
|
|
178
|
+
ref: string | null;
|
|
179
|
+
/** The pull request's head commit, or null. */
|
|
180
|
+
head: string | null;
|
|
181
|
+
/** Whether this read fetched the ref. */
|
|
182
|
+
fetched: boolean;
|
|
183
|
+
/** Whether the original commits were read; when false, `squash-unfollowed` in `reasons` says why. */
|
|
184
|
+
followed: boolean;
|
|
185
|
+
/** The original commits, oldest first, each with what its own trailers join and its provenance level. */
|
|
186
|
+
commits: SquashedCommit[];
|
|
187
|
+
}
|
|
188
|
+
export interface SquashedCommit {
|
|
189
|
+
sha: string;
|
|
190
|
+
subject: string;
|
|
191
|
+
author: {
|
|
192
|
+
name: string;
|
|
193
|
+
email: string;
|
|
194
|
+
};
|
|
195
|
+
date: string;
|
|
196
|
+
trailers: Record<string, string[]>;
|
|
197
|
+
signature: {
|
|
198
|
+
level: ProvenanceLevel;
|
|
199
|
+
reason: string;
|
|
200
|
+
principal?: string;
|
|
201
|
+
};
|
|
202
|
+
joins: CommitTrailerJoins;
|
|
121
203
|
}
|
|
122
204
|
export type CommitState = "decided" | "decided-by-window" | "undecided";
|
|
123
205
|
export interface JoinedNode {
|
|
@@ -232,6 +314,17 @@ export interface WorkGapSource {
|
|
|
232
314
|
decision?: string;
|
|
233
315
|
artifact?: string;
|
|
234
316
|
}
|
|
317
|
+
/** A review session that led to a work item (#3154, E21). */
|
|
318
|
+
export interface WorkReview {
|
|
319
|
+
/** The session record's node-style id, `record:<kind>/<id>`. */
|
|
320
|
+
id: string;
|
|
321
|
+
recordKind: string;
|
|
322
|
+
record: string;
|
|
323
|
+
path: string;
|
|
324
|
+
state: string | null;
|
|
325
|
+
/** The comments whose follow_ups name the item, numbered from 1; empty when only the session's own follow_ups do. */
|
|
326
|
+
comments: number[];
|
|
327
|
+
}
|
|
235
328
|
export interface WorkNode {
|
|
236
329
|
id: string;
|
|
237
330
|
kind: "work";
|
|
@@ -272,8 +365,48 @@ export interface WorkNode {
|
|
|
272
365
|
code: WorkWarningCode;
|
|
273
366
|
message: string;
|
|
274
367
|
}[];
|
|
368
|
+
/**
|
|
369
|
+
* The review sessions whose comments led to this item (#3154, E21 in
|
|
370
|
+
* arugula-salad/hud#823): each session record of a session kind read whose
|
|
371
|
+
* `comments[].follow_ups` (or its own `follow_ups`) names the item as
|
|
372
|
+
* `<kind>:<id>`, with the 1-based numbers of those comments. A commit that
|
|
373
|
+
* carries the item, by its `Chant-Record: work:<id>` trailer, joins back
|
|
374
|
+
* to the review through it. Empty when none does. Added within contract 1.
|
|
375
|
+
*/
|
|
376
|
+
reviews?: WorkReview[];
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* An agent run that made a commit in the walk (#3033): from the run ledger on
|
|
380
|
+
* the local `chant/lifecycle` branch. A run a `Chant-Run` trailer names and
|
|
381
|
+
* the ledger lacks is listed with `recorded: false` and nothing else known.
|
|
382
|
+
*/
|
|
383
|
+
export interface RunNode {
|
|
384
|
+
id: string;
|
|
385
|
+
kind: "run";
|
|
386
|
+
run: string;
|
|
387
|
+
recorded: boolean;
|
|
388
|
+
state: "running" | "ended" | null;
|
|
389
|
+
harness: {
|
|
390
|
+
name: string;
|
|
391
|
+
version: string | null;
|
|
392
|
+
} | null;
|
|
393
|
+
model: string | null;
|
|
394
|
+
provider: string | null;
|
|
395
|
+
by: string | null;
|
|
396
|
+
agent: string | null;
|
|
397
|
+
unit: string | null;
|
|
398
|
+
startedAt: string | null;
|
|
399
|
+
endedAt: string | null;
|
|
400
|
+
outcome: string | null;
|
|
401
|
+
usage: RunUsage | null;
|
|
402
|
+
cost: RunCost | null;
|
|
403
|
+
transcript: RunPin | null;
|
|
404
|
+
/** The instruction the run was given, pinned by hash, with the writer's excerpt when it gave one (#3034). */
|
|
405
|
+
instruction?: RunPin | null;
|
|
406
|
+
/** The fencing token of the work lease it worked under (#3034). */
|
|
407
|
+
lease?: string | null;
|
|
275
408
|
}
|
|
276
|
-
export type IntentNode = RegionNode | FileNode | MemberNode | CommitNode | JoinedNode | EvidenceEntryNode | DecisionNode | WorkNode | ArtifactNode | LinkNode | FindingNode;
|
|
409
|
+
export type IntentNode = RegionNode | FileNode | MemberNode | CommitNode | JoinedNode | EvidenceEntryNode | DecisionNode | WorkNode | ArtifactNode | LinkNode | FindingNode | RunNode;
|
|
277
410
|
export type Granularity = "path" | "member" | "contract" | "issue";
|
|
278
411
|
export type IntentEdge = {
|
|
279
412
|
kind: "constrains";
|
|
@@ -298,10 +431,94 @@ export type IntentEdge = {
|
|
|
298
431
|
to: string;
|
|
299
432
|
state: "decided" | "decided-by-window" | "worked";
|
|
300
433
|
} | {
|
|
301
|
-
kind: "
|
|
434
|
+
kind: "made-by";
|
|
435
|
+
from: string;
|
|
436
|
+
to: string;
|
|
437
|
+
joinedBy: RunJoin[];
|
|
438
|
+
recordedAs?: string;
|
|
439
|
+
via?: string[];
|
|
440
|
+
} | {
|
|
441
|
+
kind: "produced-by" | "serves" | "cites-evidence" | "supersedes" | "links" | "implements" | "needs" | "addressed-by" | "carries" | "worked-on";
|
|
302
442
|
from: string;
|
|
303
443
|
to: string;
|
|
304
444
|
};
|
|
445
|
+
/** Lines of the region that one commit, and the same runs, last wrote (#3034). */
|
|
446
|
+
export interface WhySpan {
|
|
447
|
+
start: number;
|
|
448
|
+
end: number;
|
|
449
|
+
/** The commit node, or null for lines not committed yet. */
|
|
450
|
+
commit: string | null;
|
|
451
|
+
sha: string | null;
|
|
452
|
+
/** The run nodes behind these lines: the run the commit's Chant-Run names first, then those whose record lists it. */
|
|
453
|
+
runs: string[];
|
|
454
|
+
/** `hunks` when a run's recorded hunks chose among the commit's runs; null when every run that made the commit is listed. */
|
|
455
|
+
narrowedBy: "hunks" | null;
|
|
456
|
+
/** How the runs in `runs` join the commit, as their `made-by` edges say, without repeats (#3036). Empty with no runs. */
|
|
457
|
+
joinedBy: RunJoin[];
|
|
458
|
+
/**
|
|
459
|
+
* For lines of a followed squash (#3035): the sha of the original commit
|
|
460
|
+
* that last wrote them, one of the commit node's `squash.commits`, by blame
|
|
461
|
+
* at the pull request's head; `runs` keeps that commit's runs and the
|
|
462
|
+
* squash's own. Empty when the file at the head is not the squash's, so
|
|
463
|
+
* blame there can't say. Absent for any other commit.
|
|
464
|
+
*/
|
|
465
|
+
via?: string[];
|
|
466
|
+
}
|
|
467
|
+
/** Why a decision is in `why`, most relevant first (#3034). */
|
|
468
|
+
export type WhyRelevance = "carried" | "path" | "contract" | "issue" | "member" | "related";
|
|
469
|
+
export interface WhyDecision {
|
|
470
|
+
decision: string;
|
|
471
|
+
/**
|
|
472
|
+
* carried: a commit or run that made the region's current lines carries it
|
|
473
|
+
* out. path, contract, issue, member: it constrains the region that way.
|
|
474
|
+
* related: it is in the graph only through supersession, or because a
|
|
475
|
+
* commit that no longer made any current line carried it out.
|
|
476
|
+
*/
|
|
477
|
+
relevance: WhyRelevance;
|
|
478
|
+
/** Not superseded. */
|
|
479
|
+
current: boolean;
|
|
480
|
+
/** Its state is one its kind closes, such as ratified. */
|
|
481
|
+
closed: boolean;
|
|
482
|
+
/** How many of the region's current lines were made as its own work. */
|
|
483
|
+
lines: number;
|
|
484
|
+
}
|
|
485
|
+
export interface WhyRun {
|
|
486
|
+
run: string;
|
|
487
|
+
/** How many of the region's current lines it wrote. */
|
|
488
|
+
lines: number;
|
|
489
|
+
/** The commit nodes through which it made them. */
|
|
490
|
+
commits: string[];
|
|
491
|
+
/** The work item it worked on, as the run record names it, and its node when a work kind read has it. */
|
|
492
|
+
unit: {
|
|
493
|
+
id: string;
|
|
494
|
+
kind: string | null;
|
|
495
|
+
node: string | null;
|
|
496
|
+
} | null;
|
|
497
|
+
/** The decision nodes it carried out: through its work item's implements, and the decision records it names. */
|
|
498
|
+
decisions: string[];
|
|
499
|
+
/** How it joins the commits in `commits`, as their `made-by` edges say, without repeats (#3036). */
|
|
500
|
+
joinedBy: RunJoin[];
|
|
501
|
+
}
|
|
502
|
+
export interface WhyGap {
|
|
503
|
+
code: IntentWhyCode;
|
|
504
|
+
message: string;
|
|
505
|
+
/** The lines the gap is about, when it is about some of them. */
|
|
506
|
+
lines?: LineRange[];
|
|
507
|
+
}
|
|
508
|
+
/** The answer to "why is it like this" over the region (#3034, hud#700). */
|
|
509
|
+
export interface WhyAnswer {
|
|
510
|
+
/** The lines accounted for: the region's range, the whole file, or null for a directory, which is not blamed. */
|
|
511
|
+
lines: LineRange | null;
|
|
512
|
+
/** The current lines, top to bottom, each span with the commit and runs that last wrote it. Empty for a directory. */
|
|
513
|
+
blame: WhySpan[];
|
|
514
|
+
/** The decisions governing the region, most relevant first. */
|
|
515
|
+
decisions: WhyDecision[];
|
|
516
|
+
/** The runs that wrote the current lines, most lines first; for a directory, every run in the walk, newest first. */
|
|
517
|
+
runs: WhyRun[];
|
|
518
|
+
/** Whether a current decision governs the region or is carried out by what made its lines. */
|
|
519
|
+
explained: boolean;
|
|
520
|
+
gaps: WhyGap[];
|
|
521
|
+
}
|
|
305
522
|
export interface IntentReason {
|
|
306
523
|
code: IntentReasonCode;
|
|
307
524
|
message: string;
|
|
@@ -338,6 +555,7 @@ export type IntentDocument = (Head & {
|
|
|
338
555
|
artifacts: number;
|
|
339
556
|
findings: number;
|
|
340
557
|
};
|
|
558
|
+
why: WhyAnswer;
|
|
341
559
|
}) | (Head & {
|
|
342
560
|
error: {
|
|
343
561
|
code: IntentErrorCode;
|
|
@@ -347,9 +565,11 @@ export type IntentDocument = (Head & {
|
|
|
347
565
|
export interface IntentQuery {
|
|
348
566
|
/** Where the walk up to the declaration starts, and what the region path is relative to. */
|
|
349
567
|
cwd: string;
|
|
350
|
-
/** `path`, `path:line
|
|
568
|
+
/** `path`, `path:line`, `path:start-end` or `path#symbol`, or a graph node id `<member>/<id>`. */
|
|
351
569
|
region: string;
|
|
352
570
|
at?: string;
|
|
571
|
+
/** Follow squash merges to their pull requests' original commits, fetching a missing pull request ref from `origin` (#3035). */
|
|
572
|
+
followSquash?: boolean;
|
|
353
573
|
/**
|
|
354
574
|
* Kind files: record kinds, plugins with `commitJoins`, or both. Relative to
|
|
355
575
|
* `cwd`. Left out, every record kind the declaration names, in its order
|
|
@@ -365,6 +585,11 @@ export interface IntentQuery {
|
|
|
365
585
|
file: string;
|
|
366
586
|
line: number | null;
|
|
367
587
|
} | null | undefined>;
|
|
588
|
+
/**
|
|
589
|
+
* Load a lexicon plugin by name, for the symbol resolvers a member's
|
|
590
|
+
* lexicons contribute (#3313). The default is the CLI's `loadPlugin`.
|
|
591
|
+
*/
|
|
592
|
+
loadLexicon?: SymbolPluginLoader;
|
|
368
593
|
}
|
|
369
594
|
export interface IntentResult {
|
|
370
595
|
doc: IntentDocument;
|
|
@@ -377,6 +602,22 @@ export declare function regionHistory(top: string, rev: string, gitPath: string,
|
|
|
377
602
|
sha: string;
|
|
378
603
|
lines: LineRange[] | null;
|
|
379
604
|
}[];
|
|
605
|
+
/** One current line of a file, and the commit that last wrote it. */
|
|
606
|
+
export interface BlamedLine {
|
|
607
|
+
line: number;
|
|
608
|
+
/** Null for a line not committed yet. */
|
|
609
|
+
sha: string | null;
|
|
610
|
+
/** The file's path in that commit, from the repository root. */
|
|
611
|
+
origPath: string;
|
|
612
|
+
/** The line's number in that commit's version of the file. */
|
|
613
|
+
origLine: number;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* `git blame` over a file's lines (#3034): at `rev`, or in the working tree
|
|
617
|
+
* when `rev` is null, where a line not committed yet has no commit. Undefined
|
|
618
|
+
* when git can't blame the file, such as one never committed.
|
|
619
|
+
*/
|
|
620
|
+
export declare function blameLines(top: string, rev: string | null, gitPath: string, lines: LineRange | null): BlamedLine[] | undefined;
|
|
380
621
|
/** Subject, body, author, date and trailers of each commit. */
|
|
381
622
|
export declare function commitDetails(top: string, shas: string[]): Map<string, IntentCommit>;
|
|
382
623
|
/** The commit reachable from `rev` that last added `path` (from the repository root), or null. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent.d.ts","sourceRoot":"","sources":["../../src/workspace/intent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAQH,OAAO,EAAgE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAyC,MAAM,gBAAgB,CAAC;AAE1K,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAG1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAA0F,KAAK,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC1I,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAgB,KAAK,UAAU,EAAmB,MAAM,gBAAgB,CAAC;AAEhF,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGzE,OAAO,EAAyC,KAAK,QAAQ,EAAE,KAAK,eAAe,EAAE,MAAM,QAAQ,CAAC;AAEpG,8DAA8D;AAC9D,eAAO,MAAM,uBAAuB,IAAI,CAAC;AAEzC,2EAA2E;AAC3E,eAAO,MAAM,uBAAuB,8EAA8E,CAAC;AAInH,8DAA8D;AAC9D,eAAO,MAAM,oBAAoB,8dAmCS,CAAC;AAC3C,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,uEAAuE;AACvE,eAAO,MAAM,mBAAmB,6DAKU,CAAC;AAC3C,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,sHAAsH;AACtH,eAAO,MAAM,kBAAkB,6XAYW,CAAC;AAC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AACrD,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,GAAG,IAAI,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAOtG;AAwED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,yDAAyD;IACzD,OAAO,EAAE,MAAM,CAAC;IAChB,mIAAmI;IACnI,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,gBAAgB,CAAC;QAAC,KAAK,EAAE,UAAU,EAAE,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC;IACnF,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,wBAAsB,SAAS,CAAC,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC,CA8BtF;AAwDD,6HAA6H;AAC7H,wBAAsB,WAAW,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC,CAU3E"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Edit one property of a JSON or JSONC document in place (#3308), for the
|
|
3
|
+
* write commands that change a field of the workspace declaration.
|
|
4
|
+
*
|
|
5
|
+
* Only the text of the property changed is touched: the rest of the file
|
|
6
|
+
* keeps its indentation, key order, line endings, comments and trailing
|
|
7
|
+
* commas. A new property goes after the last one of its object, indented
|
|
8
|
+
* like it. The caller re-parses the result and compares it with the value it
|
|
9
|
+
* meant to write, so an edit this module gets wrong is never written.
|
|
10
|
+
*/
|
|
11
|
+
export declare class JsonEditError extends Error {
|
|
12
|
+
constructor(message: string);
|
|
13
|
+
}
|
|
14
|
+
/** The value at a JSON Pointer, or undefined. */
|
|
15
|
+
export declare function valueAt(root: unknown, pointer: string): unknown;
|
|
16
|
+
/**
|
|
17
|
+
* Set `key` of the object at `objectPointer` to `value`: replace the value's
|
|
18
|
+
* text when the key is there, else add the key after the object's last one.
|
|
19
|
+
* Throws a {@link JsonEditError} when there is no object at the pointer.
|
|
20
|
+
*/
|
|
21
|
+
export declare function setProperty(text: string, jsonc: boolean, objectPointer: string, key: string, value: unknown): string;
|
|
22
|
+
/** Remove `key` from the object at `objectPointer`, with the comma that went with it. Unchanged when the key is not there. */
|
|
23
|
+
export declare function removeProperty(text: string, jsonc: boolean, objectPointer: string, key: string): string;
|
|
24
|
+
//# sourceMappingURL=json-edit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-edit.d.ts","sourceRoot":"","sources":["../../src/workspace/json-edit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,qBAAa,aAAc,SAAQ,KAAK;IACtC,YAAY,OAAO,EAAE,MAAM,EAG1B;CACF;AAUD,iDAAiD;AACjD,wBAAgB,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAU/D;AAuCD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,CAgCpH;AAED,8HAA8H;AAC9H,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAuBvG"}
|
|
@@ -27,6 +27,17 @@ export type JsonParseResult = {
|
|
|
27
27
|
* `key` is set. Falls back to the nearest ancestor that has a position.
|
|
28
28
|
*/
|
|
29
29
|
locate(pointer: string, key?: boolean): TextLocation;
|
|
30
|
+
/**
|
|
31
|
+
* Where the value at `pointer` is in the text, as offsets: its key's
|
|
32
|
+
* opening quote (null for an array item or the root), the value's first
|
|
33
|
+
* character, and the offset just past its last. Undefined when there is
|
|
34
|
+
* no value at `pointer`. For editing the text in place (#3308).
|
|
35
|
+
*/
|
|
36
|
+
span(pointer: string): {
|
|
37
|
+
key: number | null;
|
|
38
|
+
start: number;
|
|
39
|
+
end: number;
|
|
40
|
+
} | undefined;
|
|
30
41
|
} | {
|
|
31
42
|
ok: false;
|
|
32
43
|
message: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../src/workspace/jsonc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,WAAW,YAAY;IAC3B,eAAe;IACf,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,qDAAqD;IACrD,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,MAAM,eAAe,GACvB;IACE,EAAE,EAAE,IAAI,CAAC;IACT,KAAK,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../src/workspace/jsonc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,WAAW,YAAY;IAC3B,eAAe;IACf,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,qDAAqD;IACrD,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,MAAM,eAAe,GACvB;IACE,EAAE,EAAE,IAAI,CAAC;IACT,KAAK,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IACrD;;;;;OAKG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG;QAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CACvF,GACD;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,YAAY,CAAA;CAAE,CAAC;AAW3D,gEAAgE;AAChE,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAE3D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,eAAe,CAiMtF"}
|
|
@@ -38,7 +38,33 @@ export interface FileProbe {
|
|
|
38
38
|
in: string[];
|
|
39
39
|
blocks: string[];
|
|
40
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* A file directly in the directory whose name matches one of `in` parses
|
|
43
|
+
* as JSON and has a value at one of `pointers`, each a JSON Pointer. This
|
|
44
|
+
* is how an app member's `package.json` with a `start` script is found
|
|
45
|
+
* without claiming every Node package (#3151).
|
|
46
|
+
*/
|
|
47
|
+
anyJsonKey?: {
|
|
48
|
+
in: string[];
|
|
49
|
+
pointers: string[];
|
|
50
|
+
};
|
|
41
51
|
}
|
|
52
|
+
/** A string, integer or boolean field a kind declares for its members (#3151). */
|
|
53
|
+
export interface ScalarKindField {
|
|
54
|
+
type: "string" | "integer" | "boolean";
|
|
55
|
+
description: string;
|
|
56
|
+
/** The value a member that doesn't set the field gets; null when the kind gives none. */
|
|
57
|
+
default?: string | number | boolean;
|
|
58
|
+
/** For a string field, a regular expression the value must match. */
|
|
59
|
+
pattern?: string;
|
|
60
|
+
}
|
|
61
|
+
/** An object field: named scalar fields, each with its own default (#3151). */
|
|
62
|
+
export interface ObjectKindField {
|
|
63
|
+
type: "object";
|
|
64
|
+
description: string;
|
|
65
|
+
properties: Record<string, ScalarKindField>;
|
|
66
|
+
}
|
|
67
|
+
export type KindField = ScalarKindField | ObjectKindField;
|
|
42
68
|
/** What a kind's probe checks in a directory. */
|
|
43
69
|
export type KindProbe =
|
|
44
70
|
/** Files, or blocks in files, sit directly in the directory. */
|
|
@@ -99,6 +125,8 @@ export interface MemberKind {
|
|
|
99
125
|
packageDir?: string;
|
|
100
126
|
/** How `workspace graph` reads a member of this kind (#2874); unset, the member is `kind-not-run`. */
|
|
101
127
|
graph?: KindGraph;
|
|
128
|
+
/** The fields a member entry of this kind may set, with their defaults (#3151); unset, the kind declares none. */
|
|
129
|
+
fields?: Record<string, KindField>;
|
|
102
130
|
}
|
|
103
131
|
export interface KindRegistry {
|
|
104
132
|
get(name: string): MemberKind | undefined;
|
|
@@ -158,11 +186,12 @@ export interface PackageKinds extends KindData {
|
|
|
158
186
|
file: string | undefined;
|
|
159
187
|
}
|
|
160
188
|
/**
|
|
161
|
-
* Where a package's `exports` send `./workspace-kinds
|
|
162
|
-
*
|
|
163
|
-
*
|
|
189
|
+
* Where a package's `exports` send `./workspace-kinds` (or another data
|
|
190
|
+
* subpath, such as `./workspace-principals`), or undefined when the package
|
|
191
|
+
* doesn't export it. Only the literal key counts: a `./*` pattern maps the
|
|
192
|
+
* subpath to code, which chant never runs for plugin data.
|
|
164
193
|
*/
|
|
165
|
-
export declare function kindsExportTarget(pkg: Record<string, unknown
|
|
194
|
+
export declare function kindsExportTarget(pkg: Record<string, unknown>, subpath?: string): string | undefined | {
|
|
166
195
|
problem: string;
|
|
167
196
|
};
|
|
168
197
|
/** Read the kinds a package directory publishes. Reads files only; imports nothing. */
|
|
@@ -206,6 +235,19 @@ export interface LoadedKinds {
|
|
|
206
235
|
registry: KindRegistry;
|
|
207
236
|
problems: KindLoadProblem[];
|
|
208
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* The directory a pin's plugin data is read from: an installed package at
|
|
240
|
+
* the pinned version, looked up from `workspaceRoot`, or a path pin's
|
|
241
|
+
* directory, checked against its integrity digest when it has one. Null for
|
|
242
|
+
* a pin that names neither. Shared by the kinds and the principal classes
|
|
243
|
+
* (#3080), so both read a pin the same way.
|
|
244
|
+
*/
|
|
245
|
+
export declare function pinnedPackageDir(pin: PinLike, workspaceRoot: string): {
|
|
246
|
+
dir: string;
|
|
247
|
+
source: string;
|
|
248
|
+
} | {
|
|
249
|
+
problem: string;
|
|
250
|
+
} | null;
|
|
209
251
|
/**
|
|
210
252
|
* Build the registry for a workspace: the built-in kinds plus the kinds
|
|
211
253
|
* every pin publishes. `workspaceRoot` is the absolute workspace root; a
|
|
@@ -222,4 +264,24 @@ export declare function loadKindRegistry(pins: readonly PinLike[], workspaceRoot
|
|
|
222
264
|
* everything npm doesn't ignore by default.
|
|
223
265
|
*/
|
|
224
266
|
export declare function kindsFileShips(packageDir: string, file: string): boolean;
|
|
267
|
+
/** A value a member sets, or a kind's default: what a scalar field holds. */
|
|
268
|
+
export type FieldValue = string | number | boolean;
|
|
269
|
+
/** One problem with a member's fields: the field's path under `fields` (`scripts/start`), and why. */
|
|
270
|
+
export interface MemberFieldProblem {
|
|
271
|
+
path: string;
|
|
272
|
+
message: string;
|
|
273
|
+
}
|
|
274
|
+
export interface MemberFields {
|
|
275
|
+
/** Every field the kind declares, set from the entry or its default (null when it has none); null when the kind declares no fields. */
|
|
276
|
+
fields: Record<string, FieldValue | null | Record<string, FieldValue | null>> | null;
|
|
277
|
+
problems: MemberFieldProblem[];
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* A member's fields (#3151): the ones its entry sets, checked against what
|
|
281
|
+
* its kind declares, with every other declared field at its default. A field
|
|
282
|
+
* the kind doesn't declare, or a value of the wrong type, is a problem, and
|
|
283
|
+
* the field reads as its default. A kind no registry knows has no fields to
|
|
284
|
+
* check against, so it reads as null with no problem (WSP003 reports it).
|
|
285
|
+
*/
|
|
286
|
+
export declare function resolveMemberFields(kind: MemberKind | undefined, given: Record<string, unknown> | null): MemberFields;
|
|
225
287
|
//# sourceMappingURL=kinds.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kinds.d.ts","sourceRoot":"","sources":["../../src/workspace/kinds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAMH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAI5C,eAAO,MAAM,eAAe,QAAa,CAAC;AAE1C,oDAAoD;AACpD,eAAO,MAAM,aAAa,sBAAsB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,EAAE,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"kinds.d.ts","sourceRoot":"","sources":["../../src/workspace/kinds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAMH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAI5C,eAAO,MAAM,eAAe,QAAa,CAAC;AAE1C,oDAAoD;AACpD,eAAO,MAAM,aAAa,sBAAsB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,EAAE,CAAC;QAAC,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IAC9C;;;;;OAKG;IACH,UAAU,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,EAAE,CAAC;QAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;CACnD;AAED,kFAAkF;AAClF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,QAAQ,GAAG,SAAS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AE,UAAU,GAAG,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC;IACrF,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAChC;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,YAAY,CAsCrH"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Symbol resolvers a member's lexicons contribute (#3313), for
|
|
3
|
+
* `chant workspace graph --intent <path>#<symbol>` on a file core's own
|
|
4
|
+
* resolver does not read (`symbols.ts`).
|
|
5
|
+
*
|
|
6
|
+
* The lexicons are the ones the member's `chant.config.ts` (or `.json`)
|
|
7
|
+
* names, read without running the config when it can be read statically
|
|
8
|
+
* (`../config-static.ts`), and by loading it as `chant run` does otherwise.
|
|
9
|
+
* Each is loaded as any command loads it (`loadPlugin`), and its plugin's
|
|
10
|
+
* `symbolResolvers()` answers. A lexicon that can't be loaded, or whose
|
|
11
|
+
* resolvers are malformed, contributes nothing, and the reason is kept so a
|
|
12
|
+
* refusal can say why the file has no resolver.
|
|
13
|
+
*/
|
|
14
|
+
import type { SymbolResolver } from "./symbols.js";
|
|
15
|
+
/** Loads a lexicon plugin by name; `loadPlugin` from the CLI unless a test swaps it. */
|
|
16
|
+
export type SymbolPluginLoader = (name: string) => Promise<{
|
|
17
|
+
name?: string;
|
|
18
|
+
symbolResolvers?: () => unknown;
|
|
19
|
+
}>;
|
|
20
|
+
export interface MemberSymbolResolvers {
|
|
21
|
+
resolvers: SymbolResolver[];
|
|
22
|
+
/** Why a lexicon contributed nothing it may have meant to: its config or plugin couldn't be read, or a resolver was malformed. */
|
|
23
|
+
problems: string[];
|
|
24
|
+
}
|
|
25
|
+
/** The symbol resolvers the lexicons of the member at `dir` (on disk) contribute, in config order. */
|
|
26
|
+
export declare function memberSymbolResolvers(dir: string, load?: SymbolPluginLoader): Promise<MemberSymbolResolvers>;
|
|
27
|
+
/** The member directory on disk for a member's `dir` under the workspace root. */
|
|
28
|
+
export declare const memberDirOnDisk: (root: string, dir: string) => string;
|
|
29
|
+
//# sourceMappingURL=lexicon-symbols.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lexicon-symbols.d.ts","sourceRoot":"","sources":["../../src/workspace/lexicon-symbols.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,OAAO,KAAK,EAAqB,cAAc,EAAE,MAAM,WAAW,CAAC;AAEnE,wFAAwF;AACxF,MAAM,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,eAAe,CAAC,EAAE,MAAM,OAAO,CAAA;CAAE,CAAC,CAAC;AAE/G,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,kIAAkI;IAClI,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AA2DD,sGAAsG;AACtG,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAoClH;AAED,kFAAkF;AAClF,eAAO,MAAM,eAAe,SAAU,MAAM,OAAO,MAAM,KAAG,MAA8D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lineage-hash-index.d.ts","sourceRoot":"","sources":["../../src/workspace/lineage-hash-index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAOH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,oDAAoD;AACpD,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAKpC,QAAA,MAAM,WAAW;;;;;kB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