@ttsc/unplugin 0.31.5 → 0.32.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/lib/core/bridge/TtscProjectRecord.d.cts +8 -0
- package/lib/core/bridge/TtscProjectRecord.d.mts +8 -0
- package/lib/core/bridge/TtscProjectRecord.d.ts +8 -0
- package/lib/core/bridge/readProjectRecordFile.js +5 -1
- package/lib/core/bridge/readProjectRecordFile.js.map +1 -1
- package/lib/core/bridge/readProjectRecordFile.mjs +5 -1
- package/lib/core/bridge/readProjectRecordFile.mjs.map +1 -1
- package/lib/core/observer/WatchScope.d.cts +3 -3
- package/lib/core/observer/WatchScope.d.mts +3 -3
- package/lib/core/observer/WatchScope.d.ts +3 -3
- package/lib/core/observer/createInputObserver.d.cts +7 -8
- package/lib/core/observer/createInputObserver.d.mts +7 -8
- package/lib/core/observer/createInputObserver.d.ts +7 -8
- package/lib/core/observer/createInputObserver.js +7 -8
- package/lib/core/observer/createInputObserver.js.map +1 -1
- package/lib/core/observer/createInputObserver.mjs +7 -8
- package/lib/core/observer/createInputObserver.mjs.map +1 -1
- package/lib/core/options/ResolvedTtscUnpluginOptions.d.cts +2 -0
- package/lib/core/options/ResolvedTtscUnpluginOptions.d.mts +2 -0
- package/lib/core/options/ResolvedTtscUnpluginOptions.d.ts +2 -0
- package/lib/core/options/TtscUnpluginOptions.d.cts +12 -2
- package/lib/core/options/TtscUnpluginOptions.d.mts +12 -2
- package/lib/core/options/TtscUnpluginOptions.d.ts +12 -2
- package/lib/core/options/resolveOptions.d.cts +4 -3
- package/lib/core/options/resolveOptions.d.mts +4 -3
- package/lib/core/options/resolveOptions.d.ts +4 -3
- package/lib/core/options/resolveOptions.js +5 -3
- package/lib/core/options/resolveOptions.js.map +1 -1
- package/lib/core/options/resolveOptions.mjs +5 -3
- package/lib/core/options/resolveOptions.mjs.map +1 -1
- package/lib/core/transform/TtscPrecompilation.d.cts +52 -0
- package/lib/core/transform/TtscPrecompilation.d.mts +52 -0
- package/lib/core/transform/TtscPrecompilation.d.ts +52 -0
- package/lib/core/transform/TtscPrecompilation.js +101 -0
- package/lib/core/transform/TtscPrecompilation.js.map +1 -0
- package/lib/core/transform/TtscPrecompilation.mjs +101 -0
- package/lib/core/transform/TtscPrecompilation.mjs.map +1 -0
- 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/cache/withdrawTtscTransformGenerations.js +2 -0
- package/lib/core/transform/cache/withdrawTtscTransformGenerations.js.map +1 -1
- package/lib/core/transform/cache/withdrawTtscTransformGenerations.mjs +2 -0
- package/lib/core/transform/cache/withdrawTtscTransformGenerations.mjs.map +1 -1
- package/lib/core/transform/envelope/generationCaseSensitivity.d.cts +32 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.d.mts +32 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.d.ts +32 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.js +39 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.js.map +1 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.mjs +37 -0
- package/lib/core/transform/envelope/generationCaseSensitivity.mjs.map +1 -0
- package/lib/core/transform/envelope/selectExternalInputPaths.js +2 -1
- package/lib/core/transform/envelope/selectExternalInputPaths.js.map +1 -1
- package/lib/core/transform/envelope/selectExternalInputPaths.mjs +2 -1
- package/lib/core/transform/envelope/selectExternalInputPaths.mjs.map +1 -1
- package/lib/core/transform/envelope/selectNotifiableAbsentInputs.js +2 -1
- package/lib/core/transform/envelope/selectNotifiableAbsentInputs.js.map +1 -1
- package/lib/core/transform/envelope/selectNotifiableAbsentInputs.mjs +2 -1
- package/lib/core/transform/envelope/selectNotifiableAbsentInputs.mjs.map +1 -1
- package/lib/core/transform/filesystem/createHostPathIdentityContext.d.cts +9 -1
- package/lib/core/transform/filesystem/createHostPathIdentityContext.d.mts +9 -1
- package/lib/core/transform/filesystem/createHostPathIdentityContext.d.ts +9 -1
- package/lib/core/transform/filesystem/createHostPathIdentityContext.js +10 -2
- package/lib/core/transform/filesystem/createHostPathIdentityContext.js.map +1 -1
- package/lib/core/transform/filesystem/createHostPathIdentityContext.mjs +10 -2
- package/lib/core/transform/filesystem/createHostPathIdentityContext.mjs.map +1 -1
- package/lib/core/transform/generation/captureTransformGeneration.d.cts +2 -0
- package/lib/core/transform/generation/captureTransformGeneration.d.mts +2 -0
- package/lib/core/transform/generation/captureTransformGeneration.d.ts +2 -0
- package/lib/core/transform/generation/captureTransformGeneration.js +17 -4
- package/lib/core/transform/generation/captureTransformGeneration.js.map +1 -1
- package/lib/core/transform/generation/captureTransformGeneration.mjs +17 -4
- package/lib/core/transform/generation/captureTransformGeneration.mjs.map +1 -1
- package/lib/core/transform/generation/selectPersistentHostInputs.js +2 -1
- package/lib/core/transform/generation/selectPersistentHostInputs.js.map +1 -1
- package/lib/core/transform/generation/selectPersistentHostInputs.mjs +2 -1
- package/lib/core/transform/generation/selectPersistentHostInputs.mjs.map +1 -1
- package/lib/core/transform/generation/transformProject.d.cts +2 -0
- package/lib/core/transform/generation/transformProject.d.mts +2 -0
- package/lib/core/transform/generation/transformProject.d.ts +2 -0
- package/lib/core/transform/generation/transformProject.js.map +1 -1
- package/lib/core/transform/generation/transformProject.mjs.map +1 -1
- package/lib/core/transform/inputs/nativeInputPredicateState.js.map +1 -1
- package/lib/core/transform/inputs/nativeInputPredicateState.mjs.map +1 -1
- package/lib/core/transform/tracker/createHostInputMutationTracker.d.cts +7 -1
- package/lib/core/transform/tracker/createHostInputMutationTracker.d.mts +7 -1
- package/lib/core/transform/tracker/createHostInputMutationTracker.d.ts +7 -1
- package/lib/core/transform/tracker/createHostInputMutationTracker.js +8 -2
- package/lib/core/transform/tracker/createHostInputMutationTracker.js.map +1 -1
- package/lib/core/transform/tracker/createHostInputMutationTracker.mjs +8 -2
- package/lib/core/transform/tracker/createHostInputMutationTracker.mjs.map +1 -1
- package/lib/core/transform/tracker/createProjectMutationTracker.d.cts +6 -4
- package/lib/core/transform/tracker/createProjectMutationTracker.d.mts +6 -4
- package/lib/core/transform/tracker/createProjectMutationTracker.d.ts +6 -4
- package/lib/core/transform/tracker/createProjectMutationTracker.js +29 -6
- package/lib/core/transform/tracker/createProjectMutationTracker.js.map +1 -1
- package/lib/core/transform/tracker/createProjectMutationTracker.mjs +29 -6
- package/lib/core/transform/tracker/createProjectMutationTracker.mjs.map +1 -1
- package/lib/core/transform/transformTtsc.d.cts +8 -24
- package/lib/core/transform/transformTtsc.d.mts +8 -24
- package/lib/core/transform/transformTtsc.d.ts +8 -24
- package/lib/core/transform/transformTtsc.js +56 -32
- package/lib/core/transform/transformTtsc.js.map +1 -1
- package/lib/core/transform/transformTtsc.mjs +56 -32
- package/lib/core/transform/transformTtsc.mjs.map +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.d.cts +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.d.mts +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.d.ts +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.js +12 -4
- package/lib/core/transform/validation/captureUniversalHostInputValidation.js.map +1 -1
- package/lib/core/transform/validation/captureUniversalHostInputValidation.mjs +12 -4
- package/lib/core/transform/validation/captureUniversalHostInputValidation.mjs.map +1 -1
- package/lib/core/transform/validation/matchesCachedSource.d.cts +9 -2
- package/lib/core/transform/validation/matchesCachedSource.d.mts +9 -2
- package/lib/core/transform/validation/matchesCachedSource.d.ts +9 -2
- package/lib/core/transform/validation/matchesCachedSource.js +11 -3
- package/lib/core/transform/validation/matchesCachedSource.js.map +1 -1
- package/lib/core/transform/validation/matchesCachedSource.mjs +11 -3
- package/lib/core/transform/validation/matchesCachedSource.mjs.map +1 -1
- package/lib/core/transform/watch/TtscTransformHooks.d.cts +9 -0
- package/lib/core/transform/watch/TtscTransformHooks.d.mts +9 -0
- package/lib/core/transform/watch/TtscTransformHooks.d.ts +9 -0
- package/lib/core/transform/watch/TtscWatchInputBaseline.d.cts +2 -1
- package/lib/core/transform/watch/TtscWatchInputBaseline.d.mts +2 -1
- package/lib/core/transform/watch/TtscWatchInputBaseline.d.ts +2 -1
- package/lib/core/transform/watch/isWatchInputKeyBaseline.js.map +1 -1
- package/lib/core/transform/watch/isWatchInputKeyBaseline.mjs.map +1 -1
- package/lib/core/transform/watch/notifyProjectRecord.d.cts +3 -4
- package/lib/core/transform/watch/notifyProjectRecord.d.mts +3 -4
- package/lib/core/transform/watch/notifyProjectRecord.d.ts +3 -4
- package/lib/core/transform/watch/notifyProjectRecord.js +5 -4
- package/lib/core/transform/watch/notifyProjectRecord.js.map +1 -1
- package/lib/core/transform/watch/notifyProjectRecord.mjs +5 -4
- package/lib/core/transform/watch/notifyProjectRecord.mjs.map +1 -1
- package/lib/core/transform/watch/recordedDependencyWitnesses.d.cts +30 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.d.mts +30 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.d.ts +30 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.js +51 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.js.map +1 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.mjs +49 -0
- package/lib/core/transform/watch/recordedDependencyWitnesses.mjs.map +1 -0
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.d.cts +1 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.d.mts +1 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.d.ts +1 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.js +1 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.js.map +1 -1
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.mjs +1 -2
- package/lib/core/transform/watch/watchInputEvidenceMatchesBaseline.mjs.map +1 -1
- package/lib/core/tsconfig/TsconfigReadTransaction.d.cts +11 -8
- package/lib/core/tsconfig/TsconfigReadTransaction.d.mts +11 -8
- package/lib/core/tsconfig/TsconfigReadTransaction.d.ts +11 -8
- package/lib/core/tsconfig/TsconfigReadTransaction.js +11 -8
- package/lib/core/tsconfig/TsconfigReadTransaction.js.map +1 -1
- package/lib/core/tsconfig/TsconfigReadTransaction.mjs +11 -8
- package/lib/core/tsconfig/TsconfigReadTransaction.mjs.map +1 -1
- package/lib/core/tsconfig/findDeclaredCompilerOption.d.cts +3 -2
- package/lib/core/tsconfig/findDeclaredCompilerOption.d.mts +3 -2
- package/lib/core/tsconfig/findDeclaredCompilerOption.d.ts +3 -2
- package/lib/core/tsconfig/findDeclaredCompilerOption.js +3 -2
- package/lib/core/tsconfig/findDeclaredCompilerOption.js.map +1 -1
- package/lib/core/tsconfig/findDeclaredCompilerOption.mjs +3 -2
- package/lib/core/tsconfig/findDeclaredCompilerOption.mjs.map +1 -1
- package/lib/core/tsconfig/findDeclaredFileSpecs.d.cts +3 -2
- package/lib/core/tsconfig/findDeclaredFileSpecs.d.mts +3 -2
- package/lib/core/tsconfig/findDeclaredFileSpecs.d.ts +3 -2
- package/lib/core/tsconfig/findDeclaredFileSpecs.js +3 -2
- package/lib/core/tsconfig/findDeclaredFileSpecs.js.map +1 -1
- package/lib/core/tsconfig/findDeclaredFileSpecs.mjs +3 -2
- package/lib/core/tsconfig/findDeclaredFileSpecs.mjs.map +1 -1
- package/lib/core/tsconfig/findDeclaredPaths.d.cts +3 -3
- package/lib/core/tsconfig/findDeclaredPaths.d.mts +3 -3
- package/lib/core/tsconfig/findDeclaredPaths.d.ts +3 -3
- package/lib/core/tsconfig/findDeclaredPaths.js +2 -2
- package/lib/core/tsconfig/findDeclaredPaths.mjs +2 -2
- package/lib/core/tsconfig/findDeclaredValue.d.cts +2 -1
- package/lib/core/tsconfig/findDeclaredValue.d.mts +2 -1
- package/lib/core/tsconfig/findDeclaredValue.d.ts +2 -1
- package/lib/core/tsconfig/findDeclaredValue.js +2 -1
- package/lib/core/tsconfig/findDeclaredValue.js.map +1 -1
- package/lib/core/tsconfig/findDeclaredValue.mjs +2 -1
- package/lib/core/tsconfig/findDeclaredValue.mjs.map +1 -1
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateCompilerOptions.js +1 -1
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateCompilerOptions.mjs +1 -1
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.d.cts +2 -2
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.d.mts +2 -2
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.d.ts +2 -2
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.js +2 -2
- package/lib/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.mjs +2 -2
- package/lib/core/tsconfig/readProjectMembershipPolicy.d.cts +3 -3
- package/lib/core/tsconfig/readProjectMembershipPolicy.d.mts +3 -3
- package/lib/core/tsconfig/readProjectMembershipPolicy.d.ts +3 -3
- package/lib/core/tsconfig/readProjectMembershipPolicy.js +4 -4
- package/lib/core/tsconfig/readProjectMembershipPolicy.mjs +4 -4
- package/lib/core/unplugin.js +14 -0
- package/lib/core/unplugin.js.map +1 -1
- package/lib/core/unplugin.mjs +14 -0
- package/lib/core/unplugin.mjs.map +1 -1
- package/lib/core/vite/installViteDependencyScanPlugins.d.cts +46 -0
- package/lib/core/vite/installViteDependencyScanPlugins.d.mts +46 -0
- package/lib/core/vite/installViteDependencyScanPlugins.d.ts +46 -0
- package/lib/core/vite/installViteDependencyScanPlugins.js +186 -0
- package/lib/core/vite/installViteDependencyScanPlugins.js.map +1 -0
- package/lib/core/vite/installViteDependencyScanPlugins.mjs +184 -0
- package/lib/core/vite/installViteDependencyScanPlugins.mjs.map +1 -0
- package/package.json +5 -4
- package/src/core/bridge/TtscProjectRecord.ts +9 -0
- package/src/core/bridge/readProjectRecordFile.ts +5 -1
- package/src/core/observer/WatchScope.ts +3 -3
- package/src/core/observer/createInputObserver.ts +7 -8
- package/src/core/options/ResolvedTtscUnpluginOptions.ts +3 -0
- package/src/core/options/TtscUnpluginOptions.ts +13 -2
- package/src/core/options/resolveOptions.ts +6 -3
- package/src/core/transform/TtscPrecompilation.ts +103 -0
- package/src/core/transform/cache/selectCachedGenerationAction.ts +3 -0
- package/src/core/transform/cache/withdrawTtscTransformGenerations.ts +2 -0
- package/src/core/transform/envelope/generationCaseSensitivity.ts +46 -0
- package/src/core/transform/envelope/selectExternalInputPaths.ts +5 -1
- package/src/core/transform/envelope/selectNotifiableAbsentInputs.ts +5 -1
- package/src/core/transform/filesystem/createHostPathIdentityContext.ts +9 -1
- package/src/core/transform/generation/captureTransformGeneration.ts +22 -2
- package/src/core/transform/generation/selectPersistentHostInputs.ts +5 -1
- package/src/core/transform/generation/transformProject.ts +3 -0
- package/src/core/transform/inputs/nativeInputPredicateState.ts +1 -3
- package/src/core/transform/tracker/createHostInputMutationTracker.ts +10 -1
- package/src/core/transform/tracker/createProjectMutationTracker.ts +34 -6
- package/src/core/transform/transformTtsc.ts +86 -37
- package/src/core/transform/validation/captureUniversalHostInputValidation.ts +12 -4
- package/src/core/transform/validation/matchesCachedSource.ts +9 -2
- package/src/core/transform/watch/TtscTransformHooks.ts +10 -0
- package/src/core/transform/watch/TtscWatchInputBaseline.ts +2 -1
- package/src/core/transform/watch/isWatchInputKeyBaseline.ts +4 -2
- package/src/core/transform/watch/notifyProjectRecord.ts +5 -4
- package/src/core/transform/watch/recordedDependencyWitnesses.ts +50 -0
- package/src/core/transform/watch/watchInputEvidenceMatchesBaseline.ts +1 -2
- package/src/core/tsconfig/TsconfigReadTransaction.ts +11 -8
- package/src/core/tsconfig/findDeclaredCompilerOption.ts +3 -2
- package/src/core/tsconfig/findDeclaredFileSpecs.ts +3 -2
- package/src/core/tsconfig/findDeclaredPaths.ts +3 -3
- package/src/core/tsconfig/findDeclaredValue.ts +2 -1
- package/src/core/tsconfig/readEffectiveTsconfigTemplateCompilerOptions.ts +1 -1
- package/src/core/tsconfig/readEffectiveTsconfigTemplateFileSpecs.ts +2 -2
- package/src/core/tsconfig/readProjectMembershipPolicy.ts +4 -4
- package/src/core/unplugin.ts +32 -0
- package/src/core/vite/installViteDependencyScanPlugins.ts +219 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchesCachedSource.mjs","sources":["../../../../src/core/transform/validation/matchesCachedSource.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAkBA
|
|
1
|
+
{"version":3,"file":"matchesCachedSource.mjs","sources":["../../../../src/core/transform/validation/matchesCachedSource.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAkBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDG;SACa,mBAAmB;AACjC;AACA,MAAkC;AAClC;AACA,IAAY;AACZ;AACA,MAAc;AACd;AACA,KAAyB,EACzB,KAAuC;AACvC;;;AAGG;AACH,gBAAgB,GAAG,IAAI,EAAA;AAEvB,IAAA,IAAI,CAAC,yBAAyB,CAAC,MAAM,EAAE,KAAK,CAAC;AAAE,QAAA,OAAO,KAAK;AAC3D,IAAA,MAAM,IAAI,GAAG,mBAAmB,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC;AAChE,IAAA,IAAI,MAAM,CAAC,iBAAiB,KAAK,IAAI,IAAI,CAAC,IAAI;AAAE,QAAA,OAAO,KAAK;IAC5D,MAAM,UAAU,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,eAAe;AAC7D,IAAA,MAAM,UAAU,GAAG,YAAY,CAAC,MAAM,CAAC,WAAW,EAAE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AkB,KAAK,SAAS;QACvC,MAAM,CAAC,sBAAsB,KAAK,SAAS;AAC3C,QAAA,MAAM,CAAC,wBAAwB,KAAK,SAAS,EAC7C;QACA,MAAM,MAAM,GAAG,6BAA6B,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC;AACjE,QAAA,IAAI,MAAM,KAAK,SAAS,EAAE;AACxB,YAAA,OAAO,MAAM;QACf;;;;IAIF;AACA,IAAA,OAAO,4BAA4B,CAAC,MAAM,EAAE,KAAK,CAAC;AACpD;;;;"}
|
|
@@ -29,6 +29,15 @@ import type { TtscWatchInputEvidence } from "./TtscWatchInputEvidence.cjs";
|
|
|
29
29
|
* state at runtime.
|
|
30
30
|
*/
|
|
31
31
|
export interface TtscTransformHooks {
|
|
32
|
+
/**
|
|
33
|
+
* Native config already selected by the host for this delivered module.
|
|
34
|
+
*
|
|
35
|
+
* A host that freezes routing and its discovery inputs in one transaction
|
|
36
|
+
* supplies that config here and retains those inputs in its watch channel.
|
|
37
|
+
* Startup entries select their own projects from the user's
|
|
38
|
+
* `options.project`, independently of another module's discovered route.
|
|
39
|
+
*/
|
|
40
|
+
projectSelection?: string;
|
|
32
41
|
/**
|
|
33
42
|
* Invoked once per absolute watch-input path derived for the transformed file
|
|
34
43
|
* `F`: the plugin-reported `dependencies[F]` list unioned with the host-owned
|
|
@@ -29,6 +29,15 @@ import type { TtscWatchInputEvidence } from "./TtscWatchInputEvidence.mjs";
|
|
|
29
29
|
* state at runtime.
|
|
30
30
|
*/
|
|
31
31
|
export interface TtscTransformHooks {
|
|
32
|
+
/**
|
|
33
|
+
* Native config already selected by the host for this delivered module.
|
|
34
|
+
*
|
|
35
|
+
* A host that freezes routing and its discovery inputs in one transaction
|
|
36
|
+
* supplies that config here and retains those inputs in its watch channel.
|
|
37
|
+
* Startup entries select their own projects from the user's
|
|
38
|
+
* `options.project`, independently of another module's discovered route.
|
|
39
|
+
*/
|
|
40
|
+
projectSelection?: string;
|
|
32
41
|
/**
|
|
33
42
|
* Invoked once per absolute watch-input path derived for the transformed file
|
|
34
43
|
* `F`: the plugin-reported `dependencies[F]` list unioned with the host-owned
|
|
@@ -29,6 +29,15 @@ import type { TtscWatchInputEvidence } from "./TtscWatchInputEvidence";
|
|
|
29
29
|
* state at runtime.
|
|
30
30
|
*/
|
|
31
31
|
export interface TtscTransformHooks {
|
|
32
|
+
/**
|
|
33
|
+
* Native config already selected by the host for this delivered module.
|
|
34
|
+
*
|
|
35
|
+
* A host that freezes routing and its discovery inputs in one transaction
|
|
36
|
+
* supplies that config here and retains those inputs in its watch channel.
|
|
37
|
+
* Startup entries select their own projects from the user's
|
|
38
|
+
* `options.project`, independently of another module's discovered route.
|
|
39
|
+
*/
|
|
40
|
+
projectSelection?: string;
|
|
32
41
|
/**
|
|
33
42
|
* Invoked once per absolute watch-input path derived for the transformed file
|
|
34
43
|
* `F`: the plugin-reported `dependencies[F]` list unioned with the host-owned
|
|
@@ -21,7 +21,8 @@ import type { TtscWatchInputFileBaseline } from "./TtscWatchInputFileBaseline.cj
|
|
|
21
21
|
export interface TtscWatchInputBaseline extends TtscWatchInputFileBaseline {
|
|
22
22
|
/**
|
|
23
23
|
* Current version-one native codec facts, captured only for requested kinds.
|
|
24
|
-
* These observations do not certify a producer's identityStable flag or
|
|
24
|
+
* These observations do not certify a producer's identityStable flag or
|
|
25
|
+
* scope.
|
|
25
26
|
*/
|
|
26
27
|
nativePredicates?: Partial<Record<NonNullable<ITtscCompilerTransformation.IInputObservation["nativePredicates"]>[number]["kind"], {
|
|
27
28
|
digest: string;
|
|
@@ -21,7 +21,8 @@ import type { TtscWatchInputFileBaseline } from "./TtscWatchInputFileBaseline.mj
|
|
|
21
21
|
export interface TtscWatchInputBaseline extends TtscWatchInputFileBaseline {
|
|
22
22
|
/**
|
|
23
23
|
* Current version-one native codec facts, captured only for requested kinds.
|
|
24
|
-
* These observations do not certify a producer's identityStable flag or
|
|
24
|
+
* These observations do not certify a producer's identityStable flag or
|
|
25
|
+
* scope.
|
|
25
26
|
*/
|
|
26
27
|
nativePredicates?: Partial<Record<NonNullable<ITtscCompilerTransformation.IInputObservation["nativePredicates"]>[number]["kind"], {
|
|
27
28
|
digest: string;
|
|
@@ -21,7 +21,8 @@ import type { TtscWatchInputFileBaseline } from "./TtscWatchInputFileBaseline";
|
|
|
21
21
|
export interface TtscWatchInputBaseline extends TtscWatchInputFileBaseline {
|
|
22
22
|
/**
|
|
23
23
|
* Current version-one native codec facts, captured only for requested kinds.
|
|
24
|
-
* These observations do not certify a producer's identityStable flag or
|
|
24
|
+
* These observations do not certify a producer's identityStable flag or
|
|
25
|
+
* scope.
|
|
25
26
|
*/
|
|
26
27
|
nativePredicates?: Partial<Record<NonNullable<ITtscCompilerTransformation.IInputObservation["nativePredicates"]>[number]["kind"], {
|
|
27
28
|
digest: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isWatchInputKeyBaseline.js","sources":["../../../../src/core/transform/watch/isWatchInputKeyBaseline.ts"],"sourcesContent":[null],"names":["stableStringify","MISSING_INPUT_STATE"],"mappings":";;;;;;AAOA;;;;;;;;;;;;;AAaG;AACG,SAAU,uBAAuB,CACrC,QAAiB,EAAA;AAEjB,IAAA,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC;AAAE,QAAA,OAAO,KAAK;IAC1C,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IAClC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,KAAK,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC,EAAE;AAC9D,QAAA,OAAO,KAAK;IACd;IACA,IAAI,CAAC,IAAI,EAAE;AACX,IAAA,IACE,OAAO,QAAQ,CAAC,UAAU,KAAK,SAAS;AACxC,QAAA,OAAO,QAAQ,CAAC,QAAQ,KAAK,QAAQ;AACrC,QAAA,CAAC,wBAAwB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAC5C;AACA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QACd;AACA,QAAA,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC;AACxB,QAAA,IACE,CAAC,aAAa,CAAC,KAAK,CAAC;YACrBA,+BAAe,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;AACxC,gBAAAA,+BAAe,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AACzC,YAAA,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC;AAC5B,YAAA,
|
|
1
|
+
{"version":3,"file":"isWatchInputKeyBaseline.js","sources":["../../../../src/core/transform/watch/isWatchInputKeyBaseline.ts"],"sourcesContent":[null],"names":["stableStringify","MISSING_INPUT_STATE"],"mappings":";;;;;;AAOA;;;;;;;;;;;;;AAaG;AACG,SAAU,uBAAuB,CACrC,QAAiB,EAAA;AAEjB,IAAA,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC;AAAE,QAAA,OAAO,KAAK;IAC1C,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IAClC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,KAAK,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC,EAAE;AAC9D,QAAA,OAAO,KAAK;IACd;IACA,IAAI,CAAC,IAAI,EAAE;AACX,IAAA,IACE,OAAO,QAAQ,CAAC,UAAU,KAAK,SAAS;AACxC,QAAA,OAAO,QAAQ,CAAC,QAAQ,KAAK,QAAQ;AACrC,QAAA,CAAC,wBAAwB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAC5C;AACA,QAAA,OAAO,KAAK;IACd;AACA,IAAA,IAAIA,+BAAe,CAAC,IAAI,CAAC,KAAKA,+BAAe,CAAC,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC,EAAE;AACzE,QAAA,OAAO,IAAI;IACb;AACA,IAAA,MAAM,KAAK,GAAG;QACZ,iBAAiB;QACjB,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E;QACtB,OAAOD,+BAAe,CAAC,IAAI,CAAC,KAAKA,+BAAe,CAAC,CAAC,IAAI,CAAC,CAAC;IAC1D;AACA,IAAA,QACEA,+BAAe,CAAC,IAAI,CAAC,KAAKA,+BAAe,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AACzD,QAAA,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ;AAC9B,QAAA,wBAAwB,CAAC,KAAK,CAAC,IAAI,CAAC;AAExC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isWatchInputKeyBaseline.mjs","sources":["../../../../src/core/transform/watch/isWatchInputKeyBaseline.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA;;;;;;;;;;;;;AAaG;AACG,SAAU,uBAAuB,CACrC,QAAiB,EAAA;AAEjB,IAAA,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC;AAAE,QAAA,OAAO,KAAK;IAC1C,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IAClC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,KAAK,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC,EAAE;AAC9D,QAAA,OAAO,KAAK;IACd;IACA,IAAI,CAAC,IAAI,EAAE;AACX,IAAA,IACE,OAAO,QAAQ,CAAC,UAAU,KAAK,SAAS;AACxC,QAAA,OAAO,QAAQ,CAAC,QAAQ,KAAK,QAAQ;AACrC,QAAA,CAAC,wBAAwB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAC5C;AACA,QAAA,OAAO,KAAK;IACd;AACA,IAAA,IAAI,eAAe,CAAC,IAAI,CAAC,KAAK,eAAe,CAAC,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC,EAAE;AACzE,QAAA,OAAO,IAAI;IACb;AACA,IAAA,MAAM,KAAK,GAAG;QACZ,iBAAiB;QACjB,YAAY;QACZ,WAAW;QAC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CAAC,CAAC;AACzC,YAAA,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC;AAC5B,YAAA,
|
|
1
|
+
{"version":3,"file":"isWatchInputKeyBaseline.mjs","sources":["../../../../src/core/transform/watch/isWatchInputKeyBaseline.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAOA;;;;;;;;;;;;;AAaG;AACG,SAAU,uBAAuB,CACrC,QAAiB,EAAA;AAEjB,IAAA,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC;AAAE,QAAA,OAAO,KAAK;IAC1C,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IAClC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,KAAK,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC,EAAE;AAC9D,QAAA,OAAO,KAAK;IACd;IACA,IAAI,CAAC,IAAI,EAAE;AACX,IAAA,IACE,OAAO,QAAQ,CAAC,UAAU,KAAK,SAAS;AACxC,QAAA,OAAO,QAAQ,CAAC,QAAQ,KAAK,QAAQ;AACrC,QAAA,CAAC,wBAAwB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAC5C;AACA,QAAA,OAAO,KAAK;IACd;AACA,IAAA,IAAI,eAAe,CAAC,IAAI,CAAC,KAAK,eAAe,CAAC,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC,EAAE;AACzE,QAAA,OAAO,IAAI;IACb;AACA,IAAA,MAAM,KAAK,GAAG;QACZ,iBAAiB;QACjB,YAAY;QACZ,WAAW;QACX,eAAe;QACf,UAAU;QACV,UAAU;QACV,UAAU;QACV,MAAM;KACP;;;AAGD,IAAA,MAAM,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC;AACnE,IAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAC5D,QA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AAExC;;;;"}
|
|
@@ -32,10 +32,9 @@ import type { TtscWatchInput } from "./TtscWatchInput.cjs";
|
|
|
32
32
|
* loses acceptance and enters persistence again without rereading generation
|
|
33
33
|
* inputs. Hosts and bridge readers own current byte proof, including concurrent
|
|
34
34
|
* changes and unreadable/torn bytes; availability here cannot exclude removal
|
|
35
|
-
* after the check. A host that keeps no
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* (`TtscProjectRegistration.digest`).
|
|
35
|
+
* after the check. A host that keeps no snapshot of the file, Rollup's cache,
|
|
36
|
+
* is handed the digest of the bytes written for the generation to compare
|
|
37
|
+
* against instead (`TtscProjectRegistration.digest`).
|
|
39
38
|
*
|
|
40
39
|
* A record lives below the host's tool directory, or, when that cannot be
|
|
41
40
|
* written, below the fallback the host accepts (`fallbackToolDirectory`,
|
|
@@ -32,10 +32,9 @@ import type { TtscWatchInput } from "./TtscWatchInput.mjs";
|
|
|
32
32
|
* loses acceptance and enters persistence again without rereading generation
|
|
33
33
|
* inputs. Hosts and bridge readers own current byte proof, including concurrent
|
|
34
34
|
* changes and unreadable/torn bytes; availability here cannot exclude removal
|
|
35
|
-
* after the check. A host that keeps no
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* (`TtscProjectRegistration.digest`).
|
|
35
|
+
* after the check. A host that keeps no snapshot of the file, Rollup's cache,
|
|
36
|
+
* is handed the digest of the bytes written for the generation to compare
|
|
37
|
+
* against instead (`TtscProjectRegistration.digest`).
|
|
39
38
|
*
|
|
40
39
|
* A record lives below the host's tool directory, or, when that cannot be
|
|
41
40
|
* written, below the fallback the host accepts (`fallbackToolDirectory`,
|
|
@@ -32,10 +32,9 @@ import type { TtscWatchInput } from "./TtscWatchInput";
|
|
|
32
32
|
* loses acceptance and enters persistence again without rereading generation
|
|
33
33
|
* inputs. Hosts and bridge readers own current byte proof, including concurrent
|
|
34
34
|
* changes and unreadable/torn bytes; availability here cannot exclude removal
|
|
35
|
-
* after the check. A host that keeps no
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* (`TtscProjectRegistration.digest`).
|
|
35
|
+
* after the check. A host that keeps no snapshot of the file, Rollup's cache,
|
|
36
|
+
* is handed the digest of the bytes written for the generation to compare
|
|
37
|
+
* against instead (`TtscProjectRegistration.digest`).
|
|
39
38
|
*
|
|
40
39
|
* A record lives below the host's tool directory, or, when that cannot be
|
|
41
40
|
* written, below the fallback the host accepts (`fallbackToolDirectory`,
|
|
@@ -48,10 +48,9 @@ const HANDED = new WeakMap();
|
|
|
48
48
|
* loses acceptance and enters persistence again without rereading generation
|
|
49
49
|
* inputs. Hosts and bridge readers own current byte proof, including concurrent
|
|
50
50
|
* changes and unreadable/torn bytes; availability here cannot exclude removal
|
|
51
|
-
* after the check. A host that keeps no
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* (`TtscProjectRegistration.digest`).
|
|
51
|
+
* after the check. A host that keeps no snapshot of the file, Rollup's cache,
|
|
52
|
+
* is handed the digest of the bytes written for the generation to compare
|
|
53
|
+
* against instead (`TtscProjectRegistration.digest`).
|
|
55
54
|
*
|
|
56
55
|
* A record lives below the host's tool directory, or, when that cannot be
|
|
57
56
|
* written, below the fallback the host accepts (`fallbackToolDirectory`,
|
|
@@ -188,7 +187,9 @@ function recordAvailable(file) {
|
|
|
188
187
|
}
|
|
189
188
|
/** The record of a generation over its evidenced inputs. */
|
|
190
189
|
function recordOf(cached, inputs) {
|
|
190
|
+
const dependencies = cached.externalDependencyInputs ?? [];
|
|
191
191
|
const record = {
|
|
192
|
+
...(dependencies.length === 0 ? {} : { dependencies }),
|
|
192
193
|
inputs: {},
|
|
193
194
|
membership: cached.projectDirectories === undefined
|
|
194
195
|
? null
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifyProjectRecord.js","sources":["../../../../src/core/transform/watch/notifyProjectRecord.ts"],"sourcesContent":[null],"names":["createHostPathIdentityContext","projectMembershipInput","projectRecordFile","writeProjectRecordFile","warnUnwritableProjectRecord","TtscProjectRecordUnwritableError","membershipRecordDigest","hostInputStateHash","MISSING_INPUT_STATE","pathIdentityKey"],"mappings":";;;;;;;;;;;;;;AAiBA;;;AAGG;AACH,MAAM,MAAM,GAAG,IAAI,OAAO,EAqBvB;AAEH
|
|
1
|
+
{"version":3,"file":"notifyProjectRecord.js","sources":["../../../../src/core/transform/watch/notifyProjectRecord.ts"],"sourcesContent":[null],"names":["createHostPathIdentityContext","projectMembershipInput","projectRecordFile","writeProjectRecordFile","warnUnwritableProjectRecord","TtscProjectRecordUnwritableError","membershipRecordDigest","hostInputStateHash","MISSING_INPUT_STATE","pathIdentityKey"],"mappings":";;;;;;;;;;;;;;AAiBA;;;AAGG;AACH,MAAM,MAAM,GAAG,IAAI,OAAO,EAqBvB;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEG;AACG,SAAU,mBAAmB,CACjC,OAAmD,EACnD,MAAkC,EAClC,MAAe,EACf,MAAuC,EACvC,gBAAA,GAA8C,EAAE,EAAA;;;AAIhD,IAAA,IAAI,MAAM,CAAC,iBAAiB,KAAK,IAAI;AAAE,QAAA,OAAO,KAAK;IACnD,IAAI,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC;AAC/B,IAAA,IAAI,MAAM,KAAK,SAAS,EAAE;AACxB,QAAA,MAAM,UAAU,GAAGA,2DAA6B,EAAE;AAClD,QAAA,MAAM,SAAS,GAAG,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,KACnC,mBAAmB,CAAC,KAAK,EAAE,UAAU,CAAC,CACvC;;;AAGD,QAAA,MAAM,UAAU,GAAGC,6CAAsB,CAAC,MAAM,CAAC;AACjD,QAAA,MAAM,GAAG;YACP,SAAS;AACT,YAAA,MAAM,EAAE,UAAU,KAAK,SAAS,GAAG,SAAS,GAAG,CAAC,GAAG,SAAS,EAAE,UAAU,CAAC;AACzE,YAAA,QAA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AAC1B,QAAA,IAAI,KAAK,CAAC,QAAQ,KAAK,SAAS;YAC9B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,QAAQ;IAC9C;AACA,IAAA,OAAO,MAAM;AACf;AAEA;;;;;AAKG;AACH,SAAS,mBAAmB,CAC1B,KAAqB,EACrB,UAA4D,EAAA;AAE5D,IAAA,IAAI,KAAK,CAAC,QAAQ,EAAE,KAAK,KAAK,SAAS;AAAE,QAAA,OAAO,KAAK;IACrD,MAAM,IAAI,GAAGC,qCAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,IAAIC,uCAAmB;AAClE,IAAA,MAAM,OAAO,GAAG,IAAI,KAAKA,uCAAmB;IAC5C,OAAO;AACL,QAAA,QAAQ,EAAE;AACR,YAAA,QAAQ,EACN,KAAK,CAAC,QAAQ,EAAE,QAAQ,IAAIC,+BAAe,CAAC,KAAK,CAAC,IAAI,EAAE,UAAU,CAAC;YACrE,OAAO;AACP,YAAA,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE;AAC9B,YAAA,IAAI,OAAO,GAAG,EAAE,WAAW,EAAE,SAAkB,EAAE,GAAG,EAAE,CAAC;AACxD,SAAA;QACD,IAAI,EAAE,KAAK,CAAC,IAAI;KACjB;AACH;;;;"}
|
|
@@ -46,10 +46,9 @@ const HANDED = new WeakMap();
|
|
|
46
46
|
* loses acceptance and enters persistence again without rereading generation
|
|
47
47
|
* inputs. Hosts and bridge readers own current byte proof, including concurrent
|
|
48
48
|
* changes and unreadable/torn bytes; availability here cannot exclude removal
|
|
49
|
-
* after the check. A host that keeps no
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* (`TtscProjectRegistration.digest`).
|
|
49
|
+
* after the check. A host that keeps no snapshot of the file, Rollup's cache,
|
|
50
|
+
* is handed the digest of the bytes written for the generation to compare
|
|
51
|
+
* against instead (`TtscProjectRegistration.digest`).
|
|
53
52
|
*
|
|
54
53
|
* A record lives below the host's tool directory, or, when that cannot be
|
|
55
54
|
* written, below the fallback the host accepts (`fallbackToolDirectory`,
|
|
@@ -186,7 +185,9 @@ function recordAvailable(file) {
|
|
|
186
185
|
}
|
|
187
186
|
/** The record of a generation over its evidenced inputs. */
|
|
188
187
|
function recordOf(cached, inputs) {
|
|
188
|
+
const dependencies = cached.externalDependencyInputs ?? [];
|
|
189
189
|
const record = {
|
|
190
|
+
...(dependencies.length === 0 ? {} : { dependencies }),
|
|
190
191
|
inputs: {},
|
|
191
192
|
membership: cached.projectDirectories === undefined
|
|
192
193
|
? null
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifyProjectRecord.mjs","sources":["../../../../src/core/transform/watch/notifyProjectRecord.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAiBA;;;AAGG;AACH,MAAM,MAAM,GAAG,IAAI,OAAO,EAqBvB;AAEH
|
|
1
|
+
{"version":3,"file":"notifyProjectRecord.mjs","sources":["../../../../src/core/transform/watch/notifyProjectRecord.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;AAiBA;;;AAGG;AACH,MAAM,MAAM,GAAG,IAAI,OAAO,EAqBvB;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEG;AACG,SAAU,mBAAmB,CACjC,OAAmD,EACnD,MAAkC,EAClC,MAAe,EACf,MAAuC,EACvC,gBAAA,GAA8C,EAAE,EAAA;;;AAIhD,IAAA,IAAI,MAAM,CAAC,iBAAiB,KAAK,IAAI;AAAE,QAAA,OAAO,KAAK;IACnD,IAAI,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC;AAC/B,IAAA,IAAI,MAAM,KAAK,SAAS,EAAE;AACxB,QAAA,MAAM,UAAU,GAAG,6BAA6B,EAAE;AAClD,QAAA,MAAM,SAAS,GAAG,MAAM,EAAE,CAAC,GAAG,CAAC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ectRecord.dependencies`), for a transform cache that has no witness
|
|
5
|
+
* list of its own yet.
|
|
6
|
+
*
|
|
7
|
+
* A compile learns a plugin-reported dependency path only from its own
|
|
8
|
+
* envelope, and one it had no witness for compiles again
|
|
9
|
+
* (`onlyLearnedCompileFacts`). A transform cache keeps the paths in memory
|
|
10
|
+
* (`TRANSFORM_CACHE_DEPENDENCY_WITNESSES`), so every new cache, a dev-server
|
|
11
|
+
* start or a build process, compiled such a project twice (samchon/ttsc#1743).
|
|
12
|
+
* The record the previous process wrote names them. They only say what to read:
|
|
13
|
+
* the capture still witnesses each path afresh, a path the compile no longer
|
|
14
|
+
* reports costs one read, and one the record does not name is retried as
|
|
15
|
+
* before.
|
|
16
|
+
*
|
|
17
|
+
* @param project The host's record directories, when it keeps records.
|
|
18
|
+
* @param tsconfig The project's tsconfig, as the adapter names it.
|
|
19
|
+
* @returns The record's paths, or `undefined` when no readable record names
|
|
20
|
+
* any.
|
|
21
|
+
* @evidence contracts/common.md#principled-implementation The record is the host's persisted project state, written from a completed generation; its paths are hints that the capture re-witnesses, never certified state.
|
|
22
|
+
* @evidence contracts/common.md#clear-and-simple-design One reader selects the first readable record of the host's directories, in the order the writer tries them.
|
|
23
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts No witness or digest is taken from the record; an unreadable or absent record supplies nothing.
|
|
24
|
+
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain the doubled first compile, the hint semantics and the absent cases.
|
|
25
|
+
* @evidence contracts/portability.md#os-neutral-implementation Record paths come from the host's own directories through `projectRecordFile`.
|
|
26
|
+
* @evidence contracts/performance.md#efficient-algorithms At most two record reads and JSON parses, only when a cache has no witness list for the key.
|
|
27
|
+
* @evidence contracts/performance.md#reuse-equivalent-work A new process reuses the dependency names the last generation's record holds instead of compiling once to learn them.
|
|
28
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The returned list belongs to the caller; nothing is retained here.
|
|
29
|
+
*/
|
|
30
|
+
export declare function recordedDependencyWitnesses(project: TtscTransformHooks["project"], tsconfig: string): readonly string[] | undefined;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { TtscTransformHooks } from "./TtscTransformHooks.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The dependency-only paths the project record of `tsconfig` carries
|
|
4
|
+
* (`TtscProjectRecord.dependencies`), for a transform cache that has no witness
|
|
5
|
+
* list of its own yet.
|
|
6
|
+
*
|
|
7
|
+
* A compile learns a plugin-reported dependency path only from its own
|
|
8
|
+
* envelope, and one it had no witness for compiles again
|
|
9
|
+
* (`onlyLearnedCompileFacts`). A transform cache keeps the paths in memory
|
|
10
|
+
* (`TRANSFORM_CACHE_DEPENDENCY_WITNESSES`), so every new cache, a dev-server
|
|
11
|
+
* start or a build process, compiled such a project twice (samchon/ttsc#1743).
|
|
12
|
+
* The record the previous process wrote names them. They only say what to read:
|
|
13
|
+
* the capture still witnesses each path afresh, a path the compile no longer
|
|
14
|
+
* reports costs one read, and one the record does not name is retried as
|
|
15
|
+
* before.
|
|
16
|
+
*
|
|
17
|
+
* @param project The host's record directories, when it keeps records.
|
|
18
|
+
* @param tsconfig The project's tsconfig, as the adapter names it.
|
|
19
|
+
* @returns The record's paths, or `undefined` when no readable record names
|
|
20
|
+
* any.
|
|
21
|
+
* @evidence contracts/common.md#principled-implementation The record is the host's persisted project state, written from a completed generation; its paths are hints that the capture re-witnesses, never certified state.
|
|
22
|
+
* @evidence contracts/common.md#clear-and-simple-design One reader selects the first readable record of the host's directories, in the order the writer tries them.
|
|
23
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts No witness or digest is taken from the record; an unreadable or absent record supplies nothing.
|
|
24
|
+
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain the doubled first compile, the hint semantics and the absent cases.
|
|
25
|
+
* @evidence contracts/portability.md#os-neutral-implementation Record paths come from the host's own directories through `projectRecordFile`.
|
|
26
|
+
* @evidence contracts/performance.md#efficient-algorithms At most two record reads and JSON parses, only when a cache has no witness list for the key.
|
|
27
|
+
* @evidence contracts/performance.md#reuse-equivalent-work A new process reuses the dependency names the last generation's record holds instead of compiling once to learn them.
|
|
28
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The returned list belongs to the caller; nothing is retained here.
|
|
29
|
+
*/
|
|
30
|
+
export declare function recordedDependencyWitnesses(project: TtscTransformHooks["project"], tsconfig: string): readonly string[] | undefined;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { TtscTransformHooks } from "./TtscTransformHooks";
|
|
2
|
+
/**
|
|
3
|
+
* The dependency-only paths the project record of `tsconfig` carries
|
|
4
|
+
* (`TtscProjectRecord.dependencies`), for a transform cache that has no witness
|
|
5
|
+
* list of its own yet.
|
|
6
|
+
*
|
|
7
|
+
* A compile learns a plugin-reported dependency path only from its own
|
|
8
|
+
* envelope, and one it had no witness for compiles again
|
|
9
|
+
* (`onlyLearnedCompileFacts`). A transform cache keeps the paths in memory
|
|
10
|
+
* (`TRANSFORM_CACHE_DEPENDENCY_WITNESSES`), so every new cache, a dev-server
|
|
11
|
+
* start or a build process, compiled such a project twice (samchon/ttsc#1743).
|
|
12
|
+
* The record the previous process wrote names them. They only say what to read:
|
|
13
|
+
* the capture still witnesses each path afresh, a path the compile no longer
|
|
14
|
+
* reports costs one read, and one the record does not name is retried as
|
|
15
|
+
* before.
|
|
16
|
+
*
|
|
17
|
+
* @param project The host's record directories, when it keeps records.
|
|
18
|
+
* @param tsconfig The project's tsconfig, as the adapter names it.
|
|
19
|
+
* @returns The record's paths, or `undefined` when no readable record names
|
|
20
|
+
* any.
|
|
21
|
+
* @evidence contracts/common.md#principled-implementation The record is the host's persisted project state, written from a completed generation; its paths are hints that the capture re-witnesses, never certified state.
|
|
22
|
+
* @evidence contracts/common.md#clear-and-simple-design One reader selects the first readable record of the host's directories, in the order the writer tries them.
|
|
23
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts No witness or digest is taken from the record; an unreadable or absent record supplies nothing.
|
|
24
|
+
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain the doubled first compile, the hint semantics and the absent cases.
|
|
25
|
+
* @evidence contracts/portability.md#os-neutral-implementation Record paths come from the host's own directories through `projectRecordFile`.
|
|
26
|
+
* @evidence contracts/performance.md#efficient-algorithms At most two record reads and JSON parses, only when a cache has no witness list for the key.
|
|
27
|
+
* @evidence contracts/performance.md#reuse-equivalent-work A new process reuses the dependency names the last generation's record holds instead of compiling once to learn them.
|
|
28
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The returned list belongs to the caller; nothing is retained here.
|
|
29
|
+
*/
|
|
30
|
+
export declare function recordedDependencyWitnesses(project: TtscTransformHooks["project"], tsconfig: string): readonly string[] | undefined;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var projectRecordFile = require('../../bridge/projectRecordFile.js');
|
|
4
|
+
var readProjectRecordFile = require('../../bridge/readProjectRecordFile.js');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The dependency-only paths the project record of `tsconfig` carries
|
|
8
|
+
* (`TtscProjectRecord.dependencies`), for a transform cache that has no witness
|
|
9
|
+
* list of its own yet.
|
|
10
|
+
*
|
|
11
|
+
* A compile learns a plugin-reported dependency path only from its own
|
|
12
|
+
* envelope, and one it had no witness for compiles again
|
|
13
|
+
* (`onlyLearnedCompileFacts`). A transform cache keeps the paths in memory
|
|
14
|
+
* (`TRANSFORM_CACHE_DEPENDENCY_WITNESSES`), so every new cache, a dev-server
|
|
15
|
+
* start or a build process, compiled such a project twice (samchon/ttsc#1743).
|
|
16
|
+
* The record the previous process wrote names them. They only say what to read:
|
|
17
|
+
* the capture still witnesses each path afresh, a path the compile no longer
|
|
18
|
+
* reports costs one read, and one the record does not name is retried as
|
|
19
|
+
* before.
|
|
20
|
+
*
|
|
21
|
+
* @param project The host's record directories, when it keeps records.
|
|
22
|
+
* @param tsconfig The project's tsconfig, as the adapter names it.
|
|
23
|
+
* @returns The record's paths, or `undefined` when no readable record names
|
|
24
|
+
* any.
|
|
25
|
+
* @evidence contracts/common.md#principled-implementation The record is the host's persisted project state, written from a completed generation; its paths are hints that the capture re-witnesses, never certified state.
|
|
26
|
+
* @evidence contracts/common.md#clear-and-simple-design One reader selects the first readable record of the host's directories, in the order the writer tries them.
|
|
27
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts No witness or digest is taken from the record; an unreadable or absent record supplies nothing.
|
|
28
|
+
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain the doubled first compile, the hint semantics and the absent cases.
|
|
29
|
+
* @evidence contracts/portability.md#os-neutral-implementation Record paths come from the host's own directories through `projectRecordFile`.
|
|
30
|
+
* @evidence contracts/performance.md#efficient-algorithms At most two record reads and JSON parses, only when a cache has no witness list for the key.
|
|
31
|
+
* @evidence contracts/performance.md#reuse-equivalent-work A new process reuses the dependency names the last generation's record holds instead of compiling once to learn them.
|
|
32
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The returned list belongs to the caller; nothing is retained here.
|
|
33
|
+
*/
|
|
34
|
+
function recordedDependencyWitnesses(project, tsconfig) {
|
|
35
|
+
if (project === undefined)
|
|
36
|
+
return undefined;
|
|
37
|
+
for (const directory of [
|
|
38
|
+
project.toolDirectory,
|
|
39
|
+
...(project.fallbackToolDirectory === undefined
|
|
40
|
+
? []
|
|
41
|
+
: [project.fallbackToolDirectory]),
|
|
42
|
+
]) {
|
|
43
|
+
const record = readProjectRecordFile.readProjectRecordFile(projectRecordFile.projectRecordFile(directory, tsconfig));
|
|
44
|
+
if (record !== undefined)
|
|
45
|
+
return record.dependencies;
|
|
46
|
+
}
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
exports.recordedDependencyWitnesses = recordedDependencyWitnesses;
|
|
51
|
+
//# sourceMappingURL=recordedDependencyWitnesses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordedDependencyWitnesses.js","sources":["../../../../src/core/transform/watch/recordedDependencyWitnesses.ts"],"sourcesContent":[null],"names":["readProjectRecordFile","projectRecordFile"],"mappings":";;;;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BG;AACG,SAAU,2BAA2B,CACzC,OAAsC,EACtC,QAAgB,EAAA;IAEhB,IAAI,OAAO,KAAK,SAAS;AAAE,QAAA,OAAO,SAAS;IAC3C,KAAK,MAAM,SAAS,IAAI;AACtB,QAAA,OAAO,CAAC,aAAa;AACrB,QAAA,IAAI,OAAO,CAAC,qBAAqB,KAAK;AACpC,cAAE;AACF,cAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;AACrC,KAAA,EAAE;QACD,MAAM,MAAM,GAAGA,2CAAqB,CAClCC,mCAAiB,CAAC,SAAS,EAAE,QAAQ,CAAC,CACvC;QACD,IAAI,MAAM,KAAK,SAAS;YAAE,OAAO,MAAM,CAAC,YAAY;IACtD;AACA,IAAA,OAAO,SAAS;AAClB;;;;"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { projectRecordFile } from '../../bridge/projectRecordFile.mjs';
|
|
2
|
+
import { readProjectRecordFile } from '../../bridge/readProjectRecordFile.mjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The dependency-only paths the project record of `tsconfig` carries
|
|
6
|
+
* (`TtscProjectRecord.dependencies`), for a transform cache that has no witness
|
|
7
|
+
* list of its own yet.
|
|
8
|
+
*
|
|
9
|
+
* A compile learns a plugin-reported dependency path only from its own
|
|
10
|
+
* envelope, and one it had no witness for compiles again
|
|
11
|
+
* (`onlyLearnedCompileFacts`). A transform cache keeps the paths in memory
|
|
12
|
+
* (`TRANSFORM_CACHE_DEPENDENCY_WITNESSES`), so every new cache, a dev-server
|
|
13
|
+
* start or a build process, compiled such a project twice (samchon/ttsc#1743).
|
|
14
|
+
* The record the previous process wrote names them. They only say what to read:
|
|
15
|
+
* the capture still witnesses each path afresh, a path the compile no longer
|
|
16
|
+
* reports costs one read, and one the record does not name is retried as
|
|
17
|
+
* before.
|
|
18
|
+
*
|
|
19
|
+
* @param project The host's record directories, when it keeps records.
|
|
20
|
+
* @param tsconfig The project's tsconfig, as the adapter names it.
|
|
21
|
+
* @returns The record's paths, or `undefined` when no readable record names
|
|
22
|
+
* any.
|
|
23
|
+
* @evidence contracts/common.md#principled-implementation The record is the host's persisted project state, written from a completed generation; its paths are hints that the capture re-witnesses, never certified state.
|
|
24
|
+
* @evidence contracts/common.md#clear-and-simple-design One reader selects the first readable record of the host's directories, in the order the writer tries them.
|
|
25
|
+
* @evidence contracts/common.md#prohibited-implementation-shortcuts No witness or digest is taken from the record; an unreadable or absent record supplies nothing.
|
|
26
|
+
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain the doubled first compile, the hint semantics and the absent cases.
|
|
27
|
+
* @evidence contracts/portability.md#os-neutral-implementation Record paths come from the host's own directories through `projectRecordFile`.
|
|
28
|
+
* @evidence contracts/performance.md#efficient-algorithms At most two record reads and JSON parses, only when a cache has no witness list for the key.
|
|
29
|
+
* @evidence contracts/performance.md#reuse-equivalent-work A new process reuses the dependency names the last generation's record holds instead of compiling once to learn them.
|
|
30
|
+
* @evidenceExclude contracts/performance.md#bound-retention-and-release-resources The returned list belongs to the caller; nothing is retained here.
|
|
31
|
+
*/
|
|
32
|
+
function recordedDependencyWitnesses(project, tsconfig) {
|
|
33
|
+
if (project === undefined)
|
|
34
|
+
return undefined;
|
|
35
|
+
for (const directory of [
|
|
36
|
+
project.toolDirectory,
|
|
37
|
+
...(project.fallbackToolDirectory === undefined
|
|
38
|
+
? []
|
|
39
|
+
: [project.fallbackToolDirectory]),
|
|
40
|
+
]) {
|
|
41
|
+
const record = readProjectRecordFile(projectRecordFile(directory, tsconfig));
|
|
42
|
+
if (record !== undefined)
|
|
43
|
+
return record.dependencies;
|
|
44
|
+
}
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { recordedDependencyWitnesses };
|
|
49
|
+
//# sourceMappingURL=recordedDependencyWitnesses.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordedDependencyWitnesses.mjs","sources":["../../../../src/core/transform/watch/recordedDependencyWitnesses.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BG;AACG,SAAU,2BAA2B,CACzC,OAAsC,EACtC,QAAgB,EAAA;IAEhB,IAAI,OAAO,KAAK,SAAS;AAAE,QAAA,OAAO,SAAS;IAC3C,KAAK,MAAM,SAAS,IAAI;AACtB,QAAA,OAAO,CAAC,aAAa;AACrB,QAAA,IAAI,OAAO,CAAC,qBAAqB,KAAK;AACpC,cAAE;AACF,cAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;AACrC,KAAA,EAAE;QACD,MAAM,MAAM,GAAG,qBAAqB,CAClC,iBAAiB,CAAC,SAAS,EAAE,QAAQ,CAAC,CACvC;QACD,IAAI,MAAM,KAAK,SAAS;YAAE,OAAO,MAAM,CAAC,YAAY;IACtD;AACA,IAAA,OAAO,SAAS;AAClB;;;;"}
|
|
@@ -5,8 +5,7 @@ import type { TtscWatchInputKeyBaseline } from "./TtscWatchInputKeyBaseline.cjs"
|
|
|
5
5
|
*
|
|
6
6
|
* A codec matches only the facts the baseline actually captured. Native,
|
|
7
7
|
* listing and plugin-tree observations require their optional payloads;
|
|
8
|
-
* membership is a
|
|
9
|
-
* separate project walk and cannot match one path's baseline.
|
|
8
|
+
* membership is a separate project walk and cannot match one path's baseline.
|
|
10
9
|
*
|
|
11
10
|
* @evidence contracts/common.md#principled-implementation Identity and every recorded codec fact must agree with a validated baseline; native predicates additionally require a supported version, stable producer identity, matching raw digest and physical target. Narrow discovery facts and absent optional native/listing/tree payloads cannot establish broader observations.
|
|
12
11
|
* @evidence contracts/common.md#clear-and-simple-design Codec branches reuse the strict baseline guard and native realpath comparator, with one private refinement exposing the broader carrier.
|
|
@@ -5,8 +5,7 @@ import type { TtscWatchInputKeyBaseline } from "./TtscWatchInputKeyBaseline.mjs"
|
|
|
5
5
|
*
|
|
6
6
|
* A codec matches only the facts the baseline actually captured. Native,
|
|
7
7
|
* listing and plugin-tree observations require their optional payloads;
|
|
8
|
-
* membership is a
|
|
9
|
-
* separate project walk and cannot match one path's baseline.
|
|
8
|
+
* membership is a separate project walk and cannot match one path's baseline.
|
|
10
9
|
*
|
|
11
10
|
* @evidence contracts/common.md#principled-implementation Identity and every recorded codec fact must agree with a validated baseline; native predicates additionally require a supported version, stable producer identity, matching raw digest and physical target. Narrow discovery facts and absent optional native/listing/tree payloads cannot establish broader observations.
|
|
12
11
|
* @evidence contracts/common.md#clear-and-simple-design Codec branches reuse the strict baseline guard and native realpath comparator, with one private refinement exposing the broader carrier.
|
|
@@ -5,8 +5,7 @@ import type { TtscWatchInputKeyBaseline } from "./TtscWatchInputKeyBaseline";
|
|
|
5
5
|
*
|
|
6
6
|
* A codec matches only the facts the baseline actually captured. Native,
|
|
7
7
|
* listing and plugin-tree observations require their optional payloads;
|
|
8
|
-
* membership is a
|
|
9
|
-
* separate project walk and cannot match one path's baseline.
|
|
8
|
+
* membership is a separate project walk and cannot match one path's baseline.
|
|
10
9
|
*
|
|
11
10
|
* @evidence contracts/common.md#principled-implementation Identity and every recorded codec fact must agree with a validated baseline; native predicates additionally require a supported version, stable producer identity, matching raw digest and physical target. Narrow discovery facts and absent optional native/listing/tree payloads cannot establish broader observations.
|
|
12
11
|
* @evidence contracts/common.md#clear-and-simple-design Codec branches reuse the strict baseline guard and native realpath comparator, with one private refinement exposing the broader carrier.
|
|
@@ -9,8 +9,7 @@ var isWatchInputKeyBaseline = require('./isWatchInputKeyBaseline.js');
|
|
|
9
9
|
*
|
|
10
10
|
* A codec matches only the facts the baseline actually captured. Native,
|
|
11
11
|
* listing and plugin-tree observations require their optional payloads;
|
|
12
|
-
* membership is a
|
|
13
|
-
* separate project walk and cannot match one path's baseline.
|
|
12
|
+
* membership is a separate project walk and cannot match one path's baseline.
|
|
14
13
|
*
|
|
15
14
|
* @evidence contracts/common.md#principled-implementation Identity and every recorded codec fact must agree with a validated baseline; native predicates additionally require a supported version, stable producer identity, matching raw digest and physical target. Narrow discovery facts and absent optional native/listing/tree payloads cannot establish broader observations.
|
|
16
15
|
* @evidence contracts/common.md#clear-and-simple-design Codec branches reuse the strict baseline guard and native realpath comparator, with one private refinement exposing the broader carrier.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watchInputEvidenceMatchesBaseline.js","sources":["../../../../src/core/transform/watch/watchInputEvidenceMatchesBaseline.ts"],"sourcesContent":[null],"names":["isWatchInputKeyBaseline","createHostPathIdentityContext","sameHostInputRealpath"],"mappings":";;;;;;AAOA
|
|
1
|
+
{"version":3,"file":"watchInputEvidenceMatchesBaseline.js","sources":["../../../../src/core/transform/watch/watchInputEvidenceMatchesBaseline.ts"],"sourcesContent":[null],"names":["isWatchInputKeyBaseline","createHostPathIdentityContext","sameHostInputRealpath"],"mappings":";;;;;;AAOA;;;;;;;;;;;;;;;AAeG;AACG,SAAU,iCAAiC,CAC/C,QAAgC,EAChC,QAAmC,EAAA;AAEnC,IAAA,IACE,CAACA,+CAAuB,CAAC,QAAQ,CAAC;AAClC,QAAA,QAAQ,CAAC,QAAQ,KAAK,QAAQ,CAAC,QAAQ;AACvC,QAAA,QAAQ,CAAC,KAAK,KAAK,SAAS,EAC5B;AACA,QAAA,OAAO,KAAK;IACd;AACA,IAAA,MAAM,KAAK,GAAG,uBAAuB,CAAC,QAAQ,CAAC;IAC/C,IAAI,QAAQ,CAAC,KAAK,CAAC,KAAK,KAAK,MAAM,EAAE;AACnC,QAAA,OAAO,KAAK,KAAK,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,QAAQ;IACtE;AACA,IAAA,MAAM,UAAU,GAAGC,2DAA6B,EAAE;IAClD,IAAI,QAAQ,CAAC,KAAK,CAAC,KAAK,KAAK,OAAO,EAAE;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C,EAAE;AACjB,YAAA,CAACA,2CAAqB,CACpB,WAAW,CAAC,QAAQ,CAAC,IAAI,EACzB,KAAK,CAAC,QAAQ,CAAC,IAAI,EACnB,UAAU,CACX,EACD;AACA,YAAA,OAAO,KAAK;QACd;IACF;AACA,IAAA,OAAO,IAAI;AACb;AAEA;AACA,SAAS,uBAAuB,CAC9B,QAAmC,EAAA;IAEnC,OAAO,iBAAiB,IAAI,QAAQ,GAAG,QAAQ,GAAG,SAAS;AAC7D;AAEA;AACA,SAAS,cAAc,CACrB,IAAuB,EACvB,KAAwB,EAAA;AAExB,IAAA,IAAI,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM;AAAE,QAAA,OAAO,KAAK;AAC9C,IAAA,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE;QAChD,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC,KAAK,CAAC;AAAE,YAAA,OAAO,KAAK;IAChD;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
@@ -7,8 +7,7 @@ import { isWatchInputKeyBaseline } from './isWatchInputKeyBaseline.mjs';
|
|
|
7
7
|
*
|
|
8
8
|
* A codec matches only the facts the baseline actually captured. Native,
|
|
9
9
|
* listing and plugin-tree observations require their optional payloads;
|
|
10
|
-
* membership is a
|
|
11
|
-
* separate project walk and cannot match one path's baseline.
|
|
10
|
+
* membership is a separate project walk and cannot match one path's baseline.
|
|
12
11
|
*
|
|
13
12
|
* @evidence contracts/common.md#principled-implementation Identity and every recorded codec fact must agree with a validated baseline; native predicates additionally require a supported version, stable producer identity, matching raw digest and physical target. Narrow discovery facts and absent optional native/listing/tree payloads cannot establish broader observations.
|
|
14
13
|
* @evidence contracts/common.md#clear-and-simple-design Codec branches reuse the strict baseline guard and native realpath comparator, with one private refinement exposing the broader carrier.
|