@mannyc1/ts-release 0.0.6 → 0.2.2
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/ARCHITECTURE.md +124 -87
- package/CHANGELOG.md +115 -0
- package/LICENSE +21 -0
- package/README.md +272 -540
- package/SPEC.md +206 -305
- package/apps/release-ts/README.md +32 -0
- package/apps/release-ts/src/cli/command.ts +164 -0
- package/apps/release-ts/src/cli/commands.ts +351 -0
- package/apps/release-ts/src/cli/main.ts +43 -0
- package/apps/release-ts/src/cli/node-main.ts +49 -0
- package/apps/ts-release-agents/LICENSE +21 -0
- package/apps/ts-release-agents/README.md +21 -0
- package/apps/ts-release-agents/evals/cases.json +11 -0
- package/apps/ts-release-agents/manifests/claude.json +5 -0
- package/apps/ts-release-agents/manifests/codex.json +5 -0
- package/apps/ts-release-agents/package.json +11 -0
- package/apps/ts-release-agents/skills/release/SKILL.md +48 -0
- package/apps/ts-release-agents/skills/release/references/configuration.md +18 -0
- package/apps/ts-release-agents/skills/release/references/recovery.md +10 -0
- package/apps/ts-release-agents/skills/release/references/staged-workflow.md +12 -0
- package/apps/ts-release-agents/skills/release/references/target-selection.md +13 -0
- package/apps/ts-release-agents/skills/release/references/verification.md +14 -0
- package/apps/ts-release-agents/src/build.ts +105 -0
- package/apps/ts-release-agents/src/check.ts +117 -0
- package/apps/ts-release-agents/src/install.ts +121 -0
- package/apps/ts-release-agents/test/contract.test.ts +56 -0
- package/apps/ts-release-agents/tsconfig.json +5 -0
- package/dist/api/api.d.ts +15 -0
- package/dist/api/api.d.ts.map +1 -0
- package/dist/api/api.js +244 -0
- package/dist/api/api.js.map +1 -0
- package/dist/api/errors.d.ts +39 -0
- package/dist/api/errors.d.ts.map +1 -0
- package/dist/api/errors.js +32 -0
- package/dist/api/errors.js.map +1 -0
- package/dist/api/input.d.ts +10 -0
- package/dist/api/input.d.ts.map +1 -0
- package/dist/api/input.js +73 -0
- package/dist/api/input.js.map +1 -0
- package/dist/api/runtime.d.ts +18 -0
- package/dist/api/runtime.d.ts.map +1 -0
- package/dist/api/runtime.js +7 -0
- package/dist/api/runtime.js.map +1 -0
- package/dist/api/types.d.ts +76 -0
- package/dist/api/types.d.ts.map +1 -0
- package/dist/api/types.js +17 -0
- package/dist/api/types.js.map +1 -0
- package/dist/bin/ts-release.js +39239 -0
- package/dist/capabilities/bun-targets.d.ts +3 -0
- package/dist/capabilities/bun-targets.d.ts.map +1 -0
- package/dist/capabilities/bun-targets.js +3 -0
- package/dist/capabilities/bun-targets.js.map +1 -0
- package/dist/capabilities/field-ownership.d.ts +17 -0
- package/dist/capabilities/field-ownership.d.ts.map +1 -0
- package/dist/capabilities/field-ownership.js +40 -0
- package/dist/capabilities/field-ownership.js.map +1 -0
- package/dist/capabilities/module.d.ts +91 -0
- package/dist/capabilities/module.d.ts.map +1 -0
- package/dist/capabilities/module.js +2 -0
- package/dist/capabilities/module.js.map +1 -0
- package/dist/capabilities/registry.d.ts +829 -0
- package/dist/capabilities/registry.d.ts.map +1 -0
- package/dist/capabilities/registry.js +291 -0
- package/dist/capabilities/registry.js.map +1 -0
- package/dist/config/config.d.ts +6 -0
- package/dist/config/config.d.ts.map +1 -0
- package/dist/config/config.js +42 -0
- package/dist/config/config.js.map +1 -0
- package/dist/correction/coordinator.d.ts +248 -0
- package/dist/correction/coordinator.d.ts.map +1 -0
- package/dist/correction/coordinator.js +274 -0
- package/dist/correction/coordinator.js.map +1 -0
- package/dist/correction/index.d.ts +3 -0
- package/dist/correction/index.d.ts.map +1 -0
- package/dist/correction/index.js +3 -0
- package/dist/correction/index.js.map +1 -0
- package/dist/correction/intent.d.ts +111 -0
- package/dist/correction/intent.d.ts.map +1 -0
- package/dist/correction/intent.js +146 -0
- package/dist/correction/intent.js.map +1 -0
- package/dist/drivers/archive.d.ts +8 -0
- package/dist/drivers/archive.d.ts.map +1 -0
- package/dist/drivers/archive.js +101 -0
- package/dist/drivers/archive.js.map +1 -0
- package/dist/drivers/contain.d.ts +6 -0
- package/dist/drivers/contain.d.ts.map +1 -0
- package/dist/drivers/contain.js +17 -0
- package/dist/drivers/contain.js.map +1 -0
- package/dist/drivers/environment.d.ts +4 -0
- package/dist/drivers/environment.d.ts.map +1 -0
- package/dist/drivers/environment.js +18 -0
- package/dist/drivers/environment.js.map +1 -0
- package/dist/drivers/errors.d.ts +9 -0
- package/dist/drivers/errors.d.ts.map +1 -0
- package/dist/drivers/errors.js +6 -0
- package/dist/drivers/errors.js.map +1 -0
- package/dist/drivers/glob.d.ts +2 -0
- package/dist/drivers/glob.d.ts.map +1 -0
- package/dist/drivers/glob.js +162 -0
- package/dist/drivers/glob.js.map +1 -0
- package/dist/drivers/process.d.ts +48 -0
- package/dist/drivers/process.d.ts.map +1 -0
- package/dist/drivers/process.js +257 -0
- package/dist/drivers/process.js.map +1 -0
- package/dist/drivers/redact.d.ts +4 -0
- package/dist/drivers/redact.d.ts.map +1 -0
- package/dist/drivers/redact.js +24 -0
- package/dist/drivers/redact.js.map +1 -0
- package/dist/drivers/seccomp-helper-source.d.ts +7 -0
- package/dist/drivers/seccomp-helper-source.d.ts.map +1 -0
- package/dist/drivers/seccomp-helper-source.js +121 -0
- package/dist/drivers/seccomp-helper-source.js.map +1 -0
- package/dist/drivers/utils.d.ts +4 -0
- package/dist/drivers/utils.d.ts.map +1 -0
- package/dist/drivers/utils.js +5 -0
- package/dist/drivers/utils.js.map +1 -0
- package/dist/drivers/workspace.d.ts +6 -0
- package/dist/drivers/workspace.d.ts.map +1 -0
- package/dist/drivers/workspace.js +49 -0
- package/dist/drivers/workspace.js.map +1 -0
- package/dist/extensions/provider-adapter.d.ts +48 -0
- package/dist/extensions/provider-adapter.d.ts.map +1 -0
- package/dist/extensions/provider-adapter.js +64 -0
- package/dist/extensions/provider-adapter.js.map +1 -0
- package/dist/host.d.ts +33 -0
- package/dist/host.d.ts.map +1 -0
- package/dist/host.js +20 -0
- package/dist/host.js.map +1 -0
- package/dist/index.d.ts +19 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/model/artifact-collection.d.ts +84 -0
- package/dist/model/artifact-collection.d.ts.map +1 -0
- package/dist/model/artifact-collection.js +185 -0
- package/dist/model/artifact-collection.js.map +1 -0
- package/dist/model/authority.d.ts +89 -0
- package/dist/model/authority.d.ts.map +1 -0
- package/dist/model/authority.js +80 -0
- package/dist/model/authority.js.map +1 -0
- package/dist/model/bun-targets.d.ts +34 -0
- package/dist/model/bun-targets.d.ts.map +1 -0
- package/dist/model/bun-targets.js +17 -0
- package/dist/model/bun-targets.js.map +1 -0
- package/dist/model/canonical.d.ts +8 -0
- package/dist/model/canonical.d.ts.map +1 -0
- package/dist/model/canonical.js +205 -0
- package/dist/model/canonical.js.map +1 -0
- package/dist/model/catalog.d.ts +76 -0
- package/dist/model/catalog.d.ts.map +1 -0
- package/dist/model/catalog.js +174 -0
- package/dist/model/catalog.js.map +1 -0
- package/dist/model/digest.d.ts +53 -0
- package/dist/model/digest.d.ts.map +1 -0
- package/dist/model/digest.js +127 -0
- package/dist/model/digest.js.map +1 -0
- package/dist/model/errors.d.ts +14 -0
- package/dist/model/errors.d.ts.map +1 -0
- package/dist/model/errors.js +8 -0
- package/dist/model/errors.js.map +1 -0
- package/dist/model/primitives.d.ts +19 -0
- package/dist/model/primitives.d.ts.map +1 -0
- package/dist/model/primitives.js +18 -0
- package/dist/model/primitives.js.map +1 -0
- package/dist/model/pypi.d.ts +12 -0
- package/dist/model/pypi.d.ts.map +1 -0
- package/dist/model/pypi.js +20 -0
- package/dist/model/pypi.js.map +1 -0
- package/dist/model/python-distribution.d.ts +33 -0
- package/dist/model/python-distribution.d.ts.map +1 -0
- package/dist/model/python-distribution.js +367 -0
- package/dist/model/python-distribution.js.map +1 -0
- package/dist/model/secret-patterns.d.ts +2 -0
- package/dist/model/secret-patterns.d.ts.map +1 -0
- package/dist/model/secret-patterns.js +12 -0
- package/dist/model/secret-patterns.js.map +1 -0
- package/dist/platform/bun.d.ts +7 -0
- package/dist/platform/bun.d.ts.map +1 -0
- package/dist/platform/bun.js +15 -0
- package/dist/platform/bun.js.map +1 -0
- package/dist/platform/credentials.d.ts +32 -0
- package/dist/platform/credentials.d.ts.map +1 -0
- package/dist/platform/credentials.js +772 -0
- package/dist/platform/credentials.js.map +1 -0
- package/dist/platform/host-support.d.ts +2 -0
- package/dist/platform/host-support.d.ts.map +1 -0
- package/dist/platform/host-support.js +4 -0
- package/dist/platform/host-support.js.map +1 -0
- package/dist/platform/node.d.ts +7 -0
- package/dist/platform/node.d.ts.map +1 -0
- package/dist/platform/node.js +15 -0
- package/dist/platform/node.js.map +1 -0
- package/dist/platform/release-runtime.d.ts +11 -0
- package/dist/platform/release-runtime.d.ts.map +1 -0
- package/dist/platform/release-runtime.js +34 -0
- package/dist/platform/release-runtime.js.map +1 -0
- package/dist/platform/services.d.ts +15 -0
- package/dist/platform/services.d.ts.map +1 -0
- package/dist/platform/services.js +30 -0
- package/dist/platform/services.js.map +1 -0
- package/dist/platform/source-observer.d.ts +5 -0
- package/dist/platform/source-observer.d.ts.map +1 -0
- package/dist/platform/source-observer.js +159 -0
- package/dist/platform/source-observer.js.map +1 -0
- package/dist/provider-sdk.d.ts +14 -0
- package/dist/provider-sdk.d.ts.map +1 -0
- package/dist/provider-sdk.js +10 -0
- package/dist/provider-sdk.js.map +1 -0
- package/dist/publication/adapter.d.ts +212 -0
- package/dist/publication/adapter.d.ts.map +1 -0
- package/dist/publication/adapter.js +83 -0
- package/dist/publication/adapter.js.map +1 -0
- package/dist/publication/authority.d.ts +137 -0
- package/dist/publication/authority.d.ts.map +1 -0
- package/dist/publication/authority.js +233 -0
- package/dist/publication/authority.js.map +1 -0
- package/dist/publication/catalog-git.d.ts +37 -0
- package/dist/publication/catalog-git.d.ts.map +1 -0
- package/dist/publication/catalog-git.js +451 -0
- package/dist/publication/catalog-git.js.map +1 -0
- package/dist/publication/claim.d.ts +39 -0
- package/dist/publication/claim.d.ts.map +1 -0
- package/dist/publication/claim.js +31 -0
- package/dist/publication/claim.js.map +1 -0
- package/dist/publication/coordinator.d.ts +246 -0
- package/dist/publication/coordinator.d.ts.map +1 -0
- package/dist/publication/coordinator.js +370 -0
- package/dist/publication/coordinator.js.map +1 -0
- package/dist/publication/github.d.ts +36 -0
- package/dist/publication/github.d.ts.map +1 -0
- package/dist/publication/github.js +644 -0
- package/dist/publication/github.js.map +1 -0
- package/dist/publication/http.d.ts +69 -0
- package/dist/publication/http.d.ts.map +1 -0
- package/dist/publication/http.js +29 -0
- package/dist/publication/http.js.map +1 -0
- package/dist/publication/index.d.ts +5 -0
- package/dist/publication/index.d.ts.map +1 -0
- package/dist/publication/index.js +5 -0
- package/dist/publication/index.js.map +1 -0
- package/dist/publication/npm.d.ts +40 -0
- package/dist/publication/npm.d.ts.map +1 -0
- package/dist/publication/npm.js +359 -0
- package/dist/publication/npm.js.map +1 -0
- package/dist/publication/profiles.d.ts +136 -0
- package/dist/publication/profiles.d.ts.map +1 -0
- package/dist/publication/profiles.js +90 -0
- package/dist/publication/profiles.js.map +1 -0
- package/dist/publication/publisher.d.ts +82 -0
- package/dist/publication/publisher.d.ts.map +1 -0
- package/dist/publication/publisher.js +53 -0
- package/dist/publication/publisher.js.map +1 -0
- package/dist/publication/pypi.d.ts +45 -0
- package/dist/publication/pypi.d.ts.map +1 -0
- package/dist/publication/pypi.js +369 -0
- package/dist/publication/pypi.js.map +1 -0
- package/dist/publication/recovery.d.ts +663 -0
- package/dist/publication/recovery.d.ts.map +1 -0
- package/dist/publication/recovery.js +252 -0
- package/dist/publication/recovery.js.map +1 -0
- package/dist/publication/report.d.ts +1061 -0
- package/dist/publication/report.d.ts.map +1 -0
- package/dist/publication/report.js +441 -0
- package/dist/publication/report.js.map +1 -0
- package/dist/recipes/config.d.ts +296 -0
- package/dist/recipes/config.d.ts.map +1 -0
- package/dist/recipes/config.js +325 -0
- package/dist/recipes/config.js.map +1 -0
- package/dist/release/capabilities.d.ts +12 -0
- package/dist/release/capabilities.d.ts.map +1 -0
- package/dist/release/capabilities.js +395 -0
- package/dist/release/capabilities.js.map +1 -0
- package/dist/release/compiler.d.ts +5 -0
- package/dist/release/compiler.d.ts.map +1 -0
- package/dist/release/compiler.js +19 -0
- package/dist/release/compiler.js.map +1 -0
- package/dist/release/config.d.ts +5 -0
- package/dist/release/config.d.ts.map +1 -0
- package/dist/release/config.js +10 -0
- package/dist/release/config.js.map +1 -0
- package/dist/release/context.d.ts +96 -0
- package/dist/release/context.d.ts.map +1 -0
- package/dist/release/context.js +168 -0
- package/dist/release/context.js.map +1 -0
- package/dist/release/graph.d.ts +271 -0
- package/dist/release/graph.d.ts.map +1 -0
- package/dist/release/graph.js +766 -0
- package/dist/release/graph.js.map +1 -0
- package/dist/release/inspect.d.ts +88 -0
- package/dist/release/inspect.d.ts.map +1 -0
- package/dist/release/inspect.js +75 -0
- package/dist/release/inspect.js.map +1 -0
- package/dist/release/prepare.d.ts +24 -0
- package/dist/release/prepare.d.ts.map +1 -0
- package/dist/release/prepare.js +1116 -0
- package/dist/release/prepare.js.map +1 -0
- package/dist/release/prepared-ref.d.ts +60 -0
- package/dist/release/prepared-ref.d.ts.map +1 -0
- package/dist/release/prepared-ref.js +131 -0
- package/dist/release/prepared-ref.js.map +1 -0
- package/dist/release/prepared-store.d.ts +90 -0
- package/dist/release/prepared-store.d.ts.map +1 -0
- package/dist/release/prepared-store.js +337 -0
- package/dist/release/prepared-store.js.map +1 -0
- package/dist/release/prepared.d.ts +172 -0
- package/dist/release/prepared.d.ts.map +1 -0
- package/dist/release/prepared.js +268 -0
- package/dist/release/prepared.js.map +1 -0
- package/dist/release/staging.d.ts +31 -0
- package/dist/release/staging.d.ts.map +1 -0
- package/dist/release/staging.js +218 -0
- package/dist/release/staging.js.map +1 -0
- package/dist/resolve/authored.d.ts +53 -0
- package/dist/resolve/authored.d.ts.map +1 -0
- package/dist/resolve/authored.js +55 -0
- package/dist/resolve/authored.js.map +1 -0
- package/dist/resolve/encode.d.ts +3 -0
- package/dist/resolve/encode.d.ts.map +1 -0
- package/dist/resolve/encode.js +21 -0
- package/dist/resolve/encode.js.map +1 -0
- package/dist/resolve/errors.d.ts +7 -0
- package/dist/resolve/errors.d.ts.map +1 -0
- package/dist/resolve/errors.js +17 -0
- package/dist/resolve/errors.js.map +1 -0
- package/dist/resolve/facts.d.ts +12 -0
- package/dist/resolve/facts.d.ts.map +1 -0
- package/dist/resolve/facts.js +18 -0
- package/dist/resolve/facts.js.map +1 -0
- package/dist/resolve/resolve.d.ts +10 -0
- package/dist/resolve/resolve.d.ts.map +1 -0
- package/dist/resolve/resolve.js +242 -0
- package/dist/resolve/resolve.js.map +1 -0
- package/dist/store.d.ts +11 -0
- package/dist/store.d.ts.map +1 -0
- package/dist/store.js +9 -0
- package/dist/store.js.map +1 -0
- package/examples/README.md +20 -30
- package/examples/github-release/release.config.json +11 -18
- package/examples/homebrew-tap/README.md +11 -0
- package/examples/homebrew-tap/release.config.json +40 -28
- package/examples/multi-target/release.config.json +28 -53
- package/examples/npm-first-publish/release.config.json +23 -25
- package/examples/npm-only/release.config.json +22 -30
- package/examples/portable-cli/README.md +17 -0
- package/examples/portable-cli/artifacts/portable-example-0.1.0-darwin-arm64 +1 -0
- package/examples/portable-cli/artifacts/portable-example-0.1.0-darwin-x64 +1 -0
- package/examples/portable-cli/artifacts/portable-example-0.1.0-linux-arm64 +1 -0
- package/examples/portable-cli/artifacts/portable-example-0.1.0-linux-x64 +1 -0
- package/examples/portable-cli/artifacts/portable-example-0.1.0-windows-x64.exe +1 -0
- package/examples/portable-cli/artifacts/portable_example-0.1.0-py3-none-macosx_10_15_x86_64.whl +1 -0
- package/examples/portable-cli/artifacts/portable_example-0.1.0-py3-none-macosx_11_0_arm64.whl +1 -0
- package/examples/portable-cli/artifacts/portable_example-0.1.0-py3-none-manylinux2014_aarch64.whl +1 -0
- package/examples/portable-cli/artifacts/portable_example-0.1.0-py3-none-manylinux2014_x86_64.whl +1 -0
- package/examples/portable-cli/artifacts/portable_example-0.1.0-py3-none-win_amd64.whl +1 -0
- package/examples/portable-cli/package.json +9 -0
- package/examples/portable-cli/release.config.json +53 -0
- package/examples/portable-cli/src/cli.ts +3 -0
- package/examples/pypi-registry/README.md +8 -0
- package/examples/scoop-bucket/README.md +10 -0
- package/examples/scoop-bucket/release.config.json +40 -30
- package/package.json +61 -154
- package/src/api/api.ts +365 -0
- package/src/api/errors.ts +36 -0
- package/src/api/input.ts +92 -0
- package/src/api/runtime.ts +14 -0
- package/src/api/types.ts +103 -0
- package/src/capabilities/bun-targets.ts +2 -0
- package/src/capabilities/field-ownership.ts +60 -0
- package/src/capabilities/module.ts +158 -0
- package/src/capabilities/registry.ts +333 -0
- package/src/config/config.ts +48 -0
- package/src/correction/coordinator.ts +336 -0
- package/src/correction/index.ts +2 -0
- package/src/correction/intent.ts +172 -0
- package/src/drivers/archive.ts +102 -0
- package/src/drivers/contain.ts +20 -0
- package/src/drivers/environment.ts +28 -0
- package/src/drivers/errors.ts +6 -0
- package/src/drivers/glob.ts +137 -0
- package/src/drivers/process.ts +340 -0
- package/src/drivers/redact.ts +31 -0
- package/src/drivers/seccomp-helper-source.ts +121 -0
- package/src/drivers/utils.ts +10 -0
- package/src/drivers/workspace.ts +40 -0
- package/src/extensions/provider-adapter.ts +99 -0
- package/src/host.ts +140 -0
- package/src/index.ts +64 -0
- package/src/model/artifact-collection.ts +237 -0
- package/src/model/authority.ts +116 -0
- package/src/model/bun-targets.ts +34 -0
- package/src/model/canonical.ts +205 -0
- package/src/model/catalog.ts +220 -0
- package/src/model/digest.ts +172 -0
- package/src/model/errors.ts +6 -0
- package/src/model/primitives.ts +37 -0
- package/src/model/pypi.ts +30 -0
- package/src/model/python-distribution.ts +360 -0
- package/src/model/secret-patterns.ts +11 -0
- package/src/platform/bun.ts +38 -0
- package/src/platform/credentials.ts +1083 -0
- package/src/platform/host-support.ts +4 -0
- package/src/platform/node.ts +38 -0
- package/src/platform/release-runtime.ts +47 -0
- package/src/platform/services.ts +57 -0
- package/src/platform/source-observer.ts +193 -0
- package/src/provider-sdk.ts +48 -0
- package/src/publication/adapter.ts +132 -0
- package/src/publication/authority.ts +397 -0
- package/src/publication/catalog-git.ts +603 -0
- package/src/publication/claim.ts +51 -0
- package/src/publication/coordinator.ts +578 -0
- package/src/publication/github.ts +954 -0
- package/src/publication/http.ts +101 -0
- package/src/publication/index.ts +4 -0
- package/src/publication/npm.ts +525 -0
- package/src/publication/profiles.ts +94 -0
- package/src/publication/publisher.ts +130 -0
- package/src/publication/pypi.ts +463 -0
- package/src/publication/recovery.ts +349 -0
- package/src/publication/report.ts +628 -0
- package/src/recipes/config.ts +395 -0
- package/src/release/capabilities.ts +459 -0
- package/src/release/compiler.ts +28 -0
- package/src/release/config.ts +12 -0
- package/src/release/context.ts +223 -0
- package/src/release/graph.ts +866 -0
- package/src/release/inspect.ts +83 -0
- package/src/release/prepare.ts +1331 -0
- package/src/release/prepared-ref.ts +193 -0
- package/src/release/prepared-store.ts +377 -0
- package/src/release/prepared.ts +299 -0
- package/src/release/staging.ts +257 -0
- package/src/resolve/authored.ts +64 -0
- package/src/resolve/encode.ts +22 -0
- package/src/resolve/errors.ts +15 -0
- package/src/resolve/facts.ts +18 -0
- package/src/resolve/resolve.ts +328 -0
- package/src/store.ts +28 -0
- package/templates/README.md +55 -59
- package/templates/bun-cli-github/README.md +12 -0
- package/templates/bun-cli-github/release.config.json +51 -0
- package/templates/github-actions/release.yml +57 -0
- package/templates/github-actions/reviewed-release.yml +80 -0
- package/templates/multi-target-homebrew/README.md +10 -0
- package/templates/multi-target-homebrew/release.config.json +43 -60
- package/templates/multi-target-scoop/README.md +10 -0
- package/templates/multi-target-scoop/release.config.json +43 -62
- package/templates/npm-github/release.config.json +25 -38
- package/templates/npm-github/reviewed-release.config.json +37 -0
- package/templates/npm-only/README.md +10 -0
- package/templates/npm-only/release.config.json +15 -30
- package/templates/portable-cli/README.md +13 -0
- package/templates/portable-cli/release.config.json +53 -0
- package/dist/config/errors.d.ts +0 -24
- package/dist/config/errors.d.ts.map +0 -1
- package/dist/config/errors.js +0 -19
- package/dist/config/errors.js.map +0 -1
- package/dist/config/load.d.ts +0 -9
- package/dist/config/load.d.ts.map +0 -1
- package/dist/config/load.js +0 -29
- package/dist/config/load.js.map +0 -1
- package/dist/config/schema.d.ts +0 -12
- package/dist/config/schema.d.ts.map +0 -1
- package/dist/config/schema.js +0 -19
- package/dist/config/schema.js.map +0 -1
- package/dist/domain/artifact.d.ts +0 -36
- package/dist/domain/artifact.d.ts.map +0 -1
- package/dist/domain/artifact.js +0 -29
- package/dist/domain/artifact.js.map +0 -1
- package/dist/domain/evidence.d.ts +0 -108
- package/dist/domain/evidence.d.ts.map +0 -1
- package/dist/domain/evidence.js +0 -96
- package/dist/domain/evidence.js.map +0 -1
- package/dist/domain/operation.d.ts +0 -153
- package/dist/domain/operation.d.ts.map +0 -1
- package/dist/domain/operation.js +0 -320
- package/dist/domain/operation.js.map +0 -1
- package/dist/domain/release.d.ts +0 -141
- package/dist/domain/release.d.ts.map +0 -1
- package/dist/domain/release.js +0 -127
- package/dist/domain/release.js.map +0 -1
- package/dist/domain/remote-state.d.ts +0 -85
- package/dist/domain/remote-state.d.ts.map +0 -1
- package/dist/domain/remote-state.js +0 -77
- package/dist/domain/remote-state.js.map +0 -1
- package/dist/domain/status.d.ts +0 -43
- package/dist/domain/status.d.ts.map +0 -1
- package/dist/domain/status.js +0 -51
- package/dist/domain/status.js.map +0 -1
- package/dist/domain/target.d.ts +0 -135
- package/dist/domain/target.d.ts.map +0 -1
- package/dist/domain/target.js +0 -137
- package/dist/domain/target.js.map +0 -1
- package/dist/host/host.d.ts +0 -32
- package/dist/host/host.d.ts.map +0 -1
- package/dist/host/host.js +0 -24
- package/dist/host/host.js.map +0 -1
- package/dist/host/http-live.d.ts +0 -6
- package/dist/host/http-live.d.ts.map +0 -1
- package/dist/host/http-live.js +0 -86
- package/dist/host/http-live.js.map +0 -1
- package/dist/host/http.d.ts +0 -43
- package/dist/host/http.d.ts.map +0 -1
- package/dist/host/http.js +0 -59
- package/dist/host/http.js.map +0 -1
- package/dist/host/platform.d.ts +0 -10
- package/dist/host/platform.d.ts.map +0 -1
- package/dist/host/platform.js +0 -114
- package/dist/host/platform.js.map +0 -1
- package/dist/host/test.d.ts +0 -23
- package/dist/host/test.d.ts.map +0 -1
- package/dist/host/test.js +0 -222
- package/dist/host/test.js.map +0 -1
- package/dist/internal/workflow-phases.d.ts +0 -3
- package/dist/internal/workflow-phases.d.ts.map +0 -1
- package/dist/internal/workflow-phases.js +0 -2
- package/dist/internal/workflow-phases.js.map +0 -1
- package/dist/internal/workspace-path.d.ts +0 -15
- package/dist/internal/workspace-path.d.ts.map +0 -1
- package/dist/internal/workspace-path.js +0 -36
- package/dist/internal/workspace-path.js.map +0 -1
- package/dist/planner/artifact-inventory.d.ts +0 -9
- package/dist/planner/artifact-inventory.d.ts.map +0 -1
- package/dist/planner/artifact-inventory.js +0 -84
- package/dist/planner/artifact-inventory.js.map +0 -1
- package/dist/planner/create-release-plan.d.ts +0 -5
- package/dist/planner/create-release-plan.d.ts.map +0 -1
- package/dist/planner/create-release-plan.js +0 -25
- package/dist/planner/create-release-plan.js.map +0 -1
- package/dist/planner/errors.d.ts +0 -81
- package/dist/planner/errors.d.ts.map +0 -1
- package/dist/planner/errors.js +0 -70
- package/dist/planner/errors.js.map +0 -1
- package/dist/planner/evidence-recorder.d.ts +0 -26
- package/dist/planner/evidence-recorder.d.ts.map +0 -1
- package/dist/planner/evidence-recorder.js +0 -330
- package/dist/planner/evidence-recorder.js.map +0 -1
- package/dist/planner/executor.d.ts +0 -58
- package/dist/planner/executor.d.ts.map +0 -1
- package/dist/planner/executor.js +0 -159
- package/dist/planner/executor.js.map +0 -1
- package/dist/planner/normalize-release.d.ts +0 -16
- package/dist/planner/normalize-release.d.ts.map +0 -1
- package/dist/planner/normalize-release.js +0 -218
- package/dist/planner/normalize-release.js.map +0 -1
- package/dist/planner/reconcile.d.ts +0 -17
- package/dist/planner/reconcile.d.ts.map +0 -1
- package/dist/planner/reconcile.js +0 -261
- package/dist/planner/reconcile.js.map +0 -1
- package/dist/planner/release-eligibility.d.ts +0 -39
- package/dist/planner/release-eligibility.d.ts.map +0 -1
- package/dist/planner/release-eligibility.js +0 -578
- package/dist/planner/release-eligibility.js.map +0 -1
- package/dist/planner/render-plan.d.ts +0 -15
- package/dist/planner/render-plan.d.ts.map +0 -1
- package/dist/planner/render-plan.js +0 -238
- package/dist/planner/render-plan.js.map +0 -1
- package/dist/planner/status.d.ts +0 -40
- package/dist/planner/status.d.ts.map +0 -1
- package/dist/planner/status.js +0 -313
- package/dist/planner/status.js.map +0 -1
- package/dist/targets/adapter-helpers.d.ts +0 -64
- package/dist/targets/adapter-helpers.d.ts.map +0 -1
- package/dist/targets/adapter-helpers.js +0 -124
- package/dist/targets/adapter-helpers.js.map +0 -1
- package/dist/targets/adapter.d.ts +0 -17
- package/dist/targets/adapter.d.ts.map +0 -1
- package/dist/targets/adapter.js +0 -2
- package/dist/targets/adapter.js.map +0 -1
- package/dist/targets/github-release.d.ts +0 -25
- package/dist/targets/github-release.d.ts.map +0 -1
- package/dist/targets/github-release.js +0 -82
- package/dist/targets/github-release.js.map +0 -1
- package/dist/targets/github.d.ts +0 -11
- package/dist/targets/github.d.ts.map +0 -1
- package/dist/targets/github.js +0 -125
- package/dist/targets/github.js.map +0 -1
- package/dist/targets/homebrew.d.ts +0 -11
- package/dist/targets/homebrew.d.ts.map +0 -1
- package/dist/targets/homebrew.js +0 -97
- package/dist/targets/homebrew.js.map +0 -1
- package/dist/targets/live.d.ts +0 -5
- package/dist/targets/live.d.ts.map +0 -1
- package/dist/targets/live.js +0 -50
- package/dist/targets/live.js.map +0 -1
- package/dist/targets/npm.d.ts +0 -10
- package/dist/targets/npm.d.ts.map +0 -1
- package/dist/targets/npm.js +0 -118
- package/dist/targets/npm.js.map +0 -1
- package/dist/targets/pypi.d.ts +0 -11
- package/dist/targets/pypi.d.ts.map +0 -1
- package/dist/targets/pypi.js +0 -103
- package/dist/targets/pypi.js.map +0 -1
- package/dist/targets/registry.d.ts +0 -25
- package/dist/targets/registry.d.ts.map +0 -1
- package/dist/targets/registry.js +0 -34
- package/dist/targets/registry.js.map +0 -1
- package/dist/targets/scoop.d.ts +0 -11
- package/dist/targets/scoop.d.ts.map +0 -1
- package/dist/targets/scoop.js +0 -78
- package/dist/targets/scoop.js.map +0 -1
- package/dist/types/effect-internal.d.ts +0 -5
- package/dist/types/effect-internal.d.ts.map +0 -1
- package/dist/types/effect-internal.js +0 -2
- package/dist/types/effect-internal.js.map +0 -1
- package/dist/workflows/config.d.ts +0 -252
- package/dist/workflows/config.d.ts.map +0 -1
- package/dist/workflows/config.js +0 -465
- package/dist/workflows/config.js.map +0 -1
- package/dist/workflows/diagnostics.d.ts +0 -62
- package/dist/workflows/diagnostics.d.ts.map +0 -1
- package/dist/workflows/diagnostics.js +0 -527
- package/dist/workflows/diagnostics.js.map +0 -1
- package/dist/workflows/evidence.d.ts +0 -26
- package/dist/workflows/evidence.d.ts.map +0 -1
- package/dist/workflows/evidence.js +0 -44
- package/dist/workflows/evidence.js.map +0 -1
- package/dist/workflows/index.d.ts +0 -7
- package/dist/workflows/index.d.ts.map +0 -1
- package/dist/workflows/index.js +0 -6
- package/dist/workflows/index.js.map +0 -1
- package/dist/workflows/init.d.ts +0 -84
- package/dist/workflows/init.d.ts.map +0 -1
- package/dist/workflows/init.js +0 -441
- package/dist/workflows/init.js.map +0 -1
- package/dist/workflows/live.d.ts +0 -9
- package/dist/workflows/live.d.ts.map +0 -1
- package/dist/workflows/live.js +0 -7
- package/dist/workflows/live.js.map +0 -1
- package/dist/workflows/options.d.ts +0 -30
- package/dist/workflows/options.d.ts.map +0 -1
- package/dist/workflows/options.js +0 -16
- package/dist/workflows/options.js.map +0 -1
- package/examples/non-strict-skips/artifacts/release-example-skips-0.1.0.tgz +0 -1
- package/examples/non-strict-skips/release.config.json +0 -31
- package/examples/pypi-registry/release.config.json +0 -31
- package/templates/github-actions/plan-and-approved-execute.yml +0 -58
- package/templates/github-actions/plan-only.yml +0 -33
- package/templates/github-actions/trusted-publishing.yml +0 -61
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import * as Context from "effect/Context";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import * as Schema from "effect/Schema";
|
|
4
|
+
import { Sha256Digest } from "../model/digest.js";
|
|
5
|
+
import { NonEmptyName, SafeRelativePath, Version, WorkspaceRoot } from "../model/primitives.js";
|
|
6
|
+
const optional = Schema.optionalKey;
|
|
7
|
+
export class VerifiedSource extends Schema.Class("VerifiedSource")({
|
|
8
|
+
commit: NonEmptyName,
|
|
9
|
+
tree: NonEmptyName,
|
|
10
|
+
clean: Schema.Literal(true),
|
|
11
|
+
packageManifestPath: SafeRelativePath,
|
|
12
|
+
packageManifestDigest: Sha256Digest,
|
|
13
|
+
repository: optional(Schema.NonEmptyString),
|
|
14
|
+
headTags: Schema.Array(NonEmptyName)
|
|
15
|
+
}) {
|
|
16
|
+
}
|
|
17
|
+
export class VerifiedPackage extends Schema.Class("VerifiedPackage")({
|
|
18
|
+
name: NonEmptyName,
|
|
19
|
+
version: Version,
|
|
20
|
+
path: SafeRelativePath,
|
|
21
|
+
digest: Sha256Digest,
|
|
22
|
+
repository: optional(Schema.NonEmptyString)
|
|
23
|
+
}) {
|
|
24
|
+
}
|
|
25
|
+
export class VerifiedReleaseContext extends Schema.Class("VerifiedReleaseContext")({
|
|
26
|
+
workspace: WorkspaceRoot,
|
|
27
|
+
source: VerifiedSource,
|
|
28
|
+
package: VerifiedPackage
|
|
29
|
+
}) {
|
|
30
|
+
}
|
|
31
|
+
export class StagingEntry extends Schema.Class("StagingEntry")({
|
|
32
|
+
path: SafeRelativePath,
|
|
33
|
+
kind: Schema.Literals(["file", "executable", "directory", "symlink"]),
|
|
34
|
+
mode: Schema.Number.check(Schema.makeFilter((value) => Number.isSafeInteger(value) && value >= 0 && value <= 0o777
|
|
35
|
+
? undefined
|
|
36
|
+
: "Staging entry mode must be a portable permission mask.")),
|
|
37
|
+
size: Schema.Number.check(Schema.makeFilter((value) => Number.isSafeInteger(value) && value >= 0
|
|
38
|
+
? undefined
|
|
39
|
+
: "Staging entry size must be a nonnegative safe integer.")),
|
|
40
|
+
digest: Sha256Digest
|
|
41
|
+
}) {
|
|
42
|
+
}
|
|
43
|
+
/** Canonical path/type/digest manifest of materialized private bytes. */
|
|
44
|
+
export class StagingSnapshot extends Schema.Class("StagingSnapshot")({
|
|
45
|
+
entries: Schema.Array(StagingEntry),
|
|
46
|
+
digest: Sha256Digest
|
|
47
|
+
}) {
|
|
48
|
+
}
|
|
49
|
+
/** A non-Git input admitted explicitly and copied into private staging. */
|
|
50
|
+
export class ExplicitInputSnapshot extends Schema.Class("ExplicitInputSnapshot")({
|
|
51
|
+
id: Schema.NonEmptyString,
|
|
52
|
+
path: SafeRelativePath,
|
|
53
|
+
kind: Schema.Literals(["file", "directory"]),
|
|
54
|
+
size: Schema.Number.check(Schema.makeFilter((value) => Number.isSafeInteger(value) && value >= 0
|
|
55
|
+
? undefined
|
|
56
|
+
: "Explicit input size must be a nonnegative safe integer.")),
|
|
57
|
+
digest: Sha256Digest,
|
|
58
|
+
/** The closed operation that copied or derived these bytes. */
|
|
59
|
+
materializer: Schema.NonEmptyString,
|
|
60
|
+
/** Exact source/tool digests that governed materialization. */
|
|
61
|
+
materializationBasis: Schema.Array(Sha256Digest)
|
|
62
|
+
}) {
|
|
63
|
+
}
|
|
64
|
+
export class SourceMaterializationError extends Schema.TaggedErrorClass()("SourceMaterializationError", {
|
|
65
|
+
field: Schema.String,
|
|
66
|
+
reason: Schema.String
|
|
67
|
+
}) {
|
|
68
|
+
}
|
|
69
|
+
export class ReleaseContextError extends Schema.TaggedErrorClass()("ReleaseContextError", {
|
|
70
|
+
field: Schema.String, reason: Schema.String
|
|
71
|
+
}) {
|
|
72
|
+
}
|
|
73
|
+
export class SourceObserver extends Context.Service()("SourceObserver") {
|
|
74
|
+
}
|
|
75
|
+
const runtimeFailure = (field, cause) => ReleaseContextError.make({
|
|
76
|
+
field, reason: cause instanceof Error ? cause.message : String(cause)
|
|
77
|
+
});
|
|
78
|
+
const command = (runtime, workspace, argv, field) => runtime.command(workspace, argv).pipe(Effect.mapError((cause) => runtimeFailure(field, cause)));
|
|
79
|
+
const repositoryCoordinate = (value) => {
|
|
80
|
+
if (typeof value !== "string")
|
|
81
|
+
return undefined;
|
|
82
|
+
const trimmed = value.trim().replace(/\.git$/u, "");
|
|
83
|
+
const match = /(?:github\.com[/:]|^)([A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+)$/u.exec(trimmed);
|
|
84
|
+
return match?.[1];
|
|
85
|
+
};
|
|
86
|
+
const jsonObject = (bytes, path) => {
|
|
87
|
+
try {
|
|
88
|
+
const value = JSON.parse(new TextDecoder().decode(bytes));
|
|
89
|
+
if (typeof value !== "object" || value === null || Array.isArray(value))
|
|
90
|
+
throw new Error("manifest root must be an object");
|
|
91
|
+
return value;
|
|
92
|
+
}
|
|
93
|
+
catch (cause) {
|
|
94
|
+
throw new Error(`${path} is not valid JSON: ${cause instanceof Error ? cause.message : String(cause)}`);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
/** Shared Git/package observation used by both host entrypoints. */
|
|
98
|
+
export const makeSourceObserver = (runtime) => ({
|
|
99
|
+
observe: Effect.fn("observeVerifiedReleaseContext")(function* (workspace, packageManifestPath, expectedCommit) {
|
|
100
|
+
const canonical = yield* runtime.canonicalRoot(workspace).pipe(Effect.mapError((cause) => runtimeFailure("workspace", cause)));
|
|
101
|
+
const root = WorkspaceRoot.make(canonical);
|
|
102
|
+
const commit = yield* command(runtime, workspace, ["rev-parse", "HEAD"], "source.commit").pipe(Effect.map((value) => value.trim()));
|
|
103
|
+
const tree = yield* command(runtime, workspace, ["rev-parse", "HEAD^{tree}"], "source.tree").pipe(Effect.map((value) => value.trim()));
|
|
104
|
+
const status = yield* command(runtime, workspace, ["status", "--porcelain=v1", "--untracked-files=no"], "source.clean");
|
|
105
|
+
if (status.trim().length > 0)
|
|
106
|
+
return yield* new ReleaseContextError({
|
|
107
|
+
field: "source.clean", reason: "Preparation requires a clean tracked source tree; untracked bytes require explicit input declaration."
|
|
108
|
+
});
|
|
109
|
+
const bytes = yield* runtime.read(workspace, packageManifestPath).pipe(Effect.mapError((cause) => runtimeFailure("package.manifest", cause)));
|
|
110
|
+
let manifest;
|
|
111
|
+
try {
|
|
112
|
+
manifest = jsonObject(bytes, packageManifestPath);
|
|
113
|
+
}
|
|
114
|
+
catch (cause) {
|
|
115
|
+
return yield* new ReleaseContextError({ field: "package.manifest", reason: cause instanceof Error ? cause.message : String(cause) });
|
|
116
|
+
}
|
|
117
|
+
const name = typeof manifest.name === "string" && manifest.name.trim().length > 0 ? manifest.name.trim() : undefined;
|
|
118
|
+
const version = typeof manifest.version === "string" && manifest.version.trim().length > 0 ? manifest.version.trim() : undefined;
|
|
119
|
+
if (name === undefined)
|
|
120
|
+
return yield* new ReleaseContextError({ field: "package.name", reason: "Manifest name is missing or empty." });
|
|
121
|
+
if (version === undefined)
|
|
122
|
+
return yield* new ReleaseContextError({ field: "package.version", reason: "Manifest version is missing or empty." });
|
|
123
|
+
const digest = yield* runtime.digest(bytes).pipe(Effect.mapError((cause) => runtimeFailure("package.manifestDigest", cause)));
|
|
124
|
+
const tags = yield* command(runtime, workspace, ["tag", "--points-at", "HEAD"], "source.headTags").pipe(Effect.map((value) => value.split("\n").map((tag) => tag.trim()).filter((tag) => tag.length > 0).sort((a, b) => a < b ? -1 : a > b ? 1 : 0)));
|
|
125
|
+
const remote = yield* command(runtime, workspace, ["remote", "get-url", "origin"], "source.repository").pipe(Effect.map((value) => repositoryCoordinate(value))).pipe(Effect.orElseSucceed(() => undefined));
|
|
126
|
+
const manifestRepository = repositoryCoordinate(manifest.repository);
|
|
127
|
+
if (remote !== undefined && manifestRepository !== undefined && remote !== manifestRepository) {
|
|
128
|
+
return yield* new ReleaseContextError({
|
|
129
|
+
field: "source.repository",
|
|
130
|
+
reason: `Git remote ${remote} disagrees with manifest repository ${manifestRepository}.`
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
const repository = remote ?? manifestRepository;
|
|
134
|
+
const source = VerifiedSource.make({
|
|
135
|
+
commit: NonEmptyName.make(commit), tree: NonEmptyName.make(tree), clean: true,
|
|
136
|
+
packageManifestPath, packageManifestDigest: digest, headTags: tags.map((tag) => NonEmptyName.make(tag)),
|
|
137
|
+
...(repository === undefined ? {} : { repository })
|
|
138
|
+
});
|
|
139
|
+
const context = VerifiedReleaseContext.make({
|
|
140
|
+
workspace: root, source,
|
|
141
|
+
package: VerifiedPackage.make({ name: NonEmptyName.make(name), version: Version.make(version),
|
|
142
|
+
path: packageManifestPath, digest,
|
|
143
|
+
...(manifestRepository === undefined ? {} : { repository: manifestRepository }) })
|
|
144
|
+
});
|
|
145
|
+
return yield* verifySource(context, expectedCommit);
|
|
146
|
+
}),
|
|
147
|
+
materialize: Effect.fn("materializeVerifiedSource")((workspace, source, destination) => runtime.materialize(workspace, source, destination).pipe(Effect.mapError((cause) => cause instanceof SourceMaterializationError
|
|
148
|
+
? cause
|
|
149
|
+
: new SourceMaterializationError({
|
|
150
|
+
field: "source.materialization",
|
|
151
|
+
reason: cause instanceof Error ? cause.message : String(cause)
|
|
152
|
+
}))))
|
|
153
|
+
});
|
|
154
|
+
export const verifySource = Effect.fn("verifySource")(function* (context, expectedCommit) {
|
|
155
|
+
if (expectedCommit !== undefined && context.source.commit !== expectedCommit) {
|
|
156
|
+
return yield* new ReleaseContextError({
|
|
157
|
+
field: "source.commit",
|
|
158
|
+
reason: `Expected ${expectedCommit}, observed ${context.source.commit}.`
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
if (context.source.clean !== true) {
|
|
162
|
+
return yield* new ReleaseContextError({
|
|
163
|
+
field: "source.clean", reason: "Preparation requires a clean verified source."
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
return context;
|
|
167
|
+
});
|
|
168
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../src/release/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAA;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAE/F,MAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAA;AAEnC,MAAM,OAAO,cAAe,SAAQ,MAAM,CAAC,KAAK,CAAiB,gBAAgB,CAAC,CAAC;IACjF,MAAM,EAAE,YAAY;IACpB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;IAC3B,mBAAmB,EAAE,gBAAgB;IACrC,qBAAqB,EAAE,YAAY;IACnC,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC;IAC3C,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC;CACrC,CAAC;CAAG;AAEL,MAAM,OAAO,eAAgB,SAAQ,MAAM,CAAC,KAAK,CAAkB,iBAAiB,CAAC,CAAC;IACpF,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,gBAAgB;IACtB,MAAM,EAAE,YAAY;IACpB,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC;CAC5C,CAAC;CAAG;AAEL,MAAM,OAAO,sBAAuB,SAAQ,MAAM,CAAC,KAAK,CAAyB,wBAAwB,CAAC,CAAC;IACzG,SAAS,EAAE,aAAa;IACxB,MAAM,EAAE,cAAc;IACtB,OAAO,EAA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thStrategy, ExternalTrustedPublishingAuthStrategy, TokenAuthStrategy, TrustedPublishingAuthStrategy } from "../model/authority.js";
|
|
3
|
+
import { ArtifactCollectionContract, ArtifactCollectionSelector } from "../model/artifact-collection.js";
|
|
4
|
+
import { CatalogRenderSource } from "../model/catalog.js";
|
|
5
|
+
import { PyPiRepository, type NpmAuthentication as NpmAuthenticationValue, type PyPiAuthentication as PyPiAuthenticationValue } from "../recipes/config.js";
|
|
6
|
+
declare const OutputDeclaration_base: Schema.Class<OutputDeclaration, Schema.Struct<{
|
|
7
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OutputId">;
|
|
8
|
+
readonly path: Schema.brand<Schema.String, "SafeRelativePath">;
|
|
9
|
+
readonly kind: Schema.Literals<readonly ["file", "executable", "archive", "digest", "package"]>;
|
|
10
|
+
readonly mediaType: Schema.optionalKey<Schema.NonEmptyString>;
|
|
11
|
+
}>, {}>;
|
|
12
|
+
export declare class OutputDeclaration extends OutputDeclaration_base {
|
|
13
|
+
}
|
|
14
|
+
declare const GraphCommandCheck_base: Schema.Class<GraphCommandCheck, Schema.TaggedStruct<"GraphCommandCheck", {
|
|
15
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
16
|
+
readonly argv: Schema.NonEmptyArray<Schema.String>;
|
|
17
|
+
readonly cwd: Schema.brand<Schema.String, "SafeRelativePath">;
|
|
18
|
+
readonly inputs: Schema.$Array<Schema.brand<Schema.NonEmptyString, "OutputId">>;
|
|
19
|
+
}>, {}>;
|
|
20
|
+
export declare class GraphCommandCheck extends GraphCommandCheck_base {
|
|
21
|
+
}
|
|
22
|
+
declare const GraphCommandArtifact_base: Schema.Class<GraphCommandArtifact, Schema.TaggedStruct<"GraphCommandArtifact", {
|
|
23
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
24
|
+
readonly argv: Schema.NonEmptyArray<Schema.String>;
|
|
25
|
+
readonly cwd: Schema.brand<Schema.String, "SafeRelativePath">;
|
|
26
|
+
readonly inputs: Schema.$Array<Schema.brand<Schema.NonEmptyString, "OutputId">>;
|
|
27
|
+
readonly outputs: Schema.NonEmptyArray<typeof OutputDeclaration>;
|
|
28
|
+
}>, {}>;
|
|
29
|
+
export declare class GraphCommandArtifact extends GraphCommandArtifact_base {
|
|
30
|
+
}
|
|
31
|
+
declare const GraphCommandCollection_base: Schema.Class<GraphCommandCollection, Schema.TaggedStruct<"GraphCommandCollection", {
|
|
32
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
33
|
+
readonly argv: Schema.NonEmptyArray<Schema.String>;
|
|
34
|
+
readonly cwd: Schema.brand<Schema.String, "SafeRelativePath">;
|
|
35
|
+
readonly inputs: Schema.$Array<Schema.brand<Schema.NonEmptyString, "OutputId">>;
|
|
36
|
+
readonly collection: typeof ArtifactCollectionContract;
|
|
37
|
+
}>, {}>;
|
|
38
|
+
export declare class GraphCommandCollection extends GraphCommandCollection_base {
|
|
39
|
+
}
|
|
40
|
+
declare const GraphNpmPackageBuild_base: Schema.Class<GraphNpmPackageBuild, Schema.TaggedStruct<"GraphNpmPackageBuild", {
|
|
41
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
42
|
+
readonly argv: Schema.NonEmptyArray<Schema.String>;
|
|
43
|
+
readonly cwd: Schema.brand<Schema.String, "SafeRelativePath">;
|
|
44
|
+
readonly inputs: Schema.$Array<Schema.brand<Schema.NonEmptyString, "OutputId">>;
|
|
45
|
+
readonly outputRoots: Schema.NonEmptyArray<Schema.brand<Schema.String, "SafeRelativePath">>;
|
|
46
|
+
}>, {}>;
|
|
47
|
+
/** Package-scoped build whose directory outputs are consumed only by npm pack. */
|
|
48
|
+
export declare class GraphNpmPackageBuild extends GraphNpmPackageBuild_base {
|
|
49
|
+
}
|
|
50
|
+
declare const GraphArchive_base: Schema.Class<GraphArchive, Schema.TaggedStruct<"GraphArchive", {
|
|
51
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
52
|
+
readonly inputs: Schema.$Array<Schema.brand<Schema.NonEmptyString, "OutputId">>;
|
|
53
|
+
readonly output: typeof OutputDeclaration;
|
|
54
|
+
readonly format: Schema.Literals<readonly ["tar.gz", "zip"]>;
|
|
55
|
+
}>, {}>;
|
|
56
|
+
export declare class GraphArchive extends GraphArchive_base {
|
|
57
|
+
}
|
|
58
|
+
declare const GraphChecksum_base: Schema.Class<GraphChecksum, Schema.TaggedStruct<"GraphChecksum", {
|
|
59
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
60
|
+
readonly inputs: Schema.NonEmptyArray<Schema.brand<Schema.NonEmptyString, "OutputId">>;
|
|
61
|
+
readonly output: typeof OutputDeclaration;
|
|
62
|
+
readonly algorithm: Schema.Literals<readonly ["sha256", "sha512"]>;
|
|
63
|
+
}>, {}>;
|
|
64
|
+
export declare class GraphChecksum extends GraphChecksum_base {
|
|
65
|
+
}
|
|
66
|
+
declare const GraphCatalogRender_base: Schema.Class<GraphCatalogRender, Schema.TaggedStruct<"GraphCatalogRender", {
|
|
67
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
68
|
+
readonly inputs: Schema.NonEmptyArray<Schema.brand<Schema.NonEmptyString, "OutputId">>;
|
|
69
|
+
readonly output: typeof OutputDeclaration;
|
|
70
|
+
readonly version: Schema.brand<Schema.NonEmptyString, "Version">;
|
|
71
|
+
readonly renderer: Schema.Union<readonly [typeof import("../model/catalog.js").HomebrewRenderer, typeof import("../model/catalog.js").ScoopRenderer]>;
|
|
72
|
+
readonly sources: Schema.NonEmptyArray<typeof CatalogRenderSource>;
|
|
73
|
+
}>, {}>;
|
|
74
|
+
export declare class GraphCatalogRender extends GraphCatalogRender_base {
|
|
75
|
+
}
|
|
76
|
+
export declare const GraphPreparation: Schema.Union<readonly [typeof GraphCommandCheck, typeof GraphCommandArtifact, typeof GraphCommandCollection, typeof GraphNpmPackageBuild, typeof GraphArchive, typeof GraphChecksum, typeof GraphCatalogRender]>;
|
|
77
|
+
export type GraphPreparation = typeof GraphPreparation.Type;
|
|
78
|
+
declare const PublicationAuthorityIntent_base: Schema.Class<PublicationAuthorityIntent, Schema.Struct<{
|
|
79
|
+
readonly subject: Schema.brand<Schema.NonEmptyString, "SubjectId">;
|
|
80
|
+
readonly provider: Schema.brand<Schema.NonEmptyString, "ProviderId">;
|
|
81
|
+
readonly audience: Schema.brand<Schema.NonEmptyString, "CanonicalAudience">;
|
|
82
|
+
readonly observationStrategies: Schema.NonEmptyArray<Schema.Union<readonly [typeof AnonymousAuthStrategy, typeof TokenAuthStrategy, Schema.Union<readonly [typeof TrustedPublishingAuthStrategy, typeof ExternalTrustedPublishingAuthStrategy]>]>>;
|
|
83
|
+
readonly publishStrategy: Schema.Union<readonly [typeof AnonymousAuthStrategy, typeof TokenAuthStrategy, Schema.Union<readonly [typeof TrustedPublishingAuthStrategy, typeof ExternalTrustedPublishingAuthStrategy]>]>;
|
|
84
|
+
}>, {}>;
|
|
85
|
+
/** Safe, durable authority intent resolved before a publication enters the graph. */
|
|
86
|
+
export declare class PublicationAuthorityIntent extends PublicationAuthorityIntent_base {
|
|
87
|
+
}
|
|
88
|
+
declare const GraphNpmPublication_base: Schema.Class<GraphNpmPublication, Schema.TaggedStruct<"GraphNpmPublication", {
|
|
89
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
90
|
+
readonly packageArtifact: Schema.brand<Schema.NonEmptyString, "OutputId">;
|
|
91
|
+
readonly packageName: Schema.brand<Schema.NonEmptyString, "NonEmptyName">;
|
|
92
|
+
readonly version: Schema.brand<Schema.NonEmptyString, "Version">;
|
|
93
|
+
readonly registryUrl: Schema.brand<Schema.NonEmptyString, "CanonicalNpmRegistryEndpoint">;
|
|
94
|
+
readonly distTag: Schema.brand<Schema.NonEmptyString, "NpmDistTag">;
|
|
95
|
+
readonly access: Schema.Literals<readonly ["public", "restricted"]>;
|
|
96
|
+
readonly authentication: Schema.Union<readonly [typeof import("../recipes/config.js").NpmTokenAuthentication, typeof import("../recipes/config.js").NpmTrustedPublishingAuthentication]>;
|
|
97
|
+
readonly provenance: Schema.Literals<readonly ["automatic", "required", "disabled"]>;
|
|
98
|
+
readonly authority: typeof PublicationAuthorityIntent;
|
|
99
|
+
}>, {}>;
|
|
100
|
+
export declare class GraphNpmPublication extends GraphNpmPublication_base {
|
|
101
|
+
}
|
|
102
|
+
declare const GraphGitHubPublication_base: Schema.Class<GraphGitHubPublication, Schema.TaggedStruct<"GraphGitHubPublication", {
|
|
103
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
104
|
+
readonly repository: Schema.NonEmptyString;
|
|
105
|
+
readonly tag: Schema.brand<Schema.NonEmptyString, "NonEmptyName">;
|
|
106
|
+
readonly title: Schema.brand<Schema.NonEmptyString, "NonEmptyName">;
|
|
107
|
+
readonly draft: Schema.Boolean;
|
|
108
|
+
readonly prerelease: Schema.Boolean;
|
|
109
|
+
readonly body: Schema.optionalKey<Schema.String>;
|
|
110
|
+
readonly bodyArtifact: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "OutputId">>;
|
|
111
|
+
readonly assetIds: Schema.$Array<Schema.brand<Schema.NonEmptyString, "OutputId">>;
|
|
112
|
+
readonly assetCollections: Schema.$Array<typeof ArtifactCollectionSelector>;
|
|
113
|
+
readonly authority: typeof PublicationAuthorityIntent;
|
|
114
|
+
}>, {}>;
|
|
115
|
+
export declare class GraphGitHubPublication extends GraphGitHubPublication_base {
|
|
116
|
+
}
|
|
117
|
+
declare const GraphPyPiDistribution_base: Schema.Class<GraphPyPiDistribution, Schema.Struct<{
|
|
118
|
+
readonly artifactId: Schema.brand<Schema.NonEmptyString, "OutputId">;
|
|
119
|
+
readonly filename: Schema.brand<Schema.NonEmptyString, "NonEmptyName">;
|
|
120
|
+
readonly authority: typeof PublicationAuthorityIntent;
|
|
121
|
+
}>, {}>;
|
|
122
|
+
export declare class GraphPyPiDistribution extends GraphPyPiDistribution_base {
|
|
123
|
+
}
|
|
124
|
+
declare const GraphPyPiPublication_base: Schema.Class<GraphPyPiPublication, Schema.TaggedStruct<"GraphPyPiPublication", {
|
|
125
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
126
|
+
readonly project: Schema.brand<Schema.NonEmptyString, "PyPiProjectName">;
|
|
127
|
+
readonly version: Schema.brand<Schema.NonEmptyString, "Version">;
|
|
128
|
+
readonly repository: Schema.Literals<readonly ["pypi", "testpypi"]>;
|
|
129
|
+
readonly simpleBaseUrl: Schema.NonEmptyString;
|
|
130
|
+
readonly projectUrl: Schema.NonEmptyString;
|
|
131
|
+
readonly uploadUrl: Schema.NonEmptyString;
|
|
132
|
+
readonly authentication: Schema.Union<readonly [typeof import("../recipes/config.js").PyPiTokenAuthentication, typeof import("../recipes/config.js").PyPiExternalTrustedPublishingAuthentication]>;
|
|
133
|
+
readonly files: Schema.NonEmptyArray<typeof GraphPyPiDistribution>;
|
|
134
|
+
}>, {}>;
|
|
135
|
+
export declare class GraphPyPiPublication extends GraphPyPiPublication_base {
|
|
136
|
+
}
|
|
137
|
+
declare const GraphCatalogPublication_base: Schema.Class<GraphCatalogPublication, Schema.TaggedStruct<"GraphCatalogPublication", {
|
|
138
|
+
readonly id: Schema.brand<Schema.NonEmptyString, "OperationId">;
|
|
139
|
+
readonly catalogId: Schema.brand<Schema.NonEmptyString, "NonEmptyName">;
|
|
140
|
+
readonly targetArtifact: Schema.brand<Schema.NonEmptyString, "OutputId">;
|
|
141
|
+
readonly repository: Schema.brand<Schema.NonEmptyString, "GitHubRepositoryCoordinate">;
|
|
142
|
+
readonly branch: Schema.brand<Schema.NonEmptyString, "GitBranchName">;
|
|
143
|
+
readonly targetPath: Schema.brand<Schema.brand<Schema.String, "SafeRelativePath">, "CatalogRepositoryPath">;
|
|
144
|
+
readonly statePath: Schema.brand<Schema.brand<Schema.String, "SafeRelativePath">, "CatalogRepositoryPath">;
|
|
145
|
+
readonly version: Schema.brand<Schema.NonEmptyString, "Version">;
|
|
146
|
+
readonly sourceRepository: Schema.brand<Schema.NonEmptyString, "GitHubRepositoryCoordinate">;
|
|
147
|
+
readonly sourceTag: Schema.brand<Schema.NonEmptyString, "NonEmptyName">;
|
|
148
|
+
readonly renderer: Schema.Union<readonly [typeof import("../model/catalog.js").HomebrewRenderer, typeof import("../model/catalog.js").ScoopRenderer]>;
|
|
149
|
+
readonly sources: Schema.NonEmptyArray<typeof CatalogRenderSource>;
|
|
150
|
+
readonly authority: typeof PublicationAuthorityIntent;
|
|
151
|
+
}>, {}>;
|
|
152
|
+
export declare class GraphCatalogPublication extends GraphCatalogPublication_base {
|
|
153
|
+
}
|
|
154
|
+
export declare const GraphPublication: Schema.Union<readonly [typeof GraphNpmPublication, typeof GraphPyPiPublication, typeof GraphGitHubPublication, typeof GraphCatalogPublication]>;
|
|
155
|
+
export type GraphPublication = typeof GraphPublication.Type;
|
|
156
|
+
declare const CapabilityContribution_base: Schema.Class<CapabilityContribution, Schema.Struct<{
|
|
157
|
+
readonly artifacts: Schema.$Array<typeof OutputDeclaration>;
|
|
158
|
+
readonly preparations: Schema.$Array<Schema.Union<readonly [typeof GraphCommandCheck, typeof GraphCommandArtifact, typeof GraphCommandCollection, typeof GraphNpmPackageBuild, typeof GraphArchive, typeof GraphChecksum, typeof GraphCatalogRender]>>;
|
|
159
|
+
readonly publications: Schema.$Array<Schema.Union<readonly [typeof GraphNpmPublication, typeof GraphPyPiPublication, typeof GraphGitHubPublication, typeof GraphCatalogPublication]>>;
|
|
160
|
+
}>, {}>;
|
|
161
|
+
export declare class CapabilityContribution extends CapabilityContribution_base {
|
|
162
|
+
}
|
|
163
|
+
declare const ReleaseGraph_base: Schema.Class<ReleaseGraph, Schema.Struct<{
|
|
164
|
+
readonly artifacts: Schema.$Array<typeof OutputDeclaration>;
|
|
165
|
+
readonly collections: Schema.$Array<typeof ArtifactCollectionContract>;
|
|
166
|
+
readonly preparations: Schema.$Array<Schema.Union<readonly [typeof GraphCommandCheck, typeof GraphCommandArtifact, typeof GraphCommandCollection, typeof GraphNpmPackageBuild, typeof GraphArchive, typeof GraphChecksum, typeof GraphCatalogRender]>>;
|
|
167
|
+
readonly publications: Schema.$Array<Schema.Union<readonly [typeof GraphNpmPublication, typeof GraphPyPiPublication, typeof GraphGitHubPublication, typeof GraphCatalogPublication]>>;
|
|
168
|
+
}>, {}>;
|
|
169
|
+
export declare class ReleaseGraph extends ReleaseGraph_base {
|
|
170
|
+
}
|
|
171
|
+
declare const GraphLinkError_base: Schema.Class<GraphLinkError, Schema.TaggedStruct<"GraphLinkError", {
|
|
172
|
+
readonly kind: Schema.Literals<readonly ["duplicate", "missing", "cycle", "path", "reference"]>;
|
|
173
|
+
readonly value: Schema.String;
|
|
174
|
+
readonly reason: Schema.String;
|
|
175
|
+
}>, import("effect/Cause").YieldableError>;
|
|
176
|
+
export declare class GraphLinkError extends GraphLinkError_base {
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Canonical registry authority includes the complete normalized base path.
|
|
180
|
+
* Query, fragment, and user-info components can never enter a credential
|
|
181
|
+
* audience.
|
|
182
|
+
*/
|
|
183
|
+
export declare const canonicalizeRegistryUrl: (value: string) => string;
|
|
184
|
+
export interface NpmPublicationAuthorityInput {
|
|
185
|
+
readonly packageName: string;
|
|
186
|
+
readonly version: string;
|
|
187
|
+
readonly registryUrl: string;
|
|
188
|
+
readonly distTag: string;
|
|
189
|
+
readonly authentication: NpmAuthenticationValue;
|
|
190
|
+
readonly sourceCommit?: string;
|
|
191
|
+
}
|
|
192
|
+
/** Resolve npm auth once; no secret value enters the graph or prepared state. */
|
|
193
|
+
export declare const makeNpmPublicationAuthorityIntent: (input: NpmPublicationAuthorityInput) => PublicationAuthorityIntent;
|
|
194
|
+
export interface PyPiPublicationAuthorityInput {
|
|
195
|
+
readonly project: string;
|
|
196
|
+
readonly version: string;
|
|
197
|
+
readonly filename: string;
|
|
198
|
+
readonly repository: PyPiRepository;
|
|
199
|
+
readonly authentication: PyPiAuthenticationValue;
|
|
200
|
+
readonly sourceCommit?: string;
|
|
201
|
+
}
|
|
202
|
+
/** Exact per-file PyPI authority; OIDC remains external-host-owned. */
|
|
203
|
+
export declare const makePyPiPublicationAuthorityIntent: (input: PyPiPublicationAuthorityInput) => PublicationAuthorityIntent;
|
|
204
|
+
export declare const makeCatalogPublicationAuthorityIntent: (input: {
|
|
205
|
+
readonly repository: string;
|
|
206
|
+
readonly branch: string;
|
|
207
|
+
readonly targetPath: string;
|
|
208
|
+
readonly statePath: string;
|
|
209
|
+
readonly tokenEnv: string;
|
|
210
|
+
}) => PublicationAuthorityIntent;
|
|
211
|
+
export interface GitHubPublicationAuthorityInput {
|
|
212
|
+
readonly repository: string;
|
|
213
|
+
readonly tag: string;
|
|
214
|
+
readonly tokenEnv?: string;
|
|
215
|
+
}
|
|
216
|
+
/** Resolve GitHub auth once; anonymous observation is always attempted first. */
|
|
217
|
+
export declare const makeGitHubPublicationAuthorityIntent: (input: GitHubPublicationAuthorityInput) => PublicationAuthorityIntent;
|
|
218
|
+
export declare const npmPublicationAuthorityIssue: (publication: {
|
|
219
|
+
readonly packageName: {
|
|
220
|
+
readonly toString: () => string;
|
|
221
|
+
};
|
|
222
|
+
readonly version: {
|
|
223
|
+
readonly toString: () => string;
|
|
224
|
+
};
|
|
225
|
+
readonly registryUrl: string;
|
|
226
|
+
readonly distTag: string;
|
|
227
|
+
readonly access: "public" | "restricted";
|
|
228
|
+
readonly authentication: NpmAuthenticationValue;
|
|
229
|
+
readonly provenance: "automatic" | "required" | "disabled";
|
|
230
|
+
readonly authority: PublicationAuthorityIntent;
|
|
231
|
+
}) => string | undefined;
|
|
232
|
+
export declare const githubPublicationAuthorityIssue: (publication: {
|
|
233
|
+
readonly repository: string;
|
|
234
|
+
readonly tag: {
|
|
235
|
+
readonly toString: () => string;
|
|
236
|
+
};
|
|
237
|
+
readonly authority: PublicationAuthorityIntent;
|
|
238
|
+
}) => string | undefined;
|
|
239
|
+
export declare const pyPiPublicationAuthorityIssue: (publication: {
|
|
240
|
+
readonly project: string;
|
|
241
|
+
readonly version: {
|
|
242
|
+
readonly toString: () => string;
|
|
243
|
+
};
|
|
244
|
+
readonly repository: PyPiRepository;
|
|
245
|
+
readonly simpleBaseUrl: string;
|
|
246
|
+
readonly projectUrl: string;
|
|
247
|
+
readonly uploadUrl: string;
|
|
248
|
+
readonly authentication: PyPiAuthenticationValue;
|
|
249
|
+
readonly files: ReadonlyArray<{
|
|
250
|
+
readonly filename: {
|
|
251
|
+
readonly toString: () => string;
|
|
252
|
+
};
|
|
253
|
+
readonly authority: PublicationAuthorityIntent;
|
|
254
|
+
}>;
|
|
255
|
+
}) => string | undefined;
|
|
256
|
+
export declare const catalogPublicationAuthorityIssue: (publication: {
|
|
257
|
+
readonly repository: string;
|
|
258
|
+
readonly branch: {
|
|
259
|
+
readonly toString: () => string;
|
|
260
|
+
};
|
|
261
|
+
readonly targetPath: {
|
|
262
|
+
readonly toString: () => string;
|
|
263
|
+
};
|
|
264
|
+
readonly statePath: {
|
|
265
|
+
readonly toString: () => string;
|
|
266
|
+
};
|
|
267
|
+
readonly authority: PublicationAuthorityIntent;
|
|
268
|
+
}) => string | undefined;
|
|
269
|
+
export declare const linkContributions: (contributions: ReadonlyArray<CapabilityContribution>) => ReleaseGraph;
|
|
270
|
+
export {};
|
|
271
|
+
//# sourceMappingURL=graph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../src/release/graph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,OAAO,EACL,qBAAqB,EAIrB,qCAAqC,EAIrC,iBAAiB,EACjB,6BAA6B,EAE9B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAI3B,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,mBAAmB,EAKpB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,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