@codyswann/lisa 4.107.1 → 4.107.3
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/all/copy-overwrite/scripts/lisa-plugin-registration-notice.mjs +190 -0
- package/all/copy-overwrite/scripts/lisa-postinstall.mjs +6 -2
- package/all/merge/.claude/settings.json +9 -0
- package/dist/cli/{ui-ci-quality-jobs-parse.d.ts → ci-workflow-inputs.d.ts} +7 -2
- package/dist/cli/ci-workflow-inputs.d.ts.map +1 -0
- package/dist/cli/{ui-ci-quality-jobs-parse.js → ci-workflow-inputs.js} +2 -2
- package/dist/cli/ci-workflow-inputs.js.map +1 -0
- package/dist/cli/{ui-confined-project-read.d.ts → confined-project-read.d.ts} +1 -1
- package/dist/cli/confined-project-read.d.ts.map +1 -0
- package/dist/cli/{ui-confined-project-read.js → confined-project-read.js} +2 -2
- package/dist/cli/confined-project-read.js.map +1 -0
- package/dist/cli/detected-stacks.d.ts +10 -0
- package/dist/cli/detected-stacks.d.ts.map +1 -0
- package/dist/cli/{ui-detected-stacks.js → detected-stacks.js} +8 -27
- package/dist/cli/detected-stacks.js.map +1 -0
- package/dist/cli/doctor-apply-freshness.d.ts +2 -2
- package/dist/cli/doctor-apply-freshness.js +2 -2
- package/dist/cli/doctor-coderabbit-labeling.js +1 -1
- package/dist/cli/doctor-coderabbit-labeling.js.map +1 -1
- package/dist/cli/doctor-coderabbit.js +1 -1
- package/dist/cli/doctor-coderabbit.js.map +1 -1
- package/dist/cli/doctor-instruction-files.d.ts +11 -0
- package/dist/cli/doctor-instruction-files.d.ts.map +1 -0
- package/dist/cli/doctor-instruction-files.js +57 -0
- package/dist/cli/doctor-instruction-files.js.map +1 -0
- package/dist/cli/doctor-plugin-registration.d.ts +25 -0
- package/dist/cli/doctor-plugin-registration.d.ts.map +1 -0
- package/dist/cli/doctor-plugin-registration.js +63 -0
- package/dist/cli/doctor-plugin-registration.js.map +1 -0
- package/dist/cli/doctor.d.ts +5 -2
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +11 -56
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/gate-report-ruleset.js +1 -1
- package/dist/cli/gate-report-ruleset.js.map +1 -1
- package/dist/cli/gate-report-skip-jobs.js +1 -1
- package/dist/cli/gate-report-skip-jobs.js.map +1 -1
- package/dist/cli/gate-report-types.d.ts +2 -3
- package/dist/cli/gate-report-types.d.ts.map +1 -1
- package/dist/cli/gh-cli.d.ts +14 -0
- package/dist/cli/gh-cli.d.ts.map +1 -0
- package/dist/cli/gh-cli.js +32 -0
- package/dist/cli/gh-cli.js.map +1 -0
- package/dist/cli/index.d.ts +0 -3
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +2 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/removed-ui-cmd.d.ts +18 -0
- package/dist/cli/removed-ui-cmd.d.ts.map +1 -0
- package/dist/cli/removed-ui-cmd.js +17 -0
- package/dist/cli/removed-ui-cmd.js.map +1 -0
- package/dist/core/bootstrap-environment.d.ts.map +1 -1
- package/dist/core/bootstrap-environment.js +6 -2
- package/dist/core/bootstrap-environment.js.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +12 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +36 -97
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/devin/enforcement-fallback-installer.d.ts +0 -8
- package/dist/devin/enforcement-fallback-installer.d.ts.map +1 -1
- package/dist/devin/enforcement-fallback-installer.js +0 -26
- package/dist/devin/enforcement-fallback-installer.js.map +1 -1
- package/dist/health/governance-probes.d.ts.map +1 -1
- package/dist/health/governance-probes.js +8 -1
- package/dist/health/governance-probes.js.map +1 -1
- package/dist/health/plugin-inspection.d.ts +6 -1
- package/dist/health/plugin-inspection.d.ts.map +1 -1
- package/dist/health/plugin-inspection.js +10 -3
- package/dist/health/plugin-inspection.js.map +1 -1
- package/dist/health/ruleset-reach-inspection.d.ts.map +1 -1
- package/dist/health/ruleset-reach-inspection.js +2 -7
- package/dist/health/ruleset-reach-inspection.js.map +1 -1
- package/dist/standards/capture.d.ts +1 -1
- package/dist/standards/capture.d.ts.map +1 -1
- package/dist/standards/capture.js +2 -2
- package/dist/standards/capture.js.map +1 -1
- package/dist/standards/readiness.d.ts +9 -2
- package/dist/standards/readiness.d.ts.map +1 -1
- package/dist/standards/readiness.js +12 -3
- package/dist/standards/readiness.js.map +1 -1
- package/dist/sync/json-path.d.ts +0 -10
- package/dist/sync/json-path.d.ts.map +1 -1
- package/dist/sync/json-path.js +0 -14
- package/dist/sync/json-path.js.map +1 -1
- package/dist/sync/sync-population.d.ts +0 -6
- package/dist/sync/sync-population.d.ts.map +1 -1
- package/dist/sync/sync-population.js +0 -8
- package/dist/sync/sync-population.js.map +1 -1
- package/dist/utils/marketplace-manifest.d.ts.map +1 -1
- package/dist/utils/marketplace-manifest.js +2 -3
- package/dist/utils/marketplace-manifest.js.map +1 -1
- package/package.json +4 -5
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-automations/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
- package/plugins/lisa/skills/lisa-setup-automations/SKILL.md +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
- package/plugins/lisa-agy/skills/lisa-setup-automations/SKILL.md +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
- package/plugins/lisa-copilot/skills/lisa-setup-automations/SKILL.md +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
- package/plugins/lisa-cursor/skills/lisa-setup-automations/SKILL.md +1 -1
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
- package/plugins/lisa-devin/skills/lisa-setup-automations/SKILL.md +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/skills/lisa-generate-claude-remote-build-script/SKILL.md +5 -18
- package/plugins/src/base/skills/lisa-setup-automations/SKILL.md +1 -1
- package/scripts/check-derived-artifacts.mjs +0 -1
- package/scripts/generate-upstream-evidence-manifest.mjs +0 -1
- package/scripts/install-claude-plugins.sh +4 -1
- package/scripts/lisa-ruleset-reach.mjs +0 -3
- package/scripts/two-channel-couplings.json +1 -1
- package/typescript/copy-overwrite/.prettierignore +1 -0
- package/dist/cli/gate-report-drift-section.d.ts +0 -8
- package/dist/cli/gate-report-drift-section.d.ts.map +0 -1
- package/dist/cli/gate-report-drift-section.js +0 -76
- package/dist/cli/gate-report-drift-section.js.map +0 -1
- package/dist/cli/gate-report-fragment.d.ts +0 -11
- package/dist/cli/gate-report-fragment.d.ts.map +0 -1
- package/dist/cli/gate-report-fragment.js +0 -106
- package/dist/cli/gate-report-fragment.js.map +0 -1
- package/dist/cli/gate-report-html.d.ts +0 -47
- package/dist/cli/gate-report-html.d.ts.map +0 -1
- package/dist/cli/gate-report-html.js +0 -49
- package/dist/cli/gate-report-html.js.map +0 -1
- package/dist/cli/gate-report-preview.d.ts +0 -9
- package/dist/cli/gate-report-preview.d.ts.map +0 -1
- package/dist/cli/gate-report-preview.js +0 -55
- package/dist/cli/gate-report-preview.js.map +0 -1
- package/dist/cli/gate-report-rows.d.ts +0 -39
- package/dist/cli/gate-report-rows.d.ts.map +0 -1
- package/dist/cli/gate-report-rows.js +0 -227
- package/dist/cli/gate-report-rows.js.map +0 -1
- package/dist/cli/gate-report-sections.d.ts +0 -38
- package/dist/cli/gate-report-sections.d.ts.map +0 -1
- package/dist/cli/gate-report-sections.js +0 -225
- package/dist/cli/gate-report-sections.js.map +0 -1
- package/dist/cli/gate-report-style.d.ts +0 -19
- package/dist/cli/gate-report-style.d.ts.map +0 -1
- package/dist/cli/gate-report-style.js +0 -100
- package/dist/cli/gate-report-style.js.map +0 -1
- package/dist/cli/remote-environment-catalog.d.ts +0 -17
- package/dist/cli/remote-environment-catalog.d.ts.map +0 -1
- package/dist/cli/remote-environment-catalog.js +0 -175
- package/dist/cli/remote-environment-catalog.js.map +0 -1
- package/dist/cli/remote-environment-contract.d.ts +0 -94
- package/dist/cli/remote-environment-contract.d.ts.map +0 -1
- package/dist/cli/remote-environment-contract.js +0 -59
- package/dist/cli/remote-environment-contract.js.map +0 -1
- package/dist/cli/remote-environment-detection.d.ts +0 -23
- package/dist/cli/remote-environment-detection.d.ts.map +0 -1
- package/dist/cli/remote-environment-detection.js +0 -120
- package/dist/cli/remote-environment-detection.js.map +0 -1
- package/dist/cli/remote-environment.d.ts +0 -12
- package/dist/cli/remote-environment.d.ts.map +0 -1
- package/dist/cli/remote-environment.js +0 -73
- package/dist/cli/remote-environment.js.map +0 -1
- package/dist/cli/ui-automations-adapters.d.ts +0 -72
- package/dist/cli/ui-automations-adapters.d.ts.map +0 -1
- package/dist/cli/ui-automations-adapters.js +0 -174
- package/dist/cli/ui-automations-adapters.js.map +0 -1
- package/dist/cli/ui-automations.d.ts +0 -90
- package/dist/cli/ui-automations.d.ts.map +0 -1
- package/dist/cli/ui-automations.js +0 -149
- package/dist/cli/ui-automations.js.map +0 -1
- package/dist/cli/ui-ci-quality-jobs-compute.d.ts +0 -44
- package/dist/cli/ui-ci-quality-jobs-compute.d.ts.map +0 -1
- package/dist/cli/ui-ci-quality-jobs-compute.js +0 -278
- package/dist/cli/ui-ci-quality-jobs-compute.js.map +0 -1
- package/dist/cli/ui-ci-quality-jobs-parse.d.ts.map +0 -1
- package/dist/cli/ui-ci-quality-jobs-parse.js.map +0 -1
- package/dist/cli/ui-ci-quality-jobs.d.ts +0 -22
- package/dist/cli/ui-ci-quality-jobs.d.ts.map +0 -1
- package/dist/cli/ui-ci-quality-jobs.js +0 -160
- package/dist/cli/ui-ci-quality-jobs.js.map +0 -1
- package/dist/cli/ui-cmd.d.ts +0 -87
- package/dist/cli/ui-cmd.d.ts.map +0 -1
- package/dist/cli/ui-cmd.js +0 -383
- package/dist/cli/ui-cmd.js.map +0 -1
- package/dist/cli/ui-config-write-document.d.ts +0 -53
- package/dist/cli/ui-config-write-document.d.ts.map +0 -1
- package/dist/cli/ui-config-write-document.js +0 -212
- package/dist/cli/ui-config-write-document.js.map +0 -1
- package/dist/cli/ui-config-write-patch-plan.d.ts +0 -30
- package/dist/cli/ui-config-write-patch-plan.d.ts.map +0 -1
- package/dist/cli/ui-config-write-patch-plan.js +0 -151
- package/dist/cli/ui-config-write-patch-plan.js.map +0 -1
- package/dist/cli/ui-config-write-persistence.d.ts +0 -29
- package/dist/cli/ui-config-write-persistence.d.ts.map +0 -1
- package/dist/cli/ui-config-write-persistence.js +0 -298
- package/dist/cli/ui-config-write-persistence.js.map +0 -1
- package/dist/cli/ui-config-write-property-edits.d.ts +0 -40
- package/dist/cli/ui-config-write-property-edits.d.ts.map +0 -1
- package/dist/cli/ui-config-write-property-edits.js +0 -250
- package/dist/cli/ui-config-write-property-edits.js.map +0 -1
- package/dist/cli/ui-config-write-provenance.d.ts +0 -12
- package/dist/cli/ui-config-write-provenance.d.ts.map +0 -1
- package/dist/cli/ui-config-write-provenance.js +0 -29
- package/dist/cli/ui-config-write-provenance.js.map +0 -1
- package/dist/cli/ui-config-write-root-identity.d.ts +0 -25
- package/dist/cli/ui-config-write-root-identity.d.ts.map +0 -1
- package/dist/cli/ui-config-write-root-identity.js +0 -66
- package/dist/cli/ui-config-write-root-identity.js.map +0 -1
- package/dist/cli/ui-config-write.d.ts +0 -13
- package/dist/cli/ui-config-write.d.ts.map +0 -1
- package/dist/cli/ui-config-write.js +0 -341
- package/dist/cli/ui-config-write.js.map +0 -1
- package/dist/cli/ui-confined-project-read.d.ts.map +0 -1
- package/dist/cli/ui-confined-project-read.js.map +0 -1
- package/dist/cli/ui-deploy-pipeline-model.d.ts +0 -74
- package/dist/cli/ui-deploy-pipeline-model.d.ts.map +0 -1
- package/dist/cli/ui-deploy-pipeline-model.js +0 -127
- package/dist/cli/ui-deploy-pipeline-model.js.map +0 -1
- package/dist/cli/ui-deploy-pipeline.d.ts +0 -25
- package/dist/cli/ui-deploy-pipeline.d.ts.map +0 -1
- package/dist/cli/ui-deploy-pipeline.js +0 -181
- package/dist/cli/ui-deploy-pipeline.js.map +0 -1
- package/dist/cli/ui-detected-stacks.d.ts +0 -21
- package/dist/cli/ui-detected-stacks.d.ts.map +0 -1
- package/dist/cli/ui-detected-stacks.js.map +0 -1
- package/dist/cli/ui-enabled-plugins.d.ts +0 -52
- package/dist/cli/ui-enabled-plugins.d.ts.map +0 -1
- package/dist/cli/ui-enabled-plugins.js +0 -229
- package/dist/cli/ui-enabled-plugins.js.map +0 -1
- package/dist/cli/ui-gate-report.d.ts +0 -57
- package/dist/cli/ui-gate-report.d.ts.map +0 -1
- package/dist/cli/ui-gate-report.js +0 -95
- package/dist/cli/ui-gate-report.js.map +0 -1
- package/dist/cli/ui-github-repo-expected.d.ts +0 -36
- package/dist/cli/ui-github-repo-expected.d.ts.map +0 -1
- package/dist/cli/ui-github-repo-expected.js +0 -118
- package/dist/cli/ui-github-repo-expected.js.map +0 -1
- package/dist/cli/ui-github-repo-gh.d.ts +0 -56
- package/dist/cli/ui-github-repo-gh.d.ts.map +0 -1
- package/dist/cli/ui-github-repo-gh.js +0 -117
- package/dist/cli/ui-github-repo-gh.js.map +0 -1
- package/dist/cli/ui-github-repo-map.d.ts +0 -25
- package/dist/cli/ui-github-repo-map.d.ts.map +0 -1
- package/dist/cli/ui-github-repo-map.js +0 -175
- package/dist/cli/ui-github-repo-map.js.map +0 -1
- package/dist/cli/ui-github-repo.d.ts +0 -51
- package/dist/cli/ui-github-repo.d.ts.map +0 -1
- package/dist/cli/ui-github-repo.js +0 -117
- package/dist/cli/ui-github-repo.js.map +0 -1
- package/dist/cli/ui-health.d.ts +0 -18
- package/dist/cli/ui-health.d.ts.map +0 -1
- package/dist/cli/ui-health.js +0 -101
- package/dist/cli/ui-health.js.map +0 -1
- package/dist/cli/ui-lisa-version.d.ts +0 -36
- package/dist/cli/ui-lisa-version.d.ts.map +0 -1
- package/dist/cli/ui-lisa-version.js +0 -82
- package/dist/cli/ui-lisa-version.js.map +0 -1
- package/dist/cli/ui-observability-checks.d.ts +0 -23
- package/dist/cli/ui-observability-checks.d.ts.map +0 -1
- package/dist/cli/ui-observability-checks.js +0 -156
- package/dist/cli/ui-observability-checks.js.map +0 -1
- package/dist/cli/ui-observability-providers.d.ts +0 -69
- package/dist/cli/ui-observability-providers.d.ts.map +0 -1
- package/dist/cli/ui-observability-providers.js +0 -99
- package/dist/cli/ui-observability-providers.js.map +0 -1
- package/dist/cli/ui-request-origin.d.ts +0 -8
- package/dist/cli/ui-request-origin.d.ts.map +0 -1
- package/dist/cli/ui-request-origin.js +0 -41
- package/dist/cli/ui-request-origin.js.map +0 -1
- package/dist/cli/ui-setup-readiness-config.d.ts +0 -28
- package/dist/cli/ui-setup-readiness-config.d.ts.map +0 -1
- package/dist/cli/ui-setup-readiness-config.js +0 -116
- package/dist/cli/ui-setup-readiness-config.js.map +0 -1
- package/dist/cli/ui-setup-readiness-contract.d.ts +0 -32
- package/dist/cli/ui-setup-readiness-contract.d.ts.map +0 -1
- package/dist/cli/ui-setup-readiness-contract.js +0 -61
- package/dist/cli/ui-setup-readiness-contract.js.map +0 -1
- package/dist/cli/ui-setup-readiness-install.d.ts +0 -24
- package/dist/cli/ui-setup-readiness-install.d.ts.map +0 -1
- package/dist/cli/ui-setup-readiness-install.js +0 -211
- package/dist/cli/ui-setup-readiness-install.js.map +0 -1
- package/dist/cli/ui-setup-readiness-local.d.ts +0 -41
- package/dist/cli/ui-setup-readiness-local.d.ts.map +0 -1
- package/dist/cli/ui-setup-readiness-local.js +0 -237
- package/dist/cli/ui-setup-readiness-local.js.map +0 -1
- package/dist/cli/ui-setup-readiness-remote.d.ts +0 -30
- package/dist/cli/ui-setup-readiness-remote.d.ts.map +0 -1
- package/dist/cli/ui-setup-readiness-remote.js +0 -108
- package/dist/cli/ui-setup-readiness-remote.js.map +0 -1
- package/dist/cli/ui-setup-readiness.d.ts +0 -52
- package/dist/cli/ui-setup-readiness.d.ts.map +0 -1
- package/dist/cli/ui-setup-readiness.js +0 -126
- package/dist/cli/ui-setup-readiness.js.map +0 -1
- package/dist/cli/ui-starter-sync.d.ts +0 -17
- package/dist/cli/ui-starter-sync.d.ts.map +0 -1
- package/dist/cli/ui-starter-sync.js +0 -75
- package/dist/cli/ui-starter-sync.js.map +0 -1
- package/dist/cli/ui-status-json.d.ts +0 -29
- package/dist/cli/ui-status-json.d.ts.map +0 -1
- package/dist/cli/ui-status-json.js +0 -162
- package/dist/cli/ui-status-json.js.map +0 -1
- package/dist/cli/ui-status.d.ts +0 -42
- package/dist/cli/ui-status.d.ts.map +0 -1
- package/dist/cli/ui-status.js +0 -221
- package/dist/cli/ui-status.js.map +0 -1
- package/ui/README.md +0 -443
- package/ui/index.html +0 -14392
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pure join of ci.yml inputs, Lisa gate config, and secret presence for the
|
|
3
|
-
* CI Quality jobs Active column.
|
|
4
|
-
* @module cli/ui-ci-quality-jobs-compute
|
|
5
|
-
*/
|
|
6
|
-
import { isJsonObject, } from "../sync/json-path.js";
|
|
7
|
-
/** Jobs shown in the console Quality jobs table, in display order. */
|
|
8
|
-
const QUALITY_JOB_SPECS = [
|
|
9
|
-
{ id: "lint", label: "🧹 Lint" },
|
|
10
|
-
{ id: "lint_slow", label: "🐢 Slow Lint Rules", leg: "code-style-slow" },
|
|
11
|
-
{ id: "typecheck", label: "🔍 Type Check", leg: "type-correctness" },
|
|
12
|
-
{ id: "format", label: "📐 Check Formatting", leg: "format-conformance" },
|
|
13
|
-
{ id: "build", label: "🏗️ Build", leg: "build-integrity" },
|
|
14
|
-
{ id: "test:unit", label: "🧪 Run Unit Tests" },
|
|
15
|
-
{ id: "test:integration", label: "🧪 Run Integration Tests" },
|
|
16
|
-
{ id: "playwright_e2e", label: "🎭 Browser Journeys" },
|
|
17
|
-
{
|
|
18
|
-
id: "maestro_e2e",
|
|
19
|
-
label: "📱 Maestro Cloud E2E",
|
|
20
|
-
secret: "MAESTRO_API_KEY",
|
|
21
|
-
},
|
|
22
|
-
{ id: "e2e_coverage", label: "🧭 E2E Route Coverage" },
|
|
23
|
-
{ id: "test:mutation", label: "🧬 Mutation Testing Gate", gate: "mutation" },
|
|
24
|
-
{
|
|
25
|
-
id: "verification_coverage",
|
|
26
|
-
label: "✅ Verification Coverage",
|
|
27
|
-
gate: "coverage_adequacy_declared",
|
|
28
|
-
},
|
|
29
|
-
{ id: "dead_code", label: "🗑️ Dead Code Detection", leg: "dead-code" },
|
|
30
|
-
{ id: "sg_scan", label: "🔎 Structural Rules" },
|
|
31
|
-
{ id: "npm_security_scan", label: "🔒 Security Scan" },
|
|
32
|
-
{
|
|
33
|
-
id: "sonarcloud",
|
|
34
|
-
label: "🔍 Static Security Analysis",
|
|
35
|
-
secret: "SONAR_TOKEN",
|
|
36
|
-
},
|
|
37
|
-
{ id: "snyk", label: "🛡️ Snyk", secret: "SNYK_TOKEN" },
|
|
38
|
-
{
|
|
39
|
-
id: "secret_scanning",
|
|
40
|
-
label: "🔐 Credential Leakage",
|
|
41
|
-
secret: "GITGUARDIAN_API_KEY",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
id: "license_compliance",
|
|
45
|
-
label: "📜 FOSSA",
|
|
46
|
-
secret: "FOSSA_API_KEY",
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: "compliance_validation",
|
|
50
|
-
label: "🧾 Compliance Validation",
|
|
51
|
-
gate: "compliance_framework",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
id: "approval_gate",
|
|
55
|
-
label: "🚦 Approval Gate",
|
|
56
|
-
gate: "require_approval",
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
id: "work_item",
|
|
60
|
-
label: "🔗 Work-Item Traceability",
|
|
61
|
-
gate: "traceability_declared",
|
|
62
|
-
},
|
|
63
|
-
];
|
|
64
|
-
/**
|
|
65
|
-
* Read whether the mutation gate is enabled in merged Lisa config.
|
|
66
|
-
* @param config - Merged config
|
|
67
|
-
* @returns True only when explicitly enabled
|
|
68
|
-
*/
|
|
69
|
-
function mutationGateEnabled(config) {
|
|
70
|
-
if (!isJsonObject(config.quality)) {
|
|
71
|
-
return false;
|
|
72
|
-
}
|
|
73
|
-
if (!isJsonObject(config.quality.mutation)) {
|
|
74
|
-
return false;
|
|
75
|
-
}
|
|
76
|
-
if (!isJsonObject(config.quality.mutation.gate)) {
|
|
77
|
-
return false;
|
|
78
|
-
}
|
|
79
|
-
return config.quality.mutation.gate.enabled === true;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Why each gate kind closes its job, keyed by kind.
|
|
83
|
-
*
|
|
84
|
-
* A table rather than a chain of conditionals: every entry answers the same
|
|
85
|
-
* question in the same shape, so adding a gate is one row instead of one more
|
|
86
|
-
* branch through a function that grows harder to read with each kind.
|
|
87
|
-
*/
|
|
88
|
-
const GATE_CLOSERS = {
|
|
89
|
-
mutation: {
|
|
90
|
-
closed: (_inputs, config) => !mutationGateEnabled(config),
|
|
91
|
-
reason: "mutation gate is disabled",
|
|
92
|
-
},
|
|
93
|
-
coverage_adequacy_declared: {
|
|
94
|
-
closed: (_inputs, config) => !coverageAdequacyEnforced(config),
|
|
95
|
-
reason: "gates.coverage-adequacy is off or not declared at pull-request",
|
|
96
|
-
},
|
|
97
|
-
compliance_framework: {
|
|
98
|
-
closed: inputs => inputs.complianceFramework.length === 0 ||
|
|
99
|
-
inputs.complianceFramework === "none" ||
|
|
100
|
-
inputs.complianceFramework === "(none)",
|
|
101
|
-
reason: "no compliance_framework configured",
|
|
102
|
-
},
|
|
103
|
-
require_approval: {
|
|
104
|
-
closed: inputs => !inputs.requireApproval,
|
|
105
|
-
reason: "require_approval is off",
|
|
106
|
-
},
|
|
107
|
-
traceability_declared: {
|
|
108
|
-
closed: (_inputs, config) => traceabilityOff(config),
|
|
109
|
-
reason: "gates.traceability is off",
|
|
110
|
-
},
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Resolve a config/workflow gate into an off-reason, or undefined when open.
|
|
114
|
-
* @param gate - Gate kind on the job spec
|
|
115
|
-
* @param inputs - ci.yml inputs
|
|
116
|
-
* @param config - Merged Lisa config
|
|
117
|
-
* @returns Off reason when the gate closes the job
|
|
118
|
-
*/
|
|
119
|
-
function gateOffReason(gate, inputs, config) {
|
|
120
|
-
if (!gate)
|
|
121
|
-
return undefined;
|
|
122
|
-
const closer = GATE_CLOSERS[gate];
|
|
123
|
-
return closer.closed(inputs, config) ? closer.reason : undefined;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Whether the project has switched the work-item traceability gate off.
|
|
127
|
-
*
|
|
128
|
-
* Absence is NOT off. A project that never mentions the gate still runs the
|
|
129
|
-
* built-in check — the gates block narrows and overrides, it does not enable —
|
|
130
|
-
* so treating an undeclared gate as inactive would show the console a job as
|
|
131
|
-
* disabled while CI keeps enforcing it. Only an explicit `off` is off.
|
|
132
|
-
* @param config - Merged Lisa config
|
|
133
|
-
* @returns True only when the gate is explicitly declared off
|
|
134
|
-
*/
|
|
135
|
-
function traceabilityOff(config) {
|
|
136
|
-
if (!isJsonObject(config.gates) || !isJsonObject(config.gates.traceability)) {
|
|
137
|
-
return false;
|
|
138
|
-
}
|
|
139
|
-
const declared = config.gates.traceability["pull-request"];
|
|
140
|
-
if (typeof declared === "string") {
|
|
141
|
-
return declared === "off";
|
|
142
|
-
}
|
|
143
|
-
return isJsonObject(declared) && declared.level === "off";
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Whether the project's verification-coverage job proves anything at all.
|
|
147
|
-
*
|
|
148
|
-
* ABSENCE IS OFF HERE, and only here — the exact opposite of `traceabilityOff`
|
|
149
|
-
* one function up, which is why the two are written separately rather than
|
|
150
|
-
* shared. `verification_coverage` is the one façade job that STANDS DOWN when
|
|
151
|
-
* nothing declares its gate instead of running a built-in (see
|
|
152
|
-
* `DECLARATION_REQUIRED_JOBS` in lisa-gates.mjs, CodySwannGT/lisa#3021), so a
|
|
153
|
-
* project that never mentions the gate really does get no enforcement, and
|
|
154
|
-
* showing the job as active would tell the console the opposite of what CI does.
|
|
155
|
-
*
|
|
156
|
-
* `off` is closed too, by a different route: it is a real declaration, but the
|
|
157
|
-
* preallocation plan skips the job for it. Saying no and saying nothing reach
|
|
158
|
-
* the same console state through different mechanisms, which is why the reason
|
|
159
|
-
* names both rather than claiming one.
|
|
160
|
-
* @param config - Merged Lisa config
|
|
161
|
-
* @returns True only when the gate is declared at pull-request at a level that runs
|
|
162
|
-
*/
|
|
163
|
-
function coverageAdequacyEnforced(config) {
|
|
164
|
-
return declaredToRunAtPullRequest(config, "coverage-adequacy");
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* Whether a gate is declared at pull-request at a level that runs.
|
|
168
|
-
*
|
|
169
|
-
* Absence is NOT running here: this answers for checks that exist only behind
|
|
170
|
-
* a declaration (verification coverage, and every declared gate leg).
|
|
171
|
-
* @param config - Merged Lisa config
|
|
172
|
-
* @param gate - Gate id
|
|
173
|
-
* @returns True only when declared at pull-request and not `off`
|
|
174
|
-
*/
|
|
175
|
-
function declaredToRunAtPullRequest(config, gate) {
|
|
176
|
-
if (!isJsonObject(config.gates) || !isJsonObject(config.gates[gate])) {
|
|
177
|
-
return false;
|
|
178
|
-
}
|
|
179
|
-
const declared = config.gates[gate]["pull-request"];
|
|
180
|
-
// Only the two levels that run count. A malformed declaration (`null`, an
|
|
181
|
-
// unknown string, an object without a valid level) is reported by
|
|
182
|
-
// `validateGates` but not removed, and it runs nothing, so it must not read
|
|
183
|
-
// as active here.
|
|
184
|
-
const level = isJsonObject(declared) ? declared.level : declared;
|
|
185
|
-
return level === "required" || level === "optional";
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* The row for a check a declared gate leg runs (#3052).
|
|
189
|
-
*
|
|
190
|
-
* `skip_jobs` is not consulted: a leg answers to the declaration, so a caller
|
|
191
|
-
* still passing the retired token is not skipping anything.
|
|
192
|
-
* @param spec - Job spec carrying `leg`
|
|
193
|
-
* @param gate - The gate the leg runs
|
|
194
|
-
* @param config - Merged Lisa config
|
|
195
|
-
* @returns The Active-column row
|
|
196
|
-
*/
|
|
197
|
-
function legJobEntry(spec, gate, config) {
|
|
198
|
-
const runs = declaredToRunAtPullRequest(config, gate);
|
|
199
|
-
return {
|
|
200
|
-
id: spec.id,
|
|
201
|
-
label: spec.label,
|
|
202
|
-
active: runs,
|
|
203
|
-
reason: runs
|
|
204
|
-
? ""
|
|
205
|
-
: `gates.${gate} is off or not declared at pull-request, so no declared gate leg runs it`,
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Resolve secret presence into active/off/unknown for one job.
|
|
210
|
-
* @param secretName - Required Actions secret
|
|
211
|
-
* @param secrets - Presence inventory or unknown
|
|
212
|
-
* @returns Job active state and reason
|
|
213
|
-
*/
|
|
214
|
-
function secretActiveState(secretName, secrets) {
|
|
215
|
-
if (secrets.state === "unknown") {
|
|
216
|
-
return {
|
|
217
|
-
active: null,
|
|
218
|
-
reason: secrets.reason === "not-authenticated"
|
|
219
|
-
? "not authenticated"
|
|
220
|
-
: secrets.message,
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
if (!secrets.names.has(secretName)) {
|
|
224
|
-
return {
|
|
225
|
-
active: false,
|
|
226
|
-
reason: `${secretName} secret is not set`,
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
return { active: true, reason: "" };
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Join ci.yml inputs, gate config, and secret presence into Active-column rows.
|
|
233
|
-
* @param inputs - Parsed ci.yml quality inputs
|
|
234
|
-
* @param config - Merged Lisa config
|
|
235
|
-
* @param secrets - Presence-only secret inventory
|
|
236
|
-
* @returns Probe value for the Quality jobs table
|
|
237
|
-
*/
|
|
238
|
-
export function computeCiQualityJobs(inputs, config, secrets) {
|
|
239
|
-
const skipped = new Set(inputs.skipJobs);
|
|
240
|
-
const jobs = QUALITY_JOB_SPECS.map((spec) => {
|
|
241
|
-
if (spec.leg !== undefined)
|
|
242
|
-
return legJobEntry(spec, spec.leg, config);
|
|
243
|
-
if (skipped.has(spec.id)) {
|
|
244
|
-
return {
|
|
245
|
-
id: spec.id,
|
|
246
|
-
label: spec.label,
|
|
247
|
-
active: false,
|
|
248
|
-
reason: `ci.yml skip_jobs includes ${spec.id}`,
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
const closed = gateOffReason(spec.gate, inputs, config);
|
|
252
|
-
if (closed !== undefined) {
|
|
253
|
-
return {
|
|
254
|
-
id: spec.id,
|
|
255
|
-
label: spec.label,
|
|
256
|
-
active: false,
|
|
257
|
-
reason: closed,
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
if (spec.secret !== undefined) {
|
|
261
|
-
const secretState = secretActiveState(spec.secret, secrets);
|
|
262
|
-
return {
|
|
263
|
-
id: spec.id,
|
|
264
|
-
label: spec.label,
|
|
265
|
-
active: secretState.active,
|
|
266
|
-
reason: secretState.reason,
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
return {
|
|
270
|
-
id: spec.id,
|
|
271
|
-
label: spec.label,
|
|
272
|
-
active: true,
|
|
273
|
-
reason: "",
|
|
274
|
-
};
|
|
275
|
-
});
|
|
276
|
-
return { jobs };
|
|
277
|
-
}
|
|
278
|
-
//# sourceMappingURL=ui-ci-quality-jobs-compute.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-ci-quality-jobs-compute.js","sourceRoot":"","sources":["../../src/cli/ui-ci-quality-jobs-compute.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,YAAY,GAGb,MAAM,sBAAsB,CAAC;AAsD9B,sEAAsE;AACtE,MAAM,iBAAiB,GAA8B;IACnD,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE;IAChC,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,oBAAoB,EAAE,GAAG,EAAE,iBAAiB,EAAE;IACxE,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,EAAE,kBAAkB,EAAE;IACpE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,qBAAqB,EAAE,GAAG,EAAE,oBAAoB,EAAE;IACzE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,iBAAiB,EAAE;IAC3D,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,mBAAmB,EAAE;IAC/C,EAAE,EAAE,EAAE,kBAAkB,EAAE,KAAK,EAAE,0BAA0B,EAAE;IAC7D,EAAE,EAAE,EAAE,gBAAgB,EAAE,KAAK,EAAE,qBAAqB,EA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AAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,EAAE;SACX,CAAC;IACJ,CAAC,CAAC,CAAC;IACH,OAAO,EAAE,IAAI,EAAE,CAAC;AAClB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-ci-quality-jobs-parse.d.ts","sourceRoot":"","sources":["../../src/cli/ui-ci-quality-jobs-parse.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAKhE;AAiFD;;;;;GAKG;AACH,wBAAsB,qBAAqB,CACzC,GAAG,EAAE,MAAM,EACX,SAAS,GAAE,CAAC,WAAW,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAiB,GAClE,OAAO,CAAC,gBAAgB,CAAC,CAiB3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-ci-quality-jobs-parse.js","sourceRoot":"","sources":["../../src/cli/ui-ci-quality-jobs-parse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,GAAW;IAC7C,OAAO,MAAM,QAAQ,CACnB,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,CAAC,EAChD,MAAM,CACP,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,aAAa,CAAC,GAAY;IACjC,IAAI,OAAO,GAAG,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CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,OAAO,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YACvD,SAAS;QACX,CAAC;QACD,IACE,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC;YACjC,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,mBAAmB,CAAC,EACvC,CAAC;YACD,SAAS;QACX,CAAC;QACD,IAAI,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;YAC3B,OAAO,GAAG,CAAC,IAA+B,CAAC;QAC7C,CAAC;QACD,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,GAAW,EACX,YAAsD,aAAa;IAEnE,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,GAAG,CAAC,CAAC;IACpC,MAAM,QAAQ,GAAY,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3C,MAAM,SAAS,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC7C,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CACb,yEAAyE,CAC1E,CAAC;IACJ,CAAC;IACD,OAAO;QACL,QAAQ,EAAE,aAAa,CAAC,SAAS,CAAC,SAAS,CAAC;QAC5C,mBAAmB,EAAE,QAAQ,CAC3B,SAAS,CAAC,oBAAoB,EAC9B,MAAM,CACP,CAAC,WAAW,EAAE;QACf,eAAe,EAAE,SAAS,CAAC,SAAS,CAAC,gBAAgB,EAAE,KAAK,CAAC;KAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type JsonObject } from "../sync/json-path.js";
|
|
2
|
-
import { type CiQualityJobsValue, type RepoSecretsPresence } from "./ui-ci-quality-jobs-compute.js";
|
|
3
|
-
import type { StatusProbe } from "./ui-status.js";
|
|
4
|
-
export { computeCiQualityJobs, type CiQualityJobEntry, type CiQualityJobsValue, type CiWorkflowInputs, type RepoSecretsPresence, } from "./ui-ci-quality-jobs-compute.js";
|
|
5
|
-
export { parseCiWorkflowInputs } from "./ui-ci-quality-jobs-parse.js";
|
|
6
|
-
/** Stable probe id consumed by the console Active-column hydrator. */
|
|
7
|
-
export declare const CI_QUALITY_JOBS_PROBE_ID = "ci-quality-jobs";
|
|
8
|
-
/** Injectable collaborators for focused unit tests. */
|
|
9
|
-
export interface CiQualityJobsDependencies {
|
|
10
|
-
readonly listSecrets?: (cwd: string, timeoutMs: number, signal: AbortSignal, repo: string | undefined) => Promise<RepoSecretsPresence>;
|
|
11
|
-
readonly readCiYml?: (cwd: string) => Promise<string>;
|
|
12
|
-
readonly resolveRepo?: (cwd: string, config: JsonObject) => string | undefined;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Create the CI quality-jobs Active-column probe.
|
|
16
|
-
* @param cwd - Project root
|
|
17
|
-
* @param config - Merged Lisa config (mutation gate, github slug)
|
|
18
|
-
* @param dependencies - Injectable readers for tests
|
|
19
|
-
* @returns Live-status probe
|
|
20
|
-
*/
|
|
21
|
-
export declare function createCiQualityJobsProbe(cwd: string, config: JsonObject, dependencies?: CiQualityJobsDependencies): StatusProbe<CiQualityJobsValue>;
|
|
22
|
-
//# sourceMappingURL=ui-ci-quality-jobs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-ci-quality-jobs.d.ts","sourceRoot":"","sources":["../../src/cli/ui-ci-quality-jobs.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,iCAAiC,CAAC;AAKzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,OAAO,EACL,oBAAoB,EACpB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,GACzB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,sEAAsE;AACtE,eAAO,MAAM,wBAAwB,oBAAoB,CAAC;AAE1D,uDAAuD;AACvD,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,WAAW,CAAC,EAAE,CACrB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE,MAAM,GAAG,SAAS,KACrB,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAClC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACtD,QAAQ,CAAC,WAAW,CAAC,EAAE,CACrB,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,UAAU,KACf,MAAM,GAAG,SAAS,CAAC;CACzB;AAiID;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,UAAU,EAClB,YAAY,GAAE,yBAA8B,GAC3C,WAAW,CAAC,kBAAkB,CAAC,CAuCjC"}
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Live-status probe for the CI Quality jobs Active column.
|
|
3
|
-
*
|
|
4
|
-
* Three-input join: `ci.yml` skip/gate inputs, Lisa gate config, and
|
|
5
|
-
* presence-only `gh secret list`. READ-ONLY — never fabricates "off" for
|
|
6
|
-
* secrets when authentication is unavailable.
|
|
7
|
-
* @module cli/ui-ci-quality-jobs
|
|
8
|
-
*/
|
|
9
|
-
import { execFile } from "node:child_process";
|
|
10
|
-
import { isJsonObject } from "../sync/json-path.js";
|
|
11
|
-
import { computeCiQualityJobs, } from "./ui-ci-quality-jobs-compute.js";
|
|
12
|
-
import { parseCiWorkflowInputs, readCiYmlFile, } from "./ui-ci-quality-jobs-parse.js";
|
|
13
|
-
export { computeCiQualityJobs, } from "./ui-ci-quality-jobs-compute.js";
|
|
14
|
-
export { parseCiWorkflowInputs } from "./ui-ci-quality-jobs-parse.js";
|
|
15
|
-
/** Stable probe id consumed by the console Active-column hydrator. */
|
|
16
|
-
export const CI_QUALITY_JOBS_PROBE_ID = "ci-quality-jobs";
|
|
17
|
-
/**
|
|
18
|
-
* Resolve `owner/repo` from Lisa config when both fields are non-empty strings.
|
|
19
|
-
* @param config - Merged Lisa config
|
|
20
|
-
* @returns Repo slug, or undefined when absent
|
|
21
|
-
*/
|
|
22
|
-
function repoFromConfig(config) {
|
|
23
|
-
if (!isJsonObject(config.github)) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
const org = config.github.org;
|
|
27
|
-
const repo = config.github.repo;
|
|
28
|
-
if (typeof org === "string" &&
|
|
29
|
-
org.trim().length > 0 &&
|
|
30
|
-
typeof repo === "string" &&
|
|
31
|
-
repo.trim().length > 0) {
|
|
32
|
-
return `${org.trim()}/${repo.trim()}`;
|
|
33
|
-
}
|
|
34
|
-
return undefined;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Classify a failed `gh secret list` into not-authenticated vs other unknown.
|
|
38
|
-
* @param error - Child-process or parse error
|
|
39
|
-
* @returns Unknown secrets presence
|
|
40
|
-
*/
|
|
41
|
-
function classifySecretListError(error) {
|
|
42
|
-
const message = error instanceof Error && error.message.trim().length > 0
|
|
43
|
-
? error.message
|
|
44
|
-
: "Unable to list repository secrets";
|
|
45
|
-
const lower = message.toLowerCase();
|
|
46
|
-
const notAuthenticated = lower.includes("401") ||
|
|
47
|
-
lower.includes("bad credentials") ||
|
|
48
|
-
lower.includes("not logged in") ||
|
|
49
|
-
lower.includes("authentication required") ||
|
|
50
|
-
lower.includes("to re-authenticate") ||
|
|
51
|
-
lower.includes("gh auth login");
|
|
52
|
-
return {
|
|
53
|
-
state: "unknown",
|
|
54
|
-
reason: notAuthenticated ? "not-authenticated" : "secret-list-failed",
|
|
55
|
-
message: notAuthenticated ? "GitHub CLI is not authenticated" : message,
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Parse `gh secret list --json name` stdout into a presence set.
|
|
60
|
-
* @param stdout - Command stdout
|
|
61
|
-
* @returns Presence-only secret names
|
|
62
|
-
*/
|
|
63
|
-
function secretNamesFromJson(stdout) {
|
|
64
|
-
const parsed = JSON.parse(stdout);
|
|
65
|
-
if (!Array.isArray(parsed)) {
|
|
66
|
-
throw new TypeError("gh secret list did not return an array");
|
|
67
|
-
}
|
|
68
|
-
return new Set(parsed.flatMap(entry => {
|
|
69
|
-
if (typeof entry !== "object" || entry === null) {
|
|
70
|
-
return [];
|
|
71
|
-
}
|
|
72
|
-
const name = Reflect.get(entry, "name");
|
|
73
|
-
return typeof name === "string" && name.trim().length > 0 ? [name] : [];
|
|
74
|
-
}));
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* List Actions secret *names* only via `gh secret list --json name`.
|
|
78
|
-
* @param cwd - Project root
|
|
79
|
-
* @param timeoutMs - Child-process timeout
|
|
80
|
-
* @param signal - Probe cancellation
|
|
81
|
-
* @param repo - Optional `owner/repo` for `-R`
|
|
82
|
-
* @returns Presence set or unknown
|
|
83
|
-
*/
|
|
84
|
-
const listRepoSecretNames = async (cwd, timeoutMs, signal, repo) => await new Promise((resolve, reject) => {
|
|
85
|
-
const args = repo !== undefined && repo.length > 0
|
|
86
|
-
? ["secret", "list", "--json", "name", "-R", repo]
|
|
87
|
-
: ["secret", "list", "--json", "name"];
|
|
88
|
-
const ghExecutable = "gh";
|
|
89
|
-
execFile(
|
|
90
|
-
// eslint-disable-next-line sonarjs/no-os-command-from-path -- fixed user-installed gh executable
|
|
91
|
-
ghExecutable, [...args], { cwd, signal, timeout: timeoutMs, encoding: "utf8" }, (error, stdout) => {
|
|
92
|
-
if (error !== null) {
|
|
93
|
-
reject(error);
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
try {
|
|
97
|
-
resolve({ state: "value", names: secretNamesFromJson(stdout) });
|
|
98
|
-
}
|
|
99
|
-
catch (parseError) {
|
|
100
|
-
reject(parseError);
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
});
|
|
104
|
-
/**
|
|
105
|
-
* Load secret presence, mapping command failures to honest unknown states.
|
|
106
|
-
* @param listSecrets - Injectable secret lister
|
|
107
|
-
* @param cwd - Project root
|
|
108
|
-
* @param timeoutMs - Child-process timeout
|
|
109
|
-
* @param signal - Probe cancellation
|
|
110
|
-
* @param repo - Optional repo slug
|
|
111
|
-
* @returns Presence inventory or unknown
|
|
112
|
-
*/
|
|
113
|
-
async function loadSecretsPresence(listSecrets, cwd, timeoutMs, signal, repo) {
|
|
114
|
-
try {
|
|
115
|
-
return await listSecrets(cwd, timeoutMs + 250, signal, repo);
|
|
116
|
-
}
|
|
117
|
-
catch (error) {
|
|
118
|
-
return classifySecretListError(error);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Create the CI quality-jobs Active-column probe.
|
|
123
|
-
* @param cwd - Project root
|
|
124
|
-
* @param config - Merged Lisa config (mutation gate, github slug)
|
|
125
|
-
* @param dependencies - Injectable readers for tests
|
|
126
|
-
* @returns Live-status probe
|
|
127
|
-
*/
|
|
128
|
-
export function createCiQualityJobsProbe(cwd, config, dependencies = {}) {
|
|
129
|
-
const timeoutMs = 5_000;
|
|
130
|
-
const listSecrets = dependencies.listSecrets ?? listRepoSecretNames;
|
|
131
|
-
const readCiYml = dependencies.readCiYml ?? readCiYmlFile;
|
|
132
|
-
const resolveRepo = dependencies.resolveRepo ?? ((_projectRoot, cfg) => repoFromConfig(cfg));
|
|
133
|
-
return {
|
|
134
|
-
id: CI_QUALITY_JOBS_PROBE_ID,
|
|
135
|
-
timeoutMs,
|
|
136
|
-
run: async (signal) => {
|
|
137
|
-
try {
|
|
138
|
-
const inputs = await parseCiWorkflowInputs(cwd, readCiYml);
|
|
139
|
-
const secrets = await loadSecretsPresence(listSecrets, cwd, timeoutMs, signal, resolveRepo(cwd, config));
|
|
140
|
-
return {
|
|
141
|
-
state: "value",
|
|
142
|
-
value: computeCiQualityJobs(inputs, config, secrets),
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
catch (error) {
|
|
146
|
-
const message = error instanceof Error && error.message.trim().length > 0
|
|
147
|
-
? error.message
|
|
148
|
-
: "Unable to read ci.yml quality inputs";
|
|
149
|
-
const missing = message.includes("ENOENT") ||
|
|
150
|
-
message.toLowerCase().includes("no such file");
|
|
151
|
-
return {
|
|
152
|
-
state: "unknown",
|
|
153
|
-
reason: missing ? "ci-yml-missing" : "ci-yml-unreadable",
|
|
154
|
-
message,
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
//# sourceMappingURL=ui-ci-quality-jobs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-ci-quality-jobs.js","sourceRoot":"","sources":["../../src/cli/ui-ci-quality-jobs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAmB,MAAM,sBAAsB,CAAC;AACrE,OAAO,EACL,oBAAoB,GAGrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,aAAa,GACd,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EACL,oBAAoB,GAKrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,sEAAsE;AACtE,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;AAiB1D;;;;GAIG;AACH,SAAS,cAAc,CAAC,MAAkB;IACxC,IAAI,CAAC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AE,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3E,OAAO;QACL,EAAE,EAAE,wBAAwB;QAC5B,SAAS;QACT,GAAG,EAAE,KAAK,EAAC,MAAM,EAAC,EAAE;YAClB,IAAI,CAAC;gBACH,MAAM,MAAM,GAAG,MAAM,qBAAqB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;gBAC3D,MAAM,OAAO,GAAG,MAAM,mBAAmB,CACvC,WAAW,EACX,GAAG,EACH,SAAS,EACT,MAAM,EACN,WAAW,CAAC,GAAG,EAAE,MAAM,CAAC,CACzB,CAAC;gBACF,OAAO;oBACL,KAAK,EAAE,OAAO;oBACd,KAAK,EAAE,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;iBACrD,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,OAAO,GACX,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC;oBACvD,CAAC,CAAC,KAAK,CAAC,OAAO;oBACf,CAAC,CAAC,sCAAsC,CAAC;gBAC7C,MAAM,OAAO,GACX,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;oBAC1B,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;gBACjD,OAAO;oBACL,KAAK,EAAE,SAAS;oBAChB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,mBAAmB;oBACxD,OAAO;iBACR,CAAC;YACJ,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/dist/cli/ui-cmd.d.ts
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `lisa ui` — serve the Lisa settings console for a project.
|
|
3
|
-
*
|
|
4
|
-
* Runs a config sync first (so the config file is fully populated — the UI's
|
|
5
|
-
* contract is "no unset configs"), then serves the packaged `ui/index.html`
|
|
6
|
-
* with the project's merged live config injected as
|
|
7
|
-
* `window.LISA_LIVE_CONFIG`, which the page uses to hydrate its controls.
|
|
8
|
-
* @module cli/ui-cmd
|
|
9
|
-
*/
|
|
10
|
-
import type { Command } from "commander";
|
|
11
|
-
import * as http from "node:http";
|
|
12
|
-
import type { JsonObject } from "../sync/json-path.js";
|
|
13
|
-
import { type RemoteEnvironmentStatus } from "./remote-environment.js";
|
|
14
|
-
import { type StatusProbe } from "./ui-status.js";
|
|
15
|
-
import { type UiStarterSyncDependencies } from "./ui-starter-sync.js";
|
|
16
|
-
import { type GateReportDependencies } from "./ui-gate-report.js";
|
|
17
|
-
import { type UiHealthDependencies } from "./ui-health.js";
|
|
18
|
-
import { type SetupReadinessDependencies } from "./ui-setup-readiness.js";
|
|
19
|
-
export { createGithubAuthProbe, runProbe, type GitRemoteReader, type GithubAuthCheck, type ProbeResult, type StatusProbe, } from "./ui-status.js";
|
|
20
|
-
export { createGithubRepoProbe } from "./ui-github-repo.js";
|
|
21
|
-
export { createEnabledPluginsProbe, buildEnabledPluginsValue, listMarketplacePluginsFromDisk, type EnabledPluginRow, type EnabledPluginsValue, type MarketplacePlugin, } from "./ui-enabled-plugins.js";
|
|
22
|
-
export { createDeployPipelineProbe, DEPLOY_PIPELINE_PROBE_ID, type DeployPipelineStage, type DeployPipelineValue, } from "./ui-deploy-pipeline.js";
|
|
23
|
-
export { createDetectedStacksProbe, DETECTED_STACKS_PROBE_ID, } from "./ui-detected-stacks.js";
|
|
24
|
-
export { createLisaVersionProbe, mapLisaVersionCheck, type LisaVersionValue, } from "./ui-lisa-version.js";
|
|
25
|
-
export { createCiQualityJobsProbe, computeCiQualityJobs, parseCiWorkflowInputs, CI_QUALITY_JOBS_PROBE_ID, type CiQualityJobEntry, type CiQualityJobsValue, type CiWorkflowInputs, type RepoSecretsPresence, } from "./ui-ci-quality-jobs.js";
|
|
26
|
-
export { createObservabilityProviderProbes } from "./ui-observability-providers.js";
|
|
27
|
-
export { createGateReportHandler, readGateReport, type GateReportDependencies, type GateReportResponse, } from "./ui-gate-report.js";
|
|
28
|
-
export { inspectRemoteEnvironment } from "./remote-environment.js";
|
|
29
|
-
/** Default port for the settings console. */
|
|
30
|
-
export declare const DEFAULT_UI_PORT = 4780;
|
|
31
|
-
/** CLI options for `lisa ui`. */
|
|
32
|
-
export interface UiCmdOptions {
|
|
33
|
-
/** Port to listen on (string because Commander passes raw option values) */
|
|
34
|
-
readonly port?: string;
|
|
35
|
-
/** Set false (via --no-sync) to skip the config sync on startup */
|
|
36
|
-
readonly sync?: boolean;
|
|
37
|
-
/** Optional attribution for starter-sync commits made through this console. */
|
|
38
|
-
readonly workItem?: string;
|
|
39
|
-
readonly coAuthor?: string;
|
|
40
|
-
}
|
|
41
|
-
/** Injectable runtime collaborators for `lisa ui`. */
|
|
42
|
-
export interface UiRuntimeDependencies {
|
|
43
|
-
/** Trusted in-process host receives the private launch URL instead of printing it. */
|
|
44
|
-
readonly onListening?: (launchUrl: string) => void;
|
|
45
|
-
/** Status probes exposed by GET /api/status. */
|
|
46
|
-
readonly probes?: readonly StatusProbe[];
|
|
47
|
-
/** Health storage and execution boundaries exposed by /api/health. */
|
|
48
|
-
readonly health?: Partial<UiHealthDependencies>;
|
|
49
|
-
/** Existing starter-sync command invoked by the console write endpoint. */
|
|
50
|
-
readonly starterSync?: Partial<UiStarterSyncDependencies>;
|
|
51
|
-
/** Read-only setup-readiness boundaries exposed by /api/setup-readiness. */
|
|
52
|
-
readonly setupReadiness?: SetupReadinessDependencies;
|
|
53
|
-
/** Read-only gate-report boundaries exposed by /api/gate-report. */
|
|
54
|
-
readonly gateReport?: GateReportDependencies;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Register the console and its server-bound starter attribution.
|
|
58
|
-
* @param program - Root CLI program.
|
|
59
|
-
* @param run - Console startup operation.
|
|
60
|
-
*/
|
|
61
|
-
export declare function addUiCommand(program: Command, run: typeof runUi): void;
|
|
62
|
-
/**
|
|
63
|
-
* Locate the packaged `ui/index.html` by walking up from this module until a
|
|
64
|
-
* directory containing `ui/index.html` is found (works from both `src/` and
|
|
65
|
-
* the compiled `dist/`).
|
|
66
|
-
* @param startDir - Directory to start searching from
|
|
67
|
-
* @returns Absolute path to ui/index.html
|
|
68
|
-
*/
|
|
69
|
-
export declare function findUiHtml(startDir: string): string;
|
|
70
|
-
/**
|
|
71
|
-
* Inject the live config into the console HTML as a script tag. The JSON is
|
|
72
|
-
* escaped so a value containing `</script>` cannot break out of the tag.
|
|
73
|
-
* @param html - Packaged console HTML
|
|
74
|
-
* @param config - Merged live config
|
|
75
|
-
* @param remoteEnvironment - Boolean-only secret and startup-artifact status
|
|
76
|
-
* @returns HTML with the injected config
|
|
77
|
-
*/
|
|
78
|
-
export declare function injectLiveConfig(html: string, config: JsonObject, remoteEnvironment?: RemoteEnvironmentStatus): string;
|
|
79
|
-
/**
|
|
80
|
-
* Run the `lisa ui` command: sync, then serve the console until interrupted.
|
|
81
|
-
* @param targetPath - Project path argument (defaults to the current directory)
|
|
82
|
-
* @param options - CLI options
|
|
83
|
-
* @param dependencies - Optional status probes for tests and extensions
|
|
84
|
-
* @returns The listening server (callers/tests are responsible for closing it)
|
|
85
|
-
*/
|
|
86
|
-
export declare function runUi(targetPath: string | undefined, options?: UiCmdOptions, dependencies?: UiRuntimeDependencies): Promise<http.Server>;
|
|
87
|
-
//# sourceMappingURL=ui-cmd.d.ts.map
|
package/dist/cli/ui-cmd.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-cmd.d.ts","sourceRoot":"","sources":["../../src/cli/ui-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAIlC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,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