open-agreements 0.1.1 → 0.2.1
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/README.md +148 -34
- package/bin/open-agreements.js +3 -1
- package/{external → content/external}/yc-safe-discount/metadata.yaml +17 -21
- package/{external → content/external}/yc-safe-mfn/metadata.yaml +16 -16
- package/{external → content/external}/yc-safe-pro-rata-side-letter/metadata.yaml +13 -13
- package/{external → content/external}/yc-safe-valuation-cap/metadata.yaml +16 -16
- package/{recipes → content/recipes}/nvca-certificate-of-incorporation/metadata.yaml +13 -13
- package/{recipes → content/recipes}/nvca-indemnification-agreement/metadata.yaml +17 -21
- package/{recipes → content/recipes}/nvca-investors-rights-agreement/metadata.yaml +18 -22
- package/{recipes → content/recipes}/nvca-management-rights-letter/metadata.yaml +13 -16
- package/{recipes → content/recipes}/nvca-rofr-co-sale-agreement/metadata.yaml +20 -24
- package/content/recipes/nvca-stock-purchase-agreement/clean.json +13 -0
- package/content/recipes/nvca-stock-purchase-agreement/computed.json +103 -0
- package/content/recipes/nvca-stock-purchase-agreement/metadata.yaml +138 -0
- package/content/recipes/nvca-stock-purchase-agreement/normalize.json +83 -0
- package/content/recipes/nvca-stock-purchase-agreement/replacements.json +41 -0
- package/{recipes → content/recipes}/nvca-voting-agreement/metadata.yaml +19 -23
- package/{templates → content/templates}/bonterms-mutual-nda/metadata.yaml +14 -14
- package/{templates → content/templates}/bonterms-professional-services-agreement/metadata.yaml +11 -13
- package/content/templates/closing-checklist/metadata.yaml +39 -0
- package/content/templates/closing-checklist/template.docx +0 -0
- package/{templates → content/templates}/common-paper-ai-addendum/metadata.yaml +8 -10
- package/{templates → content/templates}/common-paper-ai-addendum-in-app/metadata.yaml +6 -8
- package/{templates → content/templates}/common-paper-amendment/metadata.yaml +14 -14
- package/{templates → content/templates}/common-paper-business-associate-agreement/metadata.yaml +9 -16
- package/{templates → content/templates}/common-paper-cloud-service-agreement/metadata.yaml +53 -187
- package/{templates → content/templates}/common-paper-cloud-service-agreement/template.docx +0 -0
- package/{templates → content/templates}/common-paper-csa-click-through/metadata.yaml +10 -20
- package/{templates → content/templates}/common-paper-csa-with-ai/metadata.yaml +14 -37
- package/{templates → content/templates}/common-paper-csa-with-sla/metadata.yaml +14 -40
- package/{templates → content/templates}/common-paper-csa-without-sla/metadata.yaml +14 -34
- package/{templates → content/templates}/common-paper-data-processing-agreement/metadata.yaml +15 -34
- package/{templates → content/templates}/common-paper-design-partner-agreement/metadata.yaml +10 -16
- package/{templates → content/templates}/common-paper-independent-contractor-agreement/metadata.yaml +14 -14
- package/{templates → content/templates}/common-paper-letter-of-intent/metadata.yaml +11 -12
- package/{templates → content/templates}/common-paper-mutual-nda/metadata.yaml +13 -13
- package/{templates → content/templates}/common-paper-one-way-nda/metadata.yaml +13 -14
- package/{templates → content/templates}/common-paper-order-form/metadata.yaml +12 -23
- package/{templates → content/templates}/common-paper-order-form-with-sla/metadata.yaml +12 -30
- package/{templates → content/templates}/common-paper-partnership-agreement/metadata.yaml +9 -21
- package/{templates → content/templates}/common-paper-pilot-agreement/metadata.yaml +15 -29
- package/{templates → content/templates}/common-paper-professional-services-agreement/metadata.yaml +15 -32
- package/{templates → content/templates}/common-paper-software-license-agreement/metadata.yaml +6 -6
- package/{templates → content/templates}/common-paper-statement-of-work/metadata.yaml +12 -19
- package/{templates → content/templates}/common-paper-term-sheet/metadata.yaml +9 -9
- package/content/templates/openagreements-employee-ip-inventions-assignment/README.md +31 -0
- package/content/templates/openagreements-employee-ip-inventions-assignment/metadata.yaml +71 -0
- package/content/templates/openagreements-employee-ip-inventions-assignment/template.docx +0 -0
- package/content/templates/openagreements-employee-ip-inventions-assignment/template.md +80 -0
- package/content/templates/openagreements-employment-confidentiality-acknowledgement/README.md +30 -0
- package/content/templates/openagreements-employment-confidentiality-acknowledgement/metadata.yaml +60 -0
- package/content/templates/openagreements-employment-confidentiality-acknowledgement/template.docx +0 -0
- package/content/templates/openagreements-employment-confidentiality-acknowledgement/template.md +51 -0
- package/content/templates/openagreements-employment-offer-letter/README.md +33 -0
- package/content/templates/openagreements-employment-offer-letter/metadata.yaml +75 -0
- package/content/templates/openagreements-employment-offer-letter/template.docx +0 -0
- package/content/templates/openagreements-employment-offer-letter/template.md +90 -0
- package/content/templates/working-group-list/metadata.yaml +22 -0
- package/content/templates/working-group-list/template.docx +0 -0
- package/dist/cli/index.d.ts +3 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +185 -89
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/checklist.d.ts +22 -0
- package/dist/commands/checklist.d.ts.map +1 -0
- package/dist/commands/checklist.js +222 -0
- package/dist/commands/checklist.js.map +1 -0
- package/dist/commands/fill.d.ts +11 -0
- package/dist/commands/fill.d.ts.map +1 -1
- package/dist/commands/fill.js +56 -1
- package/dist/commands/fill.js.map +1 -1
- package/dist/commands/list.d.ts +1 -0
- package/dist/commands/list.d.ts.map +1 -1
- package/dist/commands/list.js +147 -72
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/recipe.d.ts +2 -0
- package/dist/commands/recipe.d.ts.map +1 -1
- package/dist/commands/recipe.js +5 -0
- package/dist/commands/recipe.js.map +1 -1
- package/dist/commands/scan.d.ts +16 -0
- package/dist/commands/scan.d.ts.map +1 -1
- package/dist/commands/scan.js +36 -20
- package/dist/commands/scan.js.map +1 -1
- package/dist/core/checklist/index.d.ts +38 -0
- package/dist/core/checklist/index.d.ts.map +1 -0
- package/dist/core/checklist/index.js +229 -0
- package/dist/core/checklist/index.js.map +1 -0
- package/dist/core/checklist/patch-apply.d.ts +65 -0
- package/dist/core/checklist/patch-apply.d.ts.map +1 -0
- package/dist/core/checklist/patch-apply.js +274 -0
- package/dist/core/checklist/patch-apply.js.map +1 -0
- package/dist/core/checklist/patch-schemas.d.ts +86 -0
- package/dist/core/checklist/patch-schemas.d.ts.map +1 -0
- package/dist/core/checklist/patch-schemas.js +89 -0
- package/dist/core/checklist/patch-schemas.js.map +1 -0
- package/dist/core/checklist/patch-validator.d.ts +76 -0
- package/dist/core/checklist/patch-validator.d.ts.map +1 -0
- package/dist/core/checklist/patch-validator.js +404 -0
- package/dist/core/checklist/patch-validator.js.map +1 -0
- package/dist/core/checklist/schemas.d.ts +270 -0
- package/dist/core/checklist/schemas.d.ts.map +1 -0
- package/dist/core/checklist/schemas.js +229 -0
- package/dist/core/checklist/schemas.js.map +1 -0
- package/dist/core/checklist/test-utils.d.ts +7 -0
- package/dist/core/checklist/test-utils.d.ts.map +1 -0
- package/dist/core/checklist/test-utils.js +13 -0
- package/dist/core/checklist/test-utils.js.map +1 -0
- package/dist/core/command-generation/adapters/claude.d.ts.map +1 -1
- package/dist/core/command-generation/adapters/claude.js +8 -2
- package/dist/core/command-generation/adapters/claude.js.map +1 -1
- package/dist/core/employment/jurisdiction-rules.d.ts +20 -0
- package/dist/core/employment/jurisdiction-rules.d.ts.map +1 -0
- package/dist/core/employment/jurisdiction-rules.js +57 -0
- package/dist/core/employment/jurisdiction-rules.js.map +1 -0
- package/dist/core/employment/memo.d.ts +57 -0
- package/dist/core/employment/memo.d.ts.map +1 -0
- package/dist/core/employment/memo.js +589 -0
- package/dist/core/employment/memo.js.map +1 -0
- package/dist/core/engine.d.ts +1 -1
- package/dist/core/engine.d.ts.map +1 -1
- package/dist/core/engine.js +33 -1
- package/dist/core/engine.js.map +1 -1
- package/dist/core/external/index.d.ts.map +1 -1
- package/dist/core/external/index.js +1 -0
- package/dist/core/external/index.js.map +1 -1
- package/dist/core/external/types.d.ts +1 -1
- package/dist/core/external/types.d.ts.map +1 -1
- package/dist/core/fill-pipeline.d.ts +8 -5
- package/dist/core/fill-pipeline.d.ts.map +1 -1
- package/dist/core/fill-pipeline.js +85 -14
- package/dist/core/fill-pipeline.js.map +1 -1
- package/dist/core/fill-utils.d.ts +1 -1
- package/dist/core/fill-utils.d.ts.map +1 -1
- package/dist/core/fill-utils.js.map +1 -1
- package/dist/core/metadata.d.ts +110 -409
- package/dist/core/metadata.d.ts.map +1 -1
- package/dist/core/metadata.js +56 -4
- package/dist/core/metadata.js.map +1 -1
- package/dist/core/recipe/bracket-normalizer.d.ts +46 -0
- package/dist/core/recipe/bracket-normalizer.d.ts.map +1 -0
- package/dist/core/recipe/bracket-normalizer.js +354 -0
- package/dist/core/recipe/bracket-normalizer.js.map +1 -0
- package/dist/core/recipe/cleaner.d.ts +2 -2
- package/dist/core/recipe/cleaner.d.ts.map +1 -1
- package/dist/core/recipe/cleaner.js +13 -9
- package/dist/core/recipe/cleaner.js.map +1 -1
- package/dist/core/recipe/computed.d.ts +136 -0
- package/dist/core/recipe/computed.d.ts.map +1 -0
- package/dist/core/recipe/computed.js +225 -0
- package/dist/core/recipe/computed.js.map +1 -0
- package/dist/core/recipe/index.d.ts +2 -0
- package/dist/core/recipe/index.d.ts.map +1 -1
- package/dist/core/recipe/index.js +51 -4
- package/dist/core/recipe/index.js.map +1 -1
- package/dist/core/recipe/source-drift.d.ts +33 -0
- package/dist/core/recipe/source-drift.d.ts.map +1 -0
- package/dist/core/recipe/source-drift.js +113 -0
- package/dist/core/recipe/source-drift.js.map +1 -0
- package/dist/core/recipe/types.d.ts +6 -1
- package/dist/core/recipe/types.d.ts.map +1 -1
- package/dist/core/recipe/verifier.d.ts +1 -1
- package/dist/core/recipe/verifier.d.ts.map +1 -1
- package/dist/core/recipe/verifier.js +2 -2
- package/dist/core/recipe/verifier.js.map +1 -1
- package/dist/core/selector.d.ts +12 -87
- package/dist/core/selector.d.ts.map +1 -1
- package/dist/core/selector.js +5 -7
- package/dist/core/selector.js.map +1 -1
- package/dist/core/unified-pipeline.d.ts +4 -2
- package/dist/core/unified-pipeline.d.ts.map +1 -1
- package/dist/core/unified-pipeline.js +6 -1
- package/dist/core/unified-pipeline.js.map +1 -1
- package/dist/core/validation/recipe.d.ts +1 -1
- package/dist/core/validation/recipe.d.ts.map +1 -1
- package/dist/core/validation/recipe.js +43 -40
- package/dist/core/validation/recipe.js.map +1 -1
- package/dist/core/validation/scan-metadata.d.ts +21 -0
- package/dist/core/validation/scan-metadata.d.ts.map +1 -0
- package/dist/core/validation/scan-metadata.js +70 -0
- package/dist/core/validation/scan-metadata.js.map +1 -0
- package/dist/core/validation/template.d.ts.map +1 -1
- package/dist/core/validation/template.js +19 -6
- package/dist/core/validation/template.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +13 -6
- package/dist/utils/paths.js.map +1 -1
- package/package.json +60 -10
- package/skills/cloud-service-agreement/CONNECTORS.md +19 -0
- package/skills/cloud-service-agreement/SKILL.md +172 -0
- package/skills/data-privacy-agreement/CONNECTORS.md +19 -0
- package/skills/data-privacy-agreement/SKILL.md +158 -0
- package/skills/delaware-franchise-tax/CONNECTORS.md +16 -0
- package/skills/delaware-franchise-tax/SKILL.md +206 -0
- package/skills/delaware-franchise-tax/reference/ecorp-portal-playwright-notes.md +136 -0
- package/skills/delaware-franchise-tax/reference/faq.md +101 -0
- package/skills/delaware-franchise-tax/reference/filing-instructions.md +111 -0
- package/skills/delaware-franchise-tax/reference/tax-calculation.md +167 -0
- package/skills/employment-contract/CONNECTORS.md +19 -0
- package/skills/employment-contract/SKILL.md +157 -0
- package/skills/nda/CONNECTORS.md +19 -0
- package/skills/nda/SKILL.md +153 -0
- package/skills/open-agreements/CONNECTORS.md +19 -0
- package/skills/open-agreements/SKILL.md +86 -70
- package/skills/safe/CONNECTORS.md +19 -0
- package/skills/safe/SKILL.md +161 -0
- package/skills/services-agreement/CONNECTORS.md +19 -0
- package/skills/services-agreement/SKILL.md +156 -0
- package/skills/unit-test-philosophy/SKILL.md +113 -0
- package/skills/unit-test-philosophy/references/allure-test-spec-writing-guide.md +164 -0
- package/skills/venture-financing/CONNECTORS.md +19 -0
- package/skills/venture-financing/SKILL.md +169 -0
- package/recipes/nvca-certificate-of-incorporation/schema.json +0 -11
- package/recipes/nvca-indemnification-agreement/schema.json +0 -19
- package/recipes/nvca-investors-rights-agreement/schema.json +0 -18
- package/recipes/nvca-management-rights-letter/schema.json +0 -13
- package/recipes/nvca-rofr-co-sale-agreement/schema.json +0 -19
- package/recipes/nvca-stock-purchase-agreement/clean.json +0 -10
- package/recipes/nvca-stock-purchase-agreement/metadata.yaml +0 -74
- package/recipes/nvca-stock-purchase-agreement/replacements.json +0 -20
- package/recipes/nvca-stock-purchase-agreement/schema.json +0 -19
- package/recipes/nvca-voting-agreement/schema.json +0 -28
- /package/{external → content/external}/LICENSE +0 -0
- /package/{external → content/external}/README.md +0 -0
- /package/{external → content/external}/yc-safe-discount/README.md +0 -0
- /package/{external → content/external}/yc-safe-discount/clean.json +0 -0
- /package/{external → content/external}/yc-safe-discount/replacements.json +0 -0
- /package/{external → content/external}/yc-safe-discount/template.docx +0 -0
- /package/{external → content/external}/yc-safe-mfn/README.md +0 -0
- /package/{external → content/external}/yc-safe-mfn/clean.json +0 -0
- /package/{external → content/external}/yc-safe-mfn/replacements.json +0 -0
- /package/{external → content/external}/yc-safe-mfn/template.docx +0 -0
- /package/{external → content/external}/yc-safe-pro-rata-side-letter/README.md +0 -0
- /package/{external → content/external}/yc-safe-pro-rata-side-letter/clean.json +0 -0
- /package/{external → content/external}/yc-safe-pro-rata-side-letter/replacements.json +0 -0
- /package/{external → content/external}/yc-safe-pro-rata-side-letter/template.docx +0 -0
- /package/{external → content/external}/yc-safe-valuation-cap/README.md +0 -0
- /package/{external → content/external}/yc-safe-valuation-cap/clean.json +0 -0
- /package/{external → content/external}/yc-safe-valuation-cap/replacements.json +0 -0
- /package/{external → content/external}/yc-safe-valuation-cap/template.docx +0 -0
- /package/{recipes → content/recipes}/nvca-certificate-of-incorporation/clean.json +0 -0
- /package/{recipes → content/recipes}/nvca-certificate-of-incorporation/replacements.json +0 -0
- /package/{recipes → content/recipes}/nvca-indemnification-agreement/clean.json +0 -0
- /package/{recipes → content/recipes}/nvca-indemnification-agreement/replacements.json +0 -0
- /package/{recipes → content/recipes}/nvca-investors-rights-agreement/clean.json +0 -0
- /package/{recipes → content/recipes}/nvca-investors-rights-agreement/replacements.json +0 -0
- /package/{recipes → content/recipes}/nvca-management-rights-letter/clean.json +0 -0
- /package/{recipes → content/recipes}/nvca-management-rights-letter/replacements.json +0 -0
- /package/{recipes → content/recipes}/nvca-rofr-co-sale-agreement/clean.json +0 -0
- /package/{recipes → content/recipes}/nvca-rofr-co-sale-agreement/replacements.json +0 -0
- /package/{recipes → content/recipes}/nvca-voting-agreement/README.md +0 -0
- /package/{recipes → content/recipes}/nvca-voting-agreement/clean.json +0 -0
- /package/{recipes → content/recipes}/nvca-voting-agreement/replacements.json +0 -0
- /package/{templates → content/templates}/bonterms-mutual-nda/README.md +0 -0
- /package/{templates → content/templates}/bonterms-mutual-nda/source.json +0 -0
- /package/{templates → content/templates}/bonterms-mutual-nda/template.docx +0 -0
- /package/{templates → content/templates}/bonterms-professional-services-agreement/README.md +0 -0
- /package/{templates → content/templates}/bonterms-professional-services-agreement/selections.json +0 -0
- /package/{templates → content/templates}/bonterms-professional-services-agreement/source.json +0 -0
- /package/{templates → content/templates}/bonterms-professional-services-agreement/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-ai-addendum/README.md +0 -0
- /package/{templates → content/templates}/common-paper-ai-addendum/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-ai-addendum-in-app/README.md +0 -0
- /package/{templates → content/templates}/common-paper-ai-addendum-in-app/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-amendment/README.md +0 -0
- /package/{templates → content/templates}/common-paper-amendment/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-business-associate-agreement/README.md +0 -0
- /package/{templates → content/templates}/common-paper-business-associate-agreement/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-business-associate-agreement/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-cloud-service-agreement/README.md +0 -0
- /package/{templates → content/templates}/common-paper-csa-click-through/README.md +0 -0
- /package/{templates → content/templates}/common-paper-csa-click-through/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-csa-with-ai/README.md +0 -0
- /package/{templates → content/templates}/common-paper-csa-with-ai/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-csa-with-ai/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-csa-with-sla/README.md +0 -0
- /package/{templates → content/templates}/common-paper-csa-with-sla/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-csa-with-sla/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-csa-without-sla/README.md +0 -0
- /package/{templates → content/templates}/common-paper-csa-without-sla/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-csa-without-sla/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-data-processing-agreement/README.md +0 -0
- /package/{templates → content/templates}/common-paper-data-processing-agreement/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-data-processing-agreement/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-design-partner-agreement/README.md +0 -0
- /package/{templates → content/templates}/common-paper-design-partner-agreement/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-design-partner-agreement/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-independent-contractor-agreement/README.md +0 -0
- /package/{templates → content/templates}/common-paper-independent-contractor-agreement/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-letter-of-intent/README.md +0 -0
- /package/{templates → content/templates}/common-paper-letter-of-intent/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-mutual-nda/README.md +0 -0
- /package/{templates → content/templates}/common-paper-mutual-nda/selections.json +0 -0
- /package/{templates → content/templates}/common-paper-mutual-nda/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-one-way-nda/README.md +0 -0
- /package/{templates → content/templates}/common-paper-one-way-nda/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-order-form/README.md +0 -0
- /package/{templates → content/templates}/common-paper-order-form/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-order-form/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-order-form-with-sla/README.md +0 -0
- /package/{templates → content/templates}/common-paper-order-form-with-sla/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-order-form-with-sla/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-partnership-agreement/README.md +0 -0
- /package/{templates → content/templates}/common-paper-partnership-agreement/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-partnership-agreement/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-pilot-agreement/README.md +0 -0
- /package/{templates → content/templates}/common-paper-pilot-agreement/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-pilot-agreement/selections.json +0 -0
- /package/{templates → content/templates}/common-paper-pilot-agreement/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-professional-services-agreement/README.md +0 -0
- /package/{templates → content/templates}/common-paper-professional-services-agreement/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-professional-services-agreement/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-software-license-agreement/README.md +0 -0
- /package/{templates → content/templates}/common-paper-software-license-agreement/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-statement-of-work/README.md +0 -0
- /package/{templates → content/templates}/common-paper-statement-of-work/replacements.json +0 -0
- /package/{templates → content/templates}/common-paper-statement-of-work/template.docx +0 -0
- /package/{templates → content/templates}/common-paper-term-sheet/README.md +0 -0
- /package/{templates → content/templates}/common-paper-term-sheet/template.docx +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-apply.js","sourceRoot":"","sources":["../../../src/core/checklist/patch-apply.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAyB,MAAM,cAAc,CAAC;AAC7E,OAAO,EAAE,gCAAgC,EAAgE,MAAM,oBAAoB,CAAC;AACpI,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EACzB,mCAAmC,EACnC,gCAAgC,GAIjC,MAAM,sBAAsB,CAAC;AAgC9B,MAAM,kCAAkC;I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AAO;gBACtB,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;aAC5B,CAAC,CAAC;SACJ,CAAC;IACJ,CAAC;IAED,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;IAC7C,MAAM,YAAY,CAAC,GAAG,CAAC;QACrB,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ;QAChC,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,eAAe,EAAE,KAAK,CAAC,gBAAgB;QACvC,cAAc,EAAE,KAAK,CAAC,gBAAgB,GAAG,CAAC;QAC1C,KAAK,EAAE,OAAO,CAAC,KAAK;KACrB,CAAC,CAAC;IAEH,OAAO;QACL,EAAE,EAAE,IAAI;QACR,SAAS,EAAE,SAAS,CAAC,IAAI;QACzB,iBAAiB,EAAE,KAAK,CAAC,gBAAgB;QACzC,YAAY,EAAE,KAAK,CAAC,gBAAgB,GAAG,CAAC;QACxC,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,QAAQ;QAChC,UAAU,EAAE,SAAS;QACrB,iBAAiB,EAAE,KAAK;QACxB,IAAI;QACJ,OAAO,EAAE,IAAI;QACb,mBAAmB,EAAE,WAAW,CAAC,mBAAmB;KACrD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ChecklistPatchModeEnum: z.ZodEnum<{
|
|
3
|
+
APPLY: "APPLY";
|
|
4
|
+
PROPOSED: "PROPOSED";
|
|
5
|
+
}>;
|
|
6
|
+
export type ChecklistPatchMode = z.infer<typeof ChecklistPatchModeEnum>;
|
|
7
|
+
export declare const JsonPointerSchema: z.ZodString;
|
|
8
|
+
export type JsonPointer = z.infer<typeof JsonPointerSchema>;
|
|
9
|
+
export declare const PatchCitationSchema: z.ZodObject<{
|
|
10
|
+
text: z.ZodString;
|
|
11
|
+
link: z.ZodOptional<z.ZodString>;
|
|
12
|
+
filepath: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export type PatchCitation = z.infer<typeof PatchCitationSchema>;
|
|
15
|
+
export declare const ChecklistPatchSourceEventSchema: z.ZodObject<{
|
|
16
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
17
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
18
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export type ChecklistPatchSourceEvent = z.infer<typeof ChecklistPatchSourceEventSchema>;
|
|
21
|
+
export declare const ChecklistPatchOperationSchema: z.ZodObject<{
|
|
22
|
+
op: z.ZodEnum<{
|
|
23
|
+
replace: "replace";
|
|
24
|
+
add: "add";
|
|
25
|
+
remove: "remove";
|
|
26
|
+
}>;
|
|
27
|
+
path: z.ZodString;
|
|
28
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
29
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
30
|
+
source: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export type ChecklistPatchOperation = z.infer<typeof ChecklistPatchOperationSchema>;
|
|
33
|
+
export declare const ChecklistPatchEnvelopeSchema: z.ZodObject<{
|
|
34
|
+
patch_id: z.ZodString;
|
|
35
|
+
expected_revision: z.ZodNumber;
|
|
36
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
37
|
+
APPLY: "APPLY";
|
|
38
|
+
PROPOSED: "PROPOSED";
|
|
39
|
+
}>>;
|
|
40
|
+
source_event: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
42
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
43
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
46
|
+
op: z.ZodEnum<{
|
|
47
|
+
replace: "replace";
|
|
48
|
+
add: "add";
|
|
49
|
+
remove: "remove";
|
|
50
|
+
}>;
|
|
51
|
+
path: z.ZodString;
|
|
52
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
53
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
54
|
+
source: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
export type ChecklistPatchEnvelope = z.infer<typeof ChecklistPatchEnvelopeSchema>;
|
|
58
|
+
export declare const ChecklistPatchApplyRequestSchema: z.ZodObject<{
|
|
59
|
+
validation_id: z.ZodString;
|
|
60
|
+
patch: z.ZodObject<{
|
|
61
|
+
patch_id: z.ZodString;
|
|
62
|
+
expected_revision: z.ZodNumber;
|
|
63
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
64
|
+
APPLY: "APPLY";
|
|
65
|
+
PROPOSED: "PROPOSED";
|
|
66
|
+
}>>;
|
|
67
|
+
source_event: z.ZodOptional<z.ZodObject<{
|
|
68
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
69
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
70
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
71
|
+
}, z.core.$strip>>;
|
|
72
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
73
|
+
op: z.ZodEnum<{
|
|
74
|
+
replace: "replace";
|
|
75
|
+
add: "add";
|
|
76
|
+
remove: "remove";
|
|
77
|
+
}>;
|
|
78
|
+
path: z.ZodString;
|
|
79
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
80
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
81
|
+
source: z.ZodOptional<z.ZodString>;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
export type ChecklistPatchApplyRequest = z.infer<typeof ChecklistPatchApplyRequestSchema>;
|
|
86
|
+
//# sourceMappingURL=patch-schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-schemas.d.ts","sourceRoot":"","sources":["../../../src/core/checklist/patch-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkBxB,eAAO,MAAM,sBAAsB;;;EAAgC,CAAC;AACpE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAExE,eAAO,MAAM,iBAAiB,aAO5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;iBAI9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,+BAA+B;;;;iBAI1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,6BAA6B;;;;;;;;;;iBA6CxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;iBAMvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
const JSON_PATCH_OPS = ['add', 'replace', 'remove'];
|
|
3
|
+
function isValidJsonPointer(pointer) {
|
|
4
|
+
if (!pointer.startsWith('/'))
|
|
5
|
+
return false;
|
|
6
|
+
for (let index = 0; index < pointer.length; index += 1) {
|
|
7
|
+
const char = pointer[index];
|
|
8
|
+
if (char !== '~')
|
|
9
|
+
continue;
|
|
10
|
+
const next = pointer[index + 1];
|
|
11
|
+
if (next !== '0' && next !== '1')
|
|
12
|
+
return false;
|
|
13
|
+
index += 1;
|
|
14
|
+
}
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
export const ChecklistPatchModeEnum = z.enum(['APPLY', 'PROPOSED']);
|
|
18
|
+
export const JsonPointerSchema = z.string().min(1).superRefine((pointer, ctx) => {
|
|
19
|
+
if (!isValidJsonPointer(pointer)) {
|
|
20
|
+
ctx.addIssue({
|
|
21
|
+
code: z.ZodIssueCode.custom,
|
|
22
|
+
message: 'path must be a valid JSON Pointer starting with "/" and using "~0"/"~1" escapes',
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export const PatchCitationSchema = z.object({
|
|
27
|
+
text: z.string().min(1),
|
|
28
|
+
link: z.string().min(1).optional(),
|
|
29
|
+
filepath: z.string().min(1).optional(),
|
|
30
|
+
});
|
|
31
|
+
export const ChecklistPatchSourceEventSchema = z.object({
|
|
32
|
+
provider: z.string().min(1).optional(),
|
|
33
|
+
message_id: z.string().min(1).optional(),
|
|
34
|
+
conversation_id: z.string().min(1).optional(),
|
|
35
|
+
});
|
|
36
|
+
export const ChecklistPatchOperationSchema = z.object({
|
|
37
|
+
op: z.enum(JSON_PATCH_OPS),
|
|
38
|
+
path: JsonPointerSchema,
|
|
39
|
+
value: z.unknown().optional(),
|
|
40
|
+
rationale: z.string().min(1).optional(),
|
|
41
|
+
source: z.string().min(1).optional(),
|
|
42
|
+
}).superRefine((operation, ctx) => {
|
|
43
|
+
const expectsValue = operation.op === 'add' || operation.op === 'replace';
|
|
44
|
+
const hasValue = operation.value !== undefined;
|
|
45
|
+
if (expectsValue && !hasValue) {
|
|
46
|
+
ctx.addIssue({
|
|
47
|
+
code: z.ZodIssueCode.custom,
|
|
48
|
+
path: ['value'],
|
|
49
|
+
message: `"${operation.op}" operations require a value`,
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
if (!expectsValue && hasValue) {
|
|
53
|
+
ctx.addIssue({
|
|
54
|
+
code: z.ZodIssueCode.custom,
|
|
55
|
+
path: ['value'],
|
|
56
|
+
message: `"${operation.op}" operations must not include value`,
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
if ((operation.op === 'remove' || operation.op === 'replace') && operation.path.endsWith('/-')) {
|
|
60
|
+
ctx.addIssue({
|
|
61
|
+
code: z.ZodIssueCode.custom,
|
|
62
|
+
path: ['path'],
|
|
63
|
+
message: `"${operation.op}" cannot target the append index "-"`,
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
const isCitationPath = /\/citations\/(?:-|[0-9]+)$/.test(operation.path);
|
|
67
|
+
if (expectsValue && isCitationPath) {
|
|
68
|
+
const citation = PatchCitationSchema.safeParse(operation.value);
|
|
69
|
+
if (!citation.success) {
|
|
70
|
+
ctx.addIssue({
|
|
71
|
+
code: z.ZodIssueCode.custom,
|
|
72
|
+
path: ['value'],
|
|
73
|
+
message: 'citation writes require value to match PatchCitationSchema',
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
export const ChecklistPatchEnvelopeSchema = z.object({
|
|
79
|
+
patch_id: z.string().min(1),
|
|
80
|
+
expected_revision: z.number().int().nonnegative(),
|
|
81
|
+
mode: ChecklistPatchModeEnum.default('APPLY'),
|
|
82
|
+
source_event: ChecklistPatchSourceEventSchema.optional(),
|
|
83
|
+
operations: z.array(ChecklistPatchOperationSchema).min(1),
|
|
84
|
+
});
|
|
85
|
+
export const ChecklistPatchApplyRequestSchema = z.object({
|
|
86
|
+
validation_id: z.string().min(1),
|
|
87
|
+
patch: ChecklistPatchEnvelopeSchema,
|
|
88
|
+
});
|
|
89
|
+
//# sourceMappingURL=patch-schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-schemas.js","sourceRoot":"","sources":["../../../src/core/checklist/patch-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,CAAU,CAAC;AAE7D,SAAS,kBAAkB,CAAC,OAAe;IACzC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC;QAAE,OAAO,KAAK,CAAC;IAE3C,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QACvD,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;QAC5B,IAAI,IAAI,KAAK,GAAG;YAAE,SAAS;QAC3B,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;QAChC,IAAI,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,GAAG;YAAE,OAAO,KAAK,CAAC;QAC/C,KAAK,IAAI,CAAC,CAAC;IACb,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC;AAGpE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,GAAG,EAAE,EAAE;IAC9E,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC;QACjC,GAAG,CAAC,QAAQ,CAAC;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,KAAK,CAAC,CAAC;QAChE,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;YACtB,GAAG,CAAC,QAAQ,CAAC;gBACX,IAAI,EAAE,CAAC,CAAC,YAAY,CAAC,MAAM;gBAC3B,IAAI,EAAE,CAAC,OAAO,CAAC;gBACf,OAAO,EAAE,4DAA4D;aACtE,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACjD,IAAI,EAAE,sBAAsB,CAAC,OAAO,CAAC,OAAO,CAAC;IAC7C,YAAY,EAAE,+BAA+B,CAAC,QAAQ,EAAE;IACxD,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CAC1D,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAChC,KAAK,EAAE,4BAA4B;CACpC,CAAC,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type ClosingChecklist } from './schemas.js';
|
|
2
|
+
import { type ChecklistPatchEnvelope, type ChecklistPatchOperation } from './patch-schemas.js';
|
|
3
|
+
export declare const CHECKLIST_PATCH_VALIDATION_TTL_MS: number;
|
|
4
|
+
export type ChecklistPatchValidationErrorCode = 'CHECKLIST_SCHEMA_INVALID' | 'PATCH_SCHEMA_INVALID' | 'REVISION_CONFLICT' | 'TARGET_NOT_FOUND' | 'TARGET_PATH_INVALID' | 'TARGET_PARENT_INVALID' | 'POST_PATCH_SCHEMA_INVALID';
|
|
5
|
+
export interface ChecklistPatchValidationDiagnostic {
|
|
6
|
+
code: ChecklistPatchValidationErrorCode;
|
|
7
|
+
message: string;
|
|
8
|
+
path?: string;
|
|
9
|
+
operation_index?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface ResolvedChecklistPatchOperation {
|
|
12
|
+
operation_index: number;
|
|
13
|
+
op: ChecklistPatchOperation['op'];
|
|
14
|
+
path: string;
|
|
15
|
+
parent_path: string;
|
|
16
|
+
parent_container: 'object' | 'array';
|
|
17
|
+
target_exists_before: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface ChecklistPatchValidationArtifact {
|
|
20
|
+
validation_id: string;
|
|
21
|
+
checklist_id: string;
|
|
22
|
+
patch_id: string;
|
|
23
|
+
patch_hash: string;
|
|
24
|
+
expected_revision: number;
|
|
25
|
+
created_at_ms: number;
|
|
26
|
+
expires_at_ms: number;
|
|
27
|
+
resolved_operations: ResolvedChecklistPatchOperation[];
|
|
28
|
+
}
|
|
29
|
+
export interface ChecklistPatchValidationStore {
|
|
30
|
+
set(artifact: ChecklistPatchValidationArtifact): Promise<void>;
|
|
31
|
+
get(validationId: string): Promise<ChecklistPatchValidationArtifact | null>;
|
|
32
|
+
delete(validationId: string): Promise<void>;
|
|
33
|
+
}
|
|
34
|
+
export declare function setChecklistPatchValidationStore(store: ChecklistPatchValidationStore | null): void;
|
|
35
|
+
export declare function getChecklistPatchValidationStore(): ChecklistPatchValidationStore;
|
|
36
|
+
export interface ValidateChecklistPatchInput {
|
|
37
|
+
checklist_id: string;
|
|
38
|
+
checklist: unknown;
|
|
39
|
+
current_revision: number;
|
|
40
|
+
patch: unknown;
|
|
41
|
+
now_ms?: number;
|
|
42
|
+
validation_ttl_ms?: number;
|
|
43
|
+
store?: ChecklistPatchValidationStore;
|
|
44
|
+
}
|
|
45
|
+
export interface ChecklistPatchValidationSuccess {
|
|
46
|
+
ok: true;
|
|
47
|
+
validation_id: string;
|
|
48
|
+
patch_hash: string;
|
|
49
|
+
patch: ChecklistPatchEnvelope;
|
|
50
|
+
resolved_operations: ResolvedChecklistPatchOperation[];
|
|
51
|
+
resulting_state_valid: true;
|
|
52
|
+
artifact_expires_at_ms: number;
|
|
53
|
+
}
|
|
54
|
+
export interface ChecklistPatchValidationFailure {
|
|
55
|
+
ok: false;
|
|
56
|
+
diagnostics: ChecklistPatchValidationDiagnostic[];
|
|
57
|
+
patch?: ChecklistPatchEnvelope;
|
|
58
|
+
resolved_operations: ResolvedChecklistPatchOperation[];
|
|
59
|
+
}
|
|
60
|
+
export type ChecklistPatchValidationResult = ChecklistPatchValidationSuccess | ChecklistPatchValidationFailure;
|
|
61
|
+
export declare function computeChecklistPatchHash(patch: ChecklistPatchEnvelope): string;
|
|
62
|
+
export declare const DANGEROUS_KEYS: Set<string>;
|
|
63
|
+
export type ChecklistPatchOperationApplyResult = {
|
|
64
|
+
ok: true;
|
|
65
|
+
resolved_operations: ResolvedChecklistPatchOperation[];
|
|
66
|
+
} | {
|
|
67
|
+
ok: false;
|
|
68
|
+
diagnostic: ChecklistPatchValidationDiagnostic;
|
|
69
|
+
};
|
|
70
|
+
export declare function applyChecklistPatchOperations(root: ClosingChecklist, operations: ChecklistPatchOperation[]): ChecklistPatchOperationApplyResult;
|
|
71
|
+
export declare function getChecklistPatchValidationArtifact(validationId: string, opts?: {
|
|
72
|
+
now_ms?: number;
|
|
73
|
+
store?: ChecklistPatchValidationStore;
|
|
74
|
+
}): Promise<ChecklistPatchValidationArtifact | null>;
|
|
75
|
+
export declare function validateChecklistPatch(input: ValidateChecklistPatchInput): Promise<ChecklistPatchValidationResult>;
|
|
76
|
+
//# sourceMappingURL=patch-validator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-validator.d.ts","sourceRoot":"","sources":["../../../src/core/checklist/patch-validator.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AA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