@ttsc/unplugin 0.31.0 → 0.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/core/bridge/projectRecordMoved.js +1 -1
- package/lib/core/bridge/projectRecordMoved.js.map +1 -1
- package/lib/core/bridge/projectRecordMoved.mjs +1 -1
- package/lib/core/bridge/projectRecordMoved.mjs.map +1 -1
- package/lib/core/bun/bun.d.cts +3 -2
- package/lib/core/bun/bun.d.mts +3 -2
- package/lib/core/bun/bun.d.ts +3 -2
- package/lib/core/bun/bun.js +8 -4
- package/lib/core/bun/bun.js.map +1 -1
- package/lib/core/bun/bun.mjs +8 -4
- package/lib/core/bun/bun.mjs.map +1 -1
- package/lib/core/observer/createInputObserver.js +7 -6
- package/lib/core/observer/createInputObserver.js.map +1 -1
- package/lib/core/observer/createInputObserver.mjs +7 -6
- package/lib/core/observer/createInputObserver.mjs.map +1 -1
- package/lib/core/observer/openIsolatedRecursiveWatch.d.cts +11 -12
- package/lib/core/observer/openIsolatedRecursiveWatch.d.mts +11 -12
- package/lib/core/observer/openIsolatedRecursiveWatch.d.ts +11 -12
- package/lib/core/observer/openIsolatedRecursiveWatch.js +11 -12
- package/lib/core/observer/openIsolatedRecursiveWatch.js.map +1 -1
- package/lib/core/observer/openIsolatedRecursiveWatch.mjs +11 -12
- package/lib/core/observer/openIsolatedRecursiveWatch.mjs.map +1 -1
- package/lib/core/transform/cache/TtscCachedProjectTransform.d.cts +12 -3
- package/lib/core/transform/cache/TtscCachedProjectTransform.d.mts +12 -3
- package/lib/core/transform/cache/TtscCachedProjectTransform.d.ts +12 -3
- package/lib/core/transform/cache/selectCachedGenerationAction.d.cts +2 -0
- package/lib/core/transform/cache/selectCachedGenerationAction.d.mts +2 -0
- package/lib/core/transform/cache/selectCachedGenerationAction.d.ts +2 -0
- package/lib/core/transform/cache/selectCachedGenerationAction.js +1 -1
- package/lib/core/transform/cache/selectCachedGenerationAction.js.map +1 -1
- package/lib/core/transform/cache/selectCachedGenerationAction.mjs +1 -1
- package/lib/core/transform/cache/selectCachedGenerationAction.mjs.map +1 -1
- package/lib/core/transform/deliverCachedTransform.d.cts +36 -0
- package/lib/core/transform/deliverCachedTransform.d.mts +36 -0
- package/lib/core/transform/deliverCachedTransform.d.ts +36 -0
- package/lib/core/transform/deliverCachedTransform.js +73 -0
- package/lib/core/transform/deliverCachedTransform.js.map +1 -0
- package/lib/core/transform/deliverCachedTransform.mjs +71 -0
- package/lib/core/transform/deliverCachedTransform.mjs.map +1 -0
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.d.cts +2 -2
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.d.mts +2 -2
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.d.ts +2 -2
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.js +6 -2
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.js.map +1 -1
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.mjs +6 -2
- package/lib/core/transform/envelope/selectDeclaredProjectInputKeys.mjs.map +1 -1
- package/lib/core/transform/envelope/selectExternalInputPaths.d.cts +3 -5
- package/lib/core/transform/envelope/selectExternalInputPaths.d.mts +3 -5
- package/lib/core/transform/envelope/selectExternalInputPaths.d.ts +3 -5
- package/lib/core/transform/envelope/selectExternalInputPaths.js +8 -7
- package/lib/core/transform/envelope/selectExternalInputPaths.js.map +1 -1
- package/lib/core/transform/envelope/selectExternalInputPaths.mjs +8 -7
- package/lib/core/transform/envelope/selectExternalInputPaths.mjs.map +1 -1
- package/lib/core/transform/filesystem/TtscTransformFilesystemOperations.d.cts +15 -12
- package/lib/core/transform/filesystem/TtscTransformFilesystemOperations.d.mts +15 -12
- package/lib/core/transform/filesystem/TtscTransformFilesystemOperations.d.ts +15 -12
- package/lib/core/transform/generation/captureFailedGenerationInputStates.js +1 -1
- package/lib/core/transform/generation/captureFailedGenerationInputStates.js.map +1 -1
- package/lib/core/transform/generation/captureFailedGenerationInputStates.mjs +1 -1
- package/lib/core/transform/generation/captureFailedGenerationInputStates.mjs.map +1 -1
- package/lib/core/transform/generation/captureTransformGeneration.js +1 -1
- package/lib/core/transform/generation/captureTransformGeneration.js.map +1 -1
- package/lib/core/transform/generation/captureTransformGeneration.mjs +1 -1
- package/lib/core/transform/generation/captureTransformGeneration.mjs.map +1 -1
- package/lib/core/transform/generation/failedGenerationEnvironmentChanged.js +2 -2
- package/lib/core/transform/generation/failedGenerationEnvironmentChanged.js.map +1 -1
- package/lib/core/transform/generation/failedGenerationEnvironmentChanged.mjs +2 -2
- package/lib/core/transform/generation/failedGenerationEnvironmentChanged.mjs.map +1 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.d.cts +3 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.d.mts +3 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.d.ts +3 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.js +3 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.js.map +1 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.mjs +3 -1
- package/lib/core/transform/generation/selectTransformAttemptDisposition.mjs.map +1 -1
- package/lib/core/transform/generation/transformProject.d.cts +9 -7
- package/lib/core/transform/generation/transformProject.d.mts +9 -7
- package/lib/core/transform/generation/transformProject.d.ts +9 -7
- package/lib/core/transform/generation/transformProject.js +14 -9
- package/lib/core/transform/generation/transformProject.js.map +1 -1
- package/lib/core/transform/generation/transformProject.mjs +14 -9
- package/lib/core/transform/generation/transformProject.mjs.map +1 -1
- package/lib/core/transform/inputs/pluginSourceFilesDigest.d.cts +9 -3
- package/lib/core/transform/inputs/pluginSourceFilesDigest.d.mts +9 -3
- package/lib/core/transform/inputs/pluginSourceFilesDigest.d.ts +9 -3
- package/lib/core/transform/inputs/pluginSourceFilesDigest.js +10 -4
- package/lib/core/transform/inputs/pluginSourceFilesDigest.js.map +1 -1
- package/lib/core/transform/inputs/pluginSourceFilesDigest.mjs +11 -5
- package/lib/core/transform/inputs/pluginSourceFilesDigest.mjs.map +1 -1
- package/lib/core/transform/inputs/pluginSourceHolds.d.cts +4 -2
- package/lib/core/transform/inputs/pluginSourceHolds.d.mts +4 -2
- package/lib/core/transform/inputs/pluginSourceHolds.d.ts +4 -2
- package/lib/core/transform/inputs/pluginSourceHolds.js +9 -4
- package/lib/core/transform/inputs/pluginSourceHolds.js.map +1 -1
- package/lib/core/transform/inputs/pluginSourceHolds.mjs +9 -4
- package/lib/core/transform/inputs/pluginSourceHolds.mjs.map +1 -1
- package/lib/core/transform/inputs/pluginSourceState.d.cts +3 -1
- package/lib/core/transform/inputs/pluginSourceState.d.mts +3 -1
- package/lib/core/transform/inputs/pluginSourceState.d.ts +3 -1
- package/lib/core/transform/inputs/pluginSourceState.js +8 -3
- package/lib/core/transform/inputs/pluginSourceState.js.map +1 -1
- package/lib/core/transform/inputs/pluginSourceState.mjs +8 -3
- package/lib/core/transform/inputs/pluginSourceState.mjs.map +1 -1
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.cts +18 -5
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.mts +18 -5
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.ts +18 -5
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.js +53 -12
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.js.map +1 -1
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.mjs +53 -12
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.mjs.map +1 -1
- package/lib/core/transform/tracker/broker/WatchBroker.d.cts +14 -4
- package/lib/core/transform/tracker/broker/WatchBroker.d.mts +14 -4
- package/lib/core/transform/tracker/broker/WatchBroker.d.ts +14 -4
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.d.cts +63 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.d.mts +63 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.d.ts +63 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.js +89 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.js.map +1 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.mjs +89 -0
- package/lib/core/transform/tracker/broker/WatchBrokerTransport.mjs.map +1 -0
- package/lib/core/transform/tracker/broker/drainWatchBroker.d.cts +8 -8
- package/lib/core/transform/tracker/broker/drainWatchBroker.d.mts +8 -8
- package/lib/core/transform/tracker/broker/drainWatchBroker.d.ts +8 -8
- package/lib/core/transform/tracker/broker/drainWatchBroker.js +12 -13
- package/lib/core/transform/tracker/broker/drainWatchBroker.js.map +1 -1
- package/lib/core/transform/tracker/broker/drainWatchBroker.mjs +12 -13
- package/lib/core/transform/tracker/broker/drainWatchBroker.mjs.map +1 -1
- package/lib/core/transform/tracker/broker/getWatchBroker.d.cts +18 -15
- package/lib/core/transform/tracker/broker/getWatchBroker.d.mts +18 -15
- package/lib/core/transform/tracker/broker/getWatchBroker.d.ts +18 -15
- package/lib/core/transform/tracker/broker/getWatchBroker.js +87 -17
- package/lib/core/transform/tracker/broker/getWatchBroker.js.map +1 -1
- package/lib/core/transform/tracker/broker/getWatchBroker.mjs +87 -17
- package/lib/core/transform/tracker/broker/getWatchBroker.mjs.map +1 -1
- package/lib/core/transform/tracker/broker/openBrokeredWatch.d.cts +5 -5
- package/lib/core/transform/tracker/broker/openBrokeredWatch.d.mts +5 -5
- package/lib/core/transform/tracker/broker/openBrokeredWatch.d.ts +5 -5
- package/lib/core/transform/tracker/broker/openBrokeredWatch.js +11 -14
- package/lib/core/transform/tracker/broker/openBrokeredWatch.js.map +1 -1
- package/lib/core/transform/tracker/broker/openBrokeredWatch.mjs +11 -14
- package/lib/core/transform/tracker/broker/openBrokeredWatch.mjs.map +1 -1
- package/lib/core/transform/tracker/broker/usesWatchBroker.d.cts +7 -7
- package/lib/core/transform/tracker/broker/usesWatchBroker.d.mts +7 -7
- package/lib/core/transform/tracker/broker/usesWatchBroker.d.ts +7 -7
- package/lib/core/transform/tracker/broker/usesWatchBroker.js +7 -7
- package/lib/core/transform/tracker/broker/usesWatchBroker.mjs +7 -7
- package/lib/core/transform/tracker/broker/watchBrokerSource.d.cts +9 -10
- package/lib/core/transform/tracker/broker/watchBrokerSource.d.mts +9 -10
- package/lib/core/transform/tracker/broker/watchBrokerSource.d.ts +9 -10
- package/lib/core/transform/tracker/broker/watchBrokerSource.js +10 -11
- package/lib/core/transform/tracker/broker/watchBrokerSource.js.map +1 -1
- package/lib/core/transform/tracker/broker/watchBrokerSource.mjs +10 -11
- package/lib/core/transform/tracker/broker/watchBrokerSource.mjs.map +1 -1
- package/lib/core/transform/transformTtsc.d.cts +7 -4
- package/lib/core/transform/transformTtsc.d.mts +7 -4
- package/lib/core/transform/transformTtsc.d.ts +7 -4
- package/lib/core/transform/transformTtsc.js +38 -93
- package/lib/core/transform/transformTtsc.js.map +1 -1
- package/lib/core/transform/transformTtsc.mjs +38 -93
- package/lib/core/transform/transformTtsc.mjs.map +1 -1
- package/lib/core/transform/validation/TtscGenerationProof.d.cts +105 -0
- package/lib/core/transform/validation/TtscGenerationProof.d.mts +105 -0
- package/lib/core/transform/validation/TtscGenerationProof.d.ts +105 -0
- package/lib/core/transform/validation/TtscGenerationProof.js +149 -0
- package/lib/core/transform/validation/TtscGenerationProof.js.map +1 -0
- package/lib/core/transform/validation/TtscGenerationProof.mjs +149 -0
- package/lib/core/transform/validation/TtscGenerationProof.mjs.map +1 -0
- package/lib/core/transform/validation/captureUniversalHostInputValidation.js +2 -2
- package/lib/core/transform/validation/captureUniversalHostInputValidation.js.map +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.mjs +2 -2
- package/lib/core/transform/validation/captureUniversalHostInputValidation.mjs.map +1 -1
- package/lib/core/transform/validation/matchesCachedSource.d.cts +18 -15
- package/lib/core/transform/validation/matchesCachedSource.d.mts +18 -15
- package/lib/core/transform/validation/matchesCachedSource.d.ts +18 -15
- package/lib/core/transform/validation/matchesCachedSource.js +28 -22
- package/lib/core/transform/validation/matchesCachedSource.js.map +1 -1
- package/lib/core/transform/validation/matchesCachedSource.mjs +28 -22
- package/lib/core/transform/validation/matchesCachedSource.mjs.map +1 -1
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.d.cts +3 -2
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.d.mts +3 -2
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.d.ts +3 -2
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.js +4 -4
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.js.map +1 -1
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.mjs +4 -4
- package/lib/core/transform/validation/matchesCompleteInputSnapshot.mjs.map +1 -1
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.d.cts +2 -1
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.d.mts +2 -1
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.d.ts +2 -1
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.js +2 -2
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.js.map +1 -1
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.mjs +2 -2
- package/lib/core/transform/validation/matchesNarrowPersistentInputs.mjs.map +1 -1
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.d.cts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.d.mts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.d.ts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.js +7 -5
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.js.map +1 -1
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.mjs +7 -5
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.mjs.map +1 -1
- package/lib/core/transform/validation/matchesUniversalHostInputs.d.cts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputs.d.mts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputs.d.ts +3 -2
- package/lib/core/transform/validation/matchesUniversalHostInputs.js +5 -5
- package/lib/core/transform/validation/matchesUniversalHostInputs.js.map +1 -1
- package/lib/core/transform/validation/matchesUniversalHostInputs.mjs +5 -5
- package/lib/core/transform/validation/matchesUniversalHostInputs.mjs.map +1 -1
- package/lib/core/transform/validation/nativeInputPredicatesHold.d.cts +5 -4
- package/lib/core/transform/validation/nativeInputPredicatesHold.d.mts +5 -4
- package/lib/core/transform/validation/nativeInputPredicatesHold.d.ts +5 -4
- package/lib/core/transform/validation/nativeInputPredicatesHold.js +31 -12
- package/lib/core/transform/validation/nativeInputPredicatesHold.js.map +1 -1
- package/lib/core/transform/validation/nativeInputPredicatesHold.mjs +31 -12
- package/lib/core/transform/validation/nativeInputPredicatesHold.mjs.map +1 -1
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.d.cts +2 -1
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.d.mts +2 -1
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.d.ts +2 -1
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.js +2 -2
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.js.map +1 -1
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.mjs +2 -2
- package/lib/core/transform/validation/notificationsProveProgramUnchanged.mjs.map +1 -1
- package/lib/core/transform/watch/captureWatchInputBaseline.d.cts +4 -0
- package/lib/core/transform/watch/captureWatchInputBaseline.d.mts +4 -0
- package/lib/core/transform/watch/captureWatchInputBaseline.d.ts +4 -0
- package/lib/core/transform/watch/captureWatchInputBaseline.js +3 -0
- package/lib/core/transform/watch/captureWatchInputBaseline.js.map +1 -1
- package/lib/core/transform/watch/captureWatchInputBaseline.mjs +3 -0
- package/lib/core/transform/watch/captureWatchInputBaseline.mjs.map +1 -1
- package/lib/core/transform/watch/captureWatchInputBaselines.d.cts +2 -0
- package/lib/core/transform/watch/captureWatchInputBaselines.d.mts +2 -0
- package/lib/core/transform/watch/captureWatchInputBaselines.d.ts +2 -0
- package/lib/core/transform/watch/captureWatchInputBaselines.js +3 -1
- package/lib/core/transform/watch/captureWatchInputBaselines.js.map +1 -1
- package/lib/core/transform/watch/captureWatchInputBaselines.mjs +3 -1
- package/lib/core/transform/watch/captureWatchInputBaselines.mjs.map +1 -1
- package/lib/core/transform/watch/notifyWatchInputs.js +3 -0
- package/lib/core/transform/watch/notifyWatchInputs.js.map +1 -1
- package/lib/core/transform/watch/notifyWatchInputs.mjs +3 -0
- package/lib/core/transform/watch/notifyWatchInputs.mjs.map +1 -1
- package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.d.cts +5 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.d.mts +5 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.d.ts +5 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.js +6 -3
- package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.js.map +1 -1
- package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.mjs +6 -3
- package/lib/core/transform/watch/watchInputEvidenceMatchesDisk.mjs.map +1 -1
- package/lib/core/turbopack/turbopack.js +2 -1
- package/lib/core/turbopack/turbopack.js.map +1 -1
- package/lib/core/turbopack/turbopack.mjs +2 -1
- package/lib/core/turbopack/turbopack.mjs.map +1 -1
- package/package.json +3 -3
- package/src/core/bridge/projectRecordMoved.ts +3 -1
- package/src/core/bun/bun.ts +8 -4
- package/src/core/observer/createInputObserver.ts +8 -5
- package/src/core/observer/openIsolatedRecursiveWatch.ts +11 -12
- package/src/core/transform/cache/TtscCachedProjectTransform.ts +13 -3
- package/src/core/transform/cache/selectCachedGenerationAction.ts +9 -1
- package/src/core/transform/deliverCachedTransform.ts +97 -0
- package/src/core/transform/envelope/selectDeclaredProjectInputKeys.ts +5 -2
- package/src/core/transform/envelope/selectExternalInputPaths.ts +7 -7
- package/src/core/transform/filesystem/TtscTransformFilesystemOperations.ts +15 -12
- package/src/core/transform/generation/captureFailedGenerationInputStates.ts +1 -0
- package/src/core/transform/generation/captureTransformGeneration.ts +6 -1
- package/src/core/transform/generation/failedGenerationEnvironmentChanged.ts +12 -2
- package/src/core/transform/generation/selectTransformAttemptDisposition.ts +3 -1
- package/src/core/transform/generation/transformProject.ts +13 -9
- package/src/core/transform/inputs/pluginSourceFilesDigest.ts +11 -4
- package/src/core/transform/inputs/pluginSourceHolds.ts +13 -3
- package/src/core/transform/inputs/pluginSourceState.ts +8 -2
- package/src/core/transform/inputs/preparePluginBuildEnvironments.ts +64 -11
- package/src/core/transform/tracker/broker/WatchBroker.ts +15 -4
- package/src/core/transform/tracker/broker/WatchBrokerTransport.ts +82 -0
- package/src/core/transform/tracker/broker/drainWatchBroker.ts +12 -13
- package/src/core/transform/tracker/broker/getWatchBroker.ts +89 -18
- package/src/core/transform/tracker/broker/openBrokeredWatch.ts +11 -14
- package/src/core/transform/tracker/broker/usesWatchBroker.ts +7 -7
- package/src/core/transform/tracker/broker/watchBrokerSource.ts +10 -11
- package/src/core/transform/transformTtsc.ts +38 -92
- package/src/core/transform/validation/TtscGenerationProof.ts +201 -0
- package/src/core/transform/validation/captureUniversalHostInputValidation.ts +2 -1
- package/src/core/transform/validation/matchesCachedSource.ts +27 -21
- package/src/core/transform/validation/matchesCompleteInputSnapshot.ts +5 -3
- package/src/core/transform/validation/matchesNarrowPersistentInputs.ts +3 -1
- package/src/core/transform/validation/matchesUniversalHostInputTrees.ts +8 -3
- package/src/core/transform/validation/matchesUniversalHostInputs.ts +6 -4
- package/src/core/transform/validation/nativeInputPredicatesHold.ts +36 -14
- package/src/core/transform/validation/notificationsProveProgramUnchanged.ts +3 -1
- package/src/core/transform/watch/captureWatchInputBaseline.ts +4 -0
- package/src/core/transform/watch/captureWatchInputBaselines.ts +7 -1
- package/src/core/transform/watch/notifyWatchInputs.ts +3 -0
- package/src/core/transform/watch/watchInputEvidenceMatchesDisk.ts +12 -2
- package/src/core/turbopack/turbopack.ts +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deliverCachedTransform.mjs","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QAAA,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC;QAC3C,OAAO,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;IACpD;IAAE,OAAO,KAAK,EAAE;AACd,QAAA,IAAI,MAAM,CAAC,iBAAiB,KAAK,IAAI;AACnC,YAAA,eAAe,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,CAAC;AACzC,QAAA,MAAM,KAAK;IACb;AACF;;;;"}
|
|
@@ -21,8 +21,8 @@ import type { FilesystemPathIdentityContext } from "ttsc/path-identity";
|
|
|
21
21
|
* Visits each reported occurrence in graph endpoints/globals/configs,
|
|
22
22
|
* candidates, host inputs and dependency arrays. Native resolve, scratch
|
|
23
23
|
* checks, project-key identity/ancestor/case observations and text hashing
|
|
24
|
-
* precede each own-key membership test
|
|
25
|
-
*
|
|
24
|
+
* precede each own-key membership test after lexical deduplication; repeated
|
|
25
|
+
* declarations pay resolution but no repeated native classification. Entry
|
|
26
26
|
* arrays from Object.entries/Object.values follow producer populations,
|
|
27
27
|
* while the returned set cannot exceed keys present in the project snapshot.
|
|
28
28
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work
|
|
@@ -21,8 +21,8 @@ import type { FilesystemPathIdentityContext } from "ttsc/path-identity";
|
|
|
21
21
|
* Visits each reported occurrence in graph endpoints/globals/configs,
|
|
22
22
|
* candidates, host inputs and dependency arrays. Native resolve, scratch
|
|
23
23
|
* checks, project-key identity/ancestor/case observations and text hashing
|
|
24
|
-
* precede each own-key membership test
|
|
25
|
-
*
|
|
24
|
+
* precede each own-key membership test after lexical deduplication; repeated
|
|
25
|
+
* declarations pay resolution but no repeated native classification. Entry
|
|
26
26
|
* arrays from Object.entries/Object.values follow producer populations,
|
|
27
27
|
* while the returned set cannot exceed keys present in the project snapshot.
|
|
28
28
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work
|
|
@@ -21,8 +21,8 @@ import type { FilesystemPathIdentityContext } from "ttsc/path-identity";
|
|
|
21
21
|
* Visits each reported occurrence in graph endpoints/globals/configs,
|
|
22
22
|
* candidates, host inputs and dependency arrays. Native resolve, scratch
|
|
23
23
|
* checks, project-key identity/ancestor/case observations and text hashing
|
|
24
|
-
* precede each own-key membership test
|
|
25
|
-
*
|
|
24
|
+
* precede each own-key membership test after lexical deduplication; repeated
|
|
25
|
+
* declarations pay resolution but no repeated native classification. Entry
|
|
26
26
|
* arrays from Object.entries/Object.values follow producer populations,
|
|
27
27
|
* while the returned set cannot exceed keys present in the project snapshot.
|
|
28
28
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work
|
|
@@ -25,8 +25,8 @@ var isTransformScratchInput = require('../tsconfig/isTransformScratchInput.js');
|
|
|
25
25
|
* Visits each reported occurrence in graph endpoints/globals/configs,
|
|
26
26
|
* candidates, host inputs and dependency arrays. Native resolve, scratch
|
|
27
27
|
* checks, project-key identity/ancestor/case observations and text hashing
|
|
28
|
-
* precede each own-key membership test
|
|
29
|
-
*
|
|
28
|
+
* precede each own-key membership test after lexical deduplication; repeated
|
|
29
|
+
* declarations pay resolution but no repeated native classification. Entry
|
|
30
30
|
* arrays from Object.entries/Object.values follow producer populations,
|
|
31
31
|
* while the returned set cannot exceed keys present in the project snapshot.
|
|
32
32
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work
|
|
@@ -42,10 +42,14 @@ function selectDeclaredProjectInputKeys(props) {
|
|
|
42
42
|
}
|
|
43
43
|
const graph = props.result.graph;
|
|
44
44
|
const keys = new Set();
|
|
45
|
+
const seen = new Set();
|
|
45
46
|
const add = (entry) => {
|
|
46
47
|
if (typeof entry !== "string" || entry.length === 0)
|
|
47
48
|
return;
|
|
48
49
|
const absolute = path.resolve(props.projectRoot, entry);
|
|
50
|
+
if (seen.has(absolute))
|
|
51
|
+
return;
|
|
52
|
+
seen.add(absolute);
|
|
49
53
|
if (isTransformScratchInput.isTransformScratchInput(absolute, props.scratchDirectory))
|
|
50
54
|
return;
|
|
51
55
|
const key = toProjectKey.toProjectKey(props.projectRoot, absolute, props.identities);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectDeclaredProjectInputKeys.js","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":["isTransformScratchInput","toProjectKey"],"mappings":";;;;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE;AACrD,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACvD,QAAA,IAAIA,+CAAuB,CAAC,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC;YAAE;AAC/D,QAAA,MAAM,GAAG,GAAGC,yBAAY,CAAC,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;AACvE,QAAA,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,kBAAkB,EAAE,GAAG,CAAC,EAAE;AACvE,YAAA,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;QACf;AACF,IAAA,CAAC;AACD,IAAA,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,IA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CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
1
|
+
{"version":3,"file":"selectDeclaredProjectInputKeys.js","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":["isTransformScratchInput","toProjectKey"],"mappings":";;;;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE;AACrD,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACvD,QAAA,IAAI,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;YAAE;AACxB,QAAA,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;AAClB,QAAA,IAAIA,+CAAuB,CAAC,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC;YAAE;AAC/D,QAAA,MAAM,GAAG,GAAGC,yBAAY,CAAC,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;AACvE,QAAA,IAAI,MAAM,CAAC,SAAS,CAAC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AC;AACxC,QAAA,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU;YAAE,GAAG,CAAC,KAAK,CAAC;;;AAGzD,IAAA,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE;AACrE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
@@ -23,8 +23,8 @@ import { isTransformScratchInput } from '../tsconfig/isTransformScratchInput.mjs
|
|
|
23
23
|
* Visits each reported occurrence in graph endpoints/globals/configs,
|
|
24
24
|
* candidates, host inputs and dependency arrays. Native resolve, scratch
|
|
25
25
|
* checks, project-key identity/ancestor/case observations and text hashing
|
|
26
|
-
* precede each own-key membership test
|
|
27
|
-
*
|
|
26
|
+
* precede each own-key membership test after lexical deduplication; repeated
|
|
27
|
+
* declarations pay resolution but no repeated native classification. Entry
|
|
28
28
|
* arrays from Object.entries/Object.values follow producer populations,
|
|
29
29
|
* while the returned set cannot exceed keys present in the project snapshot.
|
|
30
30
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work
|
|
@@ -40,10 +40,14 @@ function selectDeclaredProjectInputKeys(props) {
|
|
|
40
40
|
}
|
|
41
41
|
const graph = props.result.graph;
|
|
42
42
|
const keys = new Set();
|
|
43
|
+
const seen = new Set();
|
|
43
44
|
const add = (entry) => {
|
|
44
45
|
if (typeof entry !== "string" || entry.length === 0)
|
|
45
46
|
return;
|
|
46
47
|
const absolute = path.resolve(props.projectRoot, entry);
|
|
48
|
+
if (seen.has(absolute))
|
|
49
|
+
return;
|
|
50
|
+
seen.add(absolute);
|
|
47
51
|
if (isTransformScratchInput(absolute, props.scratchDirectory))
|
|
48
52
|
return;
|
|
49
53
|
const key = toProjectKey(props.projectRoot, absolute, props.identities);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectDeclaredProjectInputKeys.mjs","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE;AACrD,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACvD,QAAA,IAAI,uBAAuB,CAAC,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC;YAAE;AAC/D,QAAA,MAAM,GAAG,GAAG,YAAY,CAAC,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;AACvE,QAAA,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,kBAAkB,EAAE,GAAG,CAAC,EAAE;AACvE,YAAA,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;QACf;AACF,IAAA,CAAC;AACD,IAAA,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC,EAAE;QACjE,GAAG,CAA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KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
1
|
+
{"version":3,"file":"selectDeclaredProjectInputKeys.mjs","sources":["../../../../src/core/transform/envelope/selectDeclaredProjectInputKeys.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACG,SAAU,8BAA8B,CAAC,KAM9C,EAAA;AACC,IAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,EAAE;AACvE,QAAA,OAAO,SAAS;IAClB;AACA,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;AAChC,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU;AAC9B,IAAA,MAAM,GAAG,GAAG,CAAC,KAAc,KAAU;QACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE;AACrD,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC;AACvD,QAAA,IAAI,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;YAAE;AACxB,QAAA,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;AAClB,QAAA,IAAI,uBAAuB,CAAC,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC;YAAE;AAC/D,QAAA,MAAM,GAAG,GAAG,YAAY,CAAC,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;AACvE,QAAA,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,kBAAkB,EAAE,GAAG,CAA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C,UAAU;YAAE,GAAG,CAAC,KAAK,CAAC;;;AAGzD,IAAA,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,EAAE,CAAC,EAAE;AACrE,QAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YAAE,KAAK,MAAM,KAAK,IAAI,QAAQ;gBAAE,GAAG,CAAC,KAAK,CAAC;IACvE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
@@ -26,17 +26,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
26
26
|
* @evidence contracts/performance.md#efficient-algorithms
|
|
27
27
|
* Cold graph index construction precedes separate scans of output, graph,
|
|
28
28
|
* candidate, dependency and host lists, followed by every collected member's
|
|
29
|
-
* filter pass.
|
|
30
|
-
* observations
|
|
31
|
-
* seen. Native path/ancestor/case, existence and walk policy/component checks
|
|
29
|
+
* filter pass. Lexical deduplication precedes native identity/candidate/walk
|
|
30
|
+
* observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
|
|
32
31
|
* add costs to list/key text. Collected members, candidate/seen sets and
|
|
33
32
|
* output allocate population-sized storage; final string sorting adds output
|
|
34
33
|
* comparison work.
|
|
35
34
|
* @evidence contracts/performance.md#reuse-equivalent-work
|
|
36
35
|
* Generation state shares completed graph parsing, while this call's native
|
|
37
36
|
* identity context reuses its qualified path observations. The sets dedupe
|
|
38
|
-
*
|
|
39
|
-
* every repeated classification. Supplied filesystem, producer-derived state
|
|
37
|
+
* every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
|
|
40
38
|
* and membership policy must represent the same stable generation view.
|
|
41
39
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
|
|
42
40
|
* Its collections are local to the call and released on return; only the
|
|
@@ -26,17 +26,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
26
26
|
* @evidence contracts/performance.md#efficient-algorithms
|
|
27
27
|
* Cold graph index construction precedes separate scans of output, graph,
|
|
28
28
|
* candidate, dependency and host lists, followed by every collected member's
|
|
29
|
-
* filter pass.
|
|
30
|
-
* observations
|
|
31
|
-
* seen. Native path/ancestor/case, existence and walk policy/component checks
|
|
29
|
+
* filter pass. Lexical deduplication precedes native identity/candidate/walk
|
|
30
|
+
* observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
|
|
32
31
|
* add costs to list/key text. Collected members, candidate/seen sets and
|
|
33
32
|
* output allocate population-sized storage; final string sorting adds output
|
|
34
33
|
* comparison work.
|
|
35
34
|
* @evidence contracts/performance.md#reuse-equivalent-work
|
|
36
35
|
* Generation state shares completed graph parsing, while this call's native
|
|
37
36
|
* identity context reuses its qualified path observations. The sets dedupe
|
|
38
|
-
*
|
|
39
|
-
* every repeated classification. Supplied filesystem, producer-derived state
|
|
37
|
+
* every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
|
|
40
38
|
* and membership policy must represent the same stable generation view.
|
|
41
39
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
|
|
42
40
|
* Its collections are local to the call and released on return; only the
|
|
@@ -26,17 +26,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
26
26
|
* @evidence contracts/performance.md#efficient-algorithms
|
|
27
27
|
* Cold graph index construction precedes separate scans of output, graph,
|
|
28
28
|
* candidate, dependency and host lists, followed by every collected member's
|
|
29
|
-
* filter pass.
|
|
30
|
-
* observations
|
|
31
|
-
* seen. Native path/ancestor/case, existence and walk policy/component checks
|
|
29
|
+
* filter pass. Lexical deduplication precedes native identity/candidate/walk
|
|
30
|
+
* observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
|
|
32
31
|
* add costs to list/key text. Collected members, candidate/seen sets and
|
|
33
32
|
* output allocate population-sized storage; final string sorting adds output
|
|
34
33
|
* comparison work.
|
|
35
34
|
* @evidence contracts/performance.md#reuse-equivalent-work
|
|
36
35
|
* Generation state shares completed graph parsing, while this call's native
|
|
37
36
|
* identity context reuses its qualified path observations. The sets dedupe
|
|
38
|
-
*
|
|
39
|
-
* every repeated classification. Supplied filesystem, producer-derived state
|
|
37
|
+
* every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
|
|
40
38
|
* and membership policy must represent the same stable generation view.
|
|
41
39
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
|
|
42
40
|
* Its collections are local to the call and released on return; only the
|
|
@@ -34,17 +34,15 @@ var envelopeGraphIndexes = require('./envelopeGraphIndexes.js');
|
|
|
34
34
|
* @evidence contracts/performance.md#efficient-algorithms
|
|
35
35
|
* Cold graph index construction precedes separate scans of output, graph,
|
|
36
36
|
* candidate, dependency and host lists, followed by every collected member's
|
|
37
|
-
* filter pass.
|
|
38
|
-
* observations
|
|
39
|
-
* seen. Native path/ancestor/case, existence and walk policy/component checks
|
|
37
|
+
* filter pass. Lexical deduplication precedes native identity/candidate/walk
|
|
38
|
+
* observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
|
|
40
39
|
* add costs to list/key text. Collected members, candidate/seen sets and
|
|
41
40
|
* output allocate population-sized storage; final string sorting adds output
|
|
42
41
|
* comparison work.
|
|
43
42
|
* @evidence contracts/performance.md#reuse-equivalent-work
|
|
44
43
|
* Generation state shares completed graph parsing, while this call's native
|
|
45
44
|
* identity context reuses its qualified path observations. The sets dedupe
|
|
46
|
-
*
|
|
47
|
-
* every repeated classification. Supplied filesystem, producer-derived state
|
|
45
|
+
* every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
|
|
48
46
|
* and membership policy must represent the same stable generation view.
|
|
49
47
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
|
|
50
48
|
* Its collections are local to the call and released on return; only the
|
|
@@ -137,6 +135,11 @@ function selectExternalInputPaths(props) {
|
|
|
137
135
|
}
|
|
138
136
|
const absolute = path.resolve(props.projectRoot, member);
|
|
139
137
|
const spelling = path.resolve(absolute);
|
|
138
|
+
// Classify each lexical address once, including rejected walk members.
|
|
139
|
+
// Physical aliases remain distinct so retargeting is still observable.
|
|
140
|
+
if (seen.has(spelling))
|
|
141
|
+
continue;
|
|
142
|
+
seen.add(spelling);
|
|
140
143
|
const identity = pathIdentityKey.pathIdentityKey(absolute, identities);
|
|
141
144
|
const observation = graphIndexes.inputObservations.get(spelling);
|
|
142
145
|
const missingCandidate = resolutionCandidates.has(spelling) &&
|
|
@@ -144,14 +147,12 @@ function selectExternalInputPaths(props) {
|
|
|
144
147
|
(observation === undefined && !filesystem.exists(absolute)));
|
|
145
148
|
if (identity === excluded ||
|
|
146
149
|
isTransformScratchInput.isTransformScratchInput(absolute, props.scratchDirectory) ||
|
|
147
|
-
seen.has(spelling) ||
|
|
148
150
|
(!missingCandidate &&
|
|
149
151
|
isProjectWalkPath.isProjectWalkPath(props.projectRoot, absolute, identities, filesystem, props.membershipPolicy))) {
|
|
150
152
|
continue;
|
|
151
153
|
}
|
|
152
154
|
// Preserve distinct lexical aliases even when they currently select the
|
|
153
155
|
// same physical file. A later retarget must validate the alias itself.
|
|
154
|
-
seen.add(spelling);
|
|
155
156
|
output.push(absolute);
|
|
156
157
|
}
|
|
157
158
|
output.sort();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectExternalInputPaths.js","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":["DEFAULT_FILESYSTEM_OPERATIONS","createHostPathIdentityContext","envelopeDerivation","envelopeGraphIndexes","pathIdentityKey","isTransformScratchInput","isProjectWalkPath"],"mappings":";;;;;;;;;;;AAaA
|
|
1
|
+
{"version":3,"file":"selectExternalInputPaths.js","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":["DEFAULT_FILESYSTEM_OPERATIONS","createHostPathIdentityContext","envelopeDerivation","envelopeGraphIndexes","pathIdentityKey","isTransformScratchInput","isProjectWal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GA,+BAAe,CAAC,QAAQ,EAAE,UAAU,CAAC;QACtD,MAAM,WAAW,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,CAAC,QAAQ,CAAC;AAChE,QAAA,MAAM,gBAAgB,GACpB,oBAAoB,CAAC,GAAG,CAAC,QAAQ,CAAC;AAClC,aAAC,WAAW,EAAE,UAAU,KAAK,KAAK;AAChC,iBAAC,WAAW,KAAK,SAAS,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAChE,IACE,QAAQ,KAAK,QAAQ;AACrB,YAAAC,+CAAuB,CAAC,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC;AACzD,aAAC,CAAC,gBAAgB;AAChB,gBAAAC,mCAAiB,CACf,KAAK,CAAC,WAAW,EACjB,QAAQ,EACR,UAAU,EACV,UAAU,EACV,KAAK,CAAC,gBAAgB,CACvB,CAAC,EACJ;YACA;QACF;;;AAGA,QAAA,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACvB;IACA,MAAM,CAAC,IAAI,EAAE;AACb,IAAA,OAAO,MAAM;AACf;;;;"}
|
|
@@ -32,17 +32,15 @@ import { envelopeGraphIndexes } from './envelopeGraphIndexes.mjs';
|
|
|
32
32
|
* @evidence contracts/performance.md#efficient-algorithms
|
|
33
33
|
* Cold graph index construction precedes separate scans of output, graph,
|
|
34
34
|
* candidate, dependency and host lists, followed by every collected member's
|
|
35
|
-
* filter pass.
|
|
36
|
-
* observations
|
|
37
|
-
* seen. Native path/ancestor/case, existence and walk policy/component checks
|
|
35
|
+
* filter pass. Lexical deduplication precedes native identity/candidate/walk
|
|
36
|
+
* observations, including rejected members; distinct aliases stay separate. Native path/ancestor/case, existence and walk policy/component checks
|
|
38
37
|
* add costs to list/key text. Collected members, candidate/seen sets and
|
|
39
38
|
* output allocate population-sized storage; final string sorting adds output
|
|
40
39
|
* comparison work.
|
|
41
40
|
* @evidence contracts/performance.md#reuse-equivalent-work
|
|
42
41
|
* Generation state shares completed graph parsing, while this call's native
|
|
43
42
|
* identity context reuses its qualified path observations. The sets dedupe
|
|
44
|
-
*
|
|
45
|
-
* every repeated classification. Supplied filesystem, producer-derived state
|
|
43
|
+
* every lexical classification and mark candidate membership. Supplied filesystem, producer-derived state
|
|
46
44
|
* and membership policy must represent the same stable generation view.
|
|
47
45
|
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources
|
|
48
46
|
* Its collections are local to the call and released on return; only the
|
|
@@ -135,6 +133,11 @@ function selectExternalInputPaths(props) {
|
|
|
135
133
|
}
|
|
136
134
|
const absolute = path.resolve(props.projectRoot, member);
|
|
137
135
|
const spelling = path.resolve(absolute);
|
|
136
|
+
// Classify each lexical address once, including rejected walk members.
|
|
137
|
+
// Physical aliases remain distinct so retargeting is still observable.
|
|
138
|
+
if (seen.has(spelling))
|
|
139
|
+
continue;
|
|
140
|
+
seen.add(spelling);
|
|
138
141
|
const identity = pathIdentityKey(absolute, identities);
|
|
139
142
|
const observation = graphIndexes.inputObservations.get(spelling);
|
|
140
143
|
const missingCandidate = resolutionCandidates.has(spelling) &&
|
|
@@ -142,14 +145,12 @@ function selectExternalInputPaths(props) {
|
|
|
142
145
|
(observation === undefined && !filesystem.exists(absolute)));
|
|
143
146
|
if (identity === excluded ||
|
|
144
147
|
isTransformScratchInput(absolute, props.scratchDirectory) ||
|
|
145
|
-
seen.has(spelling) ||
|
|
146
148
|
(!missingCandidate &&
|
|
147
149
|
isProjectWalkPath(props.projectRoot, absolute, identities, filesystem, props.membershipPolicy))) {
|
|
148
150
|
continue;
|
|
149
151
|
}
|
|
150
152
|
// Preserve distinct lexical aliases even when they currently select the
|
|
151
153
|
// same physical file. A later retarget must validate the alias itself.
|
|
152
|
-
seen.add(spelling);
|
|
153
154
|
output.push(absolute);
|
|
154
155
|
}
|
|
155
156
|
output.sort();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectExternalInputPaths.mjs","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAaA
|
|
1
|
+
{"version":3,"file":"selectExternalInputPaths.mjs","sources":["../../../../src/core/transform/envelope/selectExternalInputPaths.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCG;AACG,SAAU,wBAAwB,CAAC,KAOxC,EAAA;IACC,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,WAAW,EAAE;AACrC,QAAA,OAAO,EAAE;IACX;IACA,MAAM,OAAO,GAAa,EAAE;AAC5B,IAAA,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,IAAI,6BAA6B;AACpE,IAAA,MAAM,UAAU,GAAG,6BAA6B,CAAC,UAAU,CAAC;AAC5D,IAAA,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAU;AAC9C,IAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK;IAChC,MAAM,UAAU,GAAG,kBAAkB,CAAC;QACpC,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;AACrB,KAAA,CAAC;AACF,IAAA,MAAM,YAAY,GAAG,oBAAoB,CAAC,UAAU,EAAE;QACpD,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;AACrB,KAAA,CAAC;;;;AAIF,IAAA,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC;AAC9D,QAAA,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC;AAC7B,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACvB,QAAA,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,EAAE,CAAC,EAAE;AACjE,YAAA,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,CAAC;;;AAGvC,QAAA,IAAI,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;YAAE;AACxB,QAAA,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;QAClB,MAAM,QAAQ,GAAG,eAAe,CAAC,QAAQ,EAAE,UAAU,CAAC;QACtD,MAAM,WAAW,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,CAAC,QAAQ,CAAC;AAChE,QAAA,MAAM,gBAAgB,GACpB,oBAAoB,CAAC,GAAG,CAAC,QAAQ,CAAC;AAClC,aAAC,WAAW,EAAE,UAAU,KAAK,KAAK;AAChC,iBAAC,WAAW,KAAK,SAAS,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAChE,IACE,QAAQ,KAAK,QAAQ;AACrB,YAAA,uBAAuB,CAAC,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC;AACzD,aAAC,CAAC,gBAAgB;AAChB,gBAAA,iBAAiB,CACf,KAAK,CAAC,WAAW,EACjB,QAAQ,EACR,UAAU,EACV,UAAU,EACV,KAAK,CAAC,gBAAgB,CACvB,CAAC,EACJ;YACA;QACF;;;AAGA,QAAA,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACvB;IACA,MAAM,CAAC,IAAI,EAAE;AACb,IAAA,OAAO,MAAM;AACf;;;;"}
|
|
@@ -186,23 +186,26 @@ export interface TtscTransformFilesystemOperations {
|
|
|
186
186
|
* Open one directory's change notification, or throw when the observed
|
|
187
187
|
* filesystem cannot provide one.
|
|
188
188
|
*
|
|
189
|
-
* Left undefined, generations watch the host filesystem
|
|
190
|
-
*
|
|
191
|
-
* observing another filesystem supplies its own;
|
|
192
|
-
* cannot be opened keeps validating from recorded
|
|
193
|
-
* cache.
|
|
189
|
+
* Left undefined, generations watch the host filesystem through the native
|
|
190
|
+
* Linux helper, the native Windows completion-port helper, or the macOS
|
|
191
|
+
* FSEvents broker. An embedder observing another filesystem supplies its own;
|
|
192
|
+
* a generation whose watch cannot be opened keeps validating from recorded
|
|
193
|
+
* state instead of losing its cache.
|
|
194
194
|
*
|
|
195
|
-
* Supplying one
|
|
196
|
-
*
|
|
197
|
-
* the native abort
|
|
198
|
-
* tree is deleted
|
|
199
|
-
*
|
|
195
|
+
* Supplying one bypasses these native owners. Wrapping Node's `fs.watch`
|
|
196
|
+
* reintroduces Windows access-only notifications that invalidate unchanged
|
|
197
|
+
* inputs, and the native abort its fs-event backend can raise when a watched
|
|
198
|
+
* temporary tree is deleted. It also gives up explicit notification-loss
|
|
199
|
+
* reporting from the Linux helper and macOS's per-watch FSEventStream.
|
|
200
|
+
* Preserve mutation and loss reporting when implementing this capability;
|
|
201
|
+
* timestamps or identical current bytes cannot discard an actual A-B-A
|
|
202
|
+
* event.
|
|
200
203
|
*
|
|
201
204
|
* @evidence contracts/common.md#principled-implementation The watch capability reports actual directory changes and failure; its absence or failure cannot certify silence as unchanged inputs.
|
|
202
205
|
* @evidence contracts/common.md#clear-and-simple-design One optional native operation exposes observation and a close handle, leaving broker selection and retained-generation proof in their owners.
|
|
203
206
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Injected watches are explicit capabilities rather than patched fs methods, and errors require recorded-state validation instead of synthetic live coverage.
|
|
204
|
-
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain
|
|
205
|
-
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for
|
|
207
|
+
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain default owners, failed watches, explicit override authority, access-only noise, native aborts and mutation/loss reporting that a direct fs.watch wrapper cannot supply.
|
|
208
|
+
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for native Windows mutation filtering and Linux/macOS loss reporting rather than assuming recursive notifications are interchangeable.
|
|
206
209
|
* @evidenceExclude contracts/performance.md#efficient-algorithms
|
|
207
210
|
* Only the signature of watch is declared here; the cost belongs to its
|
|
208
211
|
* implementation.
|
|
@@ -186,23 +186,26 @@ export interface TtscTransformFilesystemOperations {
|
|
|
186
186
|
* Open one directory's change notification, or throw when the observed
|
|
187
187
|
* filesystem cannot provide one.
|
|
188
188
|
*
|
|
189
|
-
* Left undefined, generations watch the host filesystem
|
|
190
|
-
*
|
|
191
|
-
* observing another filesystem supplies its own;
|
|
192
|
-
* cannot be opened keeps validating from recorded
|
|
193
|
-
* cache.
|
|
189
|
+
* Left undefined, generations watch the host filesystem through the native
|
|
190
|
+
* Linux helper, the native Windows completion-port helper, or the macOS
|
|
191
|
+
* FSEvents broker. An embedder observing another filesystem supplies its own;
|
|
192
|
+
* a generation whose watch cannot be opened keeps validating from recorded
|
|
193
|
+
* state instead of losing its cache.
|
|
194
194
|
*
|
|
195
|
-
* Supplying one
|
|
196
|
-
*
|
|
197
|
-
* the native abort
|
|
198
|
-
* tree is deleted
|
|
199
|
-
*
|
|
195
|
+
* Supplying one bypasses these native owners. Wrapping Node's `fs.watch`
|
|
196
|
+
* reintroduces Windows access-only notifications that invalidate unchanged
|
|
197
|
+
* inputs, and the native abort its fs-event backend can raise when a watched
|
|
198
|
+
* temporary tree is deleted. It also gives up explicit notification-loss
|
|
199
|
+
* reporting from the Linux helper and macOS's per-watch FSEventStream.
|
|
200
|
+
* Preserve mutation and loss reporting when implementing this capability;
|
|
201
|
+
* timestamps or identical current bytes cannot discard an actual A-B-A
|
|
202
|
+
* event.
|
|
200
203
|
*
|
|
201
204
|
* @evidence contracts/common.md#principled-implementation The watch capability reports actual directory changes and failure; its absence or failure cannot certify silence as unchanged inputs.
|
|
202
205
|
* @evidence contracts/common.md#clear-and-simple-design One optional native operation exposes observation and a close handle, leaving broker selection and retained-generation proof in their owners.
|
|
203
206
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Injected watches are explicit capabilities rather than patched fs methods, and errors require recorded-state validation instead of synthetic live coverage.
|
|
204
|
-
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain
|
|
205
|
-
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for
|
|
207
|
+
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain default owners, failed watches, explicit override authority, access-only noise, native aborts and mutation/loss reporting that a direct fs.watch wrapper cannot supply.
|
|
208
|
+
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for native Windows mutation filtering and Linux/macOS loss reporting rather than assuming recursive notifications are interchangeable.
|
|
206
209
|
* @evidenceExclude contracts/performance.md#efficient-algorithms
|
|
207
210
|
* Only the signature of watch is declared here; the cost belongs to its
|
|
208
211
|
* implementation.
|
|
@@ -186,23 +186,26 @@ export interface TtscTransformFilesystemOperations {
|
|
|
186
186
|
* Open one directory's change notification, or throw when the observed
|
|
187
187
|
* filesystem cannot provide one.
|
|
188
188
|
*
|
|
189
|
-
* Left undefined, generations watch the host filesystem
|
|
190
|
-
*
|
|
191
|
-
* observing another filesystem supplies its own;
|
|
192
|
-
* cannot be opened keeps validating from recorded
|
|
193
|
-
* cache.
|
|
189
|
+
* Left undefined, generations watch the host filesystem through the native
|
|
190
|
+
* Linux helper, the native Windows completion-port helper, or the macOS
|
|
191
|
+
* FSEvents broker. An embedder observing another filesystem supplies its own;
|
|
192
|
+
* a generation whose watch cannot be opened keeps validating from recorded
|
|
193
|
+
* state instead of losing its cache.
|
|
194
194
|
*
|
|
195
|
-
* Supplying one
|
|
196
|
-
*
|
|
197
|
-
* the native abort
|
|
198
|
-
* tree is deleted
|
|
199
|
-
*
|
|
195
|
+
* Supplying one bypasses these native owners. Wrapping Node's `fs.watch`
|
|
196
|
+
* reintroduces Windows access-only notifications that invalidate unchanged
|
|
197
|
+
* inputs, and the native abort its fs-event backend can raise when a watched
|
|
198
|
+
* temporary tree is deleted. It also gives up explicit notification-loss
|
|
199
|
+
* reporting from the Linux helper and macOS's per-watch FSEventStream.
|
|
200
|
+
* Preserve mutation and loss reporting when implementing this capability;
|
|
201
|
+
* timestamps or identical current bytes cannot discard an actual A-B-A
|
|
202
|
+
* event.
|
|
200
203
|
*
|
|
201
204
|
* @evidence contracts/common.md#principled-implementation The watch capability reports actual directory changes and failure; its absence or failure cannot certify silence as unchanged inputs.
|
|
202
205
|
* @evidence contracts/common.md#clear-and-simple-design One optional native operation exposes observation and a close handle, leaving broker selection and retained-generation proof in their owners.
|
|
203
206
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Injected watches are explicit capabilities rather than patched fs methods, and errors require recorded-state validation instead of synthetic live coverage.
|
|
204
|
-
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain
|
|
205
|
-
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for
|
|
207
|
+
* @evidence contracts/common.md#meaningful-documentation The native paragraphs explain default owners, failed watches, explicit override authority, access-only noise, native aborts and mutation/loss reporting that a direct fs.watch wrapper cannot supply.
|
|
208
|
+
* @evidence contracts/portability.md#os-neutral-implementation OS-neutral watching requires the observed filesystem's capability and accounts for native Windows mutation filtering and Linux/macOS loss reporting rather than assuming recursive notifications are interchangeable.
|
|
206
209
|
* @evidenceExclude contracts/performance.md#efficient-algorithms
|
|
207
210
|
* Only the signature of watch is declared here; the cost belongs to its
|
|
208
211
|
* implementation.
|
|
@@ -59,7 +59,7 @@ function captureFailedGenerationInputStates(cached, failures) {
|
|
|
59
59
|
? {
|
|
60
60
|
environment: pluginSource.PluginBuildEnvironmentReadings.cached(input),
|
|
61
61
|
}
|
|
62
|
-
: undefined) ?? MISSING_INPUT_STATE.MISSING_INPUT_STATE,
|
|
62
|
+
: undefined, cached.projectRoot) ?? MISSING_INPUT_STATE.MISSING_INPUT_STATE,
|
|
63
63
|
tree: true,
|
|
64
64
|
},
|
|
65
65
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captureFailedGenerationInputStates.js","sources":["../../../../src/core/transform/generation/captureFailedGenerationInputStates.ts"],"sourcesContent":[null],"names":["resultFilesystem","selectPersistentHostInputs","selectPluginSourceInputs","pluginSourceState","usesPreparedPluginBuildEnvironments","PluginBuildEnvironmentReadings","MISSING_INPUT_STATE","inputMetadataEvidence","failedGenerationInputState"],"mappings":";;;;;;;;;;;;;AAeA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,kCAAkC,CAChD,MAAkC,EAClC,QAAqC,EAAA;IAErC,MAAM,UAAU,GAAGA,iCAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,MAAM,GAAG,IAAI,GAAG,CACpB,CAAC,MAAM,CAAC,kBAAkB,IAAI,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACtE;AACD,IAAA,KAAK,MAAM,KAAK,IAAIC,qDAA0B,CAAC;QAC7C,UAAU;QACV,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC5C,KAAA,CAAC,EAAE;QACF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACjC;AACA,IAAA,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE;AACtC,QAAA,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS;AAAE,YAAA,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE;IACA,MAAM,KAAK,GAAGC,iDAAwB,CAAC,MAAM,CAAC,MAAM,CAAC;AACrD,IAAA,OAAO,IAAI,GAAG,CACZ,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,KAAI;AAC9D,QAAA,IAAI,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YACpB,OAAO;gBACL,KAAK;AACL,gBAAA;oBACE,KAAK,EACHC,mCAAiB,CACf,KAAK,EACLC,kEAAmC,CAAC,MAAM,CAAC,MAAM;AAC/C,0BAAE;AACE,4BAAA,WAAW,EAAEC,2CAA8B,CAAC,MAAM,CAAC,KAAK,CAAC;AAC1D;
|
|
1
|
+
{"version":3,"file":"captureFailedGenerationInputStates.js","sources":["../../../../src/core/transform/generation/captureFailedGenerationInputStates.ts"],"sourcesContent":[null],"names":["resultFilesystem","selectPersistentHostInputs","selectPluginSourceInputs","pluginSourceState","usesPreparedPluginBuildEnvironments","PluginBuildEnvironmentReadings","MISSING_INPUT_STATE","inputMetadataEvidence","failedGenerationInputState"],"mappings":";;;;;;;;;;;;;AAeA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,kCAAkC,CAChD,MAAkC,EAClC,QAAqC,EAAA;IAErC,MAAM,UAAU,GAAGA,iCAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,MAAM,GAAG,IAAI,GAAG,CACpB,CAAC,MAAM,CAAC,kBAAkB,IAAI,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACtE;AACD,IAAA,KAAK,MAAM,KAAK,IAAIC,qDAA0B,CAAC;QAC7C,UAAU;QACV,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC5C,KAAA,CAAC,EAAE;QACF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACjC;AACA,IAAA,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE;AACtC,QAAA,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS;AAAE,YAAA,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE;IACA,MAAM,KAAK,GAAGC,iDAAwB,CAAC,MAAM,CAAC,MAAM,CAAC;AACrD,IAAA,OAAO,IAAI,GAAG,CACZ,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,KAAI;AAC9D,QAAA,IAAI,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YACpB,OAAO;gBACL,KAAK;AACL,gBAAA;oBACE,KAAK,EACHC,mCAAiB,CACf,KAAK,EACLC,kEAAmC,CAAC,MAAM,CAAC,MAAM;AAC/C,0BAAE;AACE,4BAAA,WAAW,EAAEC,2CAA8B,CAAC,MAAM,CAAC,KAAK,CAAC;AAC1D;0BACD,SAAS,EACb,MAAM,CAAC,WAAW,CACnB,IAAIC,uCAAmB;AAC1B,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA;aACF;QACH;;;QAGA,MAAM,QAAQ,GAAGC,2CAAqB,CAAC,KAAK,EAAE,UAAU,CAAC;QACzD,OAAO;YACL,KAAK;AACL,YAAA;AACE,gBAAA,IAAI,QAAQ,EAAE,SAAS,KAAK;AAC1B,sBAAE,EAAE,SAAS,EAAE,QAAQ,CAAC,SAAS;sBAC/B,EAAE,CAAC;AACP,gBAAA,KAAK,EAAEC,qDAA0B,CAAC,KAAK,EAAE,UAAU,CAAC;AACrD,aAAA;SACF;IACH,CAAC,CAAC,CACH;AACH;;;;"}
|
|
@@ -57,7 +57,7 @@ function captureFailedGenerationInputStates(cached, failures) {
|
|
|
57
57
|
? {
|
|
58
58
|
environment: PluginBuildEnvironmentReadings.cached(input),
|
|
59
59
|
}
|
|
60
|
-
: undefined) ?? MISSING_INPUT_STATE,
|
|
60
|
+
: undefined, cached.projectRoot) ?? MISSING_INPUT_STATE,
|
|
61
61
|
tree: true,
|
|
62
62
|
},
|
|
63
63
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captureFailedGenerationInputStates.mjs","sources":["../../../../src/core/transform/generation/captureFailedGenerationInputStates.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAeA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,kCAAkC,CAChD,MAAkC,EAClC,QAAqC,EAAA;IAErC,MAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,MAAM,GAAG,IAAI,GAAG,CACpB,CAAC,MAAM,CAAC,kBAAkB,IAAI,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACtE;AACD,IAAA,KAAK,MAAM,KAAK,IAAI,0BAA0B,CAAC;QAC7C,UAAU;QACV,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC5C,KAAA,CAAC,EAAE;QACF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACjC;AACA,IAAA,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE;AACtC,QAAA,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS;AAAE,YAAA,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE;IACA,MAAM,KAAK,GAAG,wBAAwB,CAAC,MAAM,CAAC,MAAM,CAAC;AACrD,IAAA,OAAO,IAAI,GAAG,CACZ,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,KAAI;AAC9D,QAAA,IAAI,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YACpB,OAAO;gBACL,KAAK;AACL,gBAAA;oBACE,KAAK,EACH,iBAAiB,CACf,KAAK,EACL,mCAAmC,CAAC,MAAM,CAAC,MAAM;AAC/C,0BAAE;AACE,4BAAA,WAAW,EAAE,8BAA8B,CAAC,MAAM,CAAC,KAAK,CAAC;AAC1D;
|
|
1
|
+
{"version":3,"file":"captureFailedGenerationInputStates.mjs","sources":["../../../../src/core/transform/generation/captureFailedGenerationInputStates.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAeA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,kCAAkC,CAChD,MAAkC,EAClC,QAAqC,EAAA;IAErC,MAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,MAAM,GAAG,IAAI,GAAG,CACpB,CAAC,MAAM,CAAC,kBAAkB,IAAI,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACtE;AACD,IAAA,KAAK,MAAM,KAAK,IAAI,0BAA0B,CAAC;QAC7C,UAAU;QACV,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;AAC5C,KAAA,CAAC,EAAE;QACF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACjC;AACA,IAAA,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE;AACtC,QAAA,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS;AAAE,YAAA,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE;IACA,MAAM,KAAK,GAAG,wBAAwB,CAAC,MAAM,CAAC,MAAM,CAAC;AACrD,IAAA,OAAO,IAAI,GAAG,CACZ,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,KAAI;AAC9D,QAAA,IAAI,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YACpB,OAAO;gBACL,KAAK;AACL,gBAAA;oBACE,KAAK,EACH,iBAAiB,CACf,KAAK,EACL,mCAAmC,CAAC,MAAM,CAAC,MAAM;AAC/C,0BAAE;AACE,4BAAA,WAAW,EAAE,8BAA8B,CAAC,MAAM,CAAC,KAAK,CAAC;AAC1D;0BACD,SAAS,EACb,MAAM,CAAC,WAAW,CACnB,IAAI,mBAAmB;AAC1B,oBAAA,IAAI,EAAE,IAAI;AACX,iBAAA;aACF;QACH;;;QAGA,MAAM,QAAQ,GAAG,qBAAqB,CAAC,KAAK,EAAE,UAAU,CAAC;QACzD,OAAO;YACL,KAAK;AACL,YAAA;AACE,gBAAA,IAAI,QAAQ,EAAE,SAAS,KAAK;AAC1B,sBAAE,EAAE,SAAS,EAAE,QAAQ,CAAC,SAAS;sBAC/B,EAAE,CAAC;AACP,gBAAA,KAAK,EAAE,0BAA0B,CAAC,KAAK,EAAE,UAAU,CAAC;AACrD,aAAA;SACF;IACH,CAAC,CAAC,CACH;AACH;;;;"}
|
|
@@ -289,7 +289,7 @@ async function captureTransformGeneration(props) {
|
|
|
289
289
|
// Prepare native toolchain authority before post-compile admission. Its
|
|
290
290
|
// cold subprocess and SDK reads stay off this host's event loop, and the
|
|
291
291
|
// config/walk/notification checks below include that asynchronous window.
|
|
292
|
-
await preparePluginBuildEnvironments.preparePluginBuildEnvironments(result, props.filesystem);
|
|
292
|
+
await preparePluginBuildEnvironments.preparePluginBuildEnvironments(result, props.filesystem, undefined, projectRoot);
|
|
293
293
|
const { membershipPolicy, casePolicyLearned } = selectReportedMembershipPolicy.selectReportedMembershipPolicy(primedPolicy, result);
|
|
294
294
|
TRANSFORM_RESULT_MEMBERSHIP.TRANSFORM_RESULT_MEMBERSHIP.set(result, {
|
|
295
295
|
// Only the actual complete directory walk authorizes replacing a listing
|