@agent-teams/engineering-foundation 0.21.0 → 1.0.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 +13 -19
- package/assets/windows-managed-process/WindowsManagedProcess.cs +2 -2
- package/assets/windows-managed-process/bootstrap.ps1 +25 -4
- package/dist/canonical-json.d.ts +1 -11
- package/dist/canonical-json.d.ts.map +1 -1
- package/dist/canonical-json.js +1 -150
- package/dist/canonical-json.js.map +1 -1
- package/dist/capabilities/documentation-local-references/application/model/documentation-local-references.d.ts +1 -1
- package/dist/capabilities/documentation-local-references/application/model/documentation-local-references.d.ts.map +1 -1
- package/dist/capabilities/documentation-local-references/application/policies/evaluate-documentation-local-references.js +1 -1
- package/dist/capabilities/documentation-local-references/application/policies/evaluate-documentation-local-references.js.map +1 -1
- package/dist/capabilities/documentation-local-references/application/use-cases/analyze-documentation-local-references.d.ts +1 -1
- package/dist/capabilities/documentation-local-references/application/use-cases/analyze-documentation-local-references.d.ts.map +1 -1
- package/dist/capabilities/documentation-local-references/module.js +1 -1
- package/dist/capabilities/documentation-local-references/module.js.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/model/architecture-decision.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/model/architecture-decision.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/model/architecture-decision.js +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/model/architecture-decision.js.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/architecture-decision-diagnostic.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/architecture-decision-diagnostic.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/evaluate-architecture-decision-index.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/evaluate-architecture-decision-index.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/evaluate-architecture-decisions.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/evaluate-architecture-decisions.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/parse-architecture-decision-document.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/policies/parse-architecture-decision-document.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/analyze-architecture-decisions.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/analyze-architecture-decisions.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/inspect-architecture-decision-catalog.d.ts +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/inspect-architecture-decision-catalog.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/resolve-architecture-decision-index-memberships.d.ts +1 -2
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/resolve-architecture-decision-index-memberships.d.ts.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/application/use-cases/resolve-architecture-decision-index-memberships.js.map +1 -1
- package/dist/capabilities/governance-architecture-decisions/module.js +1 -1
- package/dist/capabilities/governance-architecture-decisions/module.js.map +1 -1
- package/dist/capabilities/source-dependencies/adapters/outbound/node/generated-output-filesystem.d.ts +12 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/generated-output-filesystem.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/generated-output-filesystem.js +123 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/generated-output-filesystem.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/node-source-dependency-resolver.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/adapters/outbound/node/node-source-dependency-resolver.js +197 -29
- package/dist/capabilities/source-dependencies/adapters/outbound/node/node-source-dependency-resolver.js.map +1 -1
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-snapshot.d.ts +30 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-snapshot.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-snapshot.js +167 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-snapshot.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-topology-inspector.d.ts +18 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-topology-inspector.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-topology-inspector.js +131 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/pnpm-source-workspace-topology-inspector.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.d.ts +33 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.js +323 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-discovery.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-snapshot-reader.d.ts +9 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-snapshot-reader.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-snapshot-reader.js +67 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/selected-package-source-snapshot-reader.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-filesystem.d.ts +38 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-filesystem.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-filesystem.js +139 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-filesystem.js.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-root-snapshot.d.ts +20 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-root-snapshot.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-root-snapshot.js +39 -0
- package/dist/capabilities/source-dependencies/adapters/outbound/node/source-workspace-root-snapshot.js.map +1 -0
- package/dist/capabilities/source-dependencies/application/model/repository-path.d.ts +12 -0
- package/dist/capabilities/source-dependencies/application/model/repository-path.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/model/repository-path.js +59 -0
- package/dist/capabilities/source-dependencies/application/model/repository-path.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/model/source-workspace-topology.d.ts +31 -0
- package/dist/capabilities/source-dependencies/application/model/source-workspace-topology.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/application/model/source-workspace-topology.js +2 -0
- package/dist/capabilities/source-dependencies/application/model/source-workspace-topology.js.map +1 -0
- package/dist/capabilities/source-dependencies/application/model/source-workspace.d.ts +20 -3
- package/dist/capabilities/source-dependencies/application/model/source-workspace.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-resolved-source-dependency.d.ts +1 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-resolved-source-dependency.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-resolved-source-dependency.js +32 -3
- package/dist/capabilities/source-dependencies/application/policies/evaluate-resolved-source-dependency.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependencies.d.ts +1 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependencies.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependencies.js +2 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependencies.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependency-cycles.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependency-cycles.js +1 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-dependency-cycles.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.d.ts +5 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.js +96 -0
- package/dist/capabilities/source-dependencies/application/policies/evaluate-source-workspace-coverage.js.map +1 -0
- package/dist/capabilities/source-dependencies/application/ports/source-dependency-resolver.d.ts +15 -0
- package/dist/capabilities/source-dependencies/application/ports/source-dependency-resolver.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/ports/source-workspace-topology-inspector.d.ts +27 -0
- package/dist/capabilities/source-dependencies/application/ports/source-workspace-topology-inspector.d.ts.map +1 -0
- package/dist/capabilities/source-dependencies/application/ports/source-workspace-topology-inspector.js +2 -0
- package/dist/capabilities/source-dependencies/application/ports/source-workspace-topology-inspector.js.map +1 -0
- package/dist/capabilities/source-dependencies/application/rules.d.ts +1 -0
- package/dist/capabilities/source-dependencies/application/rules.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/rules.js +1 -0
- package/dist/capabilities/source-dependencies/application/rules.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.d.ts +2 -0
- package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.js +113 -9
- package/dist/capabilities/source-dependencies/application/use-cases/analyze-source-dependencies.js.map +1 -1
- package/dist/capabilities/source-dependencies/application/use-cases/build-observed-source-graph.d.ts +15 -0
- package/dist/capabilities/source-dependencies/application/use-cases/build-observed-source-graph.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/application/use-cases/build-observed-source-graph.js +27 -1
- package/dist/capabilities/source-dependencies/application/use-cases/build-observed-source-graph.js.map +1 -1
- package/dist/capabilities/source-dependencies/contract/config.d.ts +3 -3
- package/dist/capabilities/source-dependencies/contract/config.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/contract/config.js +226 -44
- package/dist/capabilities/source-dependencies/contract/config.js.map +1 -1
- package/dist/capabilities/source-dependencies/module.d.ts.map +1 -1
- package/dist/capabilities/source-dependencies/module.js +11 -5
- package/dist/capabilities/source-dependencies/module.js.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.d.ts +3 -0
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.d.ts.map +1 -0
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.js +9 -0
- package/dist/capabilities/workspace-dependency-declarations/adapters/inbound/filesystem/load-capability-config.js.map +1 -0
- package/dist/capabilities/workspace-dependency-declarations/application/policies/evaluate-workspace-dependencies.d.ts.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/application/policies/evaluate-workspace-dependencies.js +92 -77
- package/dist/capabilities/workspace-dependency-declarations/application/policies/evaluate-workspace-dependencies.js.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/contract/config.d.ts +2 -1
- package/dist/capabilities/workspace-dependency-declarations/contract/config.d.ts.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/contract/config.js +22 -5
- package/dist/capabilities/workspace-dependency-declarations/contract/config.js.map +1 -1
- package/dist/capabilities/workspace-dependency-declarations/module.js +2 -1
- package/dist/capabilities/workspace-dependency-declarations/module.js.map +1 -1
- package/dist/cli-arguments.d.ts +0 -11
- package/dist/cli-arguments.d.ts.map +1 -1
- package/dist/cli-arguments.js +2 -143
- package/dist/cli-arguments.js.map +1 -1
- package/dist/cli.js +2 -16
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/local-mode/index.d.ts +1 -1
- package/dist/local-mode/index.js +1 -1
- package/dist/package-self-check.d.ts +1 -1
- package/dist/package-self-check.d.ts.map +1 -1
- package/dist/package-self-check.js +9 -24
- package/dist/package-self-check.js.map +1 -1
- package/dist/process-execution/node-process-runner.d.ts.map +1 -1
- package/dist/process-execution/node-process-runner.js +2 -2
- package/dist/process-execution/node-process-runner.js.map +1 -1
- package/dist/process-execution/windows-managed-process-diagnostics.d.ts +5 -0
- package/dist/process-execution/windows-managed-process-diagnostics.d.ts.map +1 -0
- package/dist/process-execution/windows-managed-process-diagnostics.js +110 -0
- package/dist/process-execution/windows-managed-process-diagnostics.js.map +1 -0
- package/dist/process-execution/windows-managed-process.d.ts +4 -2
- package/dist/process-execution/windows-managed-process.d.ts.map +1 -1
- package/dist/process-execution/windows-managed-process.js +39 -12
- package/dist/process-execution/windows-managed-process.js.map +1 -1
- package/dist/process-execution/windows-process-host.js +42 -30
- package/dist/process-execution/windows-process-host.js.map +1 -1
- package/dist/public-api-surface.d.ts +0 -2
- package/dist/public-api-surface.d.ts.map +1 -1
- package/dist/public-api-surface.js +0 -2
- package/dist/public-api-surface.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-recovery.js +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-recovery.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-workspace.js +1 -1
- package/dist/scaffolding/adapters/node/filesystem-authority-workspace.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-file-identity.d.ts +3 -3
- package/dist/scaffolding/adapters/node/filesystem-file-identity.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-file-identity.js +1 -1
- package/dist/scaffolding/adapters/node/filesystem-file-identity.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-operation-state.d.ts +2 -3
- package/dist/scaffolding/adapters/node/filesystem-operation-state.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-operation-state.js +36 -16
- package/dist/scaffolding/adapters/node/filesystem-operation-state.js.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-path-guard.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/filesystem-path-guard.js +5 -6
- package/dist/scaffolding/adapters/node/filesystem-path-guard.js.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.d.ts +17 -28
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.js +35 -97
- package/dist/scaffolding/adapters/node/node-scaffold-journal-evidence.js.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-gateway.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-gateway.js +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-gateway.js.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store-faults.d.ts +2 -2
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store-faults.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.d.ts +6 -0
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.d.ts.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.js +139 -274
- package/dist/scaffolding/adapters/node/node-scaffold-journal-store.js.map +1 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-transaction-evidence.js +1 -2
- package/dist/scaffolding/adapters/node/node-scaffold-journal-transaction-evidence.js.map +1 -1
- package/dist/scaffolding/application/policies/legacy-scaffolding-repository-path.d.ts +1 -1
- package/dist/scaffolding/application/policies/legacy-scaffolding-repository-path.d.ts.map +1 -1
- package/dist/scaffolding/kernel/canonical-json.d.ts.map +1 -1
- package/dist/scaffolding/kernel/canonical-json.js +10 -42
- package/dist/scaffolding/kernel/canonical-json.js.map +1 -1
- package/dist/scaffolding/kernel/plan-content-validation.d.ts.map +1 -1
- package/dist/scaffolding/kernel/plan-content-validation.js +8 -1
- package/dist/scaffolding/kernel/plan-content-validation.js.map +1 -1
- package/dist/schema-catalog.d.ts.map +1 -1
- package/dist/schema-catalog.js +8 -21
- package/dist/schema-catalog.js.map +1 -1
- package/dist/schema-ids.d.ts +1 -1
- package/dist/schema-ids.d.ts.map +1 -1
- package/dist/schema-ids.js +1 -16
- package/dist/schema-ids.js.map +1 -1
- package/dist/strict-json.d.ts +1 -6
- package/dist/strict-json.d.ts.map +1 -1
- package/dist/strict-json.js +1 -40
- package/dist/strict-json.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.js +3 -4
- package/dist/transaction-coordination/adapters/node/document-envelope-bindings.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/foundation-scaffold-envelope.d.ts +8 -0
- package/dist/transaction-coordination/adapters/node/foundation-scaffold-envelope.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/foundation-scaffold-envelope.js +70 -0
- package/dist/transaction-coordination/adapters/node/foundation-scaffold-envelope.js.map +1 -0
- package/dist/transaction-coordination/adapters/node/foundation-transition-evidence.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/foundation-transition-evidence.js +42 -7
- package/dist/transaction-coordination/adapters/node/foundation-transition-evidence.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/installed-foundation-build-identity.d.ts +0 -5
- package/dist/transaction-coordination/adapters/node/installed-foundation-build-identity.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/installed-foundation-build-identity.js +7 -124
- package/dist/transaction-coordination/adapters/node/installed-foundation-build-identity.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/known-file-transaction-status.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/known-file-transaction-status.js +34 -4
- package/dist/transaction-coordination/adapters/node/known-file-transaction-status.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.d.ts +1 -0
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.js +3 -0
- package/dist/transaction-coordination/adapters/node/legacy-document-envelope-v2.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/legacy-scaffolding-transaction-validation.d.ts +3 -0
- package/dist/transaction-coordination/adapters/node/legacy-scaffolding-transaction-validation.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/legacy-scaffolding-transaction-validation.js +52 -0
- package/dist/transaction-coordination/adapters/node/legacy-scaffolding-transaction-validation.js.map +1 -0
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.d.ts +2 -2
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.js +1 -2
- package/dist/transaction-coordination/adapters/node/node-foundation-cleanup-transition.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-operation-lock.d.ts +1 -9
- package/dist/transaction-coordination/adapters/node/node-foundation-operation-lock.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-operation-lock.js +16 -338
- package/dist/transaction-coordination/adapters/node/node-foundation-operation-lock.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-state-directory.d.ts +5 -10
- package/dist/transaction-coordination/adapters/node/node-foundation-state-directory.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-state-directory.js +5 -90
- package/dist/transaction-coordination/adapters/node/node-foundation-state-directory.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.d.ts.map +1 -1
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.js +41 -26
- package/dist/transaction-coordination/adapters/node/node-foundation-transaction-slot.js.map +1 -1
- package/dist/transaction-coordination/adapters/node/schema6-transaction-status.d.ts +7 -0
- package/dist/transaction-coordination/adapters/node/schema6-transaction-status.d.ts.map +1 -0
- package/dist/transaction-coordination/adapters/node/schema6-transaction-status.js +51 -0
- package/dist/transaction-coordination/adapters/node/schema6-transaction-status.js.map +1 -0
- package/dist/transaction-coordination/application/foundation-transaction-coordinator.d.ts.map +1 -1
- package/dist/transaction-coordination/application/foundation-transaction-coordinator.js +1 -1
- package/dist/transaction-coordination/application/foundation-transaction-coordinator.js.map +1 -1
- package/dist/transaction-coordination/application/model/transaction-status.d.ts +1 -1
- package/dist/transaction-coordination/application/model/transaction-status.d.ts.map +1 -1
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-package-manifest-snapshot-reader.d.ts +3 -0
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-package-manifest-snapshot-reader.d.ts.map +1 -0
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-package-manifest-snapshot-reader.js +203 -0
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-package-manifest-snapshot-reader.js.map +1 -0
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.d.ts +2 -0
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.d.ts.map +1 -1
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.js +152 -190
- package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.js.map +1 -1
- package/dist/workspace-inventory/application/model/workspace-inventory.d.ts +28 -1
- package/dist/workspace-inventory/application/model/workspace-inventory.d.ts.map +1 -1
- package/dist/workspace-inventory/application/policies/normalize-dependency-declaration.d.ts +14 -0
- package/dist/workspace-inventory/application/policies/normalize-dependency-declaration.d.ts.map +1 -0
- package/dist/workspace-inventory/application/policies/normalize-dependency-declaration.js +82 -0
- package/dist/workspace-inventory/application/policies/normalize-dependency-declaration.js.map +1 -0
- package/dist/workspace-inventory/application/policies/package-export-matcher.d.ts +10 -0
- package/dist/workspace-inventory/application/policies/package-export-matcher.d.ts.map +1 -0
- package/dist/workspace-inventory/application/policies/package-export-matcher.js +152 -0
- package/dist/workspace-inventory/application/policies/package-export-matcher.js.map +1 -0
- package/package.json +39 -71
- package/schemas/architecture-source-dependencies/v2.schema.json +119 -0
- package/dist/document-authoring/adapters/canonical-markdown.d.ts +0 -14
- package/dist/document-authoring/adapters/canonical-markdown.d.ts.map +0 -1
- package/dist/document-authoring/adapters/canonical-markdown.js +0 -354
- package/dist/document-authoring/adapters/canonical-markdown.js.map +0 -1
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.d.ts +0 -5
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.d.ts.map +0 -1
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.js +0 -36
- package/dist/document-authoring/adapters/inbound/cli/document-command-failure.js.map +0 -1
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.d.ts +0 -6
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.d.ts.map +0 -1
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.js +0 -127
- package/dist/document-authoring/adapters/inbound/cli/document-command-renderer.js.map +0 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.d.ts +0 -52
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.js +0 -103
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile-v2.js.map +0 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.d.ts +0 -33
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.js +0 -47
- package/dist/document-authoring/adapters/node/load-validated-document-authoring-profile.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.d.ts +0 -9
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.js +0 -42
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader-v2.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.d.ts +0 -9
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.js +0 -31
- package/dist/document-authoring/adapters/node/node-authoring-profile-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-contract-validator.d.ts +0 -7
- package/dist/document-authoring/adapters/node/node-document-contract-validator.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-contract-validator.js +0 -306
- package/dist/document-authoring/adapters/node/node-document-contract-validator.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.d.ts +0 -17
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.js +0 -49
- package/dist/document-authoring/adapters/node/node-document-environment-inspector.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-file-state.d.ts +0 -21
- package/dist/document-authoring/adapters/node/node-document-file-state.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-file-state.js +0 -199
- package/dist/document-authoring/adapters/node/node-document-file-state.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-slot.d.ts +0 -2
- package/dist/document-authoring/adapters/node/node-document-journal-slot.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-slot.js +0 -18
- package/dist/document-authoring/adapters/node/node-document-journal-slot.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.d.ts +0 -36
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.js +0 -2
- package/dist/document-authoring/adapters/node/node-document-journal-store-faults.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.d.ts +0 -2
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.js +0 -2
- package/dist/document-authoring/adapters/node/node-document-journal-store-private.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store.d.ts +0 -22
- package/dist/document-authoring/adapters/node/node-document-journal-store.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-journal-store.js +0 -339
- package/dist/document-authoring/adapters/node/node-document-journal-store.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.d.ts +0 -9
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.js +0 -87
- package/dist/document-authoring/adapters/node/node-document-metadata-sidecar-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.d.ts +0 -39
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.js +0 -270
- package/dist/document-authoring/adapters/node/node-document-parent-materializer.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.d.ts +0 -10
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.js +0 -85
- package/dist/document-authoring/adapters/node/node-document-planning-profile-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.d.ts +0 -11
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.js +0 -181
- package/dist/document-authoring/adapters/node/node-document-planning-state-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-publisher-private.d.ts +0 -2
- package/dist/document-authoring/adapters/node/node-document-publisher-private.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-publisher-private.js +0 -2
- package/dist/document-authoring/adapters/node/node-document-publisher-private.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-publisher.d.ts +0 -54
- package/dist/document-authoring/adapters/node/node-document-publisher.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-publisher.js +0 -343
- package/dist/document-authoring/adapters/node/node-document-publisher.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.d.ts +0 -17
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.js +0 -43
- package/dist/document-authoring/adapters/node/node-document-reachability-projector.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.d.ts +0 -21
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.js +0 -80
- package/dist/document-authoring/adapters/node/node-document-structure-verifier.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-template-reader.d.ts +0 -10
- package/dist/document-authoring/adapters/node/node-document-template-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-template-reader.js +0 -32
- package/dist/document-authoring/adapters/node/node-document-template-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.d.ts +0 -21
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.js +0 -67
- package/dist/document-authoring/adapters/node/node-document-transaction-coordinator.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.d.ts +0 -9
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.js +0 -90
- package/dist/document-authoring/adapters/node/node-metadata-instance-validator.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-owner-membership-reader.d.ts +0 -10
- package/dist/document-authoring/adapters/node/node-owner-membership-reader.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-owner-membership-reader.js +0 -62
- package/dist/document-authoring/adapters/node/node-owner-membership-reader.js.map +0 -1
- package/dist/document-authoring/adapters/node/node-path-authority.d.ts +0 -53
- package/dist/document-authoring/adapters/node/node-path-authority.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/node-path-authority.js +0 -186
- package/dist/document-authoring/adapters/node/node-path-authority.js.map +0 -1
- package/dist/document-authoring/adapters/node/read-document-authority-file.d.ts +0 -12
- package/dist/document-authoring/adapters/node/read-document-authority-file.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/read-document-authority-file.js +0 -78
- package/dist/document-authoring/adapters/node/read-document-authority-file.js.map +0 -1
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.d.ts +0 -17
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.d.ts.map +0 -1
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.js +0 -33
- package/dist/document-authoring/adapters/node/recapture-document-publication-paths.js.map +0 -1
- package/dist/document-authoring/application/model/document-authoring-profile-description.d.ts +0 -57
- package/dist/document-authoring/application/model/document-authoring-profile-description.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-authoring-profile-description.js +0 -2
- package/dist/document-authoring/application/model/document-authoring-profile-description.js.map +0 -1
- package/dist/document-authoring/application/model/document-catalog.d.ts +0 -88
- package/dist/document-authoring/application/model/document-catalog.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-catalog.js +0 -2
- package/dist/document-authoring/application/model/document-catalog.js.map +0 -1
- package/dist/document-authoring/application/model/document-command.d.ts +0 -69
- package/dist/document-authoring/application/model/document-command.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-command.js +0 -2
- package/dist/document-authoring/application/model/document-command.js.map +0 -1
- package/dist/document-authoring/application/model/document-find.d.ts +0 -22
- package/dist/document-authoring/application/model/document-find.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-find.js +0 -2
- package/dist/document-authoring/application/model/document-find.js.map +0 -1
- package/dist/document-authoring/application/model/document-parent-materialization.d.ts +0 -26
- package/dist/document-authoring/application/model/document-parent-materialization.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-parent-materialization.js +0 -2
- package/dist/document-authoring/application/model/document-parent-materialization.js.map +0 -1
- package/dist/document-authoring/application/model/document-physical-identity.d.ts +0 -10
- package/dist/document-authoring/application/model/document-physical-identity.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-physical-identity.js +0 -29
- package/dist/document-authoring/application/model/document-physical-identity.js.map +0 -1
- package/dist/document-authoring/application/model/document-planning.d.ts +0 -209
- package/dist/document-authoring/application/model/document-planning.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-planning.js +0 -2
- package/dist/document-authoring/application/model/document-planning.js.map +0 -1
- package/dist/document-authoring/application/model/document-receipt.d.ts +0 -101
- package/dist/document-authoring/application/model/document-receipt.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-receipt.js +0 -2
- package/dist/document-authoring/application/model/document-receipt.js.map +0 -1
- package/dist/document-authoring/application/model/document-transaction-inspection.d.ts +0 -66
- package/dist/document-authoring/application/model/document-transaction-inspection.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-transaction-inspection.js +0 -2
- package/dist/document-authoring/application/model/document-transaction-inspection.js.map +0 -1
- package/dist/document-authoring/application/model/document-transaction.d.ts +0 -169
- package/dist/document-authoring/application/model/document-transaction.d.ts.map +0 -1
- package/dist/document-authoring/application/model/document-transaction.js +0 -2
- package/dist/document-authoring/application/model/document-transaction.js.map +0 -1
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.d.ts +0 -3
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.js +0 -8
- package/dist/document-authoring/application/policies/assert-artifact-owner-allowed.js.map +0 -1
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.d.ts +0 -3
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.js +0 -7
- package/dist/document-authoring/application/policies/assert-v2-planning-profile.js.map +0 -1
- package/dist/document-authoring/application/policies/authoring-profile-semantics.d.ts +0 -42
- package/dist/document-authoring/application/policies/authoring-profile-semantics.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/authoring-profile-semantics.js +0 -129
- package/dist/document-authoring/application/policies/authoring-profile-semantics.js.map +0 -1
- package/dist/document-authoring/application/policies/classify-document-recovery.d.ts +0 -81
- package/dist/document-authoring/application/policies/classify-document-recovery.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/classify-document-recovery.js +0 -138
- package/dist/document-authoring/application/policies/classify-document-recovery.js.map +0 -1
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.d.ts +0 -31
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.js +0 -163
- package/dist/document-authoring/application/policies/document-authoring-semantic-digests.js.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.d.ts +0 -12
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.js +0 -16
- package/dist/document-authoring/application/policies/document-catalog-authority-stability.js.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-diagnostics.d.ts +0 -8
- package/dist/document-authoring/application/policies/document-catalog-diagnostics.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-diagnostics.js +0 -44
- package/dist/document-authoring/application/policies/document-catalog-diagnostics.js.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-fields.d.ts +0 -18
- package/dist/document-authoring/application/policies/document-catalog-fields.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-fields.js +0 -62
- package/dist/document-authoring/application/policies/document-catalog-fields.js.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-sidecar.d.ts +0 -10
- package/dist/document-authoring/application/policies/document-catalog-sidecar.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-catalog-sidecar.js +0 -66
- package/dist/document-authoring/application/policies/document-catalog-sidecar.js.map +0 -1
- package/dist/document-authoring/application/policies/document-command-consumer-root.d.ts +0 -2
- package/dist/document-authoring/application/policies/document-command-consumer-root.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-command-consumer-root.js +0 -15
- package/dist/document-authoring/application/policies/document-command-consumer-root.js.map +0 -1
- package/dist/document-authoring/application/policies/document-command-projection.d.ts +0 -20
- package/dist/document-authoring/application/policies/document-command-projection.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-command-projection.js +0 -90
- package/dist/document-authoring/application/policies/document-command-projection.js.map +0 -1
- package/dist/document-authoring/application/policies/document-contract-digests.d.ts +0 -20
- package/dist/document-authoring/application/policies/document-contract-digests.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-contract-digests.js +0 -329
- package/dist/document-authoring/application/policies/document-contract-digests.js.map +0 -1
- package/dist/document-authoring/application/policies/document-logical-preimage.d.ts +0 -14
- package/dist/document-authoring/application/policies/document-logical-preimage.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-logical-preimage.js +0 -61
- package/dist/document-authoring/application/policies/document-logical-preimage.js.map +0 -1
- package/dist/document-authoring/application/policies/document-planning-policy-error.d.ts +0 -6
- package/dist/document-authoring/application/policies/document-planning-policy-error.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-planning-policy-error.js +0 -9
- package/dist/document-authoring/application/policies/document-planning-policy-error.js.map +0 -1
- package/dist/document-authoring/application/policies/document-receipt-policy.d.ts +0 -5
- package/dist/document-authoring/application/policies/document-receipt-policy.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-receipt-policy.js +0 -92
- package/dist/document-authoring/application/policies/document-receipt-policy.js.map +0 -1
- package/dist/document-authoring/application/policies/document-repository-path.d.ts +0 -3
- package/dist/document-authoring/application/policies/document-repository-path.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-repository-path.js +0 -24
- package/dist/document-authoring/application/policies/document-repository-path.js.map +0 -1
- package/dist/document-authoring/application/policies/document-temporary-path.d.ts +0 -7
- package/dist/document-authoring/application/policies/document-temporary-path.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-temporary-path.js +0 -34
- package/dist/document-authoring/application/policies/document-temporary-path.js.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-digests.d.ts +0 -5
- package/dist/document-authoring/application/policies/document-transaction-digests.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-digests.js +0 -12
- package/dist/document-authoring/application/policies/document-transaction-digests.js.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.d.ts +0 -28
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.js +0 -140
- package/dist/document-authoring/application/policies/document-transaction-envelope-body.js.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.d.ts +0 -4
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.js +0 -159
- package/dist/document-authoring/application/policies/document-transaction-envelope-policy.js.map +0 -1
- package/dist/document-authoring/application/policies/inspect-catalog-document.d.ts +0 -18
- package/dist/document-authoring/application/policies/inspect-catalog-document.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/inspect-catalog-document.js +0 -126
- package/dist/document-authoring/application/policies/inspect-catalog-document.js.map +0 -1
- package/dist/document-authoring/application/policies/normalize-document-intent.d.ts +0 -3
- package/dist/document-authoring/application/policies/normalize-document-intent.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/normalize-document-intent.js +0 -104
- package/dist/document-authoring/application/policies/normalize-document-intent.js.map +0 -1
- package/dist/document-authoring/application/policies/project-catalog-metadata.d.ts +0 -7
- package/dist/document-authoring/application/policies/project-catalog-metadata.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/project-catalog-metadata.js +0 -165
- package/dist/document-authoring/application/policies/project-catalog-metadata.js.map +0 -1
- package/dist/document-authoring/application/policies/project-document-reachability.d.ts +0 -14
- package/dist/document-authoring/application/policies/project-document-reachability.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/project-document-reachability.js +0 -57
- package/dist/document-authoring/application/policies/project-document-reachability.js.map +0 -1
- package/dist/document-authoring/application/policies/project-similar-document-advice.d.ts +0 -4
- package/dist/document-authoring/application/policies/project-similar-document-advice.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/project-similar-document-advice.js +0 -17
- package/dist/document-authoring/application/policies/project-similar-document-advice.js.map +0 -1
- package/dist/document-authoring/application/policies/resolve-document-authoring.d.ts +0 -13
- package/dist/document-authoring/application/policies/resolve-document-authoring.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/resolve-document-authoring.js +0 -154
- package/dist/document-authoring/application/policies/resolve-document-authoring.js.map +0 -1
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.d.ts +0 -3
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.d.ts.map +0 -1
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.js +0 -24
- package/dist/document-authoring/application/policies/same-document-catalog-snapshot.js.map +0 -1
- package/dist/document-authoring/application/ports/authoring-profile-reader.d.ts +0 -37
- package/dist/document-authoring/application/ports/authoring-profile-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/authoring-profile-reader.js +0 -2
- package/dist/document-authoring/application/ports/authoring-profile-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/canonical-document-renderer.d.ts +0 -29
- package/dist/document-authoring/application/ports/canonical-document-renderer.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/canonical-document-renderer.js +0 -2
- package/dist/document-authoring/application/ports/canonical-document-renderer.js.map +0 -1
- package/dist/document-authoring/application/ports/document-authority-recompiler.d.ts +0 -19
- package/dist/document-authoring/application/ports/document-authority-recompiler.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-authority-recompiler.js +0 -2
- package/dist/document-authoring/application/ports/document-authority-recompiler.js.map +0 -1
- package/dist/document-authoring/application/ports/document-contract-validator.d.ts +0 -6
- package/dist/document-authoring/application/ports/document-contract-validator.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-contract-validator.js +0 -2
- package/dist/document-authoring/application/ports/document-contract-validator.js.map +0 -1
- package/dist/document-authoring/application/ports/document-environment-inspector.d.ts +0 -12
- package/dist/document-authoring/application/ports/document-environment-inspector.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-environment-inspector.js +0 -2
- package/dist/document-authoring/application/ports/document-environment-inspector.js.map +0 -1
- package/dist/document-authoring/application/ports/document-file-state.d.ts +0 -55
- package/dist/document-authoring/application/ports/document-file-state.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-file-state.js +0 -2
- package/dist/document-authoring/application/ports/document-file-state.js.map +0 -1
- package/dist/document-authoring/application/ports/document-journal-store.d.ts +0 -31
- package/dist/document-authoring/application/ports/document-journal-store.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-journal-store.js +0 -2
- package/dist/document-authoring/application/ports/document-journal-store.js.map +0 -1
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.d.ts +0 -13
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.js +0 -2
- package/dist/document-authoring/application/ports/document-metadata-sidecar-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/document-parent-materializer.d.ts +0 -24
- package/dist/document-authoring/application/ports/document-parent-materializer.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-parent-materializer.js +0 -2
- package/dist/document-authoring/application/ports/document-parent-materializer.js.map +0 -1
- package/dist/document-authoring/application/ports/document-planning-profile-reader.d.ts +0 -9
- package/dist/document-authoring/application/ports/document-planning-profile-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-planning-profile-reader.js +0 -2
- package/dist/document-authoring/application/ports/document-planning-profile-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/document-planning-state-reader.d.ts +0 -10
- package/dist/document-authoring/application/ports/document-planning-state-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-planning-state-reader.js +0 -2
- package/dist/document-authoring/application/ports/document-planning-state-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/document-publisher.d.ts +0 -38
- package/dist/document-authoring/application/ports/document-publisher.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-publisher.js +0 -2
- package/dist/document-authoring/application/ports/document-publisher.js.map +0 -1
- package/dist/document-authoring/application/ports/document-reachability-projector.d.ts +0 -13
- package/dist/document-authoring/application/ports/document-reachability-projector.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-reachability-projector.js +0 -2
- package/dist/document-authoring/application/ports/document-reachability-projector.js.map +0 -1
- package/dist/document-authoring/application/ports/document-structure-verifier.d.ts +0 -17
- package/dist/document-authoring/application/ports/document-structure-verifier.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-structure-verifier.js +0 -2
- package/dist/document-authoring/application/ports/document-structure-verifier.js.map +0 -1
- package/dist/document-authoring/application/ports/document-template-reader.d.ts +0 -9
- package/dist/document-authoring/application/ports/document-template-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-template-reader.js +0 -2
- package/dist/document-authoring/application/ports/document-template-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/document-transaction-coordinator.d.ts +0 -21
- package/dist/document-authoring/application/ports/document-transaction-coordinator.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/document-transaction-coordinator.js +0 -2
- package/dist/document-authoring/application/ports/document-transaction-coordinator.js.map +0 -1
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.d.ts +0 -11
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.js +0 -2
- package/dist/document-authoring/application/ports/documentation-catalog-reader-v2.js.map +0 -1
- package/dist/document-authoring/application/ports/documentation-catalog-reader.d.ts +0 -11
- package/dist/document-authoring/application/ports/documentation-catalog-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/documentation-catalog-reader.js +0 -2
- package/dist/document-authoring/application/ports/documentation-catalog-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.d.ts +0 -9
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.js +0 -2
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader-v2.js.map +0 -1
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader.d.ts +0 -10
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader.js +0 -2
- package/dist/document-authoring/application/ports/documentation-search-catalog-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/metadata-instance-validator.d.ts +0 -18
- package/dist/document-authoring/application/ports/metadata-instance-validator.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/metadata-instance-validator.js +0 -2
- package/dist/document-authoring/application/ports/metadata-instance-validator.js.map +0 -1
- package/dist/document-authoring/application/ports/owner-membership-reader.d.ts +0 -14
- package/dist/document-authoring/application/ports/owner-membership-reader.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/owner-membership-reader.js +0 -2
- package/dist/document-authoring/application/ports/owner-membership-reader.js.map +0 -1
- package/dist/document-authoring/application/ports/similar-document-advisor.d.ts +0 -17
- package/dist/document-authoring/application/ports/similar-document-advisor.d.ts.map +0 -1
- package/dist/document-authoring/application/ports/similar-document-advisor.js +0 -2
- package/dist/document-authoring/application/ports/similar-document-advisor.js.map +0 -1
- package/dist/document-authoring/application/projections/document-catalog-projections.d.ts +0 -3
- package/dist/document-authoring/application/projections/document-catalog-projections.d.ts.map +0 -1
- package/dist/document-authoring/application/projections/document-catalog-projections.js +0 -24
- package/dist/document-authoring/application/projections/document-catalog-projections.js.map +0 -1
- package/dist/document-authoring/application/use-cases/apply-document-plan.d.ts +0 -16
- package/dist/document-authoring/application/use-cases/apply-document-plan.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/apply-document-plan.js +0 -311
- package/dist/document-authoring/application/use-cases/apply-document-plan.js.map +0 -1
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.d.ts +0 -14
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.js +0 -17
- package/dist/document-authoring/application/use-cases/apply-document-recovery-receipt.js.map +0 -1
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.d.ts +0 -41
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.js +0 -259
- package/dist/document-authoring/application/use-cases/build-documentation-catalog.js.map +0 -1
- package/dist/document-authoring/application/use-cases/compile-document-plan.d.ts +0 -6
- package/dist/document-authoring/application/use-cases/compile-document-plan.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/compile-document-plan.js +0 -200
- package/dist/document-authoring/application/use-cases/compile-document-plan.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.d.ts +0 -18
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.js +0 -90
- package/dist/document-authoring/application/use-cases/document-journal-reconciliation.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.d.ts +0 -3
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.js +0 -79
- package/dist/document-authoring/application/use-cases/document-parent-materialization-continuation.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.d.ts +0 -64
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.js +0 -283
- package/dist/document-authoring/application/use-cases/document-transaction-continuation.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-error.d.ts +0 -5
- package/dist/document-authoring/application/use-cases/document-transaction-error.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-error.js +0 -9
- package/dist/document-authoring/application/use-cases/document-transaction-error.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-execution.d.ts +0 -9
- package/dist/document-authoring/application/use-cases/document-transaction-execution.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-execution.js +0 -40
- package/dist/document-authoring/application/use-cases/document-transaction-execution.js.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.d.ts +0 -21
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.js +0 -180
- package/dist/document-authoring/application/use-cases/document-transaction-receipts.js.map +0 -1
- package/dist/document-authoring/application/use-cases/find-documents.d.ts +0 -20
- package/dist/document-authoring/application/use-cases/find-documents.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/find-documents.js +0 -114
- package/dist/document-authoring/application/use-cases/find-documents.js.map +0 -1
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.d.ts +0 -20
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.js +0 -14
- package/dist/document-authoring/application/use-cases/load-v2-profile-description.js.map +0 -1
- package/dist/document-authoring/application/use-cases/plan-documentation-document.d.ts +0 -74
- package/dist/document-authoring/application/use-cases/plan-documentation-document.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/plan-documentation-document.js +0 -273
- package/dist/document-authoring/application/use-cases/plan-documentation-document.js.map +0 -1
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.d.ts +0 -8
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.js +0 -32
- package/dist/document-authoring/application/use-cases/recapture-directory-receipt-evidence.js.map +0 -1
- package/dist/document-authoring/application/use-cases/recover-document-transaction.d.ts +0 -10
- package/dist/document-authoring/application/use-cases/recover-document-transaction.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/recover-document-transaction.js +0 -361
- package/dist/document-authoring/application/use-cases/recover-document-transaction.js.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-doctor.d.ts +0 -18
- package/dist/document-authoring/application/use-cases/run-document-doctor.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-doctor.js +0 -171
- package/dist/document-authoring/application/use-cases/run-document-doctor.js.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-new.d.ts +0 -30
- package/dist/document-authoring/application/use-cases/run-document-new.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-new.js +0 -221
- package/dist/document-authoring/application/use-cases/run-document-new.js.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-recover.d.ts +0 -21
- package/dist/document-authoring/application/use-cases/run-document-recover.d.ts.map +0 -1
- package/dist/document-authoring/application/use-cases/run-document-recover.js +0 -126
- package/dist/document-authoring/application/use-cases/run-document-recover.js.map +0 -1
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.d.ts +0 -14
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.d.ts.map +0 -1
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.js +0 -220
- package/dist/document-authoring/composition/describe-document-authoring-profile-v2.js.map +0 -1
- package/dist/document-authoring/composition/document-command-cli.d.ts +0 -7
- package/dist/document-authoring/composition/document-command-cli.d.ts.map +0 -1
- package/dist/document-authoring/composition/document-command-cli.js +0 -32
- package/dist/document-authoring/composition/document-command-cli.js.map +0 -1
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.d.ts +0 -7
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.d.ts.map +0 -1
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.js +0 -10
- package/dist/document-authoring/composition/inspect-document-authoring-environment-v1.js.map +0 -1
- package/dist/document-authoring/composition/inspect-document-transaction.d.ts +0 -10
- package/dist/document-authoring/composition/inspect-document-transaction.d.ts.map +0 -1
- package/dist/document-authoring/composition/inspect-document-transaction.js +0 -214
- package/dist/document-authoring/composition/inspect-document-transaction.js.map +0 -1
- package/dist/document-authoring/composition/node-document-authority-recompiler.d.ts +0 -11
- package/dist/document-authoring/composition/node-document-authority-recompiler.d.ts.map +0 -1
- package/dist/document-authoring/composition/node-document-authority-recompiler.js +0 -81
- package/dist/document-authoring/composition/node-document-authority-recompiler.js.map +0 -1
- package/dist/document-authoring/composition/node-document-commands.d.ts +0 -10
- package/dist/document-authoring/composition/node-document-commands.d.ts.map +0 -1
- package/dist/document-authoring/composition/node-document-commands.js +0 -68
- package/dist/document-authoring/composition/node-document-commands.js.map +0 -1
- package/dist/document-authoring/composition/node-document-planning.d.ts +0 -7
- package/dist/document-authoring/composition/node-document-planning.d.ts.map +0 -1
- package/dist/document-authoring/composition/node-document-planning.js +0 -99
- package/dist/document-authoring/composition/node-document-planning.js.map +0 -1
- package/dist/document-authoring/composition/node-document-writing-private.d.ts +0 -15
- package/dist/document-authoring/composition/node-document-writing-private.d.ts.map +0 -1
- package/dist/document-authoring/composition/node-document-writing-private.js +0 -54
- package/dist/document-authoring/composition/node-document-writing-private.js.map +0 -1
- package/dist/document-authoring/composition/node-document-writing.d.ts +0 -8
- package/dist/document-authoring/composition/node-document-writing.d.ts.map +0 -1
- package/dist/document-authoring/composition/node-document-writing.js +0 -10
- package/dist/document-authoring/composition/node-document-writing.js.map +0 -1
- package/dist/document-authoring/document-catalog-error.d.ts +0 -6
- package/dist/document-authoring/document-catalog-error.d.ts.map +0 -1
- package/dist/document-authoring/document-catalog-error.js +0 -9
- package/dist/document-authoring/document-catalog-error.js.map +0 -1
- package/dist/document-authoring/document-planning-error.d.ts +0 -6
- package/dist/document-authoring/document-planning-error.d.ts.map +0 -1
- package/dist/document-authoring/document-planning-error.js +0 -9
- package/dist/document-authoring/document-planning-error.js.map +0 -1
- package/dist/document-authoring/find-command.d.ts +0 -37
- package/dist/document-authoring/find-command.d.ts.map +0 -1
- package/dist/document-authoring/find-command.js +0 -180
- package/dist/document-authoring/find-command.js.map +0 -1
- package/dist/document-authoring/index.d.ts +0 -61
- package/dist/document-authoring/index.d.ts.map +0 -1
- package/dist/document-authoring/index.js +0 -94
- package/dist/document-authoring/index.js.map +0 -1
- package/dist/document-authoring/qualification/index.d.ts +0 -22
- package/dist/document-authoring/qualification/index.d.ts.map +0 -1
- package/dist/document-authoring/qualification/index.js +0 -131
- package/dist/document-authoring/qualification/index.js.map +0 -1
- package/dist/document-command.d.ts +0 -12
- package/dist/document-command.d.ts.map +0 -1
- package/dist/document-command.js +0 -105
- package/dist/document-command.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-document-reader.d.ts +0 -14
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-document-reader.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-document-reader.js +0 -108
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-document-reader.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-filesystem.d.ts +0 -14
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-filesystem.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-filesystem.js +0 -61
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-filesystem.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-paths.d.ts +0 -8
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-paths.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-paths.js +0 -44
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-paths.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-reference-resolver.d.ts +0 -6
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-reference-resolver.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-reference-resolver.js +0 -160
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-reference-resolver.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-repository.d.ts +0 -8
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-repository.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-repository.js +0 -13
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-repository.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-tree-observer.d.ts +0 -6
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-tree-observer.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-tree-observer.js +0 -260
- package/dist/documentation-observation/adapters/outbound/filesystem/filesystem-markdown-tree-observer.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.d.ts +0 -3
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.js +0 -260
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.js.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-reference-target.d.ts +0 -15
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-reference-target.d.ts.map +0 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-reference-target.js +0 -59
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-reference-target.js.map +0 -1
- package/dist/documentation-observation/application/model/markdown-document.d.ts +0 -70
- package/dist/documentation-observation/application/model/markdown-document.d.ts.map +0 -1
- package/dist/documentation-observation/application/model/markdown-document.js +0 -10
- package/dist/documentation-observation/application/model/markdown-document.js.map +0 -1
- package/dist/documentation-observation/application/ports/markdown-repository.d.ts +0 -18
- package/dist/documentation-observation/application/ports/markdown-repository.d.ts.map +0 -1
- package/dist/documentation-observation/application/ports/markdown-repository.js +0 -2
- package/dist/documentation-observation/application/ports/markdown-repository.js.map +0 -1
- package/dist/legacy-docs-cli-deprecation.d.ts +0 -10
- package/dist/legacy-docs-cli-deprecation.d.ts.map +0 -1
- package/dist/legacy-docs-cli-deprecation.js +0 -36
- package/dist/legacy-docs-cli-deprecation.js.map +0 -1
- package/dist/mutation/index.d.ts +0 -19
- package/dist/mutation/index.d.ts.map +0 -1
- package/dist/mutation/index.js +0 -5
- package/dist/mutation/index.js.map +0 -1
- package/dist/mutation/qualification/index.d.ts +0 -10
- package/dist/mutation/qualification/index.d.ts.map +0 -1
- package/dist/mutation/qualification/index.js +0 -6
- package/dist/mutation/qualification/index.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.d.ts +0 -19
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.js +0 -74
- package/dist/repository-mutation/adapters/node/node-absent-file-publication-private.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.d.ts +0 -33
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.js +0 -174
- package/dist/repository-mutation/adapters/node/node-absent-file-publication.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-bounded-regular-file.d.ts +0 -22
- package/dist/repository-mutation/adapters/node/node-bounded-regular-file.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-bounded-regular-file.js +0 -131
- package/dist/repository-mutation/adapters/node/node-bounded-regular-file.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.d.ts +0 -26
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.js +0 -172
- package/dist/repository-mutation/adapters/node/node-cleanup-owned-temporary.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.d.ts +0 -15
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.js +0 -23
- package/dist/repository-mutation/adapters/node/node-create-and-bind-directory.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-directory-durability.d.ts +0 -18
- package/dist/repository-mutation/adapters/node/node-directory-durability.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-directory-durability.js +0 -47
- package/dist/repository-mutation/adapters/node/node-directory-durability.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-directory-materialization.d.ts +0 -37
- package/dist/repository-mutation/adapters/node/node-directory-materialization.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-directory-materialization.js +0 -224
- package/dist/repository-mutation/adapters/node/node-directory-materialization.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-existing-repository-ancestors.d.ts +0 -13
- package/dist/repository-mutation/adapters/node/node-existing-repository-ancestors.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-existing-repository-ancestors.js +0 -67
- package/dist/repository-mutation/adapters/node/node-existing-repository-ancestors.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-effects.d.ts +0 -84
- package/dist/repository-mutation/adapters/node/node-known-file-apply-effects.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-effects.js +0 -232
- package/dist/repository-mutation/adapters/node/node-known-file-apply-effects.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-faults.d.ts +0 -9
- package/dist/repository-mutation/adapters/node/node-known-file-apply-faults.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-faults.js +0 -2
- package/dist/repository-mutation/adapters/node/node-known-file-apply-faults.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-observation.d.ts +0 -6
- package/dist/repository-mutation/adapters/node/node-known-file-apply-observation.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-observation.js +0 -30
- package/dist/repository-mutation/adapters/node/node-known-file-apply-observation.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-operation.d.ts +0 -11
- package/dist/repository-mutation/adapters/node/node-known-file-apply-operation.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-operation.js +0 -159
- package/dist/repository-mutation/adapters/node/node-known-file-apply-operation.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-state.d.ts +0 -9
- package/dist/repository-mutation/adapters/node/node-known-file-apply-state.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-apply-state.js +0 -21
- package/dist/repository-mutation/adapters/node/node-known-file-apply-state.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-cleanup.d.ts +0 -9
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-cleanup.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-cleanup.js +0 -203
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-cleanup.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-executor.d.ts +0 -17
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-executor.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-executor.js +0 -22
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-executor.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-filesystem.d.ts +0 -28
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-filesystem.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-filesystem.js +0 -194
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-filesystem.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-observation.d.ts +0 -15
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-observation.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-observation.js +0 -47
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-observation.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured-cleanup.d.ts +0 -29
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured-cleanup.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured-cleanup.js +0 -72
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured-cleanup.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured.d.ts +0 -31
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured.js +0 -254
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage-captured.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage.d.ts +0 -13
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage.js +0 -210
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-preimage.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-retirement.d.ts +0 -15
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-retirement.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-retirement.js +0 -172
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-retirement.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-state.d.ts +0 -12
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-state.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-state.js +0 -17
- package/dist/repository-mutation/adapters/node/node-known-file-recovery-state.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-filesystem.d.ts +0 -25
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-filesystem.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-filesystem.js +0 -129
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-filesystem.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-inspection.d.ts +0 -12
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-inspection.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-inspection.js +0 -46
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-inspection.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-journal-store.d.ts +0 -21
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-journal-store.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-journal-store.js +0 -178
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-journal-store.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-lease-release.d.ts +0 -14
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-lease-release.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-lease-release.js +0 -23
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-lease-release.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-receipt.d.ts +0 -4
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-receipt.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-receipt.js +0 -43
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-receipt.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-recovery.d.ts +0 -8
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-recovery.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-recovery.js +0 -57
- package/dist/repository-mutation/adapters/node/node-known-file-transaction-recovery.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction.d.ts +0 -14
- package/dist/repository-mutation/adapters/node/node-known-file-transaction.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-known-file-transaction.js +0 -138
- package/dist/repository-mutation/adapters/node/node-known-file-transaction.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.d.ts +0 -15
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.js +0 -27
- package/dist/repository-mutation/adapters/node/node-prepare-exact-sibling-temporary.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.d.ts +0 -28
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.js +0 -47
- package/dist/repository-mutation/adapters/node/node-publish-prepared-absent-file.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-repository-path.d.ts +0 -2
- package/dist/repository-mutation/adapters/node/node-repository-path.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-repository-path.js +0 -7
- package/dist/repository-mutation/adapters/node/node-repository-path.js.map +0 -1
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.d.ts +0 -22
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.d.ts.map +0 -1
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.js +0 -59
- package/dist/repository-mutation/adapters/node/node-terminal-evidence-directory.js.map +0 -1
- package/dist/repository-mutation/application/model/directory-materialization.d.ts +0 -35
- package/dist/repository-mutation/application/model/directory-materialization.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/directory-materialization.js +0 -11
- package/dist/repository-mutation/application/model/directory-materialization.js.map +0 -1
- package/dist/repository-mutation/application/model/exact-postimage.d.ts +0 -17
- package/dist/repository-mutation/application/model/exact-postimage.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/exact-postimage.js +0 -11
- package/dist/repository-mutation/application/model/exact-postimage.js.map +0 -1
- package/dist/repository-mutation/application/model/known-file-transaction-journal.d.ts +0 -63
- package/dist/repository-mutation/application/model/known-file-transaction-journal.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/known-file-transaction-journal.js +0 -15
- package/dist/repository-mutation/application/model/known-file-transaction-journal.js.map +0 -1
- package/dist/repository-mutation/application/model/known-file-transaction.d.ts +0 -64
- package/dist/repository-mutation/application/model/known-file-transaction.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/known-file-transaction.js +0 -2
- package/dist/repository-mutation/application/model/known-file-transaction.js.map +0 -1
- package/dist/repository-mutation/application/model/path-identity.d.ts +0 -7
- package/dist/repository-mutation/application/model/path-identity.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/path-identity.js +0 -2
- package/dist/repository-mutation/application/model/path-identity.js.map +0 -1
- package/dist/repository-mutation/application/model/repository-path.d.ts +0 -8
- package/dist/repository-mutation/application/model/repository-path.d.ts.map +0 -1
- package/dist/repository-mutation/application/model/repository-path.js +0 -74
- package/dist/repository-mutation/application/model/repository-path.js.map +0 -1
- package/dist/repository-mutation/application/policies/classify-known-file-recovery-transition.d.ts +0 -25
- package/dist/repository-mutation/application/policies/classify-known-file-recovery-transition.d.ts.map +0 -1
- package/dist/repository-mutation/application/policies/classify-known-file-recovery-transition.js +0 -19
- package/dist/repository-mutation/application/policies/classify-known-file-recovery-transition.js.map +0 -1
- package/dist/repository-mutation/application/policies/known-file-transaction-envelope.d.ts +0 -8
- package/dist/repository-mutation/application/policies/known-file-transaction-envelope.d.ts.map +0 -1
- package/dist/repository-mutation/application/policies/known-file-transaction-envelope.js +0 -241
- package/dist/repository-mutation/application/policies/known-file-transaction-envelope.js.map +0 -1
- package/dist/repository-mutation/application/policies/known-file-transaction-plan.d.ts +0 -7
- package/dist/repository-mutation/application/policies/known-file-transaction-plan.d.ts.map +0 -1
- package/dist/repository-mutation/application/policies/known-file-transaction-plan.js +0 -215
- package/dist/repository-mutation/application/policies/known-file-transaction-plan.js.map +0 -1
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.d.ts +0 -7
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.d.ts.map +0 -1
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.js +0 -2
- package/dist/repository-mutation/application/ports/owned-temporary-cleanup-transition.js.map +0 -1
- package/dist/scaffolding/adapters/node/filesystem-journal.d.ts +0 -17
- package/dist/scaffolding/adapters/node/filesystem-journal.d.ts.map +0 -1
- package/dist/scaffolding/adapters/node/filesystem-journal.js +0 -176
- package/dist/scaffolding/adapters/node/filesystem-journal.js.map +0 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.d.ts +0 -15
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.d.ts.map +0 -1
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.js +0 -29
- package/dist/scaffolding/adapters/node/node-scaffold-journal-reconciliation.js.map +0 -1
- package/schemas/document-authoring-profile/v1.schema.json +0 -265
- package/schemas/document-authoring-profile/v2.schema.json +0 -168
- package/schemas/document-authoring-profile/v3.schema.json +0 -200
- package/schemas/document-command-envelope/v1.schema.json +0 -161
- package/schemas/document-command-envelope/v2.schema.json +0 -205
- package/schemas/document-intent/v1.schema.json +0 -102
- package/schemas/document-parent-materialization/v2.schema.json +0 -65
- package/schemas/document-plan/v1.schema.json +0 -162
- package/schemas/document-plan/v2.schema.json +0 -85
- package/schemas/document-receipt/v1.schema.json +0 -141
- package/schemas/document-receipt/v2.schema.json +0 -108
- package/schemas/foundation-transaction-envelope/v3.schema.json +0 -169
- package/schemas/foundation-transaction-envelope/v4.schema.json +0 -164
- package/schemas/foundation-transaction-envelope/v5.schema.json +0 -94
- package/schemas/known-file-transaction-plan/v1.schema.json +0 -65
- package/schemas/known-file-transaction-receipt/v1.schema.json +0 -36
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { isAbsolute,
|
|
1
|
+
import { opendir } from "node:fs/promises";
|
|
2
|
+
import { isAbsolute, join, posix, sep } from "node:path";
|
|
3
3
|
import { compareBinaryStrings } from "../../../../binary-string-comparator.js";
|
|
4
4
|
import { CapabilityInputError } from "../../../../capability-runtime.js";
|
|
5
|
-
import { ContainedFileReadError, pathTraversesSymbolicLink, readContainedRegularFile } from "../../../../filesystem-path-safety.js";
|
|
6
5
|
import { assertNotCancelled, loadStrictYamlFile } from "../../../../strict-yaml.js";
|
|
7
|
-
import {
|
|
8
|
-
const MAX_MANIFEST_BYTES = 2 * 1024 * 1024;
|
|
6
|
+
import { readPnpmPackageManifestSnapshots } from "./pnpm-package-manifest-snapshot-reader.js";
|
|
9
7
|
const MAX_WORKSPACE_PACKAGES = 5_000;
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
"**/.git/**",
|
|
13
|
-
"**/node_modules/**",
|
|
14
|
-
"**/dist/**",
|
|
15
|
-
"**/coverage/**"
|
|
16
|
-
];
|
|
8
|
+
const MAX_WORKSPACE_DISCOVERY_ENTRIES = 500_000;
|
|
9
|
+
const IGNORED_DIRECTORY_NAMES = new Set([".git", "node_modules"]);
|
|
17
10
|
function inputError(code, message, phase) {
|
|
18
11
|
throw new CapabilityInputError({ code, message, phase, retryable: false });
|
|
19
12
|
}
|
|
@@ -23,9 +16,48 @@ function isRecord(value) {
|
|
|
23
16
|
function toPosixPath(path) {
|
|
24
17
|
return path.split(sep).join("/");
|
|
25
18
|
}
|
|
19
|
+
function validatedGlobManifestPath(candidate) {
|
|
20
|
+
const repositoryPath = toPosixPath(candidate);
|
|
21
|
+
const segments = repositoryPath.split("/");
|
|
22
|
+
if (isAbsolute(candidate) ||
|
|
23
|
+
posix.isAbsolute(repositoryPath) ||
|
|
24
|
+
/^[A-Za-z]:/u.test(repositoryPath) ||
|
|
25
|
+
repositoryPath.startsWith("//") ||
|
|
26
|
+
segments.some((segment) => segment.length === 0 || segment === "." || segment === "..") ||
|
|
27
|
+
posix.normalize(repositoryPath) !== repositoryPath ||
|
|
28
|
+
posix.basename(repositoryPath) !== "package.json") {
|
|
29
|
+
inputError("WORKSPACE_GLOB_CANDIDATE_INVALID", "Workspace discovery returned a non-contained package manifest candidate.", "workspace-discovery");
|
|
30
|
+
}
|
|
31
|
+
return repositoryPath;
|
|
32
|
+
}
|
|
26
33
|
function portablePathIdentity(path) {
|
|
27
34
|
return path.normalize("NFC").toLocaleLowerCase("en-US");
|
|
28
35
|
}
|
|
36
|
+
function assertPatternDirectoryIdentity(patterns, directoriesByIdentity) {
|
|
37
|
+
for (const pattern of patterns) {
|
|
38
|
+
const segments = (pattern.startsWith("!") ? pattern.slice(1) : pattern).split("/");
|
|
39
|
+
const literalSegments = [];
|
|
40
|
+
for (const segment of segments) {
|
|
41
|
+
if (/[*?[\]{}()]/u.test(segment)) {
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
literalSegments.push(segment);
|
|
45
|
+
const literalPath = literalSegments.join("/");
|
|
46
|
+
const discovered = directoriesByIdentity.get(portablePathIdentity(literalPath));
|
|
47
|
+
if (discovered !== undefined && discovered !== literalPath) {
|
|
48
|
+
inputError("PACKAGE_PATH_CASE_COLLISION", `Workspace pattern and package directory paths differ only by portable identity: ${literalPath} and ${discovered}.`, "workspace-discovery");
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function recordWorkspaceDirectory(directoriesByIdentity, repositoryPath) {
|
|
54
|
+
const identity = portablePathIdentity(repositoryPath);
|
|
55
|
+
const existing = directoriesByIdentity.get(identity);
|
|
56
|
+
if (existing !== undefined && existing !== repositoryPath) {
|
|
57
|
+
inputError("PACKAGE_PATH_CASE_COLLISION", `Workspace package directories differ only by portable identity: ${existing} and ${repositoryPath}.`, "workspace-discovery");
|
|
58
|
+
}
|
|
59
|
+
directoriesByIdentity.set(identity, repositoryPath);
|
|
60
|
+
}
|
|
29
61
|
function validateWorkspacePatterns(value) {
|
|
30
62
|
if (value === undefined) {
|
|
31
63
|
return [];
|
|
@@ -51,154 +83,6 @@ function stringRecord(value, field, phase) {
|
|
|
51
83
|
}
|
|
52
84
|
return value;
|
|
53
85
|
}
|
|
54
|
-
function optionalStringArray(value, field) {
|
|
55
|
-
if (value === undefined) {
|
|
56
|
-
return [];
|
|
57
|
-
}
|
|
58
|
-
if (!Array.isArray(value) || value.some((entry) => typeof entry !== "string")) {
|
|
59
|
-
inputError("PACKAGE_MANIFEST_INVALID", `${field} must be an array of package names.`, "package-manifest");
|
|
60
|
-
}
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
function targetAvailability(value, field) {
|
|
64
|
-
if (value === null) {
|
|
65
|
-
return "blocked";
|
|
66
|
-
}
|
|
67
|
-
if (typeof value === "string") {
|
|
68
|
-
return "available";
|
|
69
|
-
}
|
|
70
|
-
if (Array.isArray(value)) {
|
|
71
|
-
if (value.length === 0) {
|
|
72
|
-
inputError("PACKAGE_EXPORTS_INVALID", `${field} export target array cannot be empty.`, "package-manifest");
|
|
73
|
-
}
|
|
74
|
-
return value.some((entry) => targetAvailability(entry, field) === "available")
|
|
75
|
-
? "available"
|
|
76
|
-
: "blocked";
|
|
77
|
-
}
|
|
78
|
-
if (isRecord(value)) {
|
|
79
|
-
const entries = Object.entries(value);
|
|
80
|
-
if (entries.length === 0 || entries.some(([condition]) => condition.length === 0)) {
|
|
81
|
-
inputError("PACKAGE_EXPORTS_INVALID", `${field} conditional export target is invalid.`, "package-manifest");
|
|
82
|
-
}
|
|
83
|
-
return entries.some(([condition, target]) => condition !== "" && targetAvailability(target, `${field}.${condition}`) === "available")
|
|
84
|
-
? "available"
|
|
85
|
-
: "blocked";
|
|
86
|
-
}
|
|
87
|
-
inputError("PACKAGE_EXPORTS_INVALID", `${field} export target must be a string, null, array, or condition object.`, "package-manifest");
|
|
88
|
-
}
|
|
89
|
-
function normalizeExportSurface(value, manifestPath) {
|
|
90
|
-
if (value === undefined) {
|
|
91
|
-
return { explicit: false, entries: [] };
|
|
92
|
-
}
|
|
93
|
-
const entries = [];
|
|
94
|
-
if (isRecord(value)) {
|
|
95
|
-
const keys = Object.keys(value);
|
|
96
|
-
if (keys.length === 0) {
|
|
97
|
-
return { explicit: true, entries: [] };
|
|
98
|
-
}
|
|
99
|
-
const subpathKeys = keys.filter((key) => key.startsWith("."));
|
|
100
|
-
if (subpathKeys.length > 0 && subpathKeys.length !== keys.length) {
|
|
101
|
-
inputError("PACKAGE_EXPORTS_INVALID", `${manifestPath} exports cannot mix subpaths and conditions at the same level.`, "package-manifest");
|
|
102
|
-
}
|
|
103
|
-
if (subpathKeys.length > 0) {
|
|
104
|
-
for (const subpath of subpathKeys) {
|
|
105
|
-
const segments = subpath.split("/");
|
|
106
|
-
if ((subpath !== "." && !subpath.startsWith("./")) ||
|
|
107
|
-
subpath.includes("\\") ||
|
|
108
|
-
(subpath.match(/\*/gu)?.length ?? 0) > 1 ||
|
|
109
|
-
segments.some((segment, index) => index > 0 &&
|
|
110
|
-
(segment === "" || segment === "." || segment === ".." || segment === "node_modules"))) {
|
|
111
|
-
inputError("PACKAGE_EXPORTS_INVALID", `${manifestPath} contains an invalid export subpath: ${subpath}.`, "package-manifest");
|
|
112
|
-
}
|
|
113
|
-
entries.push({
|
|
114
|
-
subpath,
|
|
115
|
-
availability: targetAvailability(value[subpath], `${manifestPath} exports.${subpath}`)
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
entries.push({
|
|
121
|
-
subpath: ".",
|
|
122
|
-
availability: targetAvailability(value, `${manifestPath} exports`)
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
entries.push({
|
|
128
|
-
subpath: ".",
|
|
129
|
-
availability: targetAvailability(value, `${manifestPath} exports`)
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
return {
|
|
133
|
-
explicit: true,
|
|
134
|
-
entries: entries.toSorted((left, right) => compareBinaryStrings(left.subpath, right.subpath))
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
async function readJsonManifest(consumerRoot, manifestPath, signal) {
|
|
138
|
-
assertNotCancelled(signal);
|
|
139
|
-
const canonicalRoot = await realpath(consumerRoot);
|
|
140
|
-
const absolutePath = resolve(canonicalRoot, manifestPath);
|
|
141
|
-
if (await pathTraversesSymbolicLink(canonicalRoot, absolutePath)) {
|
|
142
|
-
inputError("PACKAGE_MANIFEST_SYMLINK_PROHIBITED", `Workspace package manifests cannot be symbolic links: ${manifestPath}.`, "package-manifest");
|
|
143
|
-
}
|
|
144
|
-
const canonicalPath = await realpath(absolutePath).catch(() => inputError("PACKAGE_MANIFEST_UNAVAILABLE", `Workspace package manifest is unavailable: ${manifestPath}.`, "package-manifest"));
|
|
145
|
-
const relation = relative(canonicalRoot, canonicalPath);
|
|
146
|
-
if (relation === ".." || relation.startsWith(`..${sep}`) || isAbsolute(relation)) {
|
|
147
|
-
inputError("PACKAGE_MANIFEST_ESCAPE", `Workspace package manifest escapes the consumer repository: ${manifestPath}.`, "package-manifest");
|
|
148
|
-
}
|
|
149
|
-
let input;
|
|
150
|
-
try {
|
|
151
|
-
const bytes = await readContainedRegularFile({
|
|
152
|
-
candidate: canonicalPath,
|
|
153
|
-
maxBytes: MAX_MANIFEST_BYTES,
|
|
154
|
-
root: canonicalRoot
|
|
155
|
-
});
|
|
156
|
-
input = JSON.parse(bytes.toString("utf8"));
|
|
157
|
-
}
|
|
158
|
-
catch (error) {
|
|
159
|
-
if (!(error instanceof SyntaxError) && !(error instanceof ContainedFileReadError)) {
|
|
160
|
-
throw error;
|
|
161
|
-
}
|
|
162
|
-
inputError("PACKAGE_MANIFEST_INVALID", `Workspace package manifest changed, escaped containment, or is not stable valid JSON: ${manifestPath}.`, "package-manifest");
|
|
163
|
-
}
|
|
164
|
-
if (!isRecord(input)) {
|
|
165
|
-
inputError("PACKAGE_MANIFEST_INVALID", `Workspace package manifest must contain an object: ${manifestPath}.`, "package-manifest");
|
|
166
|
-
}
|
|
167
|
-
const packageName = typeof input["name"] === "string" && input["name"].length > 0
|
|
168
|
-
? input["name"]
|
|
169
|
-
: `<unnamed:${manifestPath}>`;
|
|
170
|
-
const dependencies = [];
|
|
171
|
-
for (const section of DEPENDENCY_SECTIONS) {
|
|
172
|
-
if (input[section] === undefined) {
|
|
173
|
-
continue;
|
|
174
|
-
}
|
|
175
|
-
const declarations = stringRecord(input[section], `${manifestPath} ${section}`, "package-manifest");
|
|
176
|
-
for (const [dependencyName, specifier] of Object.entries(declarations)) {
|
|
177
|
-
dependencies.push({
|
|
178
|
-
packageName,
|
|
179
|
-
manifestPath,
|
|
180
|
-
section,
|
|
181
|
-
dependencyName,
|
|
182
|
-
specifier
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
return {
|
|
187
|
-
name: packageName,
|
|
188
|
-
rootPath: posix.dirname(manifestPath),
|
|
189
|
-
manifestPath,
|
|
190
|
-
...(typeof input["packageManager"] === "string"
|
|
191
|
-
? { packageManager: input["packageManager"] }
|
|
192
|
-
: {}),
|
|
193
|
-
dependencies: dependencies.toSorted((left, right) => compareBinaryStrings(left.dependencyName, right.dependencyName) ||
|
|
194
|
-
compareBinaryStrings(left.section, right.section)),
|
|
195
|
-
bundledDependencies: [
|
|
196
|
-
...optionalStringArray(input["bundleDependencies"], `${manifestPath} bundleDependencies`),
|
|
197
|
-
...optionalStringArray(input["bundledDependencies"], `${manifestPath} bundledDependencies`)
|
|
198
|
-
].toSorted(),
|
|
199
|
-
exportSurface: normalizeExportSurface(input["exports"], manifestPath)
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
86
|
function parseCatalog(workspace, field) {
|
|
203
87
|
const value = workspace[field];
|
|
204
88
|
if (value === undefined) {
|
|
@@ -233,21 +117,87 @@ function selectedByPatterns(directory, patterns) {
|
|
|
233
117
|
return (positive.some((pattern) => posix.matchesGlob(directory, pattern)) &&
|
|
234
118
|
!negative.some((pattern) => posix.matchesGlob(directory, pattern)));
|
|
235
119
|
}
|
|
120
|
+
function assertSafeDirectoryEntry(entry) {
|
|
121
|
+
if (entry.name.length === 0 ||
|
|
122
|
+
entry.name === "." ||
|
|
123
|
+
entry.name === ".." ||
|
|
124
|
+
entry.name.includes("/") ||
|
|
125
|
+
entry.name.includes("\\")) {
|
|
126
|
+
inputError("WORKSPACE_GLOB_CANDIDATE_INVALID", "Workspace discovery returned an unsafe directory entry.", "workspace-discovery");
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
async function readDirectoryEntries(absolutePath, repositoryPath, budget, signal) {
|
|
130
|
+
let handle;
|
|
131
|
+
try {
|
|
132
|
+
handle = await opendir(absolutePath);
|
|
133
|
+
}
|
|
134
|
+
catch {
|
|
135
|
+
assertNotCancelled(signal);
|
|
136
|
+
inputError("WORKSPACE_DISCOVERY_UNAVAILABLE", `Workspace discovery could not inspect ${repositoryPath}.`, "workspace-discovery");
|
|
137
|
+
}
|
|
138
|
+
assertNotCancelled(signal);
|
|
139
|
+
const entries = [];
|
|
140
|
+
try {
|
|
141
|
+
for await (const entry of handle) {
|
|
142
|
+
assertNotCancelled(signal);
|
|
143
|
+
budget.entries += 1;
|
|
144
|
+
if (budget.entries > MAX_WORKSPACE_DISCOVERY_ENTRIES) {
|
|
145
|
+
inputError("WORKSPACE_DISCOVERY_LIMIT_EXCEEDED", `Workspace discovery exceeds ${MAX_WORKSPACE_DISCOVERY_ENTRIES} filesystem entries.`, "workspace-discovery");
|
|
146
|
+
}
|
|
147
|
+
assertSafeDirectoryEntry(entry);
|
|
148
|
+
entries.push(entry);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
finally {
|
|
152
|
+
await handle.close().catch(() => { });
|
|
153
|
+
}
|
|
154
|
+
assertNotCancelled(signal);
|
|
155
|
+
return entries.toSorted((left, right) => compareBinaryStrings(left.name, right.name));
|
|
156
|
+
}
|
|
157
|
+
function recordSelectedManifest(manifests, patterns, repositoryPath) {
|
|
158
|
+
const manifestPath = validatedGlobManifestPath(repositoryPath);
|
|
159
|
+
if (!selectedByPatterns(posix.dirname(manifestPath), patterns)) {
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
manifests.add(manifestPath);
|
|
163
|
+
if (manifests.size > MAX_WORKSPACE_PACKAGES) {
|
|
164
|
+
inputError("WORKSPACE_LIMIT_EXCEEDED", `Workspace contains more than ${MAX_WORKSPACE_PACKAGES} package manifests.`, "workspace-discovery");
|
|
165
|
+
}
|
|
166
|
+
}
|
|
236
167
|
async function discoverManifestPaths(consumerRoot, patterns, signal) {
|
|
237
168
|
const manifests = new Set(["package.json"]);
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
169
|
+
const directoriesByIdentity = new Map();
|
|
170
|
+
const directories = [
|
|
171
|
+
{ absolutePath: consumerRoot, repositoryPath: "." }
|
|
172
|
+
];
|
|
173
|
+
const budget = { entries: 0 };
|
|
174
|
+
while (directories.length > 0) {
|
|
242
175
|
assertNotCancelled(signal);
|
|
243
|
-
const
|
|
244
|
-
if (
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
176
|
+
const directory = directories.pop();
|
|
177
|
+
if (directory === undefined) {
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
const entries = await readDirectoryEntries(directory.absolutePath, directory.repositoryPath, budget, signal);
|
|
181
|
+
for (const entry of entries.toReversed()) {
|
|
182
|
+
const repositoryPath = directory.repositoryPath === "."
|
|
183
|
+
? entry.name
|
|
184
|
+
: posix.join(directory.repositoryPath, entry.name);
|
|
185
|
+
if (entry.isDirectory()) {
|
|
186
|
+
if (!IGNORED_DIRECTORY_NAMES.has(entry.name)) {
|
|
187
|
+
recordWorkspaceDirectory(directoriesByIdentity, repositoryPath);
|
|
188
|
+
directories.push({
|
|
189
|
+
absolutePath: join(directory.absolutePath, entry.name),
|
|
190
|
+
repositoryPath
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
else if (entry.isFile() && entry.name === "package.json") {
|
|
195
|
+
recordSelectedManifest(manifests, patterns, repositoryPath);
|
|
248
196
|
}
|
|
249
197
|
}
|
|
250
198
|
}
|
|
199
|
+
assertNotCancelled(signal);
|
|
200
|
+
assertPatternDirectoryIdentity(patterns, directoriesByIdentity);
|
|
251
201
|
const manifestPaths = [...manifests].toSorted();
|
|
252
202
|
const caseFoldedPaths = new Map();
|
|
253
203
|
for (const manifestPath of manifestPaths) {
|
|
@@ -260,41 +210,53 @@ async function discoverManifestPaths(consumerRoot, patterns, signal) {
|
|
|
260
210
|
}
|
|
261
211
|
return manifestPaths;
|
|
262
212
|
}
|
|
263
|
-
async function
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
213
|
+
async function readPnpmWorkspaceInventoryFromManifestPaths(consumerRoot, workspaceManifest, manifestPaths, signal) {
|
|
214
|
+
if (!isRecord(workspaceManifest)) {
|
|
215
|
+
inputError("PNPM_WORKSPACE_INVALID", "pnpm-workspace.yaml must contain an object.", "workspace-manifest");
|
|
216
|
+
}
|
|
217
|
+
const containedManifestPaths = manifestPaths.map(validatedGlobManifestPath);
|
|
218
|
+
if (Object.hasOwn(workspaceManifest, "catalog") &&
|
|
219
|
+
isRecord(workspaceManifest["catalogs"]) &&
|
|
220
|
+
Object.hasOwn(workspaceManifest["catalogs"], "default")) {
|
|
221
|
+
inputError("PNPM_WORKSPACE_INVALID", "The default catalog must use either catalog or catalogs.default, not both.", "workspace-manifest");
|
|
269
222
|
}
|
|
270
|
-
|
|
223
|
+
const catalogs = [
|
|
224
|
+
...parseCatalog(workspaceManifest, "catalog"),
|
|
225
|
+
...parseCatalog(workspaceManifest, "catalogs")
|
|
226
|
+
].toSorted((left, right) => compareBinaryStrings(left.catalogName, right.catalogName) ||
|
|
227
|
+
compareBinaryStrings(left.dependencyName, right.dependencyName));
|
|
228
|
+
return {
|
|
229
|
+
...(typeof workspaceManifest["catalogMode"] === "string"
|
|
230
|
+
? { catalogMode: workspaceManifest["catalogMode"] }
|
|
231
|
+
: {}),
|
|
232
|
+
catalogs,
|
|
233
|
+
packages: await readPnpmPackageManifestSnapshots(consumerRoot, containedManifestPaths, catalogs, signal)
|
|
234
|
+
};
|
|
271
235
|
}
|
|
272
236
|
export class PnpmWorkspaceInventoryReader {
|
|
237
|
+
discoverManifestPathsFromManifest(consumerRoot, workspaceManifest, signal) {
|
|
238
|
+
if (!isRecord(workspaceManifest)) {
|
|
239
|
+
inputError("PNPM_WORKSPACE_INVALID", "pnpm-workspace.yaml must contain an object.", "workspace-manifest");
|
|
240
|
+
}
|
|
241
|
+
return discoverManifestPaths(consumerRoot, validateWorkspacePatterns(workspaceManifest["packages"]), signal);
|
|
242
|
+
}
|
|
243
|
+
readFromManifestPaths(consumerRoot, workspaceManifest, manifestPaths, signal) {
|
|
244
|
+
return readPnpmWorkspaceInventoryFromManifestPaths(consumerRoot, workspaceManifest, manifestPaths, signal);
|
|
245
|
+
}
|
|
273
246
|
async discoverManifestPaths(consumerRoot, workspaceManifestPath, signal) {
|
|
274
247
|
const input = await loadStrictYamlFile(consumerRoot, workspaceManifestPath, "workspace-manifest", signal);
|
|
275
248
|
if (!isRecord(input)) {
|
|
276
249
|
inputError("PNPM_WORKSPACE_INVALID", "pnpm-workspace.yaml must contain an object.", "workspace-manifest");
|
|
277
250
|
}
|
|
278
|
-
return
|
|
251
|
+
return this.discoverManifestPathsFromManifest(consumerRoot, input, signal);
|
|
279
252
|
}
|
|
280
253
|
async read(consumerRoot, workspaceManifestPath, signal) {
|
|
281
254
|
const input = await loadStrictYamlFile(consumerRoot, workspaceManifestPath, "workspace-manifest", signal);
|
|
282
255
|
if (!isRecord(input)) {
|
|
283
256
|
inputError("PNPM_WORKSPACE_INVALID", "pnpm-workspace.yaml must contain an object.", "workspace-manifest");
|
|
284
257
|
}
|
|
285
|
-
const
|
|
286
|
-
|
|
287
|
-
return {
|
|
288
|
-
...(typeof input["catalogMode"] === "string"
|
|
289
|
-
? { catalogMode: input["catalogMode"] }
|
|
290
|
-
: {}),
|
|
291
|
-
catalogs: [
|
|
292
|
-
...parseCatalog(input, "catalog"),
|
|
293
|
-
...parseCatalog(input, "catalogs")
|
|
294
|
-
].toSorted((left, right) => compareBinaryStrings(left.catalogName, right.catalogName) ||
|
|
295
|
-
compareBinaryStrings(left.dependencyName, right.dependencyName)),
|
|
296
|
-
packages: await readManifestBatch(consumerRoot, manifestPaths, signal)
|
|
297
|
-
};
|
|
258
|
+
const manifestPaths = await this.discoverManifestPathsFromManifest(consumerRoot, input, signal);
|
|
259
|
+
return readPnpmWorkspaceInventoryFromManifestPaths(consumerRoot, input, manifestPaths, signal);
|
|
298
260
|
}
|
|
299
261
|
}
|
|
300
262
|
//# sourceMappingURL=pnpm-workspace-inventory-reader.js.map
|
package/dist/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pnpm-workspace-inventory-reader.js","sourceRoot":"","sources":["../../../../../src/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EACL,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,4BAA4B,CAAC;AASpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AAGxF,MAAM,kBAAkB,G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AY,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO;YACL,GAAG,CAAC,OAAO,KAAK,CAAC,aAAa,CAAC,KAAK,QAAQ;gBAC1C,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,EAAE;gBACvC,CAAC,CAAC,EAAE,CAAC;YACP,QAAQ,EAAE;gBACR,GAAG,YAAY,CAAC,KAAK,EAAE,SAAS,CAAC;gBACjC,GAAG,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC;aACnC,CAAC,QAAQ,CACR,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CACd,oBAAoB,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;gBACzD,oBAAoB,CAAC,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,CAClE;YACD,QAAQ,EAAE,MAAM,iBAAiB,CAAC,YAAY,EAAE,aAAa,EAAE,MAAM,CAAC;SACvE,CAAC;IACJ,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"pnpm-workspace-inventory-reader.js","sourceRoot":"","sources":["../../../../../src/workspace-inventory/adapters/outbound/pnpm/pnpm-workspace-inventory-reader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAE9F,MAAM,sBAAsB,GAAG,KAAK,CAAC;AACrC,MAAM,+BAA+B,GAAG,OAAO,CAAC;AAChD,MAAM,uBAAuB,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|
export declare const DEPENDENCY_SECTIONS: readonly ["dependencies", "devDependencies", "optionalDependencies", "peerDependencies"];
|
|
2
|
-
type DependencySection = (typeof DEPENDENCY_SECTIONS)[number];
|
|
2
|
+
export type DependencySection = (typeof DEPENDENCY_SECTIONS)[number];
|
|
3
|
+
type DependencyDeclarationProvenance = {
|
|
4
|
+
readonly kind: "manifest";
|
|
5
|
+
} | {
|
|
6
|
+
readonly kind: "catalog";
|
|
7
|
+
readonly catalogName: string;
|
|
8
|
+
};
|
|
3
9
|
export interface DependencyDeclaration {
|
|
4
10
|
readonly packageName: string;
|
|
5
11
|
readonly manifestPath: string;
|
|
6
12
|
readonly section: DependencySection;
|
|
7
13
|
readonly dependencyName: string;
|
|
14
|
+
/** Raw manifest specifier, retained independently from its effective value. */
|
|
8
15
|
readonly specifier: string;
|
|
16
|
+
/** Package installed at the declaration slot after resolving a valid npm alias. */
|
|
17
|
+
readonly targetPackageName: string;
|
|
18
|
+
/** Catalog-resolved specifier before npm-alias interpretation. */
|
|
19
|
+
readonly effectiveSpecifier: string;
|
|
20
|
+
/** Version/range portion governing the resolved target. */
|
|
21
|
+
readonly effectiveVersionSpecifier: string;
|
|
22
|
+
/** Malformed alias bytes remain evidence and cannot authorize a package edge. */
|
|
23
|
+
readonly normalizationProblem?: "invalid-npm-alias";
|
|
24
|
+
readonly provenance: DependencyDeclarationProvenance;
|
|
9
25
|
}
|
|
10
26
|
export interface PackageExportEntry {
|
|
11
27
|
readonly subpath: string;
|
|
12
28
|
readonly availability: "available" | "blocked";
|
|
29
|
+
/** Inert manifest data retained for ordered Node-condition resolution. */
|
|
30
|
+
readonly target?: PackageExportTarget;
|
|
31
|
+
readonly targetPaths?: readonly string[];
|
|
32
|
+
}
|
|
33
|
+
export type PackageExportTarget = string | null | readonly PackageExportTarget[] | PackageExportConditions;
|
|
34
|
+
interface PackageExportConditions {
|
|
35
|
+
readonly [condition: string]: PackageExportTarget;
|
|
13
36
|
}
|
|
14
37
|
export interface PackageExportSurface {
|
|
15
38
|
readonly explicit: boolean;
|
|
39
|
+
/** A top-level null exports value disables Node's self-reference lookup. */
|
|
40
|
+
readonly selfReferenceDisabled?: true;
|
|
16
41
|
readonly entries: readonly PackageExportEntry[];
|
|
17
42
|
}
|
|
18
43
|
export interface WorkspacePackage {
|
|
19
44
|
readonly name: string;
|
|
20
45
|
readonly rootPath: string;
|
|
21
46
|
readonly manifestPath: string;
|
|
47
|
+
/** Node/TypeScript interpretation for ambiguous .js/.ts importers. */
|
|
48
|
+
readonly moduleType: "commonjs" | "module";
|
|
22
49
|
readonly packageManager?: string;
|
|
23
50
|
readonly dependencies: readonly DependencyDeclaration[];
|
|
24
51
|
readonly bundledDependencies: readonly string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-inventory.d.ts","sourceRoot":"","sources":["../../../../src/workspace-inventory/application/model/workspace-inventory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,YAC9B,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,CACV,CAAC;AAEX,
|
|
1
|
+
{"version":3,"file":"workspace-inventory.d.ts","sourceRoot":"","sources":["../../../../src/workspace-inventory/application/model/workspace-inventory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,YAC9B,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,CACV,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,KAAK,+BAA+B,GAChC;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAAE,GAC7B;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/D,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,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B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,sEAAsE;IACtE,QAAQ,CAAC,UAAU,EAAE,UAAU,GAAG,QAAQ,CAAC;IAC3C,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,YAAY,EAAE,SAAS,qBAAqB,EAAE,CAAC;IACxD,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,QAAQ,CAAC,aAAa,EAAE,oBAAoB,CAAC;CAC9C;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,SAAS,YAAY,EAAE,CAAC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAChD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CatalogEntry, DependencyDeclaration, DependencySection } from "../model/workspace-inventory.js";
|
|
2
|
+
export declare function parseNpmAlias(specifier: string): {
|
|
3
|
+
readonly targetPackageName: string;
|
|
4
|
+
readonly versionSpecifier: string;
|
|
5
|
+
} | undefined;
|
|
6
|
+
export declare function normalizeDependencyDeclaration(input: {
|
|
7
|
+
readonly catalogs: readonly CatalogEntry[];
|
|
8
|
+
readonly dependencyName: string;
|
|
9
|
+
readonly manifestPath: string;
|
|
10
|
+
readonly packageName: string;
|
|
11
|
+
readonly section: DependencySection;
|
|
12
|
+
readonly specifier: string;
|
|
13
|
+
}): DependencyDeclaration;
|
|
14
|
+
//# sourceMappingURL=normalize-dependency-declaration.d.ts.map
|
package/dist/workspace-inventory/application/policies/normalize-dependency-declaration.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize-dependency-declaration.d.ts","sourceRoot":"","sources":["../../../../src/workspace-inventory/application/policies/normalize-dependency-declaration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,iCAAiC,CAAC;AAyCzC,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG;IAChD,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;CACnC,GAAG,SAAS,CAMZ;AAwCD,wBAAgB,8BAA8B,CAAC,KAAK,EAAE;IACpD,QAAQ,CAAC,QAAQ,EAAE,SAAS,YAAY,EAAE,CAAC;IAC3C,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B,GAAG,qBAAqB,CAiBxB"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
const NPM_PACKAGE_NAME = "(?:@[a-z0-9][a-z0-9._-]*\\/)?[a-z0-9][a-z0-9._-]*";
|
|
2
|
+
const NPM_ALIAS = new RegExp(`^npm:(${NPM_PACKAGE_NAME})@(.+)$`, "su");
|
|
3
|
+
// Registry syntax only: this does not resolve ranges or relax exact-pin policy.
|
|
4
|
+
const RANGE_VERSION = /^[v=\s]*(\d+|[xX*])(?:\.(\d+|[xX*])(?:\.(\d+|[xX*])(?:-?[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?)?)?$/u;
|
|
5
|
+
function isRangeVersion(value) {
|
|
6
|
+
if (value.length > 256) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
const match = RANGE_VERSION.exec(value);
|
|
10
|
+
return match !== null &&
|
|
11
|
+
[match[1], match[2], match[3]].every((part) => part === undefined || /^[xX*]$/u.test(part) ||
|
|
12
|
+
Number.isSafeInteger(Number(part)));
|
|
13
|
+
}
|
|
14
|
+
function isRangeSet(value) {
|
|
15
|
+
const hyphen = value.split(/\s+-\s+/u);
|
|
16
|
+
if (hyphen.length === 2) {
|
|
17
|
+
return hyphen.every(isRangeVersion);
|
|
18
|
+
}
|
|
19
|
+
const comparators = value.replace(/([<>=~^v])\s+/gu, "$1").split(/\s+/u);
|
|
20
|
+
return comparators.every((part) => part === "" || isRangeVersion(part.replace(/^(?:[<>]=?|~>?|\^|=)/u, "")));
|
|
21
|
+
}
|
|
22
|
+
function isRegistrySpecifier(value) {
|
|
23
|
+
// Local paths/archives must not be mistaken for URI-safe registry tags.
|
|
24
|
+
if (/^[.]|[.](?:tgz|tar[.]gz|tar)$/iu.test(value)) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
const trimmed = value.trim();
|
|
28
|
+
return /^[0-9A-Za-z_~!()*'.-]+$/u.test(trimmed) ||
|
|
29
|
+
trimmed.split("||").every((part) => isRangeSet(part.trim()));
|
|
30
|
+
}
|
|
31
|
+
export function parseNpmAlias(specifier) {
|
|
32
|
+
const match = NPM_ALIAS.exec(specifier);
|
|
33
|
+
return match?.[1] !== undefined && match[2] !== undefined &&
|
|
34
|
+
isRegistrySpecifier(match[2])
|
|
35
|
+
? { targetPackageName: match[1], versionSpecifier: match[2] }
|
|
36
|
+
: undefined;
|
|
37
|
+
}
|
|
38
|
+
function referencedCatalogName(specifier) {
|
|
39
|
+
if (specifier === "catalog:") {
|
|
40
|
+
return "default";
|
|
41
|
+
}
|
|
42
|
+
return specifier.startsWith("catalog:") && specifier.length > "catalog:".length
|
|
43
|
+
? specifier.slice("catalog:".length)
|
|
44
|
+
: undefined;
|
|
45
|
+
}
|
|
46
|
+
function effectiveDeclaration(input) {
|
|
47
|
+
const catalogName = referencedCatalogName(input.specifier);
|
|
48
|
+
if (catalogName === undefined) {
|
|
49
|
+
return {
|
|
50
|
+
effectiveSpecifier: input.specifier,
|
|
51
|
+
provenance: Object.freeze({ kind: "manifest" })
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
const catalogs = input.catalogs.filter((entry) => entry.catalogName === catalogName &&
|
|
55
|
+
entry.dependencyName === input.dependencyName);
|
|
56
|
+
if (catalogs.length > 1) {
|
|
57
|
+
throw new TypeError(`Catalog ${catalogName} declares ${input.dependencyName} more than once.`);
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
effectiveSpecifier: catalogs[0]?.version ?? input.specifier,
|
|
61
|
+
provenance: Object.freeze({ kind: "catalog", catalogName })
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export function normalizeDependencyDeclaration(input) {
|
|
65
|
+
const effective = effectiveDeclaration(input);
|
|
66
|
+
const alias = parseNpmAlias(effective.effectiveSpecifier);
|
|
67
|
+
return Object.freeze({
|
|
68
|
+
packageName: input.packageName,
|
|
69
|
+
manifestPath: input.manifestPath,
|
|
70
|
+
section: input.section,
|
|
71
|
+
dependencyName: input.dependencyName,
|
|
72
|
+
specifier: input.specifier,
|
|
73
|
+
targetPackageName: alias?.targetPackageName ?? input.dependencyName,
|
|
74
|
+
effectiveVersionSpecifier: alias?.versionSpecifier ?? effective.effectiveSpecifier,
|
|
75
|
+
effectiveSpecifier: effective.effectiveSpecifier,
|
|
76
|
+
...(effective.effectiveSpecifier.startsWith("npm:") && alias === undefined
|
|
77
|
+
? { normalizationProblem: "invalid-npm-alias" }
|
|
78
|
+
: {}),
|
|
79
|
+
provenance: effective.provenance
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=normalize-dependency-declaration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize-dependency-declaration.js","sourceRoot":"","sources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KAAK,EAAE,gBAAgB,IAAI,SAAS,CAAC,kBAAkB;QAClF,kBAAkB,EAAE,SAAS,CAAC,kBAAkB;QAChD,GAAG,CAAC,SAAS,CAAC,kBAAkB,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,KAAK,SAAS;YACxE,CAAC,CAAC,EAAE,oBAAoB,EAAE,mBAA4B,EAAE;YACxD,CAAC,CAAC,EAAE,CAAC;QACP,UAAU,EAAE,SAAS,CAAC,UAAU;KACjC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PackageExportEntry } from "../model/workspace-inventory.js";
|
|
2
|
+
export type PackageExportCondition = "import" | "require";
|
|
3
|
+
export interface ResolvedPackageExport {
|
|
4
|
+
readonly available: boolean;
|
|
5
|
+
readonly targetPath?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function resolvePackageExport(entries: readonly PackageExportEntry[], subpath: string, condition: PackageExportCondition, typeOnly?: boolean): ResolvedPackageExport;
|
|
8
|
+
export declare function exactAvailablePackageExport(entries: readonly PackageExportEntry[], subpath: string): boolean;
|
|
9
|
+
export declare function exactPackageExportTargetPaths(entries: readonly PackageExportEntry[], subpath: string): readonly string[];
|
|
10
|
+
//# sourceMappingURL=package-export-matcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-export-matcher.d.ts","sourceRoot":"","sources":["../../../../src/workspace-inventory/application/policies/package-export-matcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAEnB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE1D,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAgJD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,SAAS,kBAAkB,EAAE,EACtC,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,sBAAsB,EACjC,QAAQ,UAAQ,GACf,qBAAqB,CAoBvB;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,SAAS,kBAAkB,EAAE,EACtC,OAAO,EAAE,MAAM,GACd,OAAO,CAKT;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,SAAS,kBAAkB,EAAE,EACtC,OAAO,EAAE,MAAM,GACd,SAAS,MAAM,EAAE,CAoBnB"}
|