@animus-ui/next-plugin 0.1.7 → 0.1.9

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.
@@ -35,15 +35,18 @@ export declare class ExtractionSession {
35
35
  /** Physical asset files registered with the host watcher. */
36
36
  assetDependencyPaths: Set<string>;
37
37
  private assetDependencyKeys;
38
- /** When set (Turbopack orchestration), every analysis also persists
39
- * `.animus/analysis-inputs.json` so isolated loader workers can hydrate.
40
- * Webpack mode leaves this off — its loader shares the process. */
41
- persistAnalysisInputs: boolean;
42
38
  /** Emitter identity override for the system-props module id. Webpack mode
43
39
  * (null) injects the absolute `.animus/system-props.js` path, resolved by
44
40
  * NormalModuleReplacement; Turbopack rejects absolute-path imports, so
45
41
  * its driver sets the virtual id that `resolveAlias` maps to disk. */
46
42
  systemPropsModuleId: string | null;
43
+ /** Whether the analysis-inputs hydration corpus is serialized + written.
44
+ * False (webpack mode): the loader shares the pipeline process and reads
45
+ * the manifest from memory — the corpus is never persisted. True is set
46
+ * by the Turbopack orchestration driver, whose isolated loader workers
47
+ * replay it (spec: next-turbopack-integration, "Manifest disk artifact" /
48
+ * "Webpack mode skips the hydration corpus"). */
49
+ persistAnalysisInputs: boolean;
47
50
  /** Absolute directory prefixes for external DS packages (loader allowlisting). */
48
51
  externalPackageDirs: string[];
49
52
  /** Absolute package dir → owning specifier (cross-source correlation). */
@@ -52,6 +55,45 @@ export declare class ExtractionSession {
52
55
  private externalFileOwners;
53
56
  /** External package specifier → absolute source entry path. */
54
57
  externalSourceEntries: Map<string, string>;
58
+ /** SourceId derivation authority for the current generation (openspec:
59
+ * external-source-watch-ingestion, design D2) — canonical roots
60
+ * realpath'd once per full pipeline; alias→SourceId associations
61
+ * recorded while files exist so deletion resolves through the cache. */
62
+ private sourceIdentity;
63
+ /** Canonical admitted external root → declared specifiers (set-valued
64
+ * ownership, design D2; duplicate specifiers resolving to one canonical
65
+ * root share it). Engine watch wiring and tests read this. */
66
+ externalRootOwners: Map<string, Set<string>>;
67
+ /** Canonical external root → the extension set its collection walk used
68
+ * (widened for dist-only roots); rewalks and classification share it. */
69
+ private externalRootExtensions;
70
+ /** Canonical admitted external watch roots — the engine-side watch
71
+ * surface (webpack contextDependencies / Turbopack watchers). */
72
+ externalWatchRoots: string[];
73
+ /** Canonical external root → (raw sourceKey → {raw content hash, recorded
74
+ * abs spelling}): the previous-generation inventory a dirty-root rewalk
75
+ * diffs against (design D3). Raw hashes — MDX preprocessing never skews
76
+ * the diff; the recorded abs path is a registered deletion alias, so a
77
+ * reconstructed deletion always resolves through cached identity. */
78
+ private externalInventory;
79
+ /** Sticky diagnostics (design D5/D7): stable key → message, re-surfaced
80
+ * on every full pipeline until the underlying condition clears. */
81
+ readonly stickyDiagnostics: Map<string, string>;
82
+ /** Volume-membership predicate for the cross-volume gate (design D5).
83
+ * Injected seam: the shared predicate only discriminates on Windows
84
+ * (win32 semantics are unit-tested via path.win32), so runtime tests
85
+ * drive the gate through this. */
86
+ sharesProjectVolume: (projectRoot: string, externalRoot: string) => boolean;
87
+ /** Orchestrator seams (openspec: external-source-watch-ingestion, design
88
+ * D4). `onExternalRootResolved` fires per volume-admitted external root
89
+ * DURING collection — after resolution, BEFORE that root's sources are
90
+ * walked — so a watching host can open its handle with no blind gap
91
+ * between scan and watch. `onExternalRootsCommitted` fires once after a
92
+ * successful full-pipeline publication with the complete admitted
93
+ * canonical root set (the host's promote/replay/close-old phase; a
94
+ * failed pipeline never fires it, so the host rolls back). */
95
+ onExternalRootResolved: ((canonicalRoot: string) => void) | null;
96
+ onExternalRootsCommitted: ((canonicalRoots: string[]) => void) | null;
55
97
  private readonly options;
56
98
  private readonly staticCssJson;
57
99
  private system;
@@ -65,26 +107,76 @@ export declare class ExtractionSession {
65
107
  /** Loader-reported dependency paths for bundler watch registration. */
66
108
  systemDependencyPaths: string[];
67
109
  private systemDependencyHashes;
68
- private lastCssHash;
69
110
  private lastSystemPropsHash;
70
- private lastManifestHash;
71
- private lastAnalysisInputsHash;
111
+ /** Per-payload write guards: payloadHash gates rewrites (byte-identical
112
+ * payloads leave disk untouched); diskHash is the hash of the CURRENT
113
+ * disk bytes (envelope included) recorded in the analysis-commit. null =
114
+ * not yet seeded (first publication reads the artifact's envelope so a
115
+ * same-session restart never rewrites byte-identical artifacts). */
116
+ private artifactRecords;
117
+ /** Last written analysis-commit; null = seeded from disk on first use. */
118
+ private lastCommit;
119
+ /** Session identity — claimed once per PROCESS (one Next invocation),
120
+ * adopted by every subsequent session instance so all compilers share
121
+ * one artifact tree (design D2: `next dev`/`next build` co-writing are
122
+ * separate processes and therefore separate sessions). */
123
+ readonly sessionId: string;
124
+ /** Epoch value of the last published analysis; null = not yet known
125
+ * (seeded from the session dir's artifact on first publication so a
126
+ * same-session restart with unchanged plans never rewrites bytes). */
127
+ private lastEpochValue;
128
+ /** Watcher debounce ceiling feeding status deadlines (design D3). */
129
+ debounceCeilingMs: number;
130
+ /** Test seam: observes every session-artifact write (name, content)
131
+ * post-rename — write ORDER is part of the transaction contract. */
132
+ onArtifactWrite: ((name: string, content: string) => void) | null;
133
+ /** Status attempt bookkeeping (design D3). */
134
+ private statusAttemptId;
135
+ private statusAttemptOpen;
136
+ /** Debounce-window observations pending analysis (sourceKey → hash). */
137
+ private debouncePending;
138
+ /** Session-start hygiene (pruning + legacy cleanup) runs once. */
139
+ private sessionStartHygieneDone;
72
140
  private lcssTargets;
73
141
  constructor(options: AnimusNextOptions);
142
+ /** This session's artifact directory. Requires `rootDir` to be set. */
143
+ get sessionDir(): string;
74
144
  get verbose(): boolean;
75
145
  private log;
76
146
  private warn;
77
147
  private now;
78
148
  private elapsed;
149
+ /** Lazily-computed scan config (options are constructor-fixed, so the
150
+ * derivation is stable for the session's lifetime). */
151
+ private scanConfigMemo;
79
152
  /** Resolve the scan configuration from options — the single source of the
80
153
  * exclude/extension policy shared by the full and incremental pipelines. */
81
154
  private resolveScanConfig;
155
+ /**
156
+ * Watch entry point: one single-flight analysis transaction per event
157
+ * batch (openspec: next-webpack-served-transform-coherence, design D3).
158
+ * The first entering session runs the transaction; every concurrent
159
+ * entry — same session re-entered, or another compiler's session
160
+ * (client/server/RSC each hold their own instance) — joins the in-flight
161
+ * promise, so no compiler proceeds against a generation older than the
162
+ * one the transaction publishes. A rejected transaction rejects every
163
+ * joiner; the gate always clears.
164
+ */
165
+ handleWatchUpdate(changes: WatchChanges): Promise<void>;
166
+ /**
167
+ * Owner-side entry for a batch observed by a NON-OWNING compiler's
168
+ * watcher. Serializes behind any in-flight transaction, then runs the
169
+ * forwarded batch as its own transaction — never drops it (a forwarded
170
+ * batch has no other delivery; content-hash diffing makes an
171
+ * already-covered batch a cheap no-op).
172
+ */
173
+ ingestForwardedBatch(changes: WatchChanges): Promise<void>;
82
174
  /**
83
175
  * Incremental watch pass: geological reset when the system file changed,
84
176
  * otherwise content-hash diffing restricted to the watcher's change sets
85
177
  * (falling back to a full discovery walk when no sets are provided).
86
178
  */
87
- handleWatchUpdate(changes: WatchChanges): Promise<void>;
179
+ private processWatchUpdate;
88
180
  /**
89
181
  * Preprocess one `.mdx` entry into scanner-consumable tsx. Returns the
90
182
  * rewritten source plus the `relPath + '.tsx'` path on success, or null
@@ -96,11 +188,42 @@ export declare class ExtractionSession {
96
188
  * `missingDepFlag` holder, and every time for a preprocessing error.
97
189
  */
98
190
  private preprocessMdxEntry;
99
- runFullPipeline(): Promise<void>;
191
+ runFullPipeline(pending?: Array<[string, string]>): Promise<void>;
100
192
  /**
101
- * Reset analysis state for HMR geological reset.
193
+ * Reset analysis state for HMR geological reset. Payload write guards go
194
+ * back to null so the next publication reseeds them from the disk
195
+ * envelopes — a byte-identical post-reset artifact is still not
196
+ * rewritten.
102
197
  */
103
198
  resetForHmr(): void;
199
+ /**
200
+ * The (sourceKey, observedSourceHash) pairs of a watch batch — cheap
201
+ * evidence for the status file's pending set on the geological-reset
202
+ * path, where the batch's component edits ride along with the system
203
+ * edit (design D3: loaders wait only on observed inputs).
204
+ */
205
+ private pendingFromBatch;
206
+ /**
207
+ * Root-dirty inventory reconciliation (design D3): partition the
208
+ * watcher's change sets into explicit FILE events and external ROOT hits
209
+ * (a reported path that IS an admitted root, or a directory inside one),
210
+ * rewalk each dirty root through the shared discovery policy, diff the
211
+ * SourceId+raw-hash inventory against the previous generation, and merge
212
+ * the reconstructed created/edited/deleted deltas with the explicit
213
+ * events (identity-level dedup happens downstream at the cache gate).
214
+ * Deletion falls out of the inventory diff — webpack may report only the
215
+ * directory (probe-proven).
216
+ */
217
+ private reconcileExternalRoots;
218
+ /**
219
+ * Route one watcher-reported path (design D1/D2): a project-root member
220
+ * (lexical containment — existing local semantics preserved; consumer
221
+ * exclude patterns apply) or an admitted external member (identity
222
+ * resolution with symlink-escape rejection; package-relative excludes
223
+ * mirror the collection walk's filters — guardrail G1, one policy).
224
+ * Returns null for dropped paths.
225
+ */
226
+ private classifyWatchPath;
104
227
  /**
105
228
  * Build file entries from cache: every cached file rides with full source.
106
229
  * The v2 engine has NO Rust-side cache (arch-extract-v2-spine: uncached
@@ -129,30 +252,108 @@ export declare class ExtractionSession {
129
252
  * - `true` (HMR): skips the report log, and guards the system-props.js
130
253
  * write by lastSystemPropsHash.
131
254
  *
132
- * The styles.css write guard (lastCssHash) is identical on both paths.
255
+ * The disk artifacts land under the session directory in transaction
256
+ * order (design D1): manifest → analysis-inputs (Turbopack orchestration
257
+ * only) → styles.css → system-props → analysis-commit →
258
+ * replacements-epoch (last, only when moved). The analysis-status file walks starting → analyzing →
259
+ * committing → idle around the attempt, landing in `failed` (with the
260
+ * diagnostic) on any throw (design D3).
133
261
  */
134
262
  private analyzeAndEmit;
135
- /** Content hash of an existing `.animus/` artifact, or null when absent or
136
- * unreadable. Seeds a null write guard so a FRESH session never rewrites a
137
- * byte-identical artifact (spec: next-turbopack-integration — a rewrite
138
- * changes mtime/inode and needlessly re-keys Turbopack loader-worker
139
- * hydration). */
140
- private diskArtifactHash;
141
- /** Ensure `.animus/` exists and write one generated artifact into it.
263
+ private analyzeAndEmitAttempt;
264
+ /** Open a status attempt (attemptId increments once per burst — a
265
+ * debouncing pre-write and the analysis that follows share one id). */
266
+ private beginStatusAttempt;
267
+ /** Write the session's analysis-status artifact (design D3). Terminal
268
+ * states (idle/failed) close the attempt. */
269
+ private writeAnalysisStatus;
270
+ /**
271
+ * Orchestrator seam (Turbopack watcher): record watch events observed
272
+ * during the debounce window so a loader running ahead of the analysis
273
+ * has positive evidence to wait on (design D3 'debouncing'). Paths are
274
+ * filtered by the scan config and hashed at observation time.
275
+ */
276
+ noteDebouncedWatchEvents(absPaths: Iterable<string>): void;
277
+ /** One pending microtask flushes a burst of debounce observations. */
278
+ private debounceStatusWriteScheduled;
279
+ /**
280
+ * Write one payload artifact into the session directory, enveloped with
281
+ * `{sessionId, generation, replacementEpoch, payloadHash}` and rewritten
282
+ * only when the PAYLOAD bytes changed (byte-identical re-analyses leave
283
+ * disk untouched — spec: "Unchanged manifest is not rewritten"). The
284
+ * recorded diskHash (hash of the enveloped bytes) feeds the
285
+ * analysis-commit.
286
+ */
287
+ private publishPayloadArtifact;
288
+ /** Reconstruct a payload write guard from the on-disk artifact's envelope
289
+ * (same-session restart: a byte-identical payload must not rewrite). */
290
+ private seedPayloadRecord;
291
+ /** Last analysis-commit persisted in this session's directory, or null. */
292
+ private seedCommitFromDisk;
293
+ /**
294
+ * Publish the analysis-commit — the transaction identity (design D1).
295
+ * Written AFTER every payload and BEFORE the epoch; skipped entirely when
296
+ * the payload set (disk hashes) and epoch are unchanged, so a no-op
297
+ * re-analysis neither re-keys loader-worker hydration nor burns a
298
+ * generation.
299
+ */
300
+ private publishAnalysisCommit;
301
+ /**
302
+ * Publish the canonical replacement epoch: maintain the session-scoped
303
+ * disk witness `{schema, sessionId, epoch}`, rewritten ONLY when the
304
+ * epoch VALUE changes so style-only analyses and same-session restarts
305
+ * leave bytes and mtime untouched, then expose the value through the
306
+ * singleton for the plugin's needBuild fan-out and the loader's catch-up
307
+ * re-check. Every VALUE move also reconciles sibling sessions' epoch
308
+ * artifacts (below) — the webpack cold-cache validity witness.
309
+ */
310
+ private publishReplacementEpoch;
311
+ /**
312
+ * Sibling epoch reconciliation — the cross-session half of the webpack
313
+ * persistent-cache witness (spec: dev-served-transform-coherence,
314
+ * "Offline change invalidates restored modules"). Restored-module
315
+ * snapshots reference the epoch artifact of the session that BUILT them;
316
+ * with session-scoped trees that file would otherwise sit untouched
317
+ * forever, keeping stale snapshots valid. Whenever this session's epoch
318
+ * value moves, delete every sibling epoch artifact that disagrees (their
319
+ * snapshots must invalidate — restore-on-demand then rebuilds from the
320
+ * current generation) and leave agreeing siblings byte-untouched (warm
321
+ * restores stay valid). Deleting a stale artifact is pruning, not a
322
+ * foreign-session write; races with concurrent sessions are tolerated
323
+ * (S14).
324
+ */
325
+ /** Sibling ids already reconciled away (artifact deleted or absent) —
326
+ * nothing left to invalidate for them on later moves. */
327
+ private reconciledSiblingIds;
328
+ /** sessions-root listing memo, keyed by the root dir's mtime — a new or
329
+ * pruned sibling DIRECTORY moves it; agreeing siblings stay listed. */
330
+ private siblingListing;
331
+ private reconcileSiblingEpochs;
332
+ /** Epoch value held by this session's on-disk artifact, or null when
333
+ * absent, unreadable, or not the expected schema. */
334
+ private diskEpochValue;
335
+ /** Session-start hygiene (design D2): delete legacy flat artifacts
336
+ * (unreachable by session-scoped loaders) and prune sibling session
337
+ * directories older than the retention window — never the own dir,
338
+ * tolerating races with concurrently-pruning sessions (S14). */
339
+ private runSessionStartHygiene;
340
+ /** Ensure the session directory exists and write one artifact into it.
142
341
  * Write-then-rename so cross-process readers (Turbopack loader workers)
143
342
  * can never observe a torn half-written file. The tmp name carries the
144
343
  * pid — Next dev evaluates the config in more than one process, and two
145
344
  * sessions writing the same artifact must not race on one tmp path. */
146
- private writeAnimusFile;
345
+ private writeSessionArtifact;
147
346
  /**
148
347
  * asset() placeholder substitution (global-styles-system): resolve each
149
- * referenced specifier through Node resolution, copy the bytes into
150
- * `.animus/assets/` under a content-hashed name, and substitute a
151
- * RELATIVE url. `.animus/styles.css` is processed by Next's own CSS
152
- * pipeline (webpack and Turbopack alike), which applies its native asset
153
- * handling — publicPath and output hashing — to relative url()
154
- * references. Unsubstitutable specifiers warn and emit literally in
155
- * non-strict mode, fail the build under `strict: true`.
348
+ * referenced specifier through Node resolution, copy the bytes into the
349
+ * session directory's `assets/` under a content-hashed name, and
350
+ * substitute a RELATIVE url — relative to the session-scoped styles.css,
351
+ * which sits beside `assets/`, so the emitted `./assets/<file>` form is
352
+ * unchanged. The stylesheet is processed by Next's own CSS pipeline
353
+ * (webpack and Turbopack alike), which applies its native asset handling
354
+ * — publicPath and output hashing — to relative url() references.
355
+ * Unsubstitutable specifiers warn and emit literally in non-strict mode,
356
+ * fail the build under `strict: true`.
156
357
  */
157
358
  private substituteAssetReferences;
158
359
  private trackAssetDependency;
@@ -1 +1 @@
1
- {"version":3,"file":"extraction-session.d.ts","sourceRoot":"","sources":["../src/extraction-session.ts"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAQjD;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,uBAAuB,CAAC;AAczD,qEAAqE;AACrE,MAAM,WAAW,YAAY;IAC3B,aAAa,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACpC,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACpC;AAED;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,iBAAiB;IAC5B,kDAAkD;IAClD,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC9B,6EAA6E;IAC7E,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;IAItC,OAAO,CAAC,cAAc,CASlB;IACJ,6DAA6D;IAC7D,oBAAoB,cAAqB;IACzC,OAAO,CAAC,mBAAmB,CAAqB;IAChD;;wEAEoE;IACpE,qBAAqB,UAAS;IAC9B;;;2EAGuE;IACvE,mBAAmB,EAAE,MAAM,GAAG,IAAI,CA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