@ttsc/unplugin 0.31.1 → 0.31.3
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/observer/createInputObserver.js +1 -1
- package/lib/core/observer/createInputObserver.js.map +1 -1
- package/lib/core/observer/createInputObserver.mjs +1 -1
- package/lib/core/observer/createInputObserver.mjs.map +1 -1
- 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/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 +7 -1
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.mts +7 -1
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.d.ts +7 -1
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.js +10 -6
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.js.map +1 -1
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.mjs +10 -6
- package/lib/core/transform/inputs/preparePluginBuildEnvironments.mjs.map +1 -1
- package/lib/core/transform/transformTtsc.js +1 -1
- package/lib/core/transform/transformTtsc.js.map +1 -1
- package/lib/core/transform/transformTtsc.mjs +1 -1
- package/lib/core/transform/transformTtsc.mjs.map +1 -1
- 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/matchesUniversalHostInputTrees.js +2 -2
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.js.map +1 -1
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.mjs +2 -2
- package/lib/core/transform/validation/matchesUniversalHostInputTrees.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/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/package.json +3 -3
- package/src/core/bridge/projectRecordMoved.ts +3 -1
- package/src/core/observer/createInputObserver.ts +2 -0
- 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/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 +24 -5
- package/src/core/transform/transformTtsc.ts +2 -0
- package/src/core/transform/validation/captureUniversalHostInputValidation.ts +2 -1
- package/src/core/transform/validation/matchesUniversalHostInputTrees.ts +2 -1
- package/src/core/transform/watch/captureWatchInputBaseline.ts +4 -0
- package/src/core/transform/watch/captureWatchInputBaselines.ts +7 -1
- package/src/core/transform/watch/watchInputEvidenceMatchesDisk.ts +12 -2
|
@@ -21,6 +21,8 @@ import * as pluginSource from 'ttsc/plugin-source';
|
|
|
21
21
|
*
|
|
22
22
|
* @param directory The source directory, as the envelope names it.
|
|
23
23
|
* @param prepared Optional current environment prepared by the async owner.
|
|
24
|
+
* @param projectRoot Project whose plugin cache records prove the sources and
|
|
25
|
+
* the SDK in a new process (samchon/ttsc#1725).
|
|
24
26
|
* @evidence contracts/common.md#principled-implementation The shared pluginSourceState composition combines source digest and build environment exactly as binary keys do, and an observation error preserves null rather than a plausible state.
|
|
25
27
|
* @evidence contracts/common.md#clear-and-simple-design Capture delegates state composition to ttsc while proof callers use pluginSourceHolds for mismatch refresh; the two roles are explicit without duplicate key logic.
|
|
26
28
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Missing observations cannot become hardcoded state or equal a recorded valid state through an exception branch.
|
|
@@ -30,13 +32,16 @@ import * as pluginSource from 'ttsc/plugin-source';
|
|
|
30
32
|
* @evidenceExclude contracts/performance.md#efficient-algorithms The digest and its cost belong to ttsc's pluginSourceState; this wrapper only turns a failure into null.
|
|
31
33
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work This observation adapter adds no sharing. The shared state owner reads source bytes for each call and can reuse qualified process-environment readings; a supplied environment remains the caller's current authority rather than a source-digest cache.
|
|
32
34
|
*/
|
|
33
|
-
function pluginSourceState(directory, prepared) {
|
|
35
|
+
function pluginSourceState(directory, prepared, projectRoot) {
|
|
34
36
|
try {
|
|
35
37
|
if (prepared !== undefined)
|
|
36
38
|
return prepared.environment === undefined
|
|
37
39
|
? null
|
|
38
|
-
: pluginSource.pluginSourceState(directory,
|
|
39
|
-
|
|
40
|
+
: pluginSource.pluginSourceState(directory, {
|
|
41
|
+
environment: prepared.environment,
|
|
42
|
+
projectRoot,
|
|
43
|
+
});
|
|
44
|
+
return pluginSource.pluginSourceState(directory, { projectRoot });
|
|
40
45
|
}
|
|
41
46
|
catch {
|
|
42
47
|
return null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pluginSourceState.mjs","sources":["../../../../src/core/transform/inputs/pluginSourceState.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA
|
|
1
|
+
{"version":3,"file":"pluginSourceState.mjs","sources":["../../../../src/core/transform/inputs/pluginSourceState.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;SACa,iBAAiB,CAC/B,SAAiB,EACjB,QAA8C,EAC9C,WAAoB,EAAA;AAEpB,IAAA,IAAI;QACF,IAAI,QAAQ,KAAK,SAAS;AACxB,YAAA,OAAO,QAAQ,CAAC,WAAW,KAAK;AAC9B,kBAAE;AACF,kBAAE,YAAY,CAAC,iBAAiB,CAAC,SAAS,EAAE;oBACxC,WAAW,EAAE,QAAQ,CAAC,WAAW;oBACjC,WAAW;AACZ,iBAAA,CAAC;QACR,OAAO,YAAY,CAAC,iBAAiB,CAAC,SAAS,EAAE,EAAE,WAAW,EAAE,CAAC;IACnE;AAAE,IAAA,MAAM;AACN,QAAA,OAAO,IAAI;IACb;AACF;;;;"}
|
|
@@ -16,9 +16,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
16
16
|
* awaits. Never preserve a positive batch across an await or replay the SDK
|
|
17
17
|
* witness independently for every plugin and nested validator.
|
|
18
18
|
*
|
|
19
|
+
* The project root reaches ttsc's environment worker, so that isolate proves
|
|
20
|
+
* the Go SDK and executables from the plugin cache's records instead of reading
|
|
21
|
+
* 135 MB of SDK once per bundler or runtime process (samchon/ttsc#1722).
|
|
22
|
+
*
|
|
19
23
|
* @param cached Optional resident generation whose existing source-state and
|
|
20
24
|
* environment witness may qualify source reuse. Other preparation owners
|
|
21
25
|
* retain direct source comparison.
|
|
26
|
+
* @param projectRoot Project whose plugin cache holds those records; the
|
|
27
|
+
* resident generation's own root when omitted.
|
|
22
28
|
* @evidence contracts/common.md#principled-implementation Every reported plugin directory qualifies current environment authority; only missing readings require asynchronous preparation. The same result's matching manifest state can share source proof only with a healthy exact-source tracker and the environment under which that tree was proven. Otherwise this operation compares source state once and a mismatch refreshes environment authority for the following owning validator to compare again; failed preparation cannot qualify an input.
|
|
23
29
|
* @evidence contracts/common.md#clear-and-simple-design One async boundary precedes existing synchronous generation, delivery and terminal proofs.
|
|
24
30
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Missing observations stay unproved; reported binary state never substitutes for native environment preparation or source comparison.
|
|
@@ -28,7 +34,7 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
28
34
|
* @evidence contracts/performance.md#reuse-equivalent-work The environment owner shares equivalent in-flight requests and still-qualified readings. Resident source proof is reused only for the exact result and manifest digest, unchanged qualified environment and currently healthy covered source notifications; absent, dirty, replaced or unavailable witnesses retain direct proof. No epoch or quiet watcher alone authorizes reuse, and subsequent admission still owns its current validation.
|
|
29
35
|
* @evidence contracts/performance.md#bound-retention-and-release-resources This module records asynchronous execution ownership in a WeakSet before preparation, including failures, so disposed results are not retained. Requests and worker lifetimes remain with the environment owner; this sequential operation awaits each request and acquires no native observer or independent cancellation handle.
|
|
30
36
|
*/
|
|
31
|
-
export declare function preparePluginBuildEnvironments(result: TtscCachedProjectTransform["result"], filesystem: TtscTransformFilesystemOperations, cached?: TtscCachedProjectTransform): Promise<void>;
|
|
37
|
+
export declare function preparePluginBuildEnvironments(result: TtscCachedProjectTransform["result"], filesystem: TtscTransformFilesystemOperations, cached?: TtscCachedProjectTransform, projectRoot?: string | undefined): Promise<void>;
|
|
32
38
|
/**
|
|
33
39
|
* Whether this result's owner attempted asynchronous native preparation. This
|
|
34
40
|
* records execution ownership, never successful observation authority.
|
|
@@ -16,9 +16,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
16
16
|
* awaits. Never preserve a positive batch across an await or replay the SDK
|
|
17
17
|
* witness independently for every plugin and nested validator.
|
|
18
18
|
*
|
|
19
|
+
* The project root reaches ttsc's environment worker, so that isolate proves
|
|
20
|
+
* the Go SDK and executables from the plugin cache's records instead of reading
|
|
21
|
+
* 135 MB of SDK once per bundler or runtime process (samchon/ttsc#1722).
|
|
22
|
+
*
|
|
19
23
|
* @param cached Optional resident generation whose existing source-state and
|
|
20
24
|
* environment witness may qualify source reuse. Other preparation owners
|
|
21
25
|
* retain direct source comparison.
|
|
26
|
+
* @param projectRoot Project whose plugin cache holds those records; the
|
|
27
|
+
* resident generation's own root when omitted.
|
|
22
28
|
* @evidence contracts/common.md#principled-implementation Every reported plugin directory qualifies current environment authority; only missing readings require asynchronous preparation. The same result's matching manifest state can share source proof only with a healthy exact-source tracker and the environment under which that tree was proven. Otherwise this operation compares source state once and a mismatch refreshes environment authority for the following owning validator to compare again; failed preparation cannot qualify an input.
|
|
23
29
|
* @evidence contracts/common.md#clear-and-simple-design One async boundary precedes existing synchronous generation, delivery and terminal proofs.
|
|
24
30
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Missing observations stay unproved; reported binary state never substitutes for native environment preparation or source comparison.
|
|
@@ -28,7 +34,7 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
28
34
|
* @evidence contracts/performance.md#reuse-equivalent-work The environment owner shares equivalent in-flight requests and still-qualified readings. Resident source proof is reused only for the exact result and manifest digest, unchanged qualified environment and currently healthy covered source notifications; absent, dirty, replaced or unavailable witnesses retain direct proof. No epoch or quiet watcher alone authorizes reuse, and subsequent admission still owns its current validation.
|
|
29
35
|
* @evidence contracts/performance.md#bound-retention-and-release-resources This module records asynchronous execution ownership in a WeakSet before preparation, including failures, so disposed results are not retained. Requests and worker lifetimes remain with the environment owner; this sequential operation awaits each request and acquires no native observer or independent cancellation handle.
|
|
30
36
|
*/
|
|
31
|
-
export declare function preparePluginBuildEnvironments(result: TtscCachedProjectTransform["result"], filesystem: TtscTransformFilesystemOperations, cached?: TtscCachedProjectTransform): Promise<void>;
|
|
37
|
+
export declare function preparePluginBuildEnvironments(result: TtscCachedProjectTransform["result"], filesystem: TtscTransformFilesystemOperations, cached?: TtscCachedProjectTransform, projectRoot?: string | undefined): Promise<void>;
|
|
32
38
|
/**
|
|
33
39
|
* Whether this result's owner attempted asynchronous native preparation. This
|
|
34
40
|
* records execution ownership, never successful observation authority.
|
|
@@ -16,9 +16,15 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
16
16
|
* awaits. Never preserve a positive batch across an await or replay the SDK
|
|
17
17
|
* witness independently for every plugin and nested validator.
|
|
18
18
|
*
|
|
19
|
+
* The project root reaches ttsc's environment worker, so that isolate proves
|
|
20
|
+
* the Go SDK and executables from the plugin cache's records instead of reading
|
|
21
|
+
* 135 MB of SDK once per bundler or runtime process (samchon/ttsc#1722).
|
|
22
|
+
*
|
|
19
23
|
* @param cached Optional resident generation whose existing source-state and
|
|
20
24
|
* environment witness may qualify source reuse. Other preparation owners
|
|
21
25
|
* retain direct source comparison.
|
|
26
|
+
* @param projectRoot Project whose plugin cache holds those records; the
|
|
27
|
+
* resident generation's own root when omitted.
|
|
22
28
|
* @evidence contracts/common.md#principled-implementation Every reported plugin directory qualifies current environment authority; only missing readings require asynchronous preparation. The same result's matching manifest state can share source proof only with a healthy exact-source tracker and the environment under which that tree was proven. Otherwise this operation compares source state once and a mismatch refreshes environment authority for the following owning validator to compare again; failed preparation cannot qualify an input.
|
|
23
29
|
* @evidence contracts/common.md#clear-and-simple-design One async boundary precedes existing synchronous generation, delivery and terminal proofs.
|
|
24
30
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Missing observations stay unproved; reported binary state never substitutes for native environment preparation or source comparison.
|
|
@@ -28,7 +34,7 @@ import type { TtscTransformFilesystemOperations } from "../filesystem/TtscTransf
|
|
|
28
34
|
* @evidence contracts/performance.md#reuse-equivalent-work The environment owner shares equivalent in-flight requests and still-qualified readings. Resident source proof is reused only for the exact result and manifest digest, unchanged qualified environment and currently healthy covered source notifications; absent, dirty, replaced or unavailable witnesses retain direct proof. No epoch or quiet watcher alone authorizes reuse, and subsequent admission still owns its current validation.
|
|
29
35
|
* @evidence contracts/performance.md#bound-retention-and-release-resources This module records asynchronous execution ownership in a WeakSet before preparation, including failures, so disposed results are not retained. Requests and worker lifetimes remain with the environment owner; this sequential operation awaits each request and acquires no native observer or independent cancellation handle.
|
|
30
36
|
*/
|
|
31
|
-
export declare function preparePluginBuildEnvironments(result: TtscCachedProjectTransform["result"], filesystem: TtscTransformFilesystemOperations, cached?: TtscCachedProjectTransform): Promise<void>;
|
|
37
|
+
export declare function preparePluginBuildEnvironments(result: TtscCachedProjectTransform["result"], filesystem: TtscTransformFilesystemOperations, cached?: TtscCachedProjectTransform, projectRoot?: string | undefined): Promise<void>;
|
|
32
38
|
/**
|
|
33
39
|
* Whether this result's owner attempted asynchronous native preparation. This
|
|
34
40
|
* records execution ownership, never successful observation authority.
|
|
@@ -25,9 +25,15 @@ const asyncResults = new WeakSet();
|
|
|
25
25
|
* awaits. Never preserve a positive batch across an await or replay the SDK
|
|
26
26
|
* witness independently for every plugin and nested validator.
|
|
27
27
|
*
|
|
28
|
+
* The project root reaches ttsc's environment worker, so that isolate proves
|
|
29
|
+
* the Go SDK and executables from the plugin cache's records instead of reading
|
|
30
|
+
* 135 MB of SDK once per bundler or runtime process (samchon/ttsc#1722).
|
|
31
|
+
*
|
|
28
32
|
* @param cached Optional resident generation whose existing source-state and
|
|
29
33
|
* environment witness may qualify source reuse. Other preparation owners
|
|
30
34
|
* retain direct source comparison.
|
|
35
|
+
* @param projectRoot Project whose plugin cache holds those records; the
|
|
36
|
+
* resident generation's own root when omitted.
|
|
31
37
|
* @evidence contracts/common.md#principled-implementation Every reported plugin directory qualifies current environment authority; only missing readings require asynchronous preparation. The same result's matching manifest state can share source proof only with a healthy exact-source tracker and the environment under which that tree was proven. Otherwise this operation compares source state once and a mismatch refreshes environment authority for the following owning validator to compare again; failed preparation cannot qualify an input.
|
|
32
38
|
* @evidence contracts/common.md#clear-and-simple-design One async boundary precedes existing synchronous generation, delivery and terminal proofs.
|
|
33
39
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Missing observations stay unproved; reported binary state never substitutes for native environment preparation or source comparison.
|
|
@@ -37,7 +43,7 @@ const asyncResults = new WeakSet();
|
|
|
37
43
|
* @evidence contracts/performance.md#reuse-equivalent-work The environment owner shares equivalent in-flight requests and still-qualified readings. Resident source proof is reused only for the exact result and manifest digest, unchanged qualified environment and currently healthy covered source notifications; absent, dirty, replaced or unavailable witnesses retain direct proof. No epoch or quiet watcher alone authorizes reuse, and subsequent admission still owns its current validation.
|
|
38
44
|
* @evidence contracts/performance.md#bound-retention-and-release-resources This module records asynchronous execution ownership in a WeakSet before preparation, including failures, so disposed results are not retained. Requests and worker lifetimes remain with the environment owner; this sequential operation awaits each request and acquires no native observer or independent cancellation handle.
|
|
39
45
|
*/
|
|
40
|
-
async function preparePluginBuildEnvironments(result, filesystem, cached) {
|
|
46
|
+
async function preparePluginBuildEnvironments(result, filesystem, cached, projectRoot = cached?.projectRoot) {
|
|
41
47
|
asyncResults.add(result);
|
|
42
48
|
const sources = selectPluginSourceInputs.selectPluginSourceInputs(result);
|
|
43
49
|
// Preserve the async preparation boundary even for warm environments.
|
|
@@ -52,7 +58,7 @@ async function preparePluginBuildEnvironments(result, filesystem, cached) {
|
|
|
52
58
|
continue;
|
|
53
59
|
awaited = true;
|
|
54
60
|
try {
|
|
55
|
-
await pluginSource.PluginBuildEnvironmentReadings.prepare(directory);
|
|
61
|
+
await pluginSource.PluginBuildEnvironmentReadings.prepare(directory, false, projectRoot);
|
|
56
62
|
}
|
|
57
63
|
catch {
|
|
58
64
|
// Keep unavailable authority for admission rather than cold fallback.
|
|
@@ -72,9 +78,7 @@ async function preparePluginBuildEnvironments(result, filesystem, cached) {
|
|
|
72
78
|
environment &&
|
|
73
79
|
trackerProvesInputUnchanged.trackerProvesInputUnchanged(cached.hostInputMutationTracker, directory))
|
|
74
80
|
continue;
|
|
75
|
-
if (!pluginSourceHolds.pluginSourceHolds(directory, state, filesystem, {
|
|
76
|
-
environment,
|
|
77
|
-
}))
|
|
81
|
+
if (!pluginSourceHolds.pluginSourceHolds(directory, state, filesystem, { environment }, projectRoot))
|
|
78
82
|
refresh.push(directory);
|
|
79
83
|
}
|
|
80
84
|
catch {
|
|
@@ -84,7 +88,7 @@ async function preparePluginBuildEnvironments(result, filesystem, cached) {
|
|
|
84
88
|
}
|
|
85
89
|
for (const directory of refresh) {
|
|
86
90
|
try {
|
|
87
|
-
await pluginSource.PluginBuildEnvironmentReadings.prepare(directory, true);
|
|
91
|
+
await pluginSource.PluginBuildEnvironmentReadings.prepare(directory, true, projectRoot);
|
|
88
92
|
}
|
|
89
93
|
catch {
|
|
90
94
|
// Synchronous admission requalifies after this asynchronous window.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preparePluginBuildEnvironments.js","sources":["../../../../src/core/transform/inputs/preparePluginBuildEnvironments.ts"],"sourcesContent":[null],"names":["selectPluginSourceInputs","PluginBuildEnvironmentReadings","trackerProvesInputUnchanged","pluginSourceHolds"],"mappings":";;;;;;;AAQA;AACA;AACA;AACA,MAAM,YAAY,GAAG,IAAI,OAAO,EAAU;AAE1C
|
|
1
|
+
{"version":3,"file":"preparePluginBuildEnvironments.js","sources":["../../../../src/core/transform/inputs/preparePluginBuildEnvironments.ts"],"sourcesContent":[null],"names":["selectPluginSourceInputs","PluginBuildEnvironmentReadings","trackerProvesInputUnchanged","pluginSourceHolds"],"mappings":";;;;;;;AAQA;AACA;AACA;AACA,MAAM,YAAY,GAAG,IAAI,OAAO,EAAU;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCG;AACI,eAAe,8BAA8B,CAClD,MAA4C,EAC5C,UAA6C,EAC7C,MAAmC,EACnC,WAAA,GAAkC,MAAM,EAAE,WAAW,EAAA;AAErD,IAAA,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC;AACxB,IAAA,MAAM,OAAO,GAAGA,iDAAwB,CAAC,MAAM,CAAC;;;;;AAKhD,IAAA,MAAM,OAAO,CAAC,OAAO,EAAE;IACvB,MAAM,OAAO,GAAGC,2CAA8B,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;IACxE,IAAI,OAAO,GAAG,KAAK;IACnB,KAAK,MAAM,SAAS,IAAI,OAAO,CAAC,IAAI,EAAE,EAAE;AACtC,QAAA,IAAI,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,SAAS;YAAE;QAC1C,OAAO,GAAG,IAAI;AACd,QAAA,IAAI;YACF,MAAMA,2CAA8B,CAAC,OAAO,CAC1C,SAAS,EACT,KAAK,EACL,WAAW,CACZ;QACH;AAAE,QAAA,MAAM;;QAER;IACF;IACA,MAAM,YAAY,GAAG;UACjBA,2CAA8B,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE;UACvD,OAAO;IACX,MAAM,OAAO,GAAa,EAAE;IAC5B,KAAK,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,OAAO,EAAE;AACxC,QAAA,IAAI;YACF,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,CAAC,SAAS,CAAC;AAC/C,YAAA,IACE,MAAM,EAAE,MAAM,KAAK,MAAM;gBACzB,MAAM,CAAC,mBAAmB,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,KAAK;AAC1D,gBAAA,WAAW,KAAK,SAAS;gBACzB,MAAM,CAAC,mBAAmB,CAAC,gBAAgB,EAAE,GAAG,CAAC,SAAS,CAAC;oBACzD,WAAW;AACb,gBAAAC,uDAA2B,CAAC,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC;gBAEvE;AACF,YAAA,IACE,CAACC,mCAAiB,CAChB,SAAS,EACT,KAAK,EACL,UAAU,EACV,EAAE,WAAW,EAAE,EACf,WAAW,CACZ;AAED,gBAAA,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;QAC3B;AAAE,QAAA,MAAM;;;QAGR;IACF;AACA,IAAA,KAAK,MAAM,SAAS,IAAI,OAAO,EAAE;AAC/B,QAAA,IAAI;YACF,MAAMF,2CAA8B,CAAC,OAAO,CAC1C,SAAS,EACT,IAAI,EACJ,WAAW,CACZ;QACH;AAAE,QAAA,MAAM;;QAER;IACF;AACF;AAEA;;;;;;;;;;;;AAYG;AACG,SAAU,mCAAmC,CACjD,MAA4C,EAAA;AAE5C,IAAA,OAAO,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC;AACjC;;;;;"}
|
|
@@ -23,9 +23,15 @@ const asyncResults = new WeakSet();
|
|
|
23
23
|
* awaits. Never preserve a positive batch across an await or replay the SDK
|
|
24
24
|
* witness independently for every plugin and nested validator.
|
|
25
25
|
*
|
|
26
|
+
* The project root reaches ttsc's environment worker, so that isolate proves
|
|
27
|
+
* the Go SDK and executables from the plugin cache's records instead of reading
|
|
28
|
+
* 135 MB of SDK once per bundler or runtime process (samchon/ttsc#1722).
|
|
29
|
+
*
|
|
26
30
|
* @param cached Optional resident generation whose existing source-state and
|
|
27
31
|
* environment witness may qualify source reuse. Other preparation owners
|
|
28
32
|
* retain direct source comparison.
|
|
33
|
+
* @param projectRoot Project whose plugin cache holds those records; the
|
|
34
|
+
* resident generation's own root when omitted.
|
|
29
35
|
* @evidence contracts/common.md#principled-implementation Every reported plugin directory qualifies current environment authority; only missing readings require asynchronous preparation. The same result's matching manifest state can share source proof only with a healthy exact-source tracker and the environment under which that tree was proven. Otherwise this operation compares source state once and a mismatch refreshes environment authority for the following owning validator to compare again; failed preparation cannot qualify an input.
|
|
30
36
|
* @evidence contracts/common.md#clear-and-simple-design One async boundary precedes existing synchronous generation, delivery and terminal proofs.
|
|
31
37
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Missing observations stay unproved; reported binary state never substitutes for native environment preparation or source comparison.
|
|
@@ -35,7 +41,7 @@ const asyncResults = new WeakSet();
|
|
|
35
41
|
* @evidence contracts/performance.md#reuse-equivalent-work The environment owner shares equivalent in-flight requests and still-qualified readings. Resident source proof is reused only for the exact result and manifest digest, unchanged qualified environment and currently healthy covered source notifications; absent, dirty, replaced or unavailable witnesses retain direct proof. No epoch or quiet watcher alone authorizes reuse, and subsequent admission still owns its current validation.
|
|
36
42
|
* @evidence contracts/performance.md#bound-retention-and-release-resources This module records asynchronous execution ownership in a WeakSet before preparation, including failures, so disposed results are not retained. Requests and worker lifetimes remain with the environment owner; this sequential operation awaits each request and acquires no native observer or independent cancellation handle.
|
|
37
43
|
*/
|
|
38
|
-
async function preparePluginBuildEnvironments(result, filesystem, cached) {
|
|
44
|
+
async function preparePluginBuildEnvironments(result, filesystem, cached, projectRoot = cached?.projectRoot) {
|
|
39
45
|
asyncResults.add(result);
|
|
40
46
|
const sources = selectPluginSourceInputs(result);
|
|
41
47
|
// Preserve the async preparation boundary even for warm environments.
|
|
@@ -50,7 +56,7 @@ async function preparePluginBuildEnvironments(result, filesystem, cached) {
|
|
|
50
56
|
continue;
|
|
51
57
|
awaited = true;
|
|
52
58
|
try {
|
|
53
|
-
await PluginBuildEnvironmentReadings.prepare(directory);
|
|
59
|
+
await PluginBuildEnvironmentReadings.prepare(directory, false, projectRoot);
|
|
54
60
|
}
|
|
55
61
|
catch {
|
|
56
62
|
// Keep unavailable authority for admission rather than cold fallback.
|
|
@@ -70,9 +76,7 @@ async function preparePluginBuildEnvironments(result, filesystem, cached) {
|
|
|
70
76
|
environment &&
|
|
71
77
|
trackerProvesInputUnchanged(cached.hostInputMutationTracker, directory))
|
|
72
78
|
continue;
|
|
73
|
-
if (!pluginSourceHolds(directory, state, filesystem, {
|
|
74
|
-
environment,
|
|
75
|
-
}))
|
|
79
|
+
if (!pluginSourceHolds(directory, state, filesystem, { environment }, projectRoot))
|
|
76
80
|
refresh.push(directory);
|
|
77
81
|
}
|
|
78
82
|
catch {
|
|
@@ -82,7 +86,7 @@ async function preparePluginBuildEnvironments(result, filesystem, cached) {
|
|
|
82
86
|
}
|
|
83
87
|
for (const directory of refresh) {
|
|
84
88
|
try {
|
|
85
|
-
await PluginBuildEnvironmentReadings.prepare(directory, true);
|
|
89
|
+
await PluginBuildEnvironmentReadings.prepare(directory, true, projectRoot);
|
|
86
90
|
}
|
|
87
91
|
catch {
|
|
88
92
|
// Synchronous admission requalifies after this asynchronous window.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preparePluginBuildEnvironments.mjs","sources":["../../../../src/core/transform/inputs/preparePluginBuildEnvironments.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAQA;AACA;AACA;AACA,MAAM,YAAY,GAAG,IAAI,OAAO,EAAU;AAE1C
|
|
1
|
+
{"version":3,"file":"preparePluginBuildEnvironments.mjs","sources":["../../../../src/core/transform/inputs/preparePluginBuildEnvironments.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAQA;AACA;AACA;AACA,MAAM,YAAY,GAAG,IAAI,OAAO,EAAU;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCG;AACI,eAAe,8BAA8B,CAClD,MAA4C,EAC5C,UAA6C,EAC7C,MAAmC,EACnC,WAAA,GAAkC,MAAM,EAAE,WAAW,EAAA;AAErD,IAAA,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC;AACxB,IAAA,MAAM,OAAO,GAAG,wBAAwB,CAAC,MAAM,CAAC;;;;;A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SAAS,IAAI,OAAO,EAAE;AAC/B,QAAA,IAAI;YACF,MAAM,8BAA8B,CAAC,OAAO,CAC1C,SAAS,EACT,IAAI,EACJ,WAAW,CACZ;QACH;AAAE,QAAA,MAAM;;QAER;IACF;AACF;AAEA;;;;;;;;;;;;AAYG;AACG,SAAU,mCAAmC,CACjD,MAA4C,EAAA;AAE5C,IAAA,OAAO,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC;AACjC;;;;"}
|
|
@@ -146,7 +146,7 @@ async function transformTtsc(id, source, options, aliases, cache, hooks) {
|
|
|
146
146
|
const terminal = TERMINAL_TRANSFORM_GENERATIONS.TERMINAL_TRANSFORM_GENERATIONS.get(transformed);
|
|
147
147
|
if (terminal !== undefined) {
|
|
148
148
|
if (terminal instanceof TtscUnstableGenerationError.TtscUnstableGenerationError) {
|
|
149
|
-
await preparePluginBuildEnvironments.preparePluginBuildEnvironments(terminal.validation.cached.result, filesystem);
|
|
149
|
+
await preparePluginBuildEnvironments.preparePluginBuildEnvironments(terminal.validation.cached.result, filesystem, undefined, terminal.validation.cached.projectRoot);
|
|
150
150
|
if (cache?.get(key) !== transformed)
|
|
151
151
|
continue;
|
|
152
152
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformTtsc.js","sources":["../../../src/core/transform/transformTtsc.ts"],"sourcesContent":[null],"names":["transformFilesystem","stripQuery","isHostWrapperQuery","isDeclarationFile","pluginsAreDisabled","prepareProjectRecordDirectories","resolveProjectSelection","createAliasPaths","createTransformCacheKey","transformCacheEpoch","TERMINAL_TRANSFORM_GENERATIONS","TtscUnstableGenerationError","preparePluginBuildEnvironments","replaysTerminalGeneration","notifyRejectedGenerationInputs","evictGeneration","awaitOrEvict","TRANSFORM_RESULT_FILESYSTEM","transformCacheTrustsNotifications","withdrawGenerationNotifications","settleProjectMutationEvents","TtscGenerationProof","selectCachedGenerationAction","deliverCachedTransform","transformProject","TRANSFORM_CACHE_SESSIONS","TRANSFORM_CACHE_CAS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OD,IAAA,MAAM,cAAc,GAAuB;QACzC,SAAS,EAAE,SAAS,CAAC,SAAS;QAC9B,UAAU;QACV,QAAQ;KACT;AACD,IAAA,MAAM,UAAU,GAAGC,iCAAgB,CAAC,OAAO,CAAC;IAC5C,MAAM,GAAG,GAAGC,+CAAuB,CAAC;QAClC,UAAU;QACV,eAAe,EAAE,OAAO,CAAC,eAAe;QACxC,OAAO,EAAE,OAAO,CAAC,OAAO;AACxB,QAAA,WAAW,EAAE,mBAAmB;QAChC,QAAQ;AACT,KAAA,CAAC;AAEF,IAAA,SAAS;;;;;;AAMP,QAAA,MAAM,KAAK,GAAGC,uCAAmB,CAAC,KAAK,CAAC;QACxC,IAAI,WAAW,GAAG,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC;AACjC,QAAA,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,QAAQ,GAAGC,6DAA8B,CAAC,GAAG,CAAC,WAAW,CAAC;AAChE,YAAA,IAAI,QAAQ,KAAK,SAAS,EAAE;AAC1B,gBAAA,IAAI,QAAQ,YAAYC,uDAA2B,EAAE;
|
|
1
|
+
{"version":3,"file":"transformTtsc.js","sources":["../../../src/core/transform/transformTtsc.ts"],"sourcesContent":[null],"names":["transformFilesystem","stripQuery","isHostWrapperQuery","isDeclarationFile","pluginsAreDisabled","prepareProjectRecordDirectories","resolveProjectSelection","createAliasPaths","createTransformCacheKey","transformCacheEpoch","TERMINAL_TRANSFORM_GENERATIONS","TtscUnstableGenerationError","preparePluginBuildEnvironments","replaysTerminalGeneration","notifyRejectedGenerationInputs","evictGeneration","awaitOrEvict","TRANSFORM_RESULT_FILESYSTEM","transformCacheTrustsNotifications","withdrawGenerationNotifications","settleProjectMutationEvents","TtscGenerationProof","selectCachedGenerationAction","deliverCachedTransform","transformProject","TRANSFORM_CACHE_SESSIONS","TRANSFORM_CACHE_CASE_POLICIES","TRANSFORM_CACHE_DEPENDENCY_WITNESSES"],"mappings":";;;;;;;;;;;;;;;;;;;;;;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,YAAA,SAAS,EAAE,cAAc;AAC1B,SAAA,CAAC;IACJ;AACF;;;;"}
|
|
@@ -144,7 +144,7 @@ async function transformTtsc(id, source, options, aliases, cache, hooks) {
|
|
|
144
144
|
const terminal = TERMINAL_TRANSFORM_GENERATIONS.get(transformed);
|
|
145
145
|
if (terminal !== undefined) {
|
|
146
146
|
if (terminal instanceof TtscUnstableGenerationError) {
|
|
147
|
-
await preparePluginBuildEnvironments(terminal.validation.cached.result, filesystem);
|
|
147
|
+
await preparePluginBuildEnvironments(terminal.validation.cached.result, filesystem, undefined, terminal.validation.cached.projectRoot);
|
|
148
148
|
if (cache?.get(key) !== transformed)
|
|
149
149
|
continue;
|
|
150
150
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformTtsc.mjs","sources":["../../../src/core/transform/transformTtsc.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDG;AACI,eAAe,aAAa,CACjC,EAAU,EACV,MAAc,EACd,OAAoC,EACpC,OAAiB,EACjB,KAA0B,EAC1B,KAA0B,EAAA;AAE1B,IAAA,MAAM,UAAU,GAAG,mBAAmB,CAAC,KAAK,CAAC;AAC7C,IAAA,MAAM,KAAK,GAAG,KAAK,EAAE,SAAS,KAAK,IAAI;AACvC,IAAA,MAAM,KAAK,GAAG,KAAK,GAAG,EAAE,GAAG,UAAU,CAAC,EAAE,CAAC;AACzC,IAAA,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;AACxB,QAAA,OAAO,SAAS;IAClB;;;;;IAKA,IAAI,CAAC,KAAK,IAAI,kBAAkB,CAAC,EAAE,CAAC,EAAE;AACpC,QAAA,OAAO,SAAS;IAClB;IACA,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;AAChC,IAAA,IAAI,i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YAAA,SAAS,EAAE,cAAc;AAC1B,SAAA,CAAC;IACJ;AACF;;;;"}
|
|
@@ -274,9 +274,9 @@ function captureUniversalHostInputValidation(cached, currentFile) {
|
|
|
274
274
|
const prepared = preparePluginBuildEnvironments.usesPreparedPluginBuildEnvironments(cached.result);
|
|
275
275
|
const environment = prepared
|
|
276
276
|
? pluginSource.PluginBuildEnvironmentReadings.cached(directory)
|
|
277
|
-
: pluginSource.processPluginBuildEnvironment(directory);
|
|
277
|
+
: pluginSource.processPluginBuildEnvironment(directory, false, cached.projectRoot);
|
|
278
278
|
if (environment === undefined ||
|
|
279
|
-
!pluginSourceHolds.pluginSourceHolds(directory, digest, filesystem, prepared ? { environment } : undefined)) {
|
|
279
|
+
!pluginSourceHolds.pluginSourceHolds(directory, digest, filesystem, prepared ? { environment } : undefined, cached.projectRoot)) {
|
|
280
280
|
recordGenerationProofFailure.recordGenerationProofFailure(failures, {
|
|
281
281
|
domain: "host",
|
|
282
282
|
kind: "content-changed",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captureUniversalHostInputValidation.js","sources":["../../../../src/core/transform/validation/captureUniversalHostInputValidation.ts"],"sourcesContent":[null],"names":["resultFilesystem","envelopeDerivation","createGenerationProofFailures","recordGenerationProofFailure","selectPersistentHostInputs","hostInputStateHash","sameHostInputRealpath","hostInputRealpath","inputMetadataEvidence","matchesRecordedInput","inputMetadataSignature","missingPathProbe","selectPluginSourceInputs","usesPreparedPluginBuildEnvironments","PluginBuildEnvironmentReadings","processPluginBuildEnvironment","pluginSourceHolds"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyBA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,mCAAmC,CACjD,MAAkC,EAClC,WAAmB,EAAA;IAQnB,MAAM,UAAU,GAAGA,iCAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,KAAK,GAAGC,qCAAkB,CAAC,MAAM,CAAC;AACxC,IAAA,MAAM,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d,YAAA,MAAM,IAAI,GAAI,KAA+B,CAAC,IAAI;YAClD,MAAM,GAAG,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,SAAS;QAClD;QACA,IAAI,CAAC,MAAM,EAAE;YACXA,yDAA4B,CAAC,QAAQ,EAAE;AACrC,gBAAA,MAAM,EAAE,MAAM;AACd,gBAAA,IAAI,EAAE,2BAA2B;AACjC,gBAAA,IAAI,EAAE,KAAK;AACZ,aAAA,CAAC;YACF;QACF;AACA,QAAA,IAAI,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC;AACnD,QAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACvB,YAAA,KAAK,GAAG,IAAI,GAAG,EAAU;YACzB,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC;QAChD;;AAEA,QAAA,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;IACvB;;;;AAIA,IAAA,KAAK,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,IAAIS,iDAAwB,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE;;;;QAIzE,MAAM,QAAQ,GAAGC,kEAAmC,CAAC,MAAM,CAAC,MAAM,CAAC;QACnE,MAAM,WAAW,GAAG;AAClB,cAAEC,2CAA8B,CAAC,MAAM,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"captureUniversalHostInputValidation.js","sources":["../../../../src/core/transform/validation/captureUniversalHostInputValidation.ts"],"sourcesContent":[null],"names":["resultFilesystem","envelopeDerivation","createGenerationProofFailures","recordGenerationProofFailure","selectPersistentHostInputs","hostInputStateHash","sameHostInputRealpath","hostInputRealpath","inputMetadataEvidence","matchesRecordedInput","inputMetadataSignature","missingPathProbe","selectPluginSourceInputs","usesPreparedPluginBuildEnvironments","PluginBuildEnvironmentReadings","processPluginBuildEnvironment","pluginSourceHolds"],"mappings":";;;;;;;;;;;;;;;;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B,SAAS,EACT,MAAM,EACN,UAAU,EACV,QAAQ,GAAG,EAAE,WAAW,EAAE,GAAG,SAAS,EACtC,MAAM,CAAC,WAAW,CACnB,EACD;YACAb,yDAA4B,CAAC,QAAQ,EAAE;AACrC,gBAAA,MAAM,EAAE,MAAM;AACd,gBAAA,IAAI,EAAE,iBAAiB;AACvB,gBAAA,IAAI,EAAE,SAAS;AAChB,aAAA,CAAC;YACF;QACF;AACA,QAAA,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;QACjC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC;AACvC,QAAA,CAAC,UAAU,CAAC,gBAAgB,KAAK,IAAI,GAAG,EAAE,EAAE,GAAG,CAAC,SAAS,EAAE,WAAW,CAAC;IACzE;AACA,IAAA,IAAI,QAAQ,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,QAAQ,CAAC,OAAO,KAAK,CAAC,EAAE;QAC3D,OAAO,EAAE,QAAQ,EAAE;IACrB;AACA,IAAA,MAAM,CAAC,mBAAmB,GAAG,UAAU;AACvC,IAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE;AACjC;;;;"}
|
|
@@ -272,9 +272,9 @@ function captureUniversalHostInputValidation(cached, currentFile) {
|
|
|
272
272
|
const prepared = usesPreparedPluginBuildEnvironments(cached.result);
|
|
273
273
|
const environment = prepared
|
|
274
274
|
? PluginBuildEnvironmentReadings.cached(directory)
|
|
275
|
-
: processPluginBuildEnvironment(directory);
|
|
275
|
+
: processPluginBuildEnvironment(directory, false, cached.projectRoot);
|
|
276
276
|
if (environment === undefined ||
|
|
277
|
-
!pluginSourceHolds(directory, digest, filesystem, prepared ? { environment } : undefined)) {
|
|
277
|
+
!pluginSourceHolds(directory, digest, filesystem, prepared ? { environment } : undefined, cached.projectRoot)) {
|
|
278
278
|
recordGenerationProofFailure(failures, {
|
|
279
279
|
domain: "host",
|
|
280
280
|
kind: "content-changed",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captureUniversalHostInputValidation.mjs","sources":["../../../../src/core/transform/validation/captureUniversalHostInputValidation.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAyBA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,mCAAmC,CACjD,MAAkC,EAClC,WAAmB,EAAA;IAQnB,MAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,KAAK,GAAG,kBAAkB,CAAC,MAAM,CAAC;AACxC,IAAA,MAAM,QAAQ,GAAG,6BAA6B,EAAE;AAChD,IAAA,MAAM,UAAU,GAA4B;QAC1C,OAAO,EAAE,IAAI,GAAG,EAAE;QAClB,OAAO,EAAE,IAAI,GAAG,EAAE;QAClB,OAAO,EAAE,IAAI,GAAG,EAAE;QAClB,aAAa,EAAE,IAAI,GAAG,EAAE;QACxB,KAAK,EAAE,IAAI,GAAG,EAAE;KACjB;AACD,IAAA,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM;AAC5B,IAAA,MAAM,gBAAgB,GACpB,MAAM,CAAC,IAAI,KAAK,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC,eAAe;AAClE,IAAA,MAAM,mBAAmB,GACvB,MAAM,CAAC,IAAI,KAAK,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC,kBAAkB;AACrE,IAAA,MAAM,aAAa,GACjB,MAAM,CAAC,IAAI,KAAK,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC,sBAAsB;AACzE,IAAA,IAAI,MAAM,CAAC,IAAI,KAAK,WAAW,IAAI,MAAM,CAAC,oBAAoB,KAAK,KAAK,EAAE;QACxE,4BAA4B,CAAC,QAAQ,EAAE;AACrC,YAAA,MAAM,EAAE,MAAM;AACd,YAAA,IAAI,EAAE,yBAAyB;AAC/B,YAAA,MAAM,EAAE,qBAAqB;AAC9B,SAAA,CAAC;IACJ;AACA,IA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
1
|
+
{"version":3,"file":"captureUniversalHostInputValidation.mjs","sources":["../../../../src/core/transform/validation/captureUniversalHostInputValidation.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAyBA;;;;;;;;;;;;;;;;;;;;;AAqBG;AACG,SAAU,mCAAmC,CACjD,MAAkC,EAClC,WAAmB,EAAA;IAQnB,MAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC;AAClD,IAAA,MAAM,KAAK,GAAG,kBAAkB,CAAC,MAAM,CAAC;AACxC,IAAA,MAAM,QAAQ,GAAG,6BAA6B,EAAE;AAChD,IAAA,MAAM,UAAU,GAA4B;QAC1C,OAAO,EAAE,IAAI,GAAG,EAAE;QAClB,OAAO,EAAE,IAAI,GAAG,EAAE;QAClB,OAAO,EAAE,IAAI,GAAG,EAAE;QAClB,aAAa,EAAE,IAAI,GAAG,EAAE;QACxB,KAAK,EAAE,IAAI,GAAG,EAAE;KACjB;AACD,IAAA,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM;AAC5B,IAAA,MAAM,gBAAgB,GACpB,MAAM,CAAC,IAAI,KAAK,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC,eAAe;AAClE,IAAA,MAAM,mBAAmB,GACvB,MAAM,CAAC,IAAI,KAAK,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC,kBAAkB;AACrE,IAAA,MAAM,aAAa,GACjB,MAAM,CAAC,IAAI,KAAK,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC,sBAAsB;AACzE,IAAA,IAAI,MAAM,CAAC,IAAI,KAAK,WAAW,IAAI,MAAM,CAAC,oBAAoB,KAAK,KAAK,EAAE;QACxE,4BAA4B,CAAC,QAAQ,EAAE;AACrC,YAAA,MAAM,EAAE,MAAM;AACd,YAAA,IAAI,EAAE,yBAAyB;AAC/B,YAAA,MAAM,EAAE,qBAAqB;AAC9B,SAAA,CAAC;IACJ;AACA,IAAA,KAAK,MAAM,CAAC,KA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AAE,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC;QACvE,IACE,WAAW,KAAK,SAAS;YACzB,CAAC,iBAAiB,CAChB,SAAS,EACT,MAAM,EACN,UAAU,EACV,QAAQ,GAAG,EAAE,WAAW,EAAE,GAAG,SAAS,EACtC,MAAM,CAAC,WAAW,CACnB,EACD;YACA,4BAA4B,CAAC,QAAQ,EAAE;AACrC,gBAAA,MAAM,EAAE,MAAM;AACd,gBAAA,IAAI,EAAE,iBAAiB;AACvB,gBAAA,IAAI,EAAE,SAAS;AAChB,aAAA,CAAC;YACF;QACF;AACA,QAAA,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;QACjC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC;AACvC,QAAA,CAAC,UAAU,CAAC,gBAAgB,KAAK,IAAI,GAAG,EAAE,EAAE,GAAG,CAAC,SAAS,EAAE,WAAW,CAAC;IACzE;AACA,IAAA,IAAI,QAAQ,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,QAAQ,CAAC,OAAO,KAAK,CAAC,EAAE;QAC3D,OAAO,EAAE,QAAQ,EAAE;IACrB;AACA,IAAA,MAAM,CAAC,mBAAmB,GAAG,UAAU;AACvC,IAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE;AACjC;;;;"}
|
|
@@ -49,13 +49,13 @@ function matchesUniversalHostInputTrees(cached, validation, proof) {
|
|
|
49
49
|
? proof?.cached === cached && proof.environments !== undefined
|
|
50
50
|
? proof.environments.get(directory)
|
|
51
51
|
: pluginSource.PluginBuildEnvironmentReadings.cached(directory)
|
|
52
|
-
: pluginSource.processPluginBuildEnvironment(directory);
|
|
52
|
+
: pluginSource.processPluginBuildEnvironment(directory, false, cached.projectRoot);
|
|
53
53
|
if (environment === undefined)
|
|
54
54
|
return false;
|
|
55
55
|
if (trackerProvesInputUnchanged.trackerProvesInputUnchanged(cached.hostInputMutationTracker, directory) &&
|
|
56
56
|
validation.treeEnvironments?.get(directory) === environment)
|
|
57
57
|
continue;
|
|
58
|
-
if (!pluginSourceHolds.pluginSourceHolds(directory, digest, resultFilesystem.resultFilesystem(cached.result), prepared ? { environment } : undefined))
|
|
58
|
+
if (!pluginSourceHolds.pluginSourceHolds(directory, digest, resultFilesystem.resultFilesystem(cached.result), prepared ? { environment } : undefined, cached.projectRoot))
|
|
59
59
|
return false;
|
|
60
60
|
(validation.treeEnvironments ??= new Map()).set(directory, environment);
|
|
61
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchesUniversalHostInputTrees.js","sources":["../../../../src/core/transform/validation/matchesUniversalHostInputTrees.ts"],"sourcesContent":[null],"names":["usesPreparedPluginBuildEnvironments","PluginBuildEnvironmentReadings","processPluginBuildEnvironment","trackerProvesInputUnchanged","pluginSourceHolds","resultFilesystem"],"mappings":";;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCG;SACa,8BAA8B,CAC5C,MAAkC,EAClC,UAAmC,EACnC,KAAuC,EAAA;IAEvC,KAAK,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,UAAU,CAAC,KAAK,EAAE;;;QAGlD,MAAM,QAAQ,GAAGA,kEAAmC,CAAC,MAAM,CAAC,MAAM,CAAC;QACnE,MAAM,WAAW,GAAG;cAChB,KAAK,EAAE,MAAM,KAAK,MAAM,IAAI,KAAK,CAAC,YAAY,KAAK;kBACjD,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS;AAClC,kBAAEC,2CAA8B,CAAC,MAAM,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"matchesUniversalHostInputTrees.js","sources":["../../../../src/core/transform/validation/matchesUniversalHostInputTrees.ts"],"sourcesContent":[null],"names":["usesPreparedPluginBuildEnvironments","PluginBuildEnvironmentReadings","processPluginBuildEnvironment","trackerProvesInputUnchanged","pluginSourceHolds","resultFilesystem"],"mappings":";;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCG;SACa,8BAA8B,CAC5C,MAAkC,EAClC,UAAmC,EACnC,KAAuC,EAAA;IAEvC,KAAK,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,UAAU,CAAC,KAAK,EAAE;;;QAGlD,MAAM,QAAQ,GAAGA,kEAAmC,CAAC,MAAM,CAAC,MAAM,CAAC;QACnE,MAAM,WAAW,GAAG;cAChB,KAAK,EAAE,MAAM,KAAK,MAAM,IAAI,KAAK,CAAC,YAAY,KAAK;kBACjD,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS;AAClC,kBAAEC,2CAA8B,CAAC,MAAM,CAAC,SAAS;cACjDC,0CAA6B,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC;QACvE,IAAI,WAAW,KAAK,SAAS;AAAE,YAAA,OAAO,KAAK;AAC3C,QAAA,IACEC,uDAA2B,CAAC,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC;YACvE,UAAU,CAAC,gBAAgB,EAAE,GAAG,CAAC,SAAS,CAAC,KAAK,WAAW;YAE3D;AACF,QAAA,IACE,CAACC,mCAAiB,CAChB,SAAS,EACT,MAAM,EACNC,iCAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,EAC/B,QAAQ,GAAG,EAAE,WAAW,EAAE,GAAG,SAAS,EACtC,MAAM,CAAC,WAAW,CACnB;AAED,YAAA,OAAO,KAAK;AACd,QAAA,CAAC,UAAU,CAAC,gBAAgB,KAAK,IAAI,GAAG,EAAE,EAAE,GAAG,CAAC,SAAS,EAAE,WAAW,CAAC;IACzE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
@@ -47,13 +47,13 @@ function matchesUniversalHostInputTrees(cached, validation, proof) {
|
|
|
47
47
|
? proof?.cached === cached && proof.environments !== undefined
|
|
48
48
|
? proof.environments.get(directory)
|
|
49
49
|
: PluginBuildEnvironmentReadings.cached(directory)
|
|
50
|
-
: processPluginBuildEnvironment(directory);
|
|
50
|
+
: processPluginBuildEnvironment(directory, false, cached.projectRoot);
|
|
51
51
|
if (environment === undefined)
|
|
52
52
|
return false;
|
|
53
53
|
if (trackerProvesInputUnchanged(cached.hostInputMutationTracker, directory) &&
|
|
54
54
|
validation.treeEnvironments?.get(directory) === environment)
|
|
55
55
|
continue;
|
|
56
|
-
if (!pluginSourceHolds(directory, digest, resultFilesystem(cached.result), prepared ? { environment } : undefined))
|
|
56
|
+
if (!pluginSourceHolds(directory, digest, resultFilesystem(cached.result), prepared ? { environment } : undefined, cached.projectRoot))
|
|
57
57
|
return false;
|
|
58
58
|
(validation.treeEnvironments ??= new Map()).set(directory, environment);
|
|
59
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchesUniversalHostInputTrees.mjs","sources":["../../../../src/core/transform/validation/matchesUniversalHostInputTrees.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCG;SACa,8BAA8B,CAC5C,MAAkC,EAClC,UAAmC,EACnC,KAAuC,EAAA;IAEvC,KAAK,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,UAAU,CAAC,KAAK,EAAE;;;QAGlD,MAAM,QAAQ,GAAG,mCAAmC,CAAC,MAAM,CAAC,MAAM,CAAC;QACnE,MAAM,WAAW,GAAG;cAChB,KAAK,EAAE,MAAM,KAAK,MAAM,IAAI,KAAK,CAAC,YAAY,KAAK;kBACjD,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS;AAClC,kBAAE,8BAA8B,CAAC,MAAM,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"matchesUniversalHostInputTrees.mjs","sources":["../../../../src/core/transform/validation/matchesUniversalHostInputTrees.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCG;SACa,8BAA8B,CAC5C,MAAkC,EAClC,UAAmC,EACnC,KAAuC,EAAA;IAEvC,KAAK,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,UAAU,CAAC,KAAK,EAAE;;;QAGlD,MAAM,QAAQ,GAAG,mCAAmC,CAAC,MAAM,CAAC,MAAM,CAAC;QACnE,MAAM,WAAW,GAAG;cAChB,KAAK,EAAE,MAAM,KAAK,MAAM,IAAI,KAAK,CAAC,YAAY,KAAK;kBACjD,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,SAAS;AAClC,kBAAE,8BAA8B,CAAC,MAAM,CAAC,SAAS;cACjD,6BAA6B,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC;QACvE,IAAI,WAAW,KAAK,SAAS;AAAE,YAAA,OAAO,KAAK;AAC3C,QAAA,IACE,2BAA2B,CAAC,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC;YACvE,UAAU,CAAC,gBAAgB,EAAE,GAAG,CAAC,SAAS,CAAC,KAAK,WAAW;YAE3D;AACF,QAAA,IACE,CAAC,iBAAiB,CAChB,SAAS,EACT,MAAM,EACN,gBAAgB,CAAC,MAAM,CAAC,MAAM,CAAC,EAC/B,QAAQ,GAAG,EAAE,WAAW,EAAE,GAAG,SAAS,EACtC,MAAM,CAAC,WAAW,CACnB;AAED,YAAA,OAAO,KAAK;AACd,QAAA,CAAC,UAAU,CAAC,gBAAgB,KAAK,IAAI,GAAG,EAAE,EAAE,GAAG,CAAC,SAAS,EAAE,WAAW,CAAC;IACzE;AACA,IAAA,OAAO,IAAI;AACb;;;;"}
|
|
@@ -12,6 +12,9 @@ import type { TtscWatchInputBaseline } from "./TtscWatchInputBaseline.cjs";
|
|
|
12
12
|
* a recorded predicate. Unrequested listings are not enumerated.
|
|
13
13
|
* @param options.nativePredicates Native version-one codec kinds requested by
|
|
14
14
|
* recorded inputs. Raw native listings are independent of compiler listings.
|
|
15
|
+
* @param options.projectRoot Project whose plugin cache records prove a plugin
|
|
16
|
+
* tree, so a new process does not read its sources and SDK again
|
|
17
|
+
* (samchon/ttsc#1725).
|
|
15
18
|
* @evidence contracts/common.md#principled-implementation Two independently captured codec facts must agree before a baseline is returned; equality detects observed changes but cannot establish absence of intervening unobserved changes.
|
|
16
19
|
* @evidence contracts/common.md#clear-and-simple-design The singleton delegates to the batch owner, which assembles codec facts and owns independent observations and failure handling.
|
|
17
20
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Unavailable reads retain their explicit codec markers and predicates; a mismatch or escaping exception declines capture without supplying expected state or retrying until a desired answer appears.
|
|
@@ -25,4 +28,5 @@ export declare function captureWatchInputBaseline(file: string, filesystem?: Tts
|
|
|
25
28
|
tree?: boolean;
|
|
26
29
|
accessibleEntries?: boolean;
|
|
27
30
|
nativePredicates?: readonly (keyof NonNullable<TtscWatchInputBaseline["nativePredicates"]>)[];
|
|
31
|
+
projectRoot?: string;
|
|
28
32
|
}): TtscWatchInputBaseline | undefined;
|
|
@@ -12,6 +12,9 @@ import type { TtscWatchInputBaseline } from "./TtscWatchInputBaseline.mjs";
|
|
|
12
12
|
* a recorded predicate. Unrequested listings are not enumerated.
|
|
13
13
|
* @param options.nativePredicates Native version-one codec kinds requested by
|
|
14
14
|
* recorded inputs. Raw native listings are independent of compiler listings.
|
|
15
|
+
* @param options.projectRoot Project whose plugin cache records prove a plugin
|
|
16
|
+
* tree, so a new process does not read its sources and SDK again
|
|
17
|
+
* (samchon/ttsc#1725).
|
|
15
18
|
* @evidence contracts/common.md#principled-implementation Two independently captured codec facts must agree before a baseline is returned; equality detects observed changes but cannot establish absence of intervening unobserved changes.
|
|
16
19
|
* @evidence contracts/common.md#clear-and-simple-design The singleton delegates to the batch owner, which assembles codec facts and owns independent observations and failure handling.
|
|
17
20
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Unavailable reads retain their explicit codec markers and predicates; a mismatch or escaping exception declines capture without supplying expected state or retrying until a desired answer appears.
|
|
@@ -25,4 +28,5 @@ export declare function captureWatchInputBaseline(file: string, filesystem?: Tts
|
|
|
25
28
|
tree?: boolean;
|
|
26
29
|
accessibleEntries?: boolean;
|
|
27
30
|
nativePredicates?: readonly (keyof NonNullable<TtscWatchInputBaseline["nativePredicates"]>)[];
|
|
31
|
+
projectRoot?: string;
|
|
28
32
|
}): TtscWatchInputBaseline | undefined;
|
|
@@ -12,6 +12,9 @@ import type { TtscWatchInputBaseline } from "./TtscWatchInputBaseline";
|
|
|
12
12
|
* a recorded predicate. Unrequested listings are not enumerated.
|
|
13
13
|
* @param options.nativePredicates Native version-one codec kinds requested by
|
|
14
14
|
* recorded inputs. Raw native listings are independent of compiler listings.
|
|
15
|
+
* @param options.projectRoot Project whose plugin cache records prove a plugin
|
|
16
|
+
* tree, so a new process does not read its sources and SDK again
|
|
17
|
+
* (samchon/ttsc#1725).
|
|
15
18
|
* @evidence contracts/common.md#principled-implementation Two independently captured codec facts must agree before a baseline is returned; equality detects observed changes but cannot establish absence of intervening unobserved changes.
|
|
16
19
|
* @evidence contracts/common.md#clear-and-simple-design The singleton delegates to the batch owner, which assembles codec facts and owns independent observations and failure handling.
|
|
17
20
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Unavailable reads retain their explicit codec markers and predicates; a mismatch or escaping exception declines capture without supplying expected state or retrying until a desired answer appears.
|
|
@@ -25,4 +28,5 @@ export declare function captureWatchInputBaseline(file: string, filesystem?: Tts
|
|
|
25
28
|
tree?: boolean;
|
|
26
29
|
accessibleEntries?: boolean;
|
|
27
30
|
nativePredicates?: readonly (keyof NonNullable<TtscWatchInputBaseline["nativePredicates"]>)[];
|
|
31
|
+
projectRoot?: string;
|
|
28
32
|
}): TtscWatchInputBaseline | undefined;
|
|
@@ -15,6 +15,9 @@ var captureWatchInputBaselines = require('./captureWatchInputBaselines.js');
|
|
|
15
15
|
* a recorded predicate. Unrequested listings are not enumerated.
|
|
16
16
|
* @param options.nativePredicates Native version-one codec kinds requested by
|
|
17
17
|
* recorded inputs. Raw native listings are independent of compiler listings.
|
|
18
|
+
* @param options.projectRoot Project whose plugin cache records prove a plugin
|
|
19
|
+
* tree, so a new process does not read its sources and SDK again
|
|
20
|
+
* (samchon/ttsc#1725).
|
|
18
21
|
* @evidence contracts/common.md#principled-implementation Two independently captured codec facts must agree before a baseline is returned; equality detects observed changes but cannot establish absence of intervening unobserved changes.
|
|
19
22
|
* @evidence contracts/common.md#clear-and-simple-design The singleton delegates to the batch owner, which assembles codec facts and owns independent observations and failure handling.
|
|
20
23
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Unavailable reads retain their explicit codec markers and predicates; a mismatch or escaping exception declines capture without supplying expected state or retrying until a desired answer appears.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captureWatchInputBaseline.js","sources":["../../../../src/core/transform/watch/captureWatchInputBaseline.ts"],"sourcesContent":[null],"names":["DEFAULT_FILESYSTEM_OPERATIONS","captureWatchInputBaselines"],"mappings":";;;;;AAKA
|
|
1
|
+
{"version":3,"file":"captureWatchInputBaseline.js","sources":["../../../../src/core/transform/watch/captureWatchInputBaseline.ts"],"sourcesContent":[null],"names":["DEFAULT_FILESYSTEM_OPERATIONS","captureWatchInputBaselines"],"mappings":";;;;;AAKA;;;;;;;;;;;;;;;;;;;;;;;AAuBG;AACG,SAAU,yBAAyB,CACvC,IAAY,EACZ,UAAA,GAAgDA,2DAA6B,EAC7E,OAAA,GAOI,EAAE,EAAA;AAEN,IAAA,OAAOC,qDAA0B,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;AAC1E;;;;"}
|
|
@@ -13,6 +13,9 @@ import { captureWatchInputBaselines } from './captureWatchInputBaselines.mjs';
|
|
|
13
13
|
* a recorded predicate. Unrequested listings are not enumerated.
|
|
14
14
|
* @param options.nativePredicates Native version-one codec kinds requested by
|
|
15
15
|
* recorded inputs. Raw native listings are independent of compiler listings.
|
|
16
|
+
* @param options.projectRoot Project whose plugin cache records prove a plugin
|
|
17
|
+
* tree, so a new process does not read its sources and SDK again
|
|
18
|
+
* (samchon/ttsc#1725).
|
|
16
19
|
* @evidence contracts/common.md#principled-implementation Two independently captured codec facts must agree before a baseline is returned; equality detects observed changes but cannot establish absence of intervening unobserved changes.
|
|
17
20
|
* @evidence contracts/common.md#clear-and-simple-design The singleton delegates to the batch owner, which assembles codec facts and owns independent observations and failure handling.
|
|
18
21
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Unavailable reads retain their explicit codec markers and predicates; a mismatch or escaping exception declines capture without supplying expected state or retrying until a desired answer appears.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captureWatchInputBaseline.mjs","sources":["../../../../src/core/transform/watch/captureWatchInputBaseline.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKA
|
|
1
|
+
{"version":3,"file":"captureWatchInputBaseline.mjs","sources":["../../../../src/core/transform/watch/captureWatchInputBaseline.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAKA;;;;;;;;;;;;;;;;;;;;;;;AAuBG;AACG,SAAU,yBAAyB,CACvC,IAAY,EACZ,UAAA,GAAgD,6BAA6B,EAC7E,OAAA,GAOI,EAAE,EAAA;AAEN,IAAA,OAAO,0BAA0B,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;AAC1E;;;;"}
|
|
@@ -28,4 +28,6 @@ export declare function captureWatchInputBaselines(files: Iterable<string>, file
|
|
|
28
28
|
tree?: boolean;
|
|
29
29
|
accessibleEntries?: boolean;
|
|
30
30
|
nativePredicates?: readonly (keyof NonNullable<TtscWatchInputBaseline["nativePredicates"]>)[];
|
|
31
|
+
/** Project whose plugin cache records prove a plugin tree (#1725). */
|
|
32
|
+
projectRoot?: string;
|
|
31
33
|
}): Map<string, TtscWatchInputBaseline | undefined>;
|