kibi-cli 1.0.1 → 2.1.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/cli-errors.d.ts +3 -1
- package/dist/cli-errors.d.ts.map +1 -1
- package/dist/cli-errors.js +4 -1
- package/dist/cli-json-command.d.ts +1 -0
- package/dist/cli-json-command.d.ts.map +1 -1
- package/dist/cli-json-command.js +13 -4
- package/dist/cli-operation-loader.js +3 -3
- package/dist/cli-operation-metadata.d.ts +4 -3
- package/dist/cli-operation-metadata.d.ts.map +1 -1
- package/dist/cli-operation-metadata.js +7 -5
- package/dist/cli-protocol.js +1 -1
- package/dist/cli-register-maintenance.d.ts.map +1 -1
- package/dist/cli-register-maintenance.js +7 -0
- package/dist/cli-register-proof.d.ts +3 -0
- package/dist/cli-register-proof.d.ts.map +1 -0
- package/dist/cli-register-proof.js +127 -0
- package/dist/cli-register-reporting.d.ts.map +1 -1
- package/dist/cli-register-reporting.js +7 -0
- package/dist/cli.d.ts +4 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +19 -10
- package/dist/commands/branch.d.ts +1 -0
- package/dist/commands/branch.d.ts.map +1 -1
- package/dist/commands/branch.js +8 -4
- package/dist/commands/check-generated.d.ts +7 -0
- package/dist/commands/check-generated.d.ts.map +1 -0
- package/dist/commands/check-generated.js +192 -0
- package/dist/commands/check.d.ts +14 -0
- package/dist/commands/check.d.ts.map +1 -1
- package/dist/commands/check.js +193 -46
- package/dist/commands/coverage.d.ts +1 -0
- package/dist/commands/coverage.d.ts.map +1 -1
- package/dist/commands/coverage.js +6 -0
- package/dist/commands/doctor.d.ts +22 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +170 -23
- package/dist/commands/engine.d.ts +12 -0
- package/dist/commands/engine.d.ts.map +1 -1
- package/dist/commands/engine.js +42 -0
- package/dist/commands/github-init.d.ts +1 -0
- package/dist/commands/github-init.d.ts.map +1 -1
- package/dist/commands/github-init.js +9 -5
- package/dist/commands/init-helpers.d.ts.map +1 -1
- package/dist/commands/init-helpers.js +49 -10
- package/dist/commands/migrate.d.ts +4 -0
- package/dist/commands/migrate.d.ts.map +1 -1
- package/dist/commands/migrate.js +7 -7
- package/dist/commands/proof-explain.d.ts +10 -0
- package/dist/commands/proof-explain.d.ts.map +1 -0
- package/dist/commands/proof-explain.js +45 -0
- package/dist/commands/proof-impact.d.ts +7 -0
- package/dist/commands/proof-impact.d.ts.map +1 -0
- package/dist/commands/proof-impact.js +39 -0
- package/dist/commands/proof-migrate-legacy.d.ts +7 -0
- package/dist/commands/proof-migrate-legacy.d.ts.map +1 -0
- package/dist/commands/proof-migrate-legacy.js +45 -0
- package/dist/commands/proof-prune.d.ts +8 -0
- package/dist/commands/proof-prune.d.ts.map +1 -0
- package/dist/commands/proof-prune.js +53 -0
- package/dist/commands/prove.d.ts +37 -0
- package/dist/commands/prove.d.ts.map +1 -0
- package/dist/commands/prove.js +470 -0
- package/dist/commands/report.d.ts.map +1 -1
- package/dist/commands/report.js +18 -3
- package/dist/commands/sync/discovery.d.ts +3 -0
- package/dist/commands/sync/discovery.d.ts.map +1 -1
- package/dist/commands/sync/discovery.js +36 -28
- package/dist/commands/sync/manifest.d.ts +2 -1
- package/dist/commands/sync/manifest.d.ts.map +1 -1
- package/dist/commands/sync/manifest.js +55 -21
- package/dist/commands/sync/persistence.d.ts +4 -1
- package/dist/commands/sync/persistence.d.ts.map +1 -1
- package/dist/commands/sync/persistence.js +31 -14
- package/dist/commands/sync/staging.d.ts +1 -0
- package/dist/commands/sync/staging.d.ts.map +1 -1
- package/dist/commands/sync/staging.js +5 -2
- package/dist/commands/sync/untracked-targets.d.ts +24 -0
- package/dist/commands/sync/untracked-targets.d.ts.map +1 -0
- package/dist/commands/sync/untracked-targets.js +108 -0
- package/dist/commands/sync.d.ts +11 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +74 -30
- package/dist/engine-daemon.d.ts +3 -1
- package/dist/engine-daemon.d.ts.map +1 -1
- package/dist/engine-daemon.js +49 -20
- package/dist/engine.d.ts +17 -77
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +331 -91
- package/dist/env/bootstrap.d.ts +84 -0
- package/dist/env/bootstrap.d.ts.map +1 -0
- package/dist/env/bootstrap.js +310 -0
- package/dist/extractors/manifest.d.ts +5 -0
- package/dist/extractors/manifest.d.ts.map +1 -1
- package/dist/extractors/manifest.js +46 -1
- package/dist/extractors/markdown.d.ts +7 -3
- package/dist/extractors/markdown.d.ts.map +1 -1
- package/dist/extractors/markdown.js +60 -24
- package/dist/extractors/playwright-cases.js +1 -1
- package/dist/extractors/relationships.d.ts +6 -0
- package/dist/extractors/relationships.d.ts.map +1 -1
- package/dist/extractors/relationships.js +1 -1
- package/dist/extractors/symbol-coordinates.d.ts.map +1 -1
- package/dist/extractors/symbols-coordinator.d.ts +8 -0
- package/dist/extractors/symbols-coordinator.d.ts.map +1 -1
- package/dist/extractors/symbols-coordinator.js +40 -0
- package/dist/extractors/symbols-ts.d.ts +9 -19
- package/dist/extractors/symbols-ts.d.ts.map +1 -1
- package/dist/extractors/symbols-ts.js +34 -429
- package/dist/intent-search.d.ts +1 -0
- package/dist/intent-search.d.ts.map +1 -1
- package/dist/intent-search.js +11 -8
- package/dist/logic/ir.d.ts +1 -0
- package/dist/logic/ir.d.ts.map +1 -1
- package/dist/logic/ir.js +1 -1
- package/dist/operations/bootstrap/activation.d.ts +2 -1
- package/dist/operations/bootstrap/activation.d.ts.map +1 -1
- package/dist/operations/bootstrap/activation.js +11 -3
- package/dist/operations/bootstrap/generate.d.ts +2 -1
- package/dist/operations/bootstrap/generate.d.ts.map +1 -1
- package/dist/operations/bootstrap/generate.js +6 -3
- package/dist/operations/bootstrap/guidance.d.ts +1 -0
- package/dist/operations/bootstrap/guidance.d.ts.map +1 -1
- package/dist/operations/bootstrap/guidance.js +1 -1
- package/dist/operations/modeling/model-requirement.d.ts +5 -0
- package/dist/operations/modeling/model-requirement.d.ts.map +1 -1
- package/dist/operations/modeling/model-requirement.js +57 -46
- package/dist/operations/modeling/predicate-applicability.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-applicability.js +103 -4
- package/dist/operations/modeling/predicate-catalog-2.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-catalog-2.js +18 -2
- package/dist/operations/modeling/predicate-catalog-3.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-catalog-3.js +17 -1
- package/dist/operations/modeling/predicate-catalog-5.d.ts +10 -0
- package/dist/operations/modeling/predicate-catalog-5.d.ts.map +1 -0
- package/dist/operations/modeling/predicate-catalog-5.js +291 -0
- package/dist/operations/modeling/predicate-catalog.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-catalog.js +4 -0
- package/dist/operations/modeling/predicate-loader.d.ts +1 -0
- package/dist/operations/modeling/predicate-loader.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-loader.js +4 -3
- package/dist/operations/modeling/predicate-ranker.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-ranker.js +4 -1
- package/dist/operations/modeling/predicate-types.d.ts +1 -1
- package/dist/operations/modeling/predicate-types.d.ts.map +1 -1
- package/dist/operations/modeling/predicate-usage-hints-4.d.ts +3 -0
- package/dist/operations/modeling/predicate-usage-hints-4.d.ts.map +1 -0
- package/dist/operations/modeling/predicate-usage-hints-4.js +84 -0
- package/dist/operations/modeling/suggest-predicates.d.ts +4 -2
- package/dist/operations/modeling/suggest-predicates.d.ts.map +1 -1
- package/dist/operations/modeling/suggest-predicates.js +82 -22
- package/dist/operations/mutation/contradictions.d.ts +2 -1
- package/dist/operations/mutation/contradictions.d.ts.map +1 -1
- package/dist/operations/mutation/contradictions.js +26 -5
- package/dist/operations/mutation/delete.d.ts +3 -0
- package/dist/operations/mutation/delete.d.ts.map +1 -1
- package/dist/operations/mutation/delete.js +100 -32
- package/dist/operations/mutation/relationships.d.ts +1 -0
- package/dist/operations/mutation/relationships.d.ts.map +1 -1
- package/dist/operations/mutation/relationships.js +6 -4
- package/dist/operations/mutation/saga.d.ts +51 -0
- package/dist/operations/mutation/saga.d.ts.map +1 -0
- package/dist/operations/mutation/saga.js +67 -0
- package/dist/operations/mutation/serialization.d.ts.map +1 -1
- package/dist/operations/mutation/serialization.js +3 -2
- package/dist/operations/mutation/source-authoring.d.ts +5 -1
- package/dist/operations/mutation/source-authoring.d.ts.map +1 -1
- package/dist/operations/mutation/source-authoring.js +79 -46
- package/dist/operations/mutation/strict-fact.d.ts +1 -0
- package/dist/operations/mutation/strict-fact.d.ts.map +1 -1
- package/dist/operations/mutation/strict-fact.js +8 -5
- package/dist/operations/mutation/symbol-compiler-lock.d.ts +5 -2
- package/dist/operations/mutation/symbol-compiler-lock.d.ts.map +1 -1
- package/dist/operations/mutation/symbol-compiler-lock.js +65 -2
- package/dist/operations/mutation/symbol-granularity.d.ts.map +1 -1
- package/dist/operations/mutation/symbol-granularity.js +11 -89
- package/dist/operations/mutation/symbol-refresh.d.ts +1 -0
- package/dist/operations/mutation/symbol-refresh.d.ts.map +1 -1
- package/dist/operations/mutation/symbol-refresh.js +10 -8
- package/dist/operations/mutation/upsert.d.ts +18 -2
- package/dist/operations/mutation/upsert.d.ts.map +1 -1
- package/dist/operations/mutation/upsert.js +86 -54
- package/dist/operations/mutation/validate-upsert.js +2 -2
- package/dist/operations/mutation/validation.d.ts.map +1 -1
- package/dist/operations/mutation/validation.js +46 -4
- package/dist/operations/mutation/warnings.d.ts +1 -0
- package/dist/operations/mutation/warnings.d.ts.map +1 -1
- package/dist/operations/mutation/warnings.js +7 -5
- package/dist/operations/mutation/workspace-mutation-lock.d.ts +60 -0
- package/dist/operations/mutation/workspace-mutation-lock.d.ts.map +1 -0
- package/dist/operations/mutation/workspace-mutation-lock.js +362 -0
- package/dist/operations/planning/apply-plan.d.ts +8 -106
- package/dist/operations/planning/apply-plan.d.ts.map +1 -1
- package/dist/operations/planning/apply-plan.js +113 -36
- package/dist/operations/planning/compile-intent.d.ts +51 -0
- package/dist/operations/planning/compile-intent.d.ts.map +1 -1
- package/dist/operations/planning/compile-intent.js +133 -17
- package/dist/operations/proof/baseline-diff.d.ts +41 -0
- package/dist/operations/proof/baseline-diff.d.ts.map +1 -0
- package/dist/operations/proof/baseline-diff.js +153 -0
- package/dist/operations/proof/explain.d.ts +75 -0
- package/dist/operations/proof/explain.d.ts.map +1 -0
- package/dist/operations/proof/explain.js +294 -0
- package/dist/operations/proof/impact.d.ts +45 -0
- package/dist/operations/proof/impact.d.ts.map +1 -0
- package/dist/operations/proof/impact.js +118 -0
- package/dist/operations/proof/ingest-proof.d.ts +34 -0
- package/dist/operations/proof/ingest-proof.d.ts.map +1 -0
- package/dist/operations/proof/ingest-proof.js +348 -0
- package/dist/operations/proof/migrate-legacy-receipts.d.ts +30 -0
- package/dist/operations/proof/migrate-legacy-receipts.d.ts.map +1 -0
- package/dist/operations/proof/migrate-legacy-receipts.js +92 -0
- package/dist/operations/proof/prune-receipts.d.ts +35 -0
- package/dist/operations/proof/prune-receipts.d.ts.map +1 -0
- package/dist/operations/proof/prune-receipts.js +91 -0
- package/dist/operations/proof/receipt-document.d.ts +29 -0
- package/dist/operations/proof/receipt-document.d.ts.map +1 -0
- package/dist/operations/proof/receipt-document.js +117 -0
- package/dist/operations/semantic-advisor/analysis-receipt.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/analysis-receipt.js +3 -9
- package/dist/operations/semantic-advisor/analyze-prose.d.ts +1 -0
- package/dist/operations/semantic-advisor/analyze-prose.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/analyze-prose.js +64 -93
- package/dist/operations/semantic-advisor/clauses.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/clauses.js +20 -7
- package/dist/operations/semantic-advisor/plugin-orchestration.d.ts +63 -0
- package/dist/operations/semantic-advisor/plugin-orchestration.d.ts.map +1 -0
- package/dist/operations/semantic-advisor/plugin-orchestration.js +489 -0
- package/dist/operations/semantic-advisor/predicate-rules-core.d.ts +15 -2
- package/dist/operations/semantic-advisor/predicate-rules-core.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/predicate-rules-core.js +7 -140
- package/dist/operations/semantic-advisor/predicate-rules-launcher.d.ts +11 -12
- package/dist/operations/semantic-advisor/predicate-rules-launcher.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/predicate-rules-launcher.js +6 -94
- package/dist/operations/semantic-advisor/predicate-rules-policy.d.ts +16 -0
- package/dist/operations/semantic-advisor/predicate-rules-policy.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/predicate-rules-policy.js +7 -150
- package/dist/operations/semantic-advisor/predicate-rules-product-tail.d.ts +9 -0
- package/dist/operations/semantic-advisor/predicate-rules-product-tail.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/predicate-rules-product-tail.js +7 -102
- package/dist/operations/semantic-advisor/predicate-rules-product.d.ts +13 -0
- package/dist/operations/semantic-advisor/predicate-rules-product.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/predicate-rules-product.js +7 -133
- package/dist/operations/semantic-advisor/strict-count-rules.d.ts +2 -0
- package/dist/operations/semantic-advisor/strict-count-rules.d.ts.map +1 -1
- package/dist/operations/semantic-advisor/strict-count-rules.js +40 -25
- package/dist/operations/semantic-advisor/types.d.ts +1 -0
- package/dist/operations/semantic-advisor/types.d.ts.map +1 -1
- package/dist/plugins/compose-ontology-packs.d.ts +51 -0
- package/dist/plugins/compose-ontology-packs.d.ts.map +1 -0
- package/dist/plugins/compose-ontology-packs.js +257 -0
- package/dist/plugins/compose-semantic-classifier.d.ts +42 -0
- package/dist/plugins/compose-semantic-classifier.d.ts.map +1 -0
- package/dist/plugins/compose-semantic-classifier.js +211 -0
- package/dist/plugins/external-allowlist.d.ts +10 -0
- package/dist/plugins/external-allowlist.d.ts.map +1 -0
- package/dist/plugins/external-allowlist.js +16 -0
- package/dist/plugins/index.d.ts +9 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +33 -0
- package/dist/plugins/load-plugin.d.ts +19 -0
- package/dist/plugins/load-plugin.d.ts.map +1 -0
- package/dist/plugins/load-plugin.js +59 -0
- package/dist/plugins/project-config.d.ts +28 -0
- package/dist/plugins/project-config.d.ts.map +1 -0
- package/dist/plugins/project-config.js +90 -0
- package/dist/plugins/registry.d.ts +93 -0
- package/dist/plugins/registry.d.ts.map +1 -0
- package/dist/plugins/registry.js +338 -0
- package/dist/plugins/resolve-package.d.ts +47 -0
- package/dist/plugins/resolve-package.d.ts.map +1 -0
- package/dist/plugins/resolve-package.js +262 -0
- package/dist/plugins/source-analysis-service.d.ts +44 -0
- package/dist/plugins/source-analysis-service.d.ts.map +1 -0
- package/dist/plugins/source-analysis-service.js +232 -0
- package/dist/prolog/codec.d.ts +13 -1
- package/dist/prolog/codec.d.ts.map +1 -1
- package/dist/prolog/codec.js +269 -154
- package/dist/prolog/error-terms.d.ts +47 -0
- package/dist/prolog/error-terms.d.ts.map +1 -0
- package/dist/prolog/error-terms.js +334 -0
- package/dist/prolog/janitor.d.ts +50 -0
- package/dist/prolog/janitor.d.ts.map +1 -0
- package/dist/prolog/janitor.js +154 -0
- package/dist/prolog/store-lock.d.ts +45 -0
- package/dist/prolog/store-lock.d.ts.map +1 -0
- package/dist/prolog/store-lock.js +195 -0
- package/dist/prolog.d.ts +7 -0
- package/dist/prolog.d.ts.map +1 -1
- package/dist/prolog.js +55 -17
- package/dist/proof/evaluate.d.ts +27 -0
- package/dist/proof/evaluate.d.ts.map +1 -0
- package/dist/proof/evaluate.js +151 -0
- package/dist/proof/inspect.d.ts +12 -0
- package/dist/proof/inspect.d.ts.map +1 -0
- package/dist/proof/inspect.js +236 -0
- package/dist/proof/integrations.d.ts +35 -0
- package/dist/proof/integrations.d.ts.map +1 -0
- package/dist/proof/integrations.js +123 -0
- package/dist/proof/producers/junit-adapter.d.ts +26 -0
- package/dist/proof/producers/junit-adapter.d.ts.map +1 -0
- package/dist/proof/producers/junit-adapter.js +186 -0
- package/dist/{public → proof/producers}/playwright-case-id.d.ts +1 -1
- package/dist/proof/producers/playwright-case-id.d.ts.map +1 -0
- package/dist/{public → proof/producers}/playwright-case-id.js +1 -1
- package/dist/proof/producers/playwright-reporter.d.ts +27 -0
- package/dist/proof/producers/playwright-reporter.d.ts.map +1 -0
- package/dist/proof/producers/playwright-reporter.js +138 -0
- package/dist/proof/producers/tap-adapter.d.ts +10 -0
- package/dist/proof/producers/tap-adapter.d.ts.map +1 -0
- package/dist/proof/producers/tap-adapter.js +200 -0
- package/dist/proof/receipt-outcome.d.ts +2 -0
- package/dist/proof/receipt-outcome.d.ts.map +1 -0
- package/dist/proof/receipt-outcome.js +1 -0
- package/dist/public/diagnostic-usage.js +6 -6
- package/dist/public/distribution-parity.d.ts +7 -1
- package/dist/public/distribution-parity.d.ts.map +1 -1
- package/dist/public/distribution-parity.js +15 -10
- package/dist/public/extractors/symbols-coordinator.d.ts +1 -1
- package/dist/public/extractors/symbols-coordinator.d.ts.map +1 -1
- package/dist/public/extractors/symbols-coordinator.js +1 -1
- package/dist/public/impact/analyzer.d.ts +1 -1
- package/dist/public/impact/analyzer.d.ts.map +1 -1
- package/dist/public/impact/analyzer.js +6 -4
- package/dist/public/impact/coverage-depth-quality.d.ts +1 -0
- package/dist/public/impact/coverage-depth-quality.d.ts.map +1 -1
- package/dist/public/impact/coverage-depth-quality.js +1 -1
- package/dist/public/impact/diagnostics.d.ts.map +1 -1
- package/dist/public/impact/diagnostics.js +2 -2
- package/dist/public/impact/diff-meaning.d.ts +1 -0
- package/dist/public/impact/diff-meaning.d.ts.map +1 -1
- package/dist/public/impact/diff-meaning.js +5 -2
- package/dist/public/impact/full-kb-quality.d.ts +5 -2
- package/dist/public/impact/full-kb-quality.d.ts.map +1 -1
- package/dist/public/impact/full-kb-quality.js +329 -64
- package/dist/public/operations/catalog.d.ts +450 -196
- package/dist/public/operations/catalog.d.ts.map +1 -1
- package/dist/public/operations/catalog.js +6 -4
- package/dist/public/operations/check-executor.d.ts.map +1 -1
- package/dist/public/operations/check-executor.js +4 -8
- package/dist/public/operations/check-helpers.d.ts +1 -1
- package/dist/public/operations/check-helpers.d.ts.map +1 -1
- package/dist/public/operations/check-helpers.js +1 -1
- package/dist/public/operations/contracts.d.ts +7 -0
- package/dist/public/operations/contracts.d.ts.map +1 -1
- package/dist/public/operations/contracts.js +66 -34
- package/dist/public/operations/discovery-entities.d.ts +15 -0
- package/dist/public/operations/discovery-entities.d.ts.map +1 -1
- package/dist/public/operations/discovery-entities.js +38 -0
- package/dist/public/operations/discovery-executors.d.ts +9 -9
- package/dist/public/operations/discovery-executors.d.ts.map +1 -1
- package/dist/public/operations/discovery-executors.js +39 -31
- package/dist/public/operations/index.d.ts +1 -1
- package/dist/public/operations/index.d.ts.map +1 -1
- package/dist/public/operations/index.js +1 -1
- package/dist/public/operations/migration-plan.d.ts +4 -3
- package/dist/public/operations/migration-plan.d.ts.map +1 -1
- package/dist/public/operations/migration-plan.js +23 -21
- package/dist/public/operations/node-ports.js +6 -6
- package/dist/public/operations/prolog-json.d.ts +1 -1
- package/dist/public/operations/prolog-json.d.ts.map +1 -1
- package/dist/public/operations/prolog-json.js +7 -7
- package/dist/public/operations/repair-plan.d.ts +3 -3
- package/dist/public/operations/repair-plan.d.ts.map +1 -1
- package/dist/public/operations/repair-plan.js +49 -19
- package/dist/public/operations/result-envelope.d.ts +1 -0
- package/dist/public/operations/result-envelope.d.ts.map +1 -1
- package/dist/public/operations/result-envelope.js +12 -10
- package/dist/public/operations/runtime-types.d.ts +21 -1
- package/dist/public/operations/runtime-types.d.ts.map +1 -1
- package/dist/public/operations/specs/check-rules.generated.d.ts +5 -0
- package/dist/public/operations/specs/check-rules.generated.d.ts.map +1 -0
- package/dist/public/operations/specs/check-rules.generated.js +35 -0
- package/dist/public/operations/specs/check.d.ts +7 -2
- package/dist/public/operations/specs/check.d.ts.map +1 -1
- package/dist/public/operations/specs/check.js +8 -20
- package/dist/public/operations/specs/discovery.d.ts +3 -0
- package/dist/public/operations/specs/discovery.d.ts.map +1 -1
- package/dist/public/operations/specs/discovery.js +3 -0
- package/dist/public/operations/specs/mutation-schemas.d.ts +257 -163
- package/dist/public/operations/specs/mutation-schemas.d.ts.map +1 -1
- package/dist/public/operations/specs/mutation-schemas.js +15 -7
- package/dist/public/operations/specs/planning.d.ts +9 -0
- package/dist/public/operations/specs/planning.d.ts.map +1 -1
- package/dist/public/operations/specs/planning.js +6 -0
- package/dist/public/operations/specs/proof.d.ts +212 -0
- package/dist/public/operations/specs/proof.d.ts.map +1 -0
- package/dist/public/operations/specs/proof.js +30 -0
- package/dist/public/operations/specs/reporting.d.ts +20 -0
- package/dist/public/operations/specs/reporting.d.ts.map +1 -1
- package/dist/public/operations/specs/reporting.js +112 -12
- package/dist/public/operations/specs/semantic.d.ts +1 -1
- package/dist/public/operations/specs/semantic.d.ts.map +1 -1
- package/dist/public/operations/specs/semantic.js +54 -4
- package/dist/public/operations/specs/upsert.d.ts +257 -163
- package/dist/public/operations/specs/upsert.d.ts.map +1 -1
- package/dist/public/operations/symbol-repair-plan.d.ts +11 -0
- package/dist/public/operations/symbol-repair-plan.d.ts.map +1 -1
- package/dist/public/operations/symbol-repair-plan.js +121 -4
- package/dist/public/operations/types.d.ts +6 -1
- package/dist/public/operations/types.d.ts.map +1 -1
- package/dist/public/proof-fingerprint.d.ts +54 -0
- package/dist/public/proof-fingerprint.d.ts.map +1 -0
- package/dist/public/proof-fingerprint.js +141 -0
- package/dist/public/proof-protocol.d.ts +354 -0
- package/dist/public/proof-protocol.d.ts.map +1 -0
- package/dist/public/proof-protocol.js +454 -0
- package/dist/public/proof-receipt.d.ts +279 -0
- package/dist/public/proof-receipt.d.ts.map +1 -0
- package/dist/public/proof-receipt.js +377 -0
- package/dist/public/schemas/entity.d.ts.map +1 -1
- package/dist/public/schemas/entity.js +21 -7
- package/dist/public/skills/kibi-freshness/SKILL.md +1 -1
- package/dist/public/skills/kibi-usage/SKILL.md +44 -12
- package/dist/public/skills/kibi-usage/resources/operation-access.md +1 -1
- package/dist/public/skills/kibi-usage/resources/proof.md +150 -0
- package/dist/public/skills/kibi-usage/resources/workflows.md +6 -6
- package/dist/public/symbol-granularity.d.ts +3 -14
- package/dist/public/symbol-granularity.d.ts.map +1 -1
- package/dist/public/symbol-granularity.generated.d.ts +16 -0
- package/dist/public/symbol-granularity.generated.d.ts.map +1 -0
- package/dist/public/symbol-granularity.generated.js +53 -0
- package/dist/public/symbol-granularity.js +6 -47
- package/dist/public/telemetry-acceptance.d.ts +3 -77
- package/dist/public/telemetry-acceptance.d.ts.map +1 -1
- package/dist/public/telemetry-acceptance.js +4 -2
- package/dist/public/telemetry-remediation.js +1 -1
- package/dist/report/html-report.css +1240 -0
- package/dist/report/html-report.d.ts +4 -2
- package/dist/report/html-report.d.ts.map +1 -1
- package/dist/report/html-report.js +37 -300
- package/dist/runtime/cli-runtime.d.ts +2 -0
- package/dist/runtime/cli-runtime.d.ts.map +1 -1
- package/dist/runtime/cli-runtime.js +32 -7
- package/dist/schemas/entity.schema.json +355 -215
- package/dist/search-ranking.d.ts +1 -0
- package/dist/search-ranking.d.ts.map +1 -1
- package/dist/search-ranking.js +3 -0
- package/dist/traceability/evidence-model.d.ts +28 -0
- package/dist/traceability/evidence-model.d.ts.map +1 -1
- package/dist/traceability/git-staged.d.ts +20 -0
- package/dist/traceability/git-staged.d.ts.map +1 -1
- package/dist/traceability/git-staged.js +145 -1
- package/dist/traceability/staged-diagnostics.d.ts +7 -0
- package/dist/traceability/staged-diagnostics.d.ts.map +1 -1
- package/dist/traceability/staged-diagnostics.js +78 -7
- package/dist/traceability/staged-file-coverage.d.ts +33 -0
- package/dist/traceability/staged-file-coverage.d.ts.map +1 -0
- package/dist/traceability/staged-file-coverage.js +284 -0
- package/dist/traceability/staged-impact-contract.js +4 -4
- package/dist/traceability/staged-symbols-manifest.d.ts +13 -0
- package/dist/traceability/staged-symbols-manifest.d.ts.map +1 -1
- package/dist/traceability/staged-symbols-manifest.js +138 -27
- package/dist/traceability/symbol-extract.d.ts +24 -2
- package/dist/traceability/symbol-extract.d.ts.map +1 -1
- package/dist/traceability/symbol-extract.js +64 -208
- package/dist/traceability/temp-kb.d.ts +2 -0
- package/dist/traceability/temp-kb.d.ts.map +1 -1
- package/dist/traceability/temp-kb.js +13 -4
- package/dist/types/entities.d.ts +5 -3
- package/dist/types/entities.d.ts.map +1 -1
- package/dist/utils/branch-resolver.d.ts +1 -0
- package/dist/utils/branch-resolver.d.ts.map +1 -1
- package/dist/utils/branch-resolver.js +7 -4
- package/dist/utils/branch-store.d.ts +6 -0
- package/dist/utils/branch-store.d.ts.map +1 -1
- package/dist/utils/branch-store.js +27 -0
- package/dist/utils/kb-paths.d.ts +1 -1
- package/dist/utils/kb-paths.d.ts.map +1 -1
- package/dist/utils/kb-paths.js +1 -1
- package/dist/utils/rule-registry.d.ts +1 -11
- package/dist/utils/rule-registry.d.ts.map +1 -1
- package/dist/utils/rule-registry.generated.d.ts +102 -0
- package/dist/utils/rule-registry.generated.d.ts.map +1 -0
- package/dist/utils/rule-registry.generated.js +131 -0
- package/dist/utils/rule-registry.js +12 -113
- package/dist/utils/strict-modeling.d.ts +1 -0
- package/dist/utils/strict-modeling.d.ts.map +1 -1
- package/dist/utils/strict-modeling.js +1 -1
- package/package.json +20 -20
- package/src/public/diagnostic-usage.ts +6 -6
- package/src/public/distribution-parity.ts +17 -10
- package/src/public/extractors/symbols-coordinator.ts +1 -0
- package/src/public/impact/analyzer.ts +15 -12
- package/src/public/impact/coverage-depth-quality.ts +1 -1
- package/src/public/impact/diagnostics.ts +2 -1
- package/src/public/impact/diff-meaning.ts +11 -4
- package/src/public/impact/full-kb-quality.ts +463 -72
- package/src/public/operations/catalog.ts +10 -4
- package/src/public/operations/check-executor.ts +4 -8
- package/src/public/operations/check-helpers.ts +2 -2
- package/src/public/operations/contracts.ts +78 -34
- package/src/public/operations/discovery-entities.ts +53 -0
- package/src/public/operations/discovery-executors.ts +64 -48
- package/src/public/operations/index.ts +1 -1
- package/src/public/operations/migration-plan.ts +32 -25
- package/src/public/operations/node-ports.ts +6 -6
- package/src/public/operations/prolog-json.ts +13 -5
- package/src/public/operations/repair-plan.ts +60 -23
- package/src/public/operations/result-envelope.ts +15 -10
- package/src/public/operations/runtime-types.ts +26 -2
- package/src/public/operations/specs/check-rules.generated.ts +38 -0
- package/src/public/operations/specs/check.ts +12 -21
- package/src/public/operations/specs/discovery.ts +3 -0
- package/src/public/operations/specs/mutation-schemas.ts +22 -9
- package/src/public/operations/specs/planning.ts +7 -0
- package/src/public/operations/specs/proof.ts +43 -0
- package/src/public/operations/specs/reporting.ts +140 -13
- package/src/public/operations/specs/semantic.ts +79 -17
- package/src/public/operations/symbol-repair-plan.ts +166 -7
- package/src/public/operations/types.ts +6 -1
- package/src/public/proof-fingerprint.ts +216 -0
- package/src/public/proof-protocol-types.d.ts +96 -0
- package/src/public/proof-protocol.ts +589 -0
- package/src/public/proof-receipt.ts +499 -0
- package/src/public/schemas/entity.ts +26 -10
- package/src/public/skills/kibi-freshness/SKILL.md +1 -1
- package/src/public/skills/kibi-usage/SKILL.md +44 -12
- package/src/public/skills/kibi-usage/resources/operation-access.md +1 -1
- package/src/public/skills/kibi-usage/resources/proof.md +150 -0
- package/src/public/skills/kibi-usage/resources/workflows.md +6 -6
- package/src/public/symbol-granularity.generated.ts +74 -0
- package/src/public/symbol-granularity.ts +34 -59
- package/src/public/telemetry-acceptance-types.d.ts +98 -0
- package/src/public/telemetry-acceptance.ts +22 -100
- package/src/public/telemetry-remediation.ts +1 -1
- package/src/schemas/entity.schema.json +355 -215
- package/dist/cli-register-verification.d.ts +0 -3
- package/dist/cli-register-verification.d.ts.map +0 -1
- package/dist/cli-register-verification.js +0 -16
- package/dist/commands/verify.d.ts +0 -10
- package/dist/commands/verify.d.ts.map +0 -1
- package/dist/commands/verify.js +0 -126
- package/dist/operations/verification/ingest-verification.d.ts +0 -29
- package/dist/operations/verification/ingest-verification.d.ts.map +0 -1
- package/dist/operations/verification/ingest-verification.js +0 -192
- package/dist/public/operations/specs/verification.d.ts +0 -78
- package/dist/public/operations/specs/verification.d.ts.map +0 -1
- package/dist/public/operations/specs/verification.js +0 -62
- package/dist/public/playwright-case-id.d.ts.map +0 -1
- package/dist/public/verification-receipt.d.ts +0 -242
- package/dist/public/verification-receipt.d.ts.map +0 -1
- package/dist/public/verification-receipt.js +0 -296
- package/dist/verification/playwright-reporter.d.ts +0 -21
- package/dist/verification/playwright-reporter.d.ts.map +0 -1
- package/dist/verification/playwright-reporter.js +0 -114
- package/src/public/operations/specs/verification.ts +0 -78
- package/src/public/playwright-case-id.ts +0 -35
- package/src/public/verification-receipt.ts +0 -412
|
@@ -15,451 +15,56 @@
|
|
|
15
15
|
You should have received a copy of the GNU Affero General Public License
|
|
16
16
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
17
|
*/
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
".jsx",
|
|
26
|
-
".mts",
|
|
27
|
-
".cts",
|
|
28
|
-
".mjs",
|
|
29
|
-
".cjs",
|
|
30
|
-
]);
|
|
18
|
+
import { createBuiltinTsMorphSourceAnalysisProvider, enrichSymbolCoordinatesWithTsMorph as enrichBuiltinSymbolCoordinates, isPrivateClassMember as isBuiltinPrivateClassMember, onlyCandidate as onlyBuiltinCandidate, } from "kibi-plugin-builtin";
|
|
19
|
+
// implements REQ-capability-plugin-builtin-parity-v1
|
|
20
|
+
export const isPrivateClassMember = isBuiltinPrivateClassMember;
|
|
21
|
+
/**
|
|
22
|
+
* Thin host adapter over kibi-plugin-builtin's ts-morph extractor.
|
|
23
|
+
* Preserves the historical `ts-morph` provider id for sync callers and tests.
|
|
24
|
+
*/
|
|
31
25
|
// implements REQ-001
|
|
32
26
|
export function createTsMorphSourceAnalysisProvider() {
|
|
33
|
-
const
|
|
34
|
-
skipAddingFilesFromTsConfig: true,
|
|
35
|
-
});
|
|
27
|
+
const provider = createBuiltinTsMorphSourceAnalysisProvider();
|
|
36
28
|
return {
|
|
37
29
|
id: "ts-morph",
|
|
38
30
|
supportsFile(filePath) {
|
|
39
|
-
return
|
|
31
|
+
return provider.supportsFile(filePath);
|
|
40
32
|
},
|
|
41
33
|
analyzeText(filePath, content) {
|
|
42
|
-
const
|
|
43
|
-
overwrite: true,
|
|
44
|
-
scriptKind: chooseScriptKind(filePath),
|
|
45
|
-
});
|
|
34
|
+
const result = provider.analyzeText(filePath, content);
|
|
46
35
|
return {
|
|
47
|
-
sourceFile:
|
|
48
|
-
language:
|
|
36
|
+
sourceFile: result.sourceFile,
|
|
37
|
+
language: result.language,
|
|
49
38
|
providerId: "ts-morph",
|
|
50
39
|
module: {
|
|
51
|
-
title:
|
|
52
|
-
language:
|
|
53
|
-
analysisMode:
|
|
40
|
+
title: result.module.title,
|
|
41
|
+
language: result.module.language,
|
|
42
|
+
analysisMode: result.module.analysisMode,
|
|
43
|
+
...(result.module.fallbackReason
|
|
44
|
+
? { fallbackReason: result.module.fallbackReason }
|
|
45
|
+
: {}),
|
|
54
46
|
},
|
|
55
|
-
symbols:
|
|
47
|
+
symbols: result.symbols.map((symbol) => ({
|
|
48
|
+
name: symbol.name,
|
|
49
|
+
kind: symbol.kind,
|
|
50
|
+
startLine: symbol.startLine,
|
|
51
|
+
startColumn: symbol.startColumn,
|
|
52
|
+
endLine: symbol.endLine,
|
|
53
|
+
endColumn: symbol.endColumn,
|
|
54
|
+
...(symbol.directiveText
|
|
55
|
+
? { directiveText: symbol.directiveText }
|
|
56
|
+
: {}),
|
|
57
|
+
})),
|
|
56
58
|
};
|
|
57
59
|
},
|
|
58
60
|
};
|
|
59
61
|
}
|
|
62
|
+
// implements REQ-capability-plugin-builtin-parity-v1
|
|
60
63
|
export async function enrichSymbolCoordinatesWithTsMorph(entries, workspaceRoot) {
|
|
61
64
|
// implements REQ-vscode-traceability
|
|
62
|
-
|
|
63
|
-
skipAddingFilesFromTsConfig: true,
|
|
64
|
-
});
|
|
65
|
-
const sourceFileCache = new Map();
|
|
66
|
-
const enriched = [];
|
|
67
|
-
for (const entry of entries) {
|
|
68
|
-
try {
|
|
69
|
-
const absolutePath = await resolveSourcePath(entry.sourceFile, workspaceRoot);
|
|
70
|
-
if (!absolutePath) {
|
|
71
|
-
enriched.push(entry);
|
|
72
|
-
continue;
|
|
73
|
-
}
|
|
74
|
-
const sourceFile = getOrAddSourceFile(project, sourceFileCache, absolutePath);
|
|
75
|
-
if (!sourceFile) {
|
|
76
|
-
enriched.push(await enrichWithTextFallback(entry, absolutePath));
|
|
77
|
-
continue;
|
|
78
|
-
}
|
|
79
|
-
const match = findNamedDeclaration(sourceFile, entry.title);
|
|
80
|
-
if (!match) {
|
|
81
|
-
enriched.push(entry);
|
|
82
|
-
continue;
|
|
83
|
-
}
|
|
84
|
-
const nameStart = match.getNameNode().getStart();
|
|
85
|
-
const end = match.node.getEnd();
|
|
86
|
-
const startLc = sourceFile.getLineAndColumnAtPos(nameStart);
|
|
87
|
-
const endLc = sourceFile.getLineAndColumnAtPos(end);
|
|
88
|
-
const coordinates = {
|
|
89
|
-
sourceLine: startLc.line,
|
|
90
|
-
sourceColumn: Math.max(0, startLc.column - 1),
|
|
91
|
-
sourceEndLine: endLc.line,
|
|
92
|
-
sourceEndColumn: Math.max(0, endLc.column - 1),
|
|
93
|
-
coordinatesGeneratedAt: new Date().toISOString(),
|
|
94
|
-
};
|
|
95
|
-
enriched.push({
|
|
96
|
-
...entry,
|
|
97
|
-
...coordinates,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
catch (error) {
|
|
101
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
102
|
-
console.warn(`[kibi] Failed to enrich symbol coordinates for ${entry.id}: ${message}`);
|
|
103
|
-
const absolutePath = await resolveSourcePath(entry.sourceFile, workspaceRoot);
|
|
104
|
-
if (!absolutePath) {
|
|
105
|
-
enriched.push(entry);
|
|
106
|
-
continue;
|
|
107
|
-
}
|
|
108
|
-
enriched.push(await enrichWithTextFallback(entry, absolutePath));
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
return enriched;
|
|
112
|
-
}
|
|
113
|
-
async function resolveSourcePath(sourceFile, workspaceRoot) {
|
|
114
|
-
if (!sourceFile)
|
|
115
|
-
return null;
|
|
116
|
-
const absolute = path.isAbsolute(sourceFile)
|
|
117
|
-
? sourceFile
|
|
118
|
-
: path.resolve(workspaceRoot, sourceFile);
|
|
119
|
-
const ext = path.extname(absolute).toLowerCase();
|
|
120
|
-
if (!SUPPORTED_SOURCE_EXTENSIONS.has(ext))
|
|
121
|
-
return null;
|
|
122
|
-
try {
|
|
123
|
-
await access(absolute);
|
|
124
|
-
}
|
|
125
|
-
catch {
|
|
126
|
-
return null;
|
|
127
|
-
}
|
|
128
|
-
return absolute;
|
|
129
|
-
}
|
|
130
|
-
function getOrAddSourceFile(project, cache, absolutePath) {
|
|
131
|
-
const cached = cache.get(absolutePath);
|
|
132
|
-
if (cached)
|
|
133
|
-
return cached;
|
|
134
|
-
try {
|
|
135
|
-
const sourceFile = project.addSourceFileAtPath(absolutePath);
|
|
136
|
-
cache.set(absolutePath, sourceFile);
|
|
137
|
-
return sourceFile;
|
|
138
|
-
}
|
|
139
|
-
catch {
|
|
140
|
-
return null;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
function enrichWithTextFallback(entry, absolutePath) {
|
|
144
|
-
return enrichWithTextFallbackInternal(entry, absolutePath);
|
|
145
|
-
}
|
|
146
|
-
async function enrichWithTextFallbackInternal(entry, absolutePath) {
|
|
147
|
-
try {
|
|
148
|
-
const content = await readFile(absolutePath, "utf8");
|
|
149
|
-
const lines = content.split(/\r?\n/);
|
|
150
|
-
const escapedTitle = entry.title.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
151
|
-
const pattern = new RegExp(`\\b${escapedTitle}\\b`);
|
|
152
|
-
for (let index = 0; index < lines.length; index++) {
|
|
153
|
-
const line = lines[index];
|
|
154
|
-
if (!line)
|
|
155
|
-
continue;
|
|
156
|
-
const match = pattern.exec(line);
|
|
157
|
-
if (!match || match.index < 0)
|
|
158
|
-
continue;
|
|
159
|
-
return {
|
|
160
|
-
...entry,
|
|
161
|
-
sourceLine: index + 1,
|
|
162
|
-
sourceColumn: match.index,
|
|
163
|
-
sourceEndLine: index + 1,
|
|
164
|
-
sourceEndColumn: match.index + entry.title.length,
|
|
165
|
-
coordinatesGeneratedAt: new Date().toISOString(),
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
return entry;
|
|
169
|
-
}
|
|
170
|
-
catch {
|
|
171
|
-
return entry;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
function collectSourceSymbols(sourceFile) {
|
|
175
|
-
const symbols = [];
|
|
176
|
-
for (const decl of sourceFile.getFunctions()) {
|
|
177
|
-
if (!decl.isExported())
|
|
178
|
-
continue;
|
|
179
|
-
symbols.push(toSourceSymbolAnalysis(sourceFile, decl.getName() ?? "<anonymous>", "function", decl.getNameNode() ?? decl, decl, `${decl.getFullText()}\n${decl
|
|
180
|
-
.getJsDocs()
|
|
181
|
-
.map((doc) => doc.getFullText())
|
|
182
|
-
.join("\n")}`));
|
|
183
|
-
}
|
|
184
|
-
for (const decl of sourceFile.getClasses()) {
|
|
185
|
-
if (!decl.isExported())
|
|
186
|
-
continue;
|
|
187
|
-
symbols.push(toSourceSymbolAnalysis(sourceFile, decl.getName() ?? "<anonymous>", "class", decl.getNameNode() ?? decl, decl, decl
|
|
188
|
-
.getJsDocs()
|
|
189
|
-
.map((doc) => doc.getFullText())
|
|
190
|
-
.join("\n")));
|
|
191
|
-
for (const method of decl.getMethods()) {
|
|
192
|
-
if (isPrivateClassMember(method))
|
|
193
|
-
continue;
|
|
194
|
-
symbols.push(toSourceSymbolAnalysis(sourceFile, formatMethodSymbolName(decl.getName(), method.getName()), "method", method.getNameNode() ?? method, method, `${method.getFullText()}\n${method
|
|
195
|
-
.getJsDocs()
|
|
196
|
-
.map((doc) => doc.getFullText())
|
|
197
|
-
.join("\n")}`));
|
|
198
|
-
}
|
|
199
|
-
for (const property of decl.getProperties()) {
|
|
200
|
-
if (isPrivateClassMember(property))
|
|
201
|
-
continue;
|
|
202
|
-
symbols.push(toSourceSymbolAnalysis(sourceFile, formatMethodSymbolName(decl.getName(), property.getName()), "property", property.getNameNode() ?? property, property, `${property.getFullText()}\n${property
|
|
203
|
-
.getJsDocs()
|
|
204
|
-
.map((doc) => doc.getFullText())
|
|
205
|
-
.join("\n")}`));
|
|
206
|
-
}
|
|
207
|
-
for (const accessor of [
|
|
208
|
-
...decl.getGetAccessors(),
|
|
209
|
-
...decl.getSetAccessors(),
|
|
210
|
-
]) {
|
|
211
|
-
if (isPrivateClassMember(accessor))
|
|
212
|
-
continue;
|
|
213
|
-
symbols.push(toSourceSymbolAnalysis(sourceFile, formatMethodSymbolName(decl.getName(), accessor.getName()), "accessor", accessor.getNameNode() ?? accessor, accessor, `${accessor.getFullText()}\n${accessor
|
|
214
|
-
.getJsDocs()
|
|
215
|
-
.map((doc) => doc.getFullText())
|
|
216
|
-
.join("\n")}`));
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
for (const decl of sourceFile.getInterfaces()) {
|
|
220
|
-
if (!decl.isExported())
|
|
221
|
-
continue;
|
|
222
|
-
symbols.push(toSourceSymbolAnalysis(sourceFile, decl.getName() ?? "<anonymous>", "interface", decl.getNameNode() ?? decl, decl, decl.getText()));
|
|
223
|
-
}
|
|
224
|
-
for (const decl of sourceFile.getTypeAliases()) {
|
|
225
|
-
if (!decl.isExported())
|
|
226
|
-
continue;
|
|
227
|
-
symbols.push(toSourceSymbolAnalysis(sourceFile, decl.getName() ?? "<anonymous>", "type", decl.getNameNode() ?? decl, decl, decl.getText()));
|
|
228
|
-
}
|
|
229
|
-
for (const decl of sourceFile.getEnums()) {
|
|
230
|
-
if (!decl.isExported())
|
|
231
|
-
continue;
|
|
232
|
-
symbols.push(toSourceSymbolAnalysis(sourceFile, decl.getName() ?? "<anonymous>", "enum", decl.getNameNode() ?? decl, decl, decl.getText()));
|
|
233
|
-
}
|
|
234
|
-
for (const statement of sourceFile.getVariableStatements()) {
|
|
235
|
-
if (!statement.isExported())
|
|
236
|
-
continue;
|
|
237
|
-
for (const declaration of statement.getDeclarations()) {
|
|
238
|
-
symbols.push(toSourceSymbolAnalysis(sourceFile, declaration.getName(), "variable", declaration.getNameNode() ?? declaration, declaration, declaration.getText()));
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
return symbols;
|
|
65
|
+
return enrichBuiltinSymbolCoordinates(entries, workspaceRoot);
|
|
242
66
|
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
function toSourceSymbolAnalysis(sourceFile, name, kind, startNode, endNode, directiveText) {
|
|
248
|
-
const start = sourceFile.getLineAndColumnAtPos(startNode.getStart());
|
|
249
|
-
const end = sourceFile.getLineAndColumnAtPos(endNode.getEnd());
|
|
250
|
-
return {
|
|
251
|
-
name,
|
|
252
|
-
kind,
|
|
253
|
-
startLine: start.line,
|
|
254
|
-
startColumn: Math.max(0, start.column - 1),
|
|
255
|
-
endLine: end.line,
|
|
256
|
-
endColumn: Math.max(0, end.column - 1),
|
|
257
|
-
directiveText,
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
function formatMethodSymbolName(className, methodName) {
|
|
261
|
-
return className ? `${className}.${methodName}` : methodName;
|
|
262
|
-
}
|
|
263
|
-
function chooseScriptKind(filePath) {
|
|
264
|
-
const lower = filePath.toLowerCase();
|
|
265
|
-
if (lower.endsWith(".tsx"))
|
|
266
|
-
return ScriptKind.TSX;
|
|
267
|
-
if (lower.endsWith(".ts") ||
|
|
268
|
-
lower.endsWith(".mts") ||
|
|
269
|
-
lower.endsWith(".cts")) {
|
|
270
|
-
return ScriptKind.TS;
|
|
271
|
-
}
|
|
272
|
-
if (lower.endsWith(".jsx"))
|
|
273
|
-
return ScriptKind.JSX;
|
|
274
|
-
return ScriptKind.JS;
|
|
275
|
-
}
|
|
276
|
-
function inferSourceLanguage(filePath) {
|
|
277
|
-
const extension = path.extname(filePath).toLowerCase();
|
|
278
|
-
if ([".ts", ".tsx", ".mts", ".cts"].includes(extension)) {
|
|
279
|
-
return "typescript";
|
|
280
|
-
}
|
|
281
|
-
return "javascript";
|
|
282
|
-
}
|
|
283
|
-
function inferModuleTitle(filePath) {
|
|
284
|
-
const extension = path.extname(filePath);
|
|
285
|
-
const basename = path.basename(filePath, extension);
|
|
286
|
-
return basename.length > 0 ? basename : path.basename(filePath);
|
|
287
|
-
}
|
|
288
|
-
function findNamedDeclaration(sourceFile, title) {
|
|
289
|
-
const qualifiedMethod = parseQualifiedMethodTitle(title);
|
|
290
|
-
if (qualifiedMethod) {
|
|
291
|
-
for (const cls of sourceFile.getClasses()) {
|
|
292
|
-
if (cls.getName() !== qualifiedMethod.className)
|
|
293
|
-
continue;
|
|
294
|
-
for (const method of cls.getMethods()) {
|
|
295
|
-
if (method.getName() !== qualifiedMethod.methodName)
|
|
296
|
-
continue;
|
|
297
|
-
const nameNode = method.getNameNode();
|
|
298
|
-
if (!nameNode)
|
|
299
|
-
continue;
|
|
300
|
-
return { node: method, getNameNode: () => nameNode };
|
|
301
|
-
}
|
|
302
|
-
for (const property of cls.getProperties()) {
|
|
303
|
-
if (property.getName() !== qualifiedMethod.methodName)
|
|
304
|
-
continue;
|
|
305
|
-
const nameNode = property.getNameNode();
|
|
306
|
-
if (!nameNode)
|
|
307
|
-
continue;
|
|
308
|
-
return { node: property, getNameNode: () => nameNode };
|
|
309
|
-
}
|
|
310
|
-
for (const accessor of [
|
|
311
|
-
...cls.getGetAccessors(),
|
|
312
|
-
...cls.getSetAccessors(),
|
|
313
|
-
]) {
|
|
314
|
-
if (accessor.getName() !== qualifiedMethod.methodName)
|
|
315
|
-
continue;
|
|
316
|
-
const nameNode = accessor.getNameNode();
|
|
317
|
-
if (!nameNode)
|
|
318
|
-
continue;
|
|
319
|
-
return { node: accessor, getNameNode: () => nameNode };
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
return null;
|
|
323
|
-
}
|
|
324
|
-
const candidates = [];
|
|
325
|
-
for (const decl of sourceFile.getFunctions()) {
|
|
326
|
-
if (!decl.isExported())
|
|
327
|
-
continue;
|
|
328
|
-
if (decl.getName() !== title)
|
|
329
|
-
continue;
|
|
330
|
-
const nameNode = decl.getNameNode();
|
|
331
|
-
if (!nameNode)
|
|
332
|
-
continue;
|
|
333
|
-
candidates.push({ node: decl, getNameNode: () => nameNode });
|
|
334
|
-
}
|
|
335
|
-
for (const decl of sourceFile.getClasses()) {
|
|
336
|
-
if (!decl.isExported())
|
|
337
|
-
continue;
|
|
338
|
-
if (decl.getName() !== title)
|
|
339
|
-
continue;
|
|
340
|
-
const nameNode = decl.getNameNode();
|
|
341
|
-
if (!nameNode)
|
|
342
|
-
continue;
|
|
343
|
-
candidates.push({ node: decl, getNameNode: () => nameNode });
|
|
344
|
-
}
|
|
345
|
-
for (const decl of sourceFile.getInterfaces()) {
|
|
346
|
-
if (!decl.isExported())
|
|
347
|
-
continue;
|
|
348
|
-
if (decl.getName() !== title)
|
|
349
|
-
continue;
|
|
350
|
-
const nameNode = decl.getNameNode();
|
|
351
|
-
if (!nameNode)
|
|
352
|
-
continue;
|
|
353
|
-
candidates.push({ node: decl, getNameNode: () => nameNode });
|
|
354
|
-
}
|
|
355
|
-
for (const decl of sourceFile.getTypeAliases()) {
|
|
356
|
-
if (!decl.isExported())
|
|
357
|
-
continue;
|
|
358
|
-
if (decl.getName() !== title)
|
|
359
|
-
continue;
|
|
360
|
-
const nameNode = decl.getNameNode();
|
|
361
|
-
if (!nameNode)
|
|
362
|
-
continue;
|
|
363
|
-
candidates.push({ node: decl, getNameNode: () => nameNode });
|
|
364
|
-
}
|
|
365
|
-
for (const decl of sourceFile.getEnums()) {
|
|
366
|
-
if (!decl.isExported())
|
|
367
|
-
continue;
|
|
368
|
-
if (decl.getName() !== title)
|
|
369
|
-
continue;
|
|
370
|
-
const nameNode = decl.getNameNode();
|
|
371
|
-
if (!nameNode)
|
|
372
|
-
continue;
|
|
373
|
-
candidates.push({ node: decl, getNameNode: () => nameNode });
|
|
374
|
-
}
|
|
375
|
-
for (const statement of sourceFile.getVariableStatements()) {
|
|
376
|
-
if (!statement.isExported())
|
|
377
|
-
continue;
|
|
378
|
-
for (const declaration of statement.getDeclarations()) {
|
|
379
|
-
if (declaration.getName() !== title)
|
|
380
|
-
continue;
|
|
381
|
-
const nameNode = declaration.getNameNode();
|
|
382
|
-
candidates.push({ node: declaration, getNameNode: () => nameNode });
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
if (candidates.length === 0) {
|
|
386
|
-
// Second pass: unique non-exported top-level functions only
|
|
387
|
-
const internalCandidates = [];
|
|
388
|
-
for (const decl of sourceFile.getFunctions()) {
|
|
389
|
-
if (decl.isExported())
|
|
390
|
-
continue; // Already scanned in first pass
|
|
391
|
-
if (decl.getName() !== title)
|
|
392
|
-
continue;
|
|
393
|
-
const nameNode = decl.getNameNode();
|
|
394
|
-
if (!nameNode)
|
|
395
|
-
continue;
|
|
396
|
-
internalCandidates.push({ node: decl, getNameNode: () => nameNode });
|
|
397
|
-
}
|
|
398
|
-
// Fail closed: only return if exactly one unique match
|
|
399
|
-
if (internalCandidates.length === 1) {
|
|
400
|
-
const candidate = internalCandidates[0];
|
|
401
|
-
if (candidate) {
|
|
402
|
-
return candidate;
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
// Third pass: unique class methods
|
|
406
|
-
const methodCandidates = [];
|
|
407
|
-
for (const cls of sourceFile.getClasses()) {
|
|
408
|
-
for (const method of cls.getMethods()) {
|
|
409
|
-
if (method.getName() !== title)
|
|
410
|
-
continue;
|
|
411
|
-
const nameNode = method.getNameNode();
|
|
412
|
-
if (!nameNode)
|
|
413
|
-
continue;
|
|
414
|
-
methodCandidates.push({ node: method, getNameNode: () => nameNode });
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
// Fail closed: only return if exactly one unique match
|
|
418
|
-
if (methodCandidates.length === 1) {
|
|
419
|
-
const candidate = methodCandidates[0];
|
|
420
|
-
if (candidate) {
|
|
421
|
-
return candidate;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
const memberCandidates = [];
|
|
425
|
-
for (const cls of sourceFile.getClasses()) {
|
|
426
|
-
for (const property of cls.getProperties()) {
|
|
427
|
-
if (property.getName() !== title)
|
|
428
|
-
continue;
|
|
429
|
-
const nameNode = property.getNameNode();
|
|
430
|
-
if (!nameNode)
|
|
431
|
-
continue;
|
|
432
|
-
memberCandidates.push({ node: property, getNameNode: () => nameNode });
|
|
433
|
-
}
|
|
434
|
-
for (const accessor of [
|
|
435
|
-
...cls.getGetAccessors(),
|
|
436
|
-
...cls.getSetAccessors(),
|
|
437
|
-
]) {
|
|
438
|
-
if (accessor.getName() !== title)
|
|
439
|
-
continue;
|
|
440
|
-
const nameNode = accessor.getNameNode();
|
|
441
|
-
if (!nameNode)
|
|
442
|
-
continue;
|
|
443
|
-
memberCandidates.push({ node: accessor, getNameNode: () => nameNode });
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
if (memberCandidates.length === 1) {
|
|
447
|
-
const candidate = memberCandidates[0];
|
|
448
|
-
if (candidate) {
|
|
449
|
-
return candidate;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
return null;
|
|
453
|
-
}
|
|
454
|
-
candidates.sort((a, b) => a.getNameNode().getStart() - b.getNameNode().getStart());
|
|
455
|
-
return candidates[0] ?? null;
|
|
456
|
-
}
|
|
457
|
-
function parseQualifiedMethodTitle(title) {
|
|
458
|
-
const separatorIndex = title.lastIndexOf(".");
|
|
459
|
-
if (separatorIndex <= 0 || separatorIndex === title.length - 1)
|
|
460
|
-
return null;
|
|
461
|
-
return {
|
|
462
|
-
className: title.slice(0, separatorIndex),
|
|
463
|
-
methodName: title.slice(separatorIndex + 1),
|
|
464
|
-
};
|
|
67
|
+
// implements REQ-capability-plugin-builtin-parity-v1
|
|
68
|
+
export function onlyCandidate(candidates) {
|
|
69
|
+
return onlyBuiltinCandidate(candidates);
|
|
465
70
|
}
|
package/dist/intent-search.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ type GraphEdge = Readonly<{
|
|
|
54
54
|
to: string;
|
|
55
55
|
}>;
|
|
56
56
|
export declare function rankIntentEntities(entities: readonly Record<string, unknown>[], options: IntentSearchOptions, workspaceRoot: string, graphEdges?: readonly GraphEdge[]): Promise<IntentSearchResult>;
|
|
57
|
+
export declare function graphGoal(seedIds: readonly string[], depth: 1 | 2): string;
|
|
57
58
|
export declare function executeIntentSearch(options: IntentSearchOptions, prolog: PrologPort, workspaceRoot: string): Promise<IntentSearchResult>;
|
|
58
59
|
export declare function validateIntentSearchInput(input: IntentSearchOptions): void;
|
|
59
60
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent-search.d.ts","sourceRoot":"","sources":["../src/intent-search.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"intent-search.d.ts","sourceRoot":"","sources":["../src/intent-search.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,kBAAkB,EAGxB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAIvD,MAAM,MAAM,qBAAqB,GAC7B,QAAQ,GACR,SAAS,GACT,SAAS,GACT,aAAa,GACb,SAAS,CAAC;AAGd,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CACvC,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAC1D,CAAC;AAGF,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,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MAAM,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAGH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACxC,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAC;IACtC,QAAQ,EAAE,oBAAoB,CAAC;CAChC,CAAC,CAAC;AAEH,KAAK,SAAS,GAAG,QAAQ,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC,CAAC;AA+RH,wBAAsB,kBAAkB,CACtC,QAAQ,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC5C,OAAO,EAAE,mBAAmB,EAC5B,aAAa,EAAE,MAAM,EACrB,UAAU,GAAE,SAAS,SAAS,EAAO,GACpC,OAAO,CAAC,kBAAkB,CAAC,CA8F7B;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,MAAM,CAO1E;AAmFD,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,mBAAmB,EAC5B,MAAM,EAAE,UAAU,EAClB,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,kBAAkB,CAAC,CAuC7B;AAGD,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,mBAAmB,GAAG,IAAI,CA0C1E"}
|
package/dist/intent-search.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import { escapeAtom, parseTriples } from "./prolog/codec.js";
|
|
3
|
-
import { loadEntities, } from "./public/operations/discovery-entities.js";
|
|
2
|
+
import { escapeAtom, normalizeEntityId, parseTriples } from "./prolog/codec.js";
|
|
3
|
+
import { loadEntities, loadSearchCandidates, } from "./public/operations/discovery-entities.js";
|
|
4
4
|
import { loadMarkdownBody } from "./search-ranking.js";
|
|
5
5
|
const GRAPH_RELATIONSHIPS = [
|
|
6
6
|
"implements",
|
|
@@ -315,7 +315,7 @@ export async function rankIntentEntities(entities, options, workspaceRoot, graph
|
|
|
315
315
|
},
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
-
function graphGoal(seedIds, depth) {
|
|
318
|
+
export function graphGoal(seedIds, depth) {
|
|
319
319
|
const ids = seedIds.map((id) => `'${escapeAtom(id)}'`).join(",");
|
|
320
320
|
const relationships = GRAPH_RELATIONSHIPS.join(",");
|
|
321
321
|
if (depth === 1) {
|
|
@@ -331,7 +331,11 @@ async function queryGraphEdges(prolog, seedIds) {
|
|
|
331
331
|
return [];
|
|
332
332
|
return parseTriples(result.bindings.Edges ?? "[]")
|
|
333
333
|
.slice(0, MAX_GRAPH_EDGES)
|
|
334
|
-
.map(([relationship, from, to]) => ({
|
|
334
|
+
.map(([relationship, from, to]) => ({
|
|
335
|
+
relationship,
|
|
336
|
+
from: normalizeEntityId(from),
|
|
337
|
+
to: normalizeEntityId(to),
|
|
338
|
+
}));
|
|
335
339
|
}
|
|
336
340
|
async function loadIntentCandidates(prolog, options) {
|
|
337
341
|
const terms = [
|
|
@@ -343,13 +347,12 @@ async function loadIntentCandidates(prolog, options) {
|
|
|
343
347
|
(options.sourceLocations === undefined ||
|
|
344
348
|
options.sourceLocations.length === 0)) {
|
|
345
349
|
for (const term of terms) {
|
|
346
|
-
const page = await prolog
|
|
350
|
+
const page = await loadSearchCandidates(prolog, {
|
|
347
351
|
query: term,
|
|
348
352
|
...(options.type !== undefined ? { type: options.type } : {}),
|
|
349
|
-
|
|
350
|
-
offset: 0,
|
|
353
|
+
maxCandidates: MAX_CANDIDATES,
|
|
351
354
|
});
|
|
352
|
-
for (const entity of page
|
|
355
|
+
for (const entity of page) {
|
|
353
356
|
candidates.set(`${String(entity.type ?? "")}::${String(entity.id ?? "")}`, { ...entity });
|
|
354
357
|
}
|
|
355
358
|
}
|
package/dist/logic/ir.d.ts
CHANGED
|
@@ -102,6 +102,7 @@ export interface LogicValidationResult {
|
|
|
102
102
|
export declare function canonicalLogicJson(ir: LogicRuleIR): string;
|
|
103
103
|
export declare function logicRuleHash(ir: LogicRuleIR): string;
|
|
104
104
|
export declare function logicSemanticKey(ir: LogicRuleIR): string;
|
|
105
|
+
export declare function termVariables(term: LogicTerm): Set<string>;
|
|
105
106
|
/** Rendered output is an audit preview only; it is never evaluated as source. */
|
|
106
107
|
export declare function renderLogicProlog(ir: LogicRuleIR): string;
|
|
107
108
|
export declare function validateLogicIr(input: unknown): LogicValidationResult;
|
package/dist/logic/ir.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ir.d.ts","sourceRoot":"","sources":["../../src/logic/ir.ts"],"names":[],"mappings":"AAGA,2DAA2D;AAC3D,eAAO,MAAM,gBAAgB,EAAG,eAAwB,CAAC;AACzD,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAE3C,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC/E,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC;AAC3D,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC1D,MAAM,MAAM,SAAS,GACjB;IAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACtE;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1E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SemanticKey(ir) {
|
|
44
44
|
return `SEM-${logicRuleHash(ir).slice(0, 24).toUpperCase()}`;
|
|
45
45
|
}
|
|
46
|
-
function termVariables(term) {
|
|
46
|
+
export function termVariables(term) {
|
|
47
47
|
return term.kind === "var" ? new Set([term.name]) : new Set();
|
|
48
48
|
}
|
|
49
49
|
function mergeInto(target, source) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { OperationContext } from "../../public/operations/runtime-types.js";
|
|
2
2
|
import type { ActivationPolicy } from "./types.js";
|
|
3
|
-
export declare function
|
|
3
|
+
export declare function missingManifestActivation(vendored: boolean, projectSignal: boolean): ActivationPolicy;
|
|
4
|
+
export declare function classifyActivation(context: OperationContext, files?: readonly string[]): Promise<ActivationPolicy>;
|
|
4
5
|
//# sourceMappingURL=activation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activation.d.ts","sourceRoot":"","sources":["../../../src/operations/bootstrap/activation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAGjF,OAAO,KAAK,EAAE,gBAAgB,EAAmB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"activation.d.ts","sourceRoot":"","sources":["../../../src/operations/bootstrap/activation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAGjF,OAAO,KAAK,EAAE,gBAAgB,EAAmB,MAAM,YAAY,CAAC;AAIpE,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,OAAO,EACjB,aAAa,EAAE,OAAO,GACrB,gBAAgB,CAIlB;AAmHD,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,gBAAgB,EACzB,KAAK,GAAE,SAAS,MAAM,EAAO,GAC5B,OAAO,CAAC,gBAAgB,CAAC,CAyE3B"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import { readKbManifestStatus } from "../../utils/kb-manifest.js";
|
|
3
3
|
import { KB_PATHS } from "../../utils/kb-paths.js";
|
|
4
|
+
// implements REQ-KIBI-BOOTSTRAP-PLAN
|
|
5
|
+
// covered_by TEST-KIBI-BOOTSTRAP-PLAN-APPLY
|
|
6
|
+
export function missingManifestActivation(vendored, projectSignal) {
|
|
7
|
+
return activationFor(vendored && !projectSignal ? "vendored_only" : "root_uninitialized");
|
|
8
|
+
}
|
|
4
9
|
function activationFor(state) {
|
|
5
10
|
switch (state) {
|
|
6
11
|
case "root_uninitialized":
|
|
@@ -93,12 +98,15 @@ function sourceCoverageState(files) {
|
|
|
93
98
|
return coverageState(Object.entries(counts).map(([type, count]) => ({ type, count })));
|
|
94
99
|
}
|
|
95
100
|
// implements REQ-KIBI-BOOTSTRAP-PLAN
|
|
96
|
-
export async function classifyActivation(context, files) {
|
|
101
|
+
export async function classifyActivation(context, files = []) {
|
|
97
102
|
// Discovery callers do not all use the same path base. The CLI globber
|
|
98
103
|
// returns workspace-relative paths, while host adapters may pass absolute
|
|
99
104
|
// paths. Normalize before source-lane classification so a seeded source
|
|
100
105
|
// KB has the same posture on every peer surface.
|
|
101
|
-
|
|
106
|
+
// Hosts (and leaked fast-glob mocks) may omit or return a non-array; treat
|
|
107
|
+
// that as "no source files" rather than crashing status/bootstrap.
|
|
108
|
+
const sourceFiles = Array.isArray(files) ? files : [];
|
|
109
|
+
const normalizedFiles = sourceFiles.map((file) => {
|
|
102
110
|
const relative = path.isAbsolute(file)
|
|
103
111
|
? path.relative(context.workspaceRoot, file)
|
|
104
112
|
: file;
|
|
@@ -111,7 +119,7 @@ export async function classifyActivation(context, files) {
|
|
|
111
119
|
/^(README\.md|package\.json|src\/|app\/|packages\/|tests\/)/.test(file));
|
|
112
120
|
const projectSignalFromDirectories = await Promise.all(["README.md", "package.json", "src", "app", "packages", "tests"].map((target) => exists(context, path.resolve(context.workspaceRoot, target))));
|
|
113
121
|
const projectSignal = projectSignalFromFiles || projectSignalFromDirectories.some(Boolean);
|
|
114
|
-
return
|
|
122
|
+
return missingManifestActivation(vendored, projectSignal);
|
|
115
123
|
}
|
|
116
124
|
if (manifestStatus.state !== "ok")
|
|
117
125
|
return activationFor("root_partial");
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OperationContext } from "../../public/operations/runtime-types.js";
|
|
2
|
-
import type { Candidate, PlanBootstrapArgs, PlanBootstrapResult } from "./types.js";
|
|
2
|
+
import type { Candidate, PlanBootstrapArgs, PlanBootstrapResult, SourceOnlySignal } from "./types.js";
|
|
3
|
+
export declare function filterSourceOnlySignals(signals: readonly SourceOnlySignal[], entityTypes: readonly string[] | undefined): readonly SourceOnlySignal[];
|
|
3
4
|
export declare function selectBootstrapCandidates(input: readonly Candidate[], existingIds: ReadonlySet<string>, entityTypes: readonly string[] | undefined, maximum: number): {
|
|
4
5
|
readonly candidates: readonly Candidate[];
|
|
5
6
|
readonly suppressed: readonly Readonly<Record<string, unknown>>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/operations/bootstrap/generate.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAKjF,OAAO,KAAK,EACV,SAAS,EACT,iBAAiB,EACjB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/operations/bootstrap/generate.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAKjF,OAAO,KAAK,EACV,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,YAAY,CAAC;AAEpB,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,SAAS,gBAAgB,EAAE,EACpC,WAAW,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GACzC,SAAS,gBAAgB,EAAE,CAI7B;AA2BD,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,SAAS,SAAS,EAAE,EAC3B,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,EAChC,WAAW,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EAC1C,OAAO,EAAE,MAAM,GACd;IACD,QAAQ,CAAC,UAAU,EAAE,SAAS,SAAS,EAAE,CAAC;IAC1C,QAAQ,CAAC,UAAU,EAAE,SAAS,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;CACnE,CAiDA;AAgHD,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,iBAAiB,EACvB,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,mBAAmB,CAAC,CAyD9B"}
|